aurelia-contrib / aurelia-open-id-connect

An aurelia adapter for the IdentityModel/oidc-client-js
https://zamboni-app.azurewebsites.net
MIT License
54 stars 18 forks source link

Babel Polyfill Dependencies and Packages Using deprecated core-js version #102

Open ddynamight opened 1 year ago

ddynamight commented 1 year ago

Could you please upgrade the babel-polyfill dependencies used so as to update the core-js version used. As there is a depency tree issue.

Running npm install produced this warning.

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.

And to know the packages causing this I ran npm ls core-js

Then I got this

-- aurelia-open-id-connect@2.0.4
  +-- babel-polyfill@6.26.0
  | +-- babel-runtime@6.26.0
  | | `-- core-js@2.6.12 deduped
  | `-- core-js@2.6.12
  `-- oidc-client@1.11.5
    `-- core-js@3.26.0

So it will be great if this can be upgraded as this is causing a potential problem for my application.

Thanks