Skip to content

Commit 2ca29fd

Browse files
committed
chore(deps): Replace @babel/polyfill with core-js
1 parent 730f98f commit 2ca29fd

File tree

3 files changed

+923
-713
lines changed

3 files changed

+923
-713
lines changed

package.json

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -80,9 +80,9 @@
8080
},
8181
"author": "",
8282
"devDependencies": {
83-
"@babel/core": "^7.20.5",
83+
"@babel/core": "^7.24.7",
8484
"@babel/plugin-transform-runtime": "^7.19.6",
85-
"@babel/preset-env": "^7.20.2",
85+
"@babel/preset-env": "^7.24.7",
8686
"@babel/runtime": "^7.20.6",
8787
"@cypress/skip-test": "^2.6.1",
8888
"@influxdata/oats": "^0.7.0",
@@ -111,9 +111,10 @@
111111
"@types/webpack-env": "^1.15.2",
112112
"@typescript-eslint/eslint-plugin": "^5.35.1",
113113
"@typescript-eslint/parser": "^5.41.0",
114-
"babel-loader": "^9.1.0",
114+
"babel-loader": "^9.1.3",
115115
"clean-webpack-plugin": "^4.0.0",
116116
"clipboardy": "^2.3.0",
117+
"core-js": "^3.37.1",
117118
"cross-env": "^7.0.3",
118119
"css-loader": "^6.7.2",
119120
"css-minimizer-webpack-plugin": "^4.2.2",
@@ -169,7 +170,6 @@
169170
"@influxdata/react-custom-scrollbars": "4.3.8",
170171
"abortcontroller-polyfill": "^1.3.0",
171172
"auth0-js": "^9.19.1",
172-
"babel-polyfill": "^6.26.0",
173173
"canvas-confetti": "^1.5.1",
174174
"chroma-js": "^2.4.2",
175175
"classnames": "^2.2.3",

webpack.common.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,7 @@ module.exports = {
6565
use: {
6666
loader: 'babel-loader',
6767
options: {
68-
presets: ['@babel/preset-env'],
68+
presets: ['@babel/preset-env', {useBuiltIns: 'usage'}],
6969
plugins: ['@babel/plugin-transform-runtime'],
7070
},
7171
},

0 commit comments

Comments
 (0)