rollup-plugin-external-globals
Advanced tools
Comparing version 0.3.0 to 0.3.1
@@ -52,3 +52,3 @@ const {walk} = require("estree-walker"); | ||
function analyzeExportNamed(node, code, names, tempNames) { | ||
if (node.declaration || !node.source) { | ||
if (node.declaration || !node.source || !names.hasOwnProperty(node.source.value)) { | ||
return false; | ||
@@ -55,0 +55,0 @@ } |
{ | ||
"name": "rollup-plugin-external-globals", | ||
"version": "0.3.0", | ||
"version": "0.3.1", | ||
"description": "Transform external imports into global variables like output.globals.", | ||
@@ -20,3 +20,3 @@ "keywords": [ | ||
"scripts": { | ||
"test": "eslint **/*.js --cache && nyc --reporter=html mocha", | ||
"test": "eslint **/*.js --cache && c8 --reporter lcov mocha", | ||
"preversion": "npm test", | ||
@@ -29,14 +29,14 @@ "postversion": "git push --follow-tags && npm publish" | ||
"devDependencies": { | ||
"c8": "^5.0.1", | ||
"endent": "^1.3.0", | ||
"eslint": "^5.15.3", | ||
"mocha": "^6.0.2", | ||
"nyc": "^13.3.0", | ||
"rollup": "^1.7.3", | ||
"tempdir-yaml": "^0.2.1" | ||
"eslint": "^5.16.0", | ||
"mocha": "^6.1.4", | ||
"rollup": "^1.14.0", | ||
"tempdir-yaml": "^0.3.0" | ||
}, | ||
"dependencies": { | ||
"estree-walker": "^0.6.0", | ||
"estree-walker": "^0.6.1", | ||
"is-reference": "^1.1.2", | ||
"magic-string": "^0.25.2", | ||
"rollup-pluginutils": "^2.5.0" | ||
"rollup-pluginutils": "^2.8.1" | ||
}, | ||
@@ -43,0 +43,0 @@ "peerDependencies": { |
@@ -87,2 +87,7 @@ rollup-plugin-external-globals | ||
* 0.3.1 (Jun 6, 2019) | ||
- Fix: all export-from statements are incorrectly transformed. | ||
- Bump dependencies. | ||
* 0.3.0 (Mar 25, 2019) | ||
@@ -89,0 +94,0 @@ |
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
9185
111
Updatedestree-walker@^0.6.1
Updatedrollup-pluginutils@^2.8.1