Skip to content

Commit 081e83d

Browse files
committed
chore: uses core js 3
1 parent 26f851e commit 081e83d

File tree

3 files changed

+11
-3
lines changed

3 files changed

+11
-3
lines changed

babel.config.js

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,8 @@ module.exports = {
66
targets: {
77
browsers: '>0.25%',
88
},
9+
corejs: 3,
10+
useBuiltIns: 'usage',
911
},
1012
],
1113
],

package.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -47,6 +47,7 @@
4747
"babel-eslint": "^10.1.0",
4848
"babel-jest": "^24.9.0",
4949
"babel-preset-react": "^6.24.1",
50+
"core-js": "^3.15.2",
5051
"cz-conventional-changelog": "3.2.0",
5152
"eslint": "^7.0.0",
5253
"eslint-config-prettier": "^6.11.0",

yarn.lock

Lines changed: 8 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2408,9 +2408,9 @@ caniuse-api@^3.0.0:
24082408
lodash.uniq "^4.5.0"
24092409

24102410
caniuse-lite@^1.0.0, caniuse-lite@^1.0.30001157:
2411-
version "1.0.30001157"
2412-
resolved "https://registry.yarnpkg.com/caniuse-lite/-/caniuse-lite-1.0.30001157.tgz#2d11aaeb239b340bc1aa730eca18a37fdb07a9ab"
2413-
integrity sha512-gOerH9Wz2IRZ2ZPdMfBvyOi3cjaz4O4dgNwPGzx8EhqAs4+2IL/O+fJsbt+znSigujoZG8bVcIAUM/I/E5K3MA==
2411+
version "1.0.30001245"
2412+
resolved "https://registry.npmjs.org/caniuse-lite/-/caniuse-lite-1.0.30001245.tgz"
2413+
integrity sha512-768fM9j1PKXpOCKws6eTo3RHmvTUsG9UrpT4WoREFeZgJBTi4/X9g565azS/rVUGtqb8nt7FjLeF5u4kukERnA==
24142414

24152415
capture-exit@^2.0.0:
24162416
version "2.0.0"
@@ -3011,6 +3011,11 @@ core-js@^2.4.0, core-js@^2.5.0:
30113011
resolved "https://registry.yarnpkg.com/core-js/-/core-js-2.6.11.tgz#38831469f9922bded8ee21c9dc46985e0399308c"
30123012
integrity sha512-5wjnpaT/3dV+XB4borEsnAYQchn00XSgTAWKDkEqv+K8KevjbzmofK6hfJ9TZIlpj2N0xQpazy7PiRQiWHqzWg==
30133013

3014+
core-js@^3.15.2:
3015+
version "3.15.2"
3016+
resolved "https://registry.yarnpkg.com/core-js/-/core-js-3.15.2.tgz#740660d2ff55ef34ce664d7e2455119c5bdd3d61"
3017+
integrity sha512-tKs41J7NJVuaya8DxIOCnl8QuPHx5/ZVbFo1oKgVl1qHFBBrDctzQGtuLjPpRdNTWmKPH6oEvgN/MUID+l485Q==
3018+
30143019
[email protected], core-util-is@~1.0.0:
30153020
version "1.0.2"
30163021
resolved "https://registry.yarnpkg.com/core-util-is/-/core-util-is-1.0.2.tgz#b5fd54220aa2bc5ab57aab7140c940754503c1a7"

0 commit comments

Comments
 (0)