You're Invited:Meet the Socket Team at BlackHat and DEF CON in Las Vegas, Aug 4-6.RSVP
Socket
Book a DemoInstallSign in
Socket

@babel/plugin-transform-block-scoping

Package Overview
Dependencies
Maintainers
4
Versions
123
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@babel/plugin-transform-block-scoping - npm Package Compare versions

Comparing version

to
7.27.5

2

lib/index.js

@@ -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