@babel/core
Advanced tools
Comparing version 7.22.17 to 7.23.2
"use strict"; | ||
if (typeof process === "object" && process.version === "v20.6.0") { | ||
if (exports["___internal__alreadyRunning" + ""]) return; | ||
Object.defineProperty(exports, "___internal__alreadyRunning", { | ||
value: true, | ||
enumerable: false, | ||
configurable: true | ||
}); | ||
} | ||
Object.defineProperty(exports, "__esModule", { | ||
@@ -235,3 +227,3 @@ value: true | ||
; | ||
const version = "7.22.17"; | ||
const version = "7.23.2"; | ||
exports.version = version; | ||
@@ -242,16 +234,13 @@ const DEFAULT_EXTENSIONS = Object.freeze([".js", ".jsx", ".es6", ".es", ".mjs", ".cjs"]); | ||
{ | ||
{ | ||
exports.OptionManager = class OptionManager { | ||
init(opts) { | ||
return (0, _index2.loadOptionsSync)(opts); | ||
} | ||
}; | ||
exports.Plugin = function Plugin(alias) { | ||
throw new Error(`The (${alias}) Babel 5 plugin is being run with an unsupported Babel version.`); | ||
}; | ||
} | ||
exports.OptionManager = class OptionManager { | ||
init(opts) { | ||
return (0, _index2.loadOptionsSync)(opts); | ||
} | ||
}; | ||
exports.Plugin = function Plugin(alias) { | ||
throw new Error(`The (${alias}) Babel 5 plugin is being run with an unsupported Babel version.`); | ||
}; | ||
} | ||
0 && (exports.types = exports.traverse = exports.tokTypes = exports.template = 0); | ||
if (typeof process === "object" && process.version === "v20.6.0") delete exports["___internal__alreadyRunning" + ""]; | ||
//# sourceMappingURL=index.js.map |
@@ -75,5 +75,7 @@ "use strict"; | ||
try { | ||
inputMap = _convertSourceMap().fromComment(lastComment); | ||
inputMap = _convertSourceMap().fromComment("//" + lastComment); | ||
} catch (err) { | ||
debug("discarding unknown inline input sourcemap", err); | ||
{ | ||
debug("discarding unknown inline input sourcemap"); | ||
} | ||
} | ||
@@ -80,0 +82,0 @@ } |
{ | ||
"name": "@babel/core", | ||
"version": "7.22.17", | ||
"version": "7.23.2", | ||
"description": "Babel compiler core.", | ||
@@ -51,11 +51,11 @@ "main": "./lib/index.js", | ||
"@babel/code-frame": "^7.22.13", | ||
"@babel/generator": "^7.22.15", | ||
"@babel/generator": "^7.23.0", | ||
"@babel/helper-compilation-targets": "^7.22.15", | ||
"@babel/helper-module-transforms": "^7.22.17", | ||
"@babel/helpers": "^7.22.15", | ||
"@babel/parser": "^7.22.16", | ||
"@babel/helper-module-transforms": "^7.23.0", | ||
"@babel/helpers": "^7.23.2", | ||
"@babel/parser": "^7.23.0", | ||
"@babel/template": "^7.22.15", | ||
"@babel/traverse": "^7.22.17", | ||
"@babel/types": "^7.22.17", | ||
"convert-source-map": "^1.7.0", | ||
"@babel/traverse": "^7.23.2", | ||
"@babel/types": "^7.23.0", | ||
"convert-source-map": "^2.0.0", | ||
"debug": "^4.1.0", | ||
@@ -67,10 +67,10 @@ "gensync": "^1.0.0-beta.2", | ||
"devDependencies": { | ||
"@babel/helper-transform-fixture-test-runner": "^7.22.15", | ||
"@babel/helper-transform-fixture-test-runner": "^7.22.19", | ||
"@babel/plugin-syntax-flow": "^7.22.5", | ||
"@babel/plugin-transform-flow-strip-types": "^7.22.5", | ||
"@babel/plugin-transform-modules-commonjs": "^7.22.15", | ||
"@babel/preset-env": "^7.22.15", | ||
"@babel/preset-typescript": "^7.22.15", | ||
"@babel/plugin-transform-modules-commonjs": "^7.23.0", | ||
"@babel/preset-env": "^7.23.2", | ||
"@babel/preset-typescript": "^7.23.2", | ||
"@jridgewell/trace-mapping": "^0.3.17", | ||
"@types/convert-source-map": "^1.5.1", | ||
"@types/convert-source-map": "^2.0.0", | ||
"@types/debug": "^4.1.0", | ||
@@ -77,0 +77,0 @@ "@types/gensync": "^1.0.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
2
777583
6818
+ Addedconvert-source-map@2.0.0(transitive)
- Removedconvert-source-map@1.9.0(transitive)
Updated@babel/generator@^7.23.0
Updated@babel/helpers@^7.23.2
Updated@babel/parser@^7.23.0
Updated@babel/traverse@^7.23.2
Updated@babel/types@^7.23.0
Updatedconvert-source-map@^2.0.0