You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Installing gatsby produces a number of npm warnings about deprecated packages. While hunting down one of them, I noticed that gatsby depends on @babel/polyfill, which has been deprecated.
In turn, @babel/polyfill depends on core-js@2, which has been deprecated and generates this warning when installing any Gatsby project:
$ npm install
npm WARN deprecated [email protected]: core-js@<3 is no longer maintained and not recommended for usage due to the number of issues. Please, upgrade your dependencies to the actual version of core-js@3.
Motivation
Many users are confused by NPM warnings about deprecated packages:
The core-js topic is known to us and tracked here: #15601
In turn of this we'll also get rid of e.g. @babel/polyfill, possibly sooner than in a next major version. We're working on this.
We're marking this issue as answered and closing it for now but please feel free to comment here if you would like to continue this discussion. We also recommend heading over to our communities if you have questions that are not bug reports or feature requests. We hope we managed to help and thank you for using Gatsby!
Summary
Installing
gatsby
produces a number of npm warnings about deprecated packages. While hunting down one of them, I noticed that gatsby depends on@babel/polyfill
, which has been deprecated.In turn, @babel/polyfill depends on core-js@2, which has been deprecated and generates this warning when installing any Gatsby project:
Motivation
Many users are confused by NPM warnings about deprecated packages:
The text was updated successfully, but these errors were encountered: