Skip to content

Commit f475464

Browse files
authored
build(dev-deps): clean up deprecated Babel proposal plugins (apache#34125)
1 parent 7c98c3f commit f475464

File tree

3 files changed

+4
-85
lines changed

3 files changed

+4
-85
lines changed

superset-frontend/babel.config.js

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -46,10 +46,10 @@ module.exports = {
4646
plugins: [
4747
'lodash',
4848
'@babel/plugin-syntax-dynamic-import',
49-
['@babel/plugin-proposal-class-properties', { loose: true }],
50-
['@babel/plugin-proposal-optional-chaining', { loose: true }],
51-
['@babel/plugin-proposal-private-methods', { loose: true }],
52-
['@babel/plugin-proposal-nullish-coalescing-operator', { loose: true }],
49+
['@babel/plugin-transform-class-properties', { loose: true }],
50+
['@babel/plugin-transform-optional-chaining', { loose: true }],
51+
['@babel/plugin-transform-private-methods', { loose: true }],
52+
['@babel/plugin-transform-nullish-coalescing-operator', { loose: true }],
5353
['@babel/plugin-transform-runtime', { corejs: 3 }],
5454
// only used in packages/superset-ui-core/src/chart/components/reactify.tsx
5555
['babel-plugin-typescript-to-proptypes', { loose: true }],

superset-frontend/package-lock.json

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

superset-frontend/package.json

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -212,10 +212,6 @@
212212
"@babel/core": "^7.26.0",
213213
"@babel/eslint-parser": "^7.25.9",
214214
"@babel/node": "^7.22.6",
215-
"@babel/plugin-proposal-class-properties": "^7.18.6",
216-
"@babel/plugin-proposal-nullish-coalescing-operator": "^7.18.6",
217-
"@babel/plugin-proposal-optional-chaining": "^7.21.0",
218-
"@babel/plugin-proposal-private-methods": "^7.18.6",
219215
"@babel/plugin-syntax-dynamic-import": "^7.8.3",
220216
"@babel/plugin-transform-modules-commonjs": "^7.26.3",
221217
"@babel/plugin-transform-runtime": "^7.27.1",

0 commit comments

Comments
 (0)