You're Invited:Meet the Socket Team at RSAC and BSidesSF 2026, March 23–26.RSVP
Socket
Book a DemoSign in
Socket

@babel/plugin-transform-explicit-resource-management

Package Overview
Dependencies
Maintainers
4
Versions
9
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@babel/plugin-transform-explicit-resource-management - npm Package Compare versions

Comparing version
7.27.5
to
7.28.0
+1
-1
lib/index.js

@@ -11,3 +11,3 @@ "use strict";

function isAnonymousFunctionDefinition(node) {
return _core.types.isClassExpression(node) && !node.id;
return _core.types.isArrowFunctionExpression(node) || (_core.types.isFunctionExpression(node) || _core.types.isClassExpression(node)) && !node.id;
}

@@ -14,0 +14,0 @@ function emitSetFunctionNameCall(state, expression, name) {

{
"name": "@babel/plugin-transform-explicit-resource-management",
"version": "7.27.5",
"version": "7.28.0",
"description": "Compile `using` and `await using` declarations to ES2015",

@@ -21,3 +21,3 @@ "repository": {

"@babel/helper-plugin-utils": "^7.27.1",
"@babel/plugin-transform-destructuring": "^7.27.3"
"@babel/plugin-transform-destructuring": "^7.28.0"
},

@@ -28,3 +28,3 @@ "peerDependencies": {

"devDependencies": {
"@babel/core": "^7.27.4",
"@babel/core": "^7.28.0",
"@babel/helper-plugin-test-runner": "^7.27.1"

@@ -31,0 +31,0 @@ },

Sorry, the diff of this file is not supported yet