@babel/cli
Advanced tools
Comparing version 7.24.1 to 7.24.5
@@ -72,3 +72,3 @@ "use strict"; | ||
outputMap = "external"; | ||
} else if (babelOptions.sourceMaps == undefined) { | ||
} else if (babelOptions.sourceMaps == null) { | ||
outputMap = util.hasDataSourcemap(res.code) ? "external" : "both"; | ||
@@ -75,0 +75,0 @@ } |
@@ -109,3 +109,3 @@ "use strict"; | ||
outputMap = "external"; | ||
} else if (babelOptions.sourceMaps == undefined && result.hasRawMap) { | ||
} else if (babelOptions.sourceMaps == null && result.hasRawMap) { | ||
outputMap = util.hasDataSourcemap(result.code) ? "external" : "both"; | ||
@@ -112,0 +112,0 @@ } |
@@ -75,3 +75,3 @@ "use strict"; | ||
_commander().option("--out-file-extension [string]", "Use a specific extension for the output files"); | ||
_commander().version("7.24.1" + " (@babel/core " + _core().version + ")"); | ||
_commander().version("7.24.5" + " (@babel/core " + _core().version + ")"); | ||
_commander().usage("[options] <files ...>"); | ||
@@ -78,0 +78,0 @@ _commander().action(() => {}); |
@@ -77,3 +77,3 @@ "use strict"; | ||
const pos = code.lastIndexOf("\n", code.length - 2); | ||
return pos != -1 && code.lastIndexOf("//# sourceMappingURL") < pos; | ||
return pos !== -1 && code.lastIndexOf("//# sourceMappingURL") < pos; | ||
} | ||
@@ -80,0 +80,0 @@ const CALLER = { |
{ | ||
"name": "@babel/cli", | ||
"version": "7.24.1", | ||
"version": "7.24.5", | ||
"description": "Babel command line.", | ||
@@ -43,4 +43,4 @@ "author": "The Babel Team (https://babel.dev/team)", | ||
"devDependencies": { | ||
"@babel/core": "^7.24.1", | ||
"@babel/helper-transform-fixture-test-runner": "^7.24.1", | ||
"@babel/core": "^7.24.5", | ||
"@babel/helper-transform-fixture-test-runner": "^7.24.5", | ||
"@types/fs-readdir-recursive": "^1.1.0", | ||
@@ -47,0 +47,0 @@ "@types/glob": "^7.2.0", |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
184119
24
1019