Socket
Socket
Sign inDemoInstall

@babel/helper-module-transforms

Package Overview
Dependencies
8
Maintainers
4
Versions
114
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 7.18.0 to 7.18.6

4

lib/normalize-and-load-metadata.js

@@ -273,3 +273,5 @@ "use strict";

} else {
if (child.isExportDefaultDeclaration()) child = child.get("declaration");
if (child.isExportDefaultDeclaration()) {
child = child.get("declaration");
}

@@ -276,0 +278,0 @@ if (child.isExportNamedDeclaration()) {

@@ -105,3 +105,6 @@ "use strict";

if (localName) {
if (meta.lazy) identNode = callExpression(identNode, []);
if (meta.lazy) {
identNode = callExpression(identNode, []);
}
return identNode;

@@ -306,3 +309,3 @@ }

if (importData) {
assignment.left = buildImportReference(importData, assignment.left);
assignment.left = buildImportReference(importData, left.node);
assignment.right = sequenceExpression([assignment.right, buildImportThrow(localName)]);

@@ -309,0 +312,0 @@ }

{
"name": "@babel/helper-module-transforms",
"version": "7.18.0",
"version": "7.18.6",
"description": "Babel helper functions for implementing ES6 module transformations",

@@ -18,14 +18,15 @@ "author": "The Babel Team (https://babel.dev/team)",

"dependencies": {
"@babel/helper-environment-visitor": "^7.16.7",
"@babel/helper-module-imports": "^7.16.7",
"@babel/helper-simple-access": "^7.17.7",
"@babel/helper-split-export-declaration": "^7.16.7",
"@babel/helper-validator-identifier": "^7.16.7",
"@babel/template": "^7.16.7",
"@babel/traverse": "^7.18.0",
"@babel/types": "^7.18.0"
"@babel/helper-environment-visitor": "^7.18.6",
"@babel/helper-module-imports": "^7.18.6",
"@babel/helper-simple-access": "^7.18.6",
"@babel/helper-split-export-declaration": "^7.18.6",
"@babel/helper-validator-identifier": "^7.18.6",
"@babel/template": "^7.18.6",
"@babel/traverse": "^7.18.6",
"@babel/types": "^7.18.6"
},
"engines": {
"node": ">=6.9.0"
}
},
"type": "commonjs"
}
SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Packages

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc