@babel/plugin-transform-block-scoping
Advanced tools
Comparing version
@@ -182,3 +182,3 @@ "use strict"; | ||
if (kind === "using" || kind === "await using") { | ||
throw path.buildCodeFrameError(`The ${kind} declaration should be first transformed by \`@babel/plugin-proposal-explicit-resource-management\`.`); | ||
throw path.buildCodeFrameError(`The ${kind} declaration should be first transformed by \`@babel/plugin-transform-explicit-resource-management\`.`); | ||
} else if (!isLetOrConst(kind)) { | ||
@@ -185,0 +185,0 @@ return false; |
{ | ||
"name": "@babel/plugin-transform-block-scoping", | ||
"version": "7.27.3", | ||
"version": "7.27.5", | ||
"description": "Compile ES2015 block scoping (const and let) to ES5", | ||
@@ -26,5 +26,5 @@ "repository": { | ||
"devDependencies": { | ||
"@babel/core": "^7.27.3", | ||
"@babel/core": "^7.27.4", | ||
"@babel/helper-plugin-test-runner": "^7.27.1", | ||
"@babel/traverse": "^7.27.3" | ||
"@babel/traverse": "^7.27.4" | ||
}, | ||
@@ -31,0 +31,0 @@ "engines": { |
Sorry, the diff of this file is not supported yet
88816
0