internetarchive / openlibrary

One webpage for every book ever published!
https://openlibrary.org
GNU Affero General Public License v3.0
5.22k stars 1.37k forks source link

npm deprecations: babel/polyfill@7.12.1, core-js@2.6.12, har-validator@5.1.5, request@2.88.2 #7084

Open cclauss opened 2 years ago

cclauss commented 2 years ago

Evidence / Screenshot (if possible)

Step 25/27 : RUN npm ci
 ---> Running in 01c4ae72e06f
npm WARN deprecated har-validator@5.1.5: this library is no longer supported
npm WARN deprecated request@2.88.2: request has been deprecated, see https://github.com/request/request/issues/3142
npm WARN deprecated @babel/polyfill@7.12.1: 🚨 This package has been deprecated in favor of separate inclusion of a polyfill and regenerator-runtime (when needed). See the @babel/polyfill docs (https://babeljs.io/docs/en/babel-polyfill) for more information.
npm WARN deprecated core-js@2.6.12: core-js@<3.23.3 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. Some versions have web compatibility issues. Please, upgrade your dependencies to the actual version of core-js.

Relevant url?

Steps to Reproduce

  1. docker build process discussed in #7083
    • Actual: npm WARN deprecated har-validator@5.1.5: this library is no longer supported
    • Expected: Our npm libraries are supported.
cdrini commented 4 months ago

The last two remaining packages appear to be used by quagga2, which it looks like we can update.