Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion src/main/scala/io/shiftleft/js2cpg/core/Config.scala
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ object Config {
val DEFAULT_MODULE_MODE: Option[String] = None
val DEFAULT_WITH_NODE_MODULES_FOLDER: Boolean = false
val DEFAULT_OPTIMIZE_DEPENDENCIES: Boolean = true
val DEFAULT_FIXED_TRANSPILATION_DEPENDENCIES: Boolean = false
val DEFAULT_FIXED_TRANSPILATION_DEPENDENCIES: Boolean = true
val DEFAULT_SERVER_MODE: Boolean = false

}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -45,23 +45,23 @@ trait TranspilingEnvironment {

object Versions {
val babelVersions: Map[String, String] = Map(
"@babel/core" -> "7.20.2",
"@babel/cli" -> "7.19.3",
"@babel/preset-env" -> "7.20.2",
"@babel/preset-flow" -> "7.18.6",
"@babel/preset-react" -> "7.18.6",
"@babel/preset-typescript" -> "7.18.6",
"@babel/plugin-transform-class-properties" -> "6.24.1",
"@babel/plugin-transform-private-methods" -> "7.27.1",
"@babel/plugin-transform-private-property-in-object" -> "7.27.1",
"@babel/plugin-transform-object-rest-spread" -> "7.28.0",
"@babel/plugin-transform-nullish-coalescing-operator" -> "7.27.1",
"@babel/plugin-transform-runtime" -> "7.19.6",
"@babel/plugin-transform-property-mutators" -> "7.18.6"
Comment thread
max-leuthaeuser marked this conversation as resolved.
"@babel/core" -> "7.29.7",
"@babel/cli" -> "7.29.7",
"@babel/preset-env" -> "7.29.7",
"@babel/preset-flow" -> "7.29.7",
"@babel/preset-react" -> "7.29.7",
"@babel/preset-typescript" -> "7.29.7",
"@babel/plugin-transform-class-properties" -> "7.29.7",
"@babel/plugin-transform-private-methods" -> "7.29.7",
"@babel/plugin-transform-private-property-in-object" -> "7.29.7",
"@babel/plugin-transform-object-rest-spread" -> "7.29.7",
"@babel/plugin-transform-nullish-coalescing-operator" -> "7.29.7",
"@babel/plugin-transform-runtime" -> "7.29.7",
"@babel/plugin-transform-property-mutators" -> "7.29.7"
)

private val versions: Map[String, String] =
babelVersions ++ Map("pug-cli" -> "1.0.0-alpha6", "typescript" -> "4.8.4", "@vue/cli-service-global" -> "4.5.19")
babelVersions ++ Map("pug-cli" -> "1.0.0-alpha6", "typescript" -> "6.0.3", "@vue/cli-service-global" -> "4.5.19")

def nameAndVersion(dependencyName: String): String = {
if (config.fixedTranspilationDependencies) {
Expand Down
Loading