Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

rollup-plugin-external-globals

Package Overview
Dependencies
Maintainers
1
Versions
20
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

rollup-plugin-external-globals - npm Package Compare versions

Comparing version 0.3.0 to 0.3.1

2

lib/import-to-globals.js

@@ -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 @@

SocketSocket SOC 2 Logo

Product

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

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc