Skip to content

Commit d7a106f

Browse files
Update babel plugins (#367)
As per npm warnings: ``` npm WARN deprecated @babel/[email protected]: This proposal has been merged to the ECMAScript standard and thus this plugin is no longer maintained. Please use @babel/plugin-transform-object-rest-spread instead. npm WARN deprecated @babel/[email protected]: This proposal has been merged to the ECMAScript standard and thus this plugin is no longer maintained. Please use @babel/plugin-transform-nullish-coalescing-operator instead. npm WARN deprecated @babel/[email protected]: This proposal has been merged to the ECMAScript standard and thus this plugin is no longer maintained. Please use @babel/plugin-transform-class-properties instead. npm WARN deprecated @babel/[email protected]: This proposal has been merged to the ECMAScript standard and thus this plugin is no longer maintained. Please use @babel/plugin-transform-private-methods instead. npm WARN deprecated @babel/[email protected]: This proposal has been merged to the ECMAScript standard and thus this plugin is no longer maintained. Please use @babel/plugin-transform-private-property-in-object instead. ```
1 parent 74c3a2e commit d7a106f

File tree

1 file changed

+13
-13
lines changed

1 file changed

+13
-13
lines changed

src/main/scala/io/shiftleft/js2cpg/preprocessing/TranspilingEnvironment.scala

Lines changed: 13 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -45,19 +45,19 @@ trait TranspilingEnvironment {
4545

4646
object Versions {
4747
val babelVersions: Map[String, String] = Map(
48-
"@babel/core" -> "7.20.2",
49-
"@babel/cli" -> "7.19.3",
50-
"@babel/preset-env" -> "7.20.2",
51-
"@babel/preset-flow" -> "7.18.6",
52-
"@babel/preset-react" -> "7.18.6",
53-
"@babel/preset-typescript" -> "7.18.6",
54-
"@babel/plugin-proposal-class-properties" -> "7.18.6",
55-
"@babel/plugin-proposal-private-methods" -> "7.18.6",
56-
"@babel/plugin-proposal-private-property-in-object" -> "7.21.11",
57-
"@babel/plugin-proposal-object-rest-spread" -> "7.20.2",
58-
"@babel/plugin-proposal-nullish-coalescing-operator" -> "7.18.6",
59-
"@babel/plugin-transform-runtime" -> "7.19.6",
60-
"@babel/plugin-transform-property-mutators" -> "7.18.6"
48+
"@babel/core" -> "7.20.2",
49+
"@babel/cli" -> "7.19.3",
50+
"@babel/preset-env" -> "7.20.2",
51+
"@babel/preset-flow" -> "7.18.6",
52+
"@babel/preset-react" -> "7.18.6",
53+
"@babel/preset-typescript" -> "7.18.6",
54+
"@babel/plugin-transform-class-properties" -> "6.24.1",
55+
"@babel/plugin-transform-private-methods" -> "7.27.1",
56+
"@babel/plugin-transform-private-property-in-object" -> "7.27.1",
57+
"@babel/plugin-transform-object-rest-spread" -> "7.28.0",
58+
"@babel/plugin-transform-nullish-coalescing-operator" -> "7.27.1",
59+
"@babel/plugin-transform-runtime" -> "7.19.6",
60+
"@babel/plugin-transform-property-mutators" -> "7.18.6"
6161
)
6262

6363
private val versions: Map[String, String] =

0 commit comments

Comments
 (0)