Skip to content

Commit ac41813

Browse files
authored
feat(build): use core-js@3 (#6410)
1 parent 767737a commit ac41813

File tree

3 files changed

+29
-38
lines changed

3 files changed

+29
-38
lines changed

babel.config.js

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -44,8 +44,8 @@ module.exports = {
4444
"@babel/plugin-transform-runtime",
4545
{
4646
"absoluteRuntime": false,
47-
"corejs": 2,
48-
"version": "^7.10.4"
47+
"corejs": 3,
48+
"version": "^7.11.2"
4949
}
5050
],
5151
"@babel/proposal-class-properties",
@@ -67,8 +67,8 @@ module.exports = {
6767
"not dead"
6868
]
6969
},
70-
"useBuiltIns": "entry",
71-
"corejs": "2"
70+
"useBuiltIns": false,
71+
"corejs": { version: 3 }
7272
}
7373
],
7474
"@babel/preset-react"
@@ -77,9 +77,9 @@ module.exports = {
7777
[
7878
"@babel/plugin-transform-runtime",
7979
{
80-
"corejs": "2",
80+
"corejs": 3,
8181
"absoluteRuntime": false,
82-
"version": "7.10.4"
82+
"version": "^7.11.2"
8383
}
8484
],
8585
"@babel/plugin-proposal-class-properties",
@@ -117,8 +117,8 @@ module.exports = {
117117
"targets": {
118118
"node": "10"
119119
},
120-
"useBuiltIns": "entry",
121-
"corejs": "2"
120+
"useBuiltIns": false,
121+
"corejs": { version: 3 }
122122
}
123123
],
124124
"@babel/preset-react"
@@ -127,9 +127,9 @@ module.exports = {
127127
[
128128
"@babel/plugin-transform-runtime",
129129
{
130-
"corejs": "2",
130+
"corejs": 3,
131131
"absoluteRuntime": false,
132-
"version": "7.10.4"
132+
"version": "^7.11.2"
133133
}
134134
],
135135
"@babel/plugin-proposal-class-properties",

package-lock.json

Lines changed: 17 additions & 26 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,7 @@
5858
"start": "npm-run-all --parallel serve-static open-static"
5959
},
6060
"dependencies": {
61-
"@babel/runtime-corejs2": "^7.10.4",
61+
"@babel/runtime-corejs3": "^7.11.2",
6262
"@braintree/sanitize-url": "^4.0.0",
6363
"@kyleshockey/object-assign-deep": "^0.4.2",
6464
"@kyleshockey/xml": "^1.0.2",
@@ -92,7 +92,7 @@
9292
"reselect": "^4.0.0",
9393
"serialize-error": "^2.1.0",
9494
"sha.js": "^2.4.11",
95-
"swagger-client": "=3.10.13",
95+
"swagger-client": "=3.11.0",
9696
"url-parse": "^1.4.7",
9797
"xml-but-prettier": "^1.0.1",
9898
"zenscroll": "^4.0.2"

0 commit comments

Comments
 (0)