Skip to content

Commit 9c734d8

Browse files
authored
Merge pull request #9747 from asirvadAbrahamVarghese/upgrade-babel-plugins
Upgrade babel plugins
2 parents 83100ef + f314d3f commit 9c734d8

File tree

3 files changed

+9
-89
lines changed

3 files changed

+9
-89
lines changed

.babelrc.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,6 @@ module.exports = {
1717
require('@babel/preset-react').default,
1818
],
1919
plugins: [
20-
require('@babel/plugin-proposal-class-properties').default,
20+
require('@babel/plugin-transform-class-properties').default,
2121
],
2222
};

package.json

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -113,11 +113,7 @@
113113
"devDependencies": {
114114
"@babel/core": "~7.28.0",
115115
"@babel/eslint-parser": "~7.28.0",
116-
"@babel/plugin-proposal-class-properties": "~7.18.0",
117-
"@babel/plugin-proposal-export-default-from": "~7.27.0",
118-
"@babel/plugin-proposal-export-namespace-from": "~7.18.0",
119-
"@babel/plugin-proposal-object-rest-spread": "~7.20.0",
120-
"@babel/plugin-transform-object-assign": "~7.27.0",
116+
"@babel/plugin-transform-class-properties": "~7.27.1",
121117
"@babel/preset-env": "~7.28.0",
122118
"@babel/preset-react": "~7.27.0",
123119
"@babel/register": "~7.28.0",

yarn.lock

Lines changed: 7 additions & 83 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ __metadata:
1616
languageName: node
1717
linkType: hard
1818

19-
"@babel/compat-data@npm:^7.20.5, @babel/compat-data@npm:^7.27.2, @babel/compat-data@npm:^7.27.7, @babel/compat-data@npm:^7.28.5":
19+
"@babel/compat-data@npm:^7.27.2, @babel/compat-data@npm:^7.27.7, @babel/compat-data@npm:^7.28.5":
2020
version: 7.28.5
2121
resolution: "@babel/compat-data@npm:7.28.5"
2222
checksum: 10/5a5ff00b187049e847f04bd02e21fbd8094544e5016195c2b45e56fa2e311eeb925b158f52a85624c9e6bacc1ce0323e26c303513723d918a8034e347e22610d
@@ -82,7 +82,7 @@ __metadata:
8282
languageName: node
8383
linkType: hard
8484

85-
"@babel/helper-compilation-targets@npm:^7.20.7, @babel/helper-compilation-targets@npm:^7.27.1, @babel/helper-compilation-targets@npm:^7.27.2":
85+
"@babel/helper-compilation-targets@npm:^7.27.1, @babel/helper-compilation-targets@npm:^7.27.2":
8686
version: 7.27.2
8787
resolution: "@babel/helper-compilation-targets@npm:7.27.2"
8888
dependencies:
@@ -95,7 +95,7 @@ __metadata:
9595
languageName: node
9696
linkType: hard
9797

98-
"@babel/helper-create-class-features-plugin@npm:^7.18.6, @babel/helper-create-class-features-plugin@npm:^7.27.1, @babel/helper-create-class-features-plugin@npm:^7.28.3":
98+
"@babel/helper-create-class-features-plugin@npm:^7.27.1, @babel/helper-create-class-features-plugin@npm:^7.28.3":
9999
version: 7.28.5
100100
resolution: "@babel/helper-create-class-features-plugin@npm:7.28.5"
101101
dependencies:
@@ -189,7 +189,7 @@ __metadata:
189189
languageName: node
190190
linkType: hard
191191

192-
"@babel/helper-plugin-utils@npm:^7.0.0, @babel/helper-plugin-utils@npm:^7.10.4, @babel/helper-plugin-utils@npm:^7.12.13, @babel/helper-plugin-utils@npm:^7.14.5, @babel/helper-plugin-utils@npm:^7.18.6, @babel/helper-plugin-utils@npm:^7.18.9, @babel/helper-plugin-utils@npm:^7.20.2, @babel/helper-plugin-utils@npm:^7.27.1, @babel/helper-plugin-utils@npm:^7.8.0, @babel/helper-plugin-utils@npm:^7.8.3":
192+
"@babel/helper-plugin-utils@npm:^7.0.0, @babel/helper-plugin-utils@npm:^7.10.4, @babel/helper-plugin-utils@npm:^7.12.13, @babel/helper-plugin-utils@npm:^7.14.5, @babel/helper-plugin-utils@npm:^7.18.6, @babel/helper-plugin-utils@npm:^7.27.1, @babel/helper-plugin-utils@npm:^7.8.0":
193193
version: 7.27.1
194194
resolution: "@babel/helper-plugin-utils@npm:7.27.1"
195195
checksum: 10/96136c2428888e620e2ec493c25888f9ceb4a21099dcf3dd4508ea64b58cdedbd5a9fb6c7b352546de84d6c24edafe482318646932a22c449ebd16d16c22d864
@@ -344,56 +344,6 @@ __metadata:
344344
languageName: node
345345
linkType: hard
346346

347-
"@babel/plugin-proposal-class-properties@npm:~7.18.0":
348-
version: 7.18.6
349-
resolution: "@babel/plugin-proposal-class-properties@npm:7.18.6"
350-
dependencies:
351-
"@babel/helper-create-class-features-plugin": "npm:^7.18.6"
352-
"@babel/helper-plugin-utils": "npm:^7.18.6"
353-
peerDependencies:
354-
"@babel/core": ^7.0.0-0
355-
checksum: 10/49a78a2773ec0db56e915d9797e44fd079ab8a9b2e1716e0df07c92532f2c65d76aeda9543883916b8e0ff13606afeffa67c5b93d05b607bc87653ad18a91422
356-
languageName: node
357-
linkType: hard
358-
359-
"@babel/plugin-proposal-export-default-from@npm:~7.27.0":
360-
version: 7.27.1
361-
resolution: "@babel/plugin-proposal-export-default-from@npm:7.27.1"
362-
dependencies:
363-
"@babel/helper-plugin-utils": "npm:^7.27.1"
364-
peerDependencies:
365-
"@babel/core": ^7.0.0-0
366-
checksum: 10/cf9eb3c80bcee3ee82d28f1053db97fa6c6e4dea819f73df5a3cb9155d45efc29914e86353572eab36adfe691ca1573e6e2cddae4edbdd475253044575eb7a24
367-
languageName: node
368-
linkType: hard
369-
370-
"@babel/plugin-proposal-export-namespace-from@npm:~7.18.0":
371-
version: 7.18.9
372-
resolution: "@babel/plugin-proposal-export-namespace-from@npm:7.18.9"
373-
dependencies:
374-
"@babel/helper-plugin-utils": "npm:^7.18.9"
375-
"@babel/plugin-syntax-export-namespace-from": "npm:^7.8.3"
376-
peerDependencies:
377-
"@babel/core": ^7.0.0-0
378-
checksum: 10/84ff22bacc5d30918a849bfb7e0e90ae4c5b8d8b65f2ac881803d1cf9068dffbe53bd657b0e4bc4c20b4db301b1c85f1e74183cf29a0dd31e964bd4e97c363ef
379-
languageName: node
380-
linkType: hard
381-
382-
"@babel/plugin-proposal-object-rest-spread@npm:~7.20.0":
383-
version: 7.20.7
384-
resolution: "@babel/plugin-proposal-object-rest-spread@npm:7.20.7"
385-
dependencies:
386-
"@babel/compat-data": "npm:^7.20.5"
387-
"@babel/helper-compilation-targets": "npm:^7.20.7"
388-
"@babel/helper-plugin-utils": "npm:^7.20.2"
389-
"@babel/plugin-syntax-object-rest-spread": "npm:^7.8.3"
390-
"@babel/plugin-transform-parameters": "npm:^7.20.7"
391-
peerDependencies:
392-
"@babel/core": ^7.0.0-0
393-
checksum: 10/cb0f8f2ff98d7bb64ee91c28b20e8ab15d9bc7043f0932cbb9e51e1bbfb623b12f206a1171e070299c9cf21948c320b710d6d72a42f68a5bfd2702354113a1c5
394-
languageName: node
395-
linkType: hard
396-
397347
"@babel/plugin-proposal-private-property-in-object@npm:7.21.0-placeholder-for-preset-env.2":
398348
version: 7.21.0-placeholder-for-preset-env.2
399349
resolution: "@babel/plugin-proposal-private-property-in-object@npm:7.21.0-placeholder-for-preset-env.2"
@@ -447,17 +397,6 @@ __metadata:
447397
languageName: node
448398
linkType: hard
449399

450-
"@babel/plugin-syntax-export-namespace-from@npm:^7.8.3":
451-
version: 7.8.3
452-
resolution: "@babel/plugin-syntax-export-namespace-from@npm:7.8.3"
453-
dependencies:
454-
"@babel/helper-plugin-utils": "npm:^7.8.3"
455-
peerDependencies:
456-
"@babel/core": ^7.0.0-0
457-
checksum: 10/85740478be5b0de185228e7814451d74ab8ce0a26fcca7613955262a26e99e8e15e9da58f60c754b84515d4c679b590dbd3f2148f0f58025f4ae706f1c5a5d4a
458-
languageName: node
459-
linkType: hard
460-
461400
"@babel/plugin-syntax-import-assertions@npm:^7.27.1":
462401
version: 7.27.1
463402
resolution: "@babel/plugin-syntax-import-assertions@npm:7.27.1"
@@ -672,7 +611,7 @@ __metadata:
672611
languageName: node
673612
linkType: hard
674613

675-
"@babel/plugin-transform-class-properties@npm:^7.27.1":
614+
"@babel/plugin-transform-class-properties@npm:^7.27.1, @babel/plugin-transform-class-properties@npm:~7.27.1":
676615
version: 7.27.1
677616
resolution: "@babel/plugin-transform-class-properties@npm:7.27.1"
678617
dependencies:
@@ -980,17 +919,6 @@ __metadata:
980919
languageName: node
981920
linkType: hard
982921

983-
"@babel/plugin-transform-object-assign@npm:~7.27.0":
984-
version: 7.27.1
985-
resolution: "@babel/plugin-transform-object-assign@npm:7.27.1"
986-
dependencies:
987-
"@babel/helper-plugin-utils": "npm:^7.27.1"
988-
peerDependencies:
989-
"@babel/core": ^7.0.0-0
990-
checksum: 10/5edab2e02c20e85557a1ada436d630596db896853da6005d892ccce7be1f2efe985f32a81021f6da220d67f2b40f0fff7a5847b52965a0eebe5674687e7711fe
991-
languageName: node
992-
linkType: hard
993-
994922
"@babel/plugin-transform-object-rest-spread@npm:^7.28.4":
995923
version: 7.28.4
996924
resolution: "@babel/plugin-transform-object-rest-spread@npm:7.28.4"
@@ -1041,7 +969,7 @@ __metadata:
1041969
languageName: node
1042970
linkType: hard
1043971

1044-
"@babel/plugin-transform-parameters@npm:^7.20.7, @babel/plugin-transform-parameters@npm:^7.27.7":
972+
"@babel/plugin-transform-parameters@npm:^7.27.7":
1045973
version: 7.27.7
1046974
resolution: "@babel/plugin-transform-parameters@npm:7.27.7"
1047975
dependencies:
@@ -12998,11 +12926,7 @@ __metadata:
1299812926
dependencies:
1299912927
"@babel/core": "npm:~7.28.0"
1300012928
"@babel/eslint-parser": "npm:~7.28.0"
13001-
"@babel/plugin-proposal-class-properties": "npm:~7.18.0"
13002-
"@babel/plugin-proposal-export-default-from": "npm:~7.27.0"
13003-
"@babel/plugin-proposal-export-namespace-from": "npm:~7.18.0"
13004-
"@babel/plugin-proposal-object-rest-spread": "npm:~7.20.0"
13005-
"@babel/plugin-transform-object-assign": "npm:~7.27.0"
12929+
"@babel/plugin-transform-class-properties": "npm:~7.27.1"
1300612930
"@babel/preset-env": "npm:~7.28.0"
1300712931
"@babel/preset-react": "npm:~7.27.0"
1300812932
"@babel/register": "npm:~7.28.0"

0 commit comments

Comments
 (0)