@babel/core
Advanced tools
Comparing version 7.22.5 to 7.22.9
@@ -193,5 +193,3 @@ "use strict"; | ||
const chain = yield* loadFileChainWalker(input, context, files, baseLogger); | ||
if (chain) { | ||
chain.files.add(input.filepath); | ||
} | ||
chain == null ? void 0 : chain.files.add(input.filepath); | ||
return chain; | ||
@@ -198,0 +196,0 @@ } |
@@ -271,2 +271,3 @@ "use strict"; | ||
if (!context.filename) { | ||
var _options$overrides; | ||
const { | ||
@@ -276,5 +277,3 @@ options | ||
validateIfOptionNeedsFilename(options, descriptor); | ||
if (options.overrides) { | ||
options.overrides.forEach(overrideOptions => validateIfOptionNeedsFilename(overrideOptions, descriptor)); | ||
} | ||
(_options$overrides = options.overrides) == null ? void 0 : _options$overrides.forEach(overrideOptions => validateIfOptionNeedsFilename(overrideOptions, descriptor)); | ||
} | ||
@@ -281,0 +280,0 @@ }; |
@@ -135,5 +135,3 @@ "use strict"; | ||
const arr = assertArray(loc, value); | ||
if (arr) { | ||
arr.forEach((item, i) => assertIgnoreItem(access(loc, i), item)); | ||
} | ||
arr == null ? void 0 : arr.forEach((item, i) => assertIgnoreItem(access(loc, i), item)); | ||
return arr; | ||
@@ -140,0 +138,0 @@ } |
@@ -21,3 +21,7 @@ "use strict"; | ||
if (obj) { | ||
Object.keys(obj).forEach(prop => assertVisitorHandler(prop, obj[prop])); | ||
Object.keys(obj).forEach(prop => { | ||
if (prop !== "_exploded" && prop !== "_verified") { | ||
assertVisitorHandler(prop, obj[prop]); | ||
} | ||
}); | ||
if (obj.enter || obj.exit) { | ||
@@ -39,3 +43,2 @@ throw new Error(`${(0, _optionAssertions.msg)(loc)} cannot contain catch-all "enter" or "exit" handlers. Please target individual nodes.`); | ||
} | ||
return value; | ||
} | ||
@@ -42,0 +45,0 @@ function validatePluginObject(obj) { |
@@ -10,4 +10,5 @@ "use strict"; | ||
exports.injectVirtualStackFrame = injectVirtualStackFrame; | ||
var _Object$getOwnPropert; | ||
const ErrorToString = Function.call.bind(Error.prototype.toString); | ||
const SUPPORTED = !!Error.captureStackTrace; | ||
const SUPPORTED = !!Error.captureStackTrace && ((_Object$getOwnPropert = Object.getOwnPropertyDescriptor(Error, "stackTraceLimit")) == null ? void 0 : _Object$getOwnPropert.writable) === true; | ||
const START_HIDING = "startHiding - secret - don't use this - v1"; | ||
@@ -14,0 +15,0 @@ const STOP_HIDING = "stopHiding - secret - don't use this - v1"; |
@@ -226,3 +226,3 @@ "use strict"; | ||
var thisFile = require("./index"); | ||
const version = "7.22.5"; | ||
const version = "7.22.9"; | ||
exports.version = version; | ||
@@ -229,0 +229,0 @@ const DEFAULT_EXTENSIONS = Object.freeze([".js", ".jsx", ".es6", ".es", ".mjs", ".cjs"]); |
{ | ||
"name": "@babel/core", | ||
"version": "7.22.5", | ||
"version": "7.22.9", | ||
"description": "Babel compiler core.", | ||
@@ -51,9 +51,9 @@ "main": "./lib/index.js", | ||
"@babel/code-frame": "^7.22.5", | ||
"@babel/generator": "^7.22.5", | ||
"@babel/helper-compilation-targets": "^7.22.5", | ||
"@babel/helper-module-transforms": "^7.22.5", | ||
"@babel/helpers": "^7.22.5", | ||
"@babel/parser": "^7.22.5", | ||
"@babel/generator": "^7.22.9", | ||
"@babel/helper-compilation-targets": "^7.22.9", | ||
"@babel/helper-module-transforms": "^7.22.9", | ||
"@babel/helpers": "^7.22.6", | ||
"@babel/parser": "^7.22.7", | ||
"@babel/template": "^7.22.5", | ||
"@babel/traverse": "^7.22.5", | ||
"@babel/traverse": "^7.22.8", | ||
"@babel/types": "^7.22.5", | ||
@@ -64,10 +64,10 @@ "convert-source-map": "^1.7.0", | ||
"json5": "^2.2.2", | ||
"semver": "^6.3.0" | ||
"semver": "^6.3.1" | ||
}, | ||
"devDependencies": { | ||
"@babel/helper-transform-fixture-test-runner": "^7.22.5", | ||
"@babel/helper-transform-fixture-test-runner": "^7.22.7", | ||
"@babel/plugin-syntax-flow": "^7.22.5", | ||
"@babel/plugin-transform-flow-strip-types": "^7.22.5", | ||
"@babel/plugin-transform-modules-commonjs": "^7.22.5", | ||
"@babel/preset-env": "^7.22.5", | ||
"@babel/preset-env": "^7.22.9", | ||
"@babel/preset-typescript": "^7.22.5", | ||
@@ -74,0 +74,0 @@ "@jridgewell/trace-mapping": "^0.3.17", |
@@ -5,3 +5,3 @@ # @babel/core | ||
See our website [@babel/core](https://babeljs.io/docs/en/babel-core) for more information or the [issues](https://github.com/babel/babel/issues?utf8=%E2%9C%93&q=is%3Aissue+label%3A%22pkg%3A%20core%22+is%3Aopen) associated with this package. | ||
See our website [@babel/core](https://babeljs.io/docs/babel-core) for more information or the [issues](https://github.com/babel/babel/issues?utf8=%E2%9C%93&q=is%3Aissue+label%3A%22pkg%3A%20core%22+is%3Aopen) associated with this package. | ||
@@ -8,0 +8,0 @@ ## Install |
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
Sorry, the diff of this file is not supported yet
769382
6790
+ Addedelectron-to-chromium@1.4.774(transitive)
- Removedelectron-to-chromium@1.4.772(transitive)
Updated@babel/generator@^7.22.9
Updated@babel/helpers@^7.22.6
Updated@babel/parser@^7.22.7
Updated@babel/traverse@^7.22.8
Updatedsemver@^6.3.1