When installing react-lottie, npm reports the following deprecation notice:
$ npm i
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.
It turns out it's due to react-lottie:
$ npm why core-js
core-js@2.6.12
node_modules/core-js
core-js@"^2.4.0" from babel-runtime@6.26.0
node_modules/babel-runtime
babel-runtime@"^6.26.0" from react-lottie@1.2.10
node_modules/react-lottie
react-lottie@"1.2.10" from the root project
Could you please update the deps to not use deprecated packages?
When installing react-lottie, npm reports the following deprecation notice:
It turns out it's due to react-lottie:
Could you please update the deps to not use deprecated packages?