Skip to content

Commit

Permalink
feat: add core-js 3
Browse files Browse the repository at this point in the history
  • Loading branch information
imsunhao committed Sep 24, 2019
1 parent b58e0bf commit 0904c8e
Show file tree
Hide file tree
Showing 2 changed files with 25 additions and 0 deletions.
2 changes: 2 additions & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -106,6 +106,7 @@
"@babel/plugin-transform-runtime": "^7.1.0",
"@babel/polyfill": "^7.0.0",
"@babel/preset-env": "^7.1.5",
"@babel/runtime-corejs3": "^7.6.2",
"babel-loader": "^8.0.4",
"babel-plugin-component": "^1.1.1",
"babel-preset-latest-node": "^3.2.1",
Expand All @@ -114,6 +115,7 @@
"compression": "^1.7.3",
"consola": "2.2.4",
"cookie-parser": "^1.4.3",
"core-js": "3",

This comment has been minimized.

Copy link
@codler

codler Oct 25, 2019

You can use care-js to get less noise during npm install

"css-loader": "^1.0.1",
"es6-promise": "^4.2.5",
"express": "^4.17.1",
Expand Down
23 changes: 23 additions & 0 deletions yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -777,6 +777,14 @@
js-levenshtein "^1.1.3"
semver "^5.3.0"

"@babel/runtime-corejs3@^7.6.2":
version "7.6.2"
resolved "https://registry.yarnpkg.com/@babel/runtime-corejs3/-/runtime-corejs3-7.6.2.tgz#032d0ca5107747751bb31cbce2302f9a73bd824c"
integrity sha512-FX1ddj2gf7psgslvkkKeyxftnslUFDY9OHGnp+wJ+4JIKSEABB1fKVZiE7/2n+C9RVTPfPwpOqGmFf5TGvg0Bw==
dependencies:
core-js-pure "^3.0.0"
regenerator-runtime "^0.13.2"

"@babel/template@^7.1.0", "@babel/template@^7.1.2":
version "7.1.2"
resolved "http://registry.npm.taobao.org/@babel/template/download/@babel/template-7.1.2.tgz#090484a574fef5a2d2d7726a674eceda5c5b5644"
Expand Down Expand Up @@ -2375,6 +2383,16 @@ copy-webpack-plugin@^5.0.4:
serialize-javascript "^1.7.0"
webpack-log "^2.0.0"

core-js-pure@^3.0.0:
version "3.2.1"
resolved "https://registry.yarnpkg.com/core-js-pure/-/core-js-pure-3.2.1.tgz#879a23699cff46175bfd2d09158b5c50645a3c45"
integrity sha512-+qpvnYrsi/JDeQTArB7NnNc2VoMYLE1YSkziCDHgjexC2KH7OFiGhLUd3urxfyWmNjSwSW7NYXPWHMhuIJx9Ow==

core-js@3:
version "3.2.1"
resolved "https://registry.yarnpkg.com/core-js/-/core-js-3.2.1.tgz#cd41f38534da6cc59f7db050fe67307de9868b09"
integrity sha512-Qa5XSVefSVPRxy2XfUC13WbvqkxhkwB3ve+pgCQveNgYzbM/UxZeu1dcOX/xr4UmfUd+muuvsaxilQzCyUurMw==

core-js@^2.5.7:
version "2.5.7"
resolved "http://registry.npm.taobao.org/core-js/download/core-js-2.5.7.tgz#f972608ff0cead68b841a16a932d0b183791814e"
Expand Down Expand Up @@ -5991,6 +6009,11 @@ regenerator-runtime@^0.11.1:
resolved "http://registry.npm.taobao.org/regenerator-runtime/download/regenerator-runtime-0.11.1.tgz#be05ad7f9bf7d22e056f9726cee5017fbf19e2e9"
integrity sha1-vgWtf5v30i4Fb5cmzuUBf78Z4uk=

regenerator-runtime@^0.13.2:
version "0.13.3"
resolved "https://registry.yarnpkg.com/regenerator-runtime/-/regenerator-runtime-0.13.3.tgz#7cf6a77d8f5c6f60eb73c5fc1955b2ceb01e6bf5"
integrity sha512-naKIZz2GQ8JWh///G7L3X6LaQUAMp2lvb1rvwwsURe/VXwD6VMfr+/1NuNw3ag8v2kY1aQ/go5SNn79O9JU7yw==

regenerator-transform@^0.13.3:
version "0.13.3"
resolved "http://registry.npm.taobao.org/regenerator-transform/download/regenerator-transform-0.13.3.tgz#264bd9ff38a8ce24b06e0636496b2c856b57bcbb"
Expand Down

0 comments on commit 0904c8e

Please sign in to comment.