Skip to content

Commit

Permalink
Add core-js as dependency to package.json
Browse files Browse the repository at this point in the history
Pins the version in top-level `node_modules` to 2.5.7, not a random version that happens to be
promoted by NPM Install to the top-level directory.

Fixes a bug where `import from 'core-js'` statements generated by `babel-preset-env` started using
an old 1.x version suddenly.
  • Loading branch information
jsnajdr committed Jul 19, 2018
1 parent 224d90e commit ec181d0
Show file tree
Hide file tree
Showing 2 changed files with 18 additions and 3 deletions.
20 changes: 17 additions & 3 deletions npm-shrinkwrap.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -50,6 +50,7 @@
"cookie": "0.3.1",
"cookie-parser": "1.4.3",
"copy-webpack-plugin": "4.5.2",
"core-js": "2.5.7",
"cpf_cnpj": "0.2.0",
"create-react-class": "15.6.3",
"creditcards": "3.0.1",
Expand Down

0 comments on commit ec181d0

Please sign in to comment.