grainger-illinois / CTCast

Apache License 2.0
0 stars 0 forks source link

Update deprecated npm packages #22

Open angrave opened 1 year ago

angrave commented 1 year ago

Using node 16, building generates these warnings. We should upgrade to more recent versions of these packages.

npm WARN deprecated har-validator@5.1.5: this library is no longer supported
npm WARN deprecated uuid@3.3.2: Please upgrade  to version 7 or higher.  Older versions may use Math.random() in certain circumstances, which is known to be problematic.  See https://v8.dev/blog/math-random for details.
npm WARN deprecated fs-promise@0.5.0: Use mz or fs-extra^3.0 with Promise Support
npm WARN deprecated request@2.88.2: request has been deprecated, see https://github.com/request/request/issues/3142
npm WARN deprecated cross-spawn-async@2.2.5: cross-spawn no longer requires a build toolchain, use it instead
npm WARN deprecated minimatch@0.3.0: Please update to minimatch 3.0.2 or higher to avoid a RegExp DoS issue
npm WARN deprecated core-js@1.2.7: core-js@<3.4 is no longer maintained and not recommended for usage due to the number of issues. Because of the V8 engine whims, feature detection in old core-js versions could cause a slowdown up to 100x even if nothing is polyfilled. Please, upgrade your dependencies to the actual version of core-js.
npm WARN deprecated core-js@2.6.12: core-js@<3.4 is no longer maintained and not recommended for usage due to the number of issues. Because of the V8 engine whims, feature detection in old core-js versions could cause a slowdown up to 100x even if nothing is polyfilled. Please, upgrade your dependencies to the actual version of core-js.

(This output is from gear icon on the righthand side in the GitHub Actions tab, and selecting View Raw Logs of one of the build actions)

romerorisa commented 1 year ago

Should we uninstall the packages that are deprecated/no longer supported (e.g. har-validator, request)? And, for fs-promise, should it says to use mz or fs-extra^3.0, which one should we get?

romerorisa commented 1 year ago

Will look into this more after finishing the connect button and the 5 second pinging. I will re-assign myself once I'm finished with the other issues if this has not been resolved yet.