@babel/plugin-proposal-export-default-from
Advanced tools
Comparing version 7.22.5 to 7.22.17
@@ -32,7 +32,3 @@ "use strict"; | ||
} | ||
const nodes = [_core.types.exportNamedDeclaration(null, [_core.types.exportSpecifier(_core.types.identifier("default"), exported)], _core.types.cloneNode(source))]; | ||
if (specifiers.length >= 1) { | ||
nodes.push(node); | ||
} | ||
path.replaceWithMultiple(nodes); | ||
path.insertBefore(_core.types.exportNamedDeclaration(null, [_core.types.exportSpecifier(_core.types.identifier("default"), exported)], _core.types.cloneNode(source))); | ||
} | ||
@@ -39,0 +35,0 @@ } |
{ | ||
"name": "@babel/plugin-proposal-export-default-from", | ||
"version": "7.22.5", | ||
"version": "7.22.17", | ||
"description": "Compile export default to ES2015", | ||
@@ -27,3 +27,3 @@ "repository": { | ||
"devDependencies": { | ||
"@babel/core": "^7.22.5", | ||
"@babel/core": "^7.22.17", | ||
"@babel/helper-plugin-test-runner": "^7.22.5" | ||
@@ -30,0 +30,0 @@ }, |
@@ -5,3 +5,3 @@ # @babel/plugin-proposal-export-default-from | ||
See our website [@babel/plugin-proposal-export-default-from](https://babeljs.io/docs/en/babel-plugin-proposal-export-default-from) for more information. | ||
See our website [@babel/plugin-proposal-export-default-from](https://babeljs.io/docs/babel-plugin-proposal-export-default-from) for more information. | ||
@@ -8,0 +8,0 @@ ## Install |
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
6253
37
71
0
0
0
13