@babel/helper-module-transforms
Advanced tools
Comparing version 7.18.0 to 7.18.6
@@ -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" | ||
} |
41441
1103
Updated@babel/template@^7.18.6
Updated@babel/traverse@^7.18.6
Updated@babel/types@^7.18.6