Socket
Socket
Sign inDemoInstall

rollup-plugin-external-globals

Package Overview
Dependencies
Maintainers
1
Versions
19
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.2.0 to 0.2.1

2

lib/import-to-globals.js

@@ -89,3 +89,3 @@ const {walk} = require("estree-walker");

enter(node, parent) {
if (/^(import|export)/i.test(node.type)) {
if (/^import/i.test(node.type)) {
this.skip();

@@ -92,0 +92,0 @@ }

{
"name": "rollup-plugin-external-globals",
"version": "0.2.0",
"version": "0.2.1",
"description": "Transform external imports into global variables like output.globals.",

@@ -5,0 +5,0 @@ "keywords": [

@@ -83,2 +83,6 @@ rollup-plugin-external-globals

* 0.2.1 (Oct 2, 2018)
- Fix: don't skip export statement.
* 0.2.0 (Sep 12, 2018)

@@ -85,0 +89,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