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

insert-module-globals

Package Overview
Dependencies
Maintainers
1
Versions
64
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

insert-module-globals - npm Package Compare versions

Comparing version 3.1.2 to 3.1.3

10

index.js

@@ -65,3 +65,3 @@ var parseScope = require('lexical-scope');

? { globals: { implicit: varNames } }
: parseScope('(function(){' + source + '})()')
: parseScope('(function(){\n' + source + '\n})()')
;

@@ -100,4 +100,4 @@ }

if (keys.length <= 3) {
return '(function (' + keys.join(',') + '){'
+ src + '}).call(this,' + values.join(',') + ')'
return '(function (' + keys.join(',') + '){\n'
+ src + '\n}).call(this,' + values.join(',') + ')'
;

@@ -114,5 +114,5 @@ }

return '(function (' + names.join(',') + '){'
+ src + '}).call(this,' + values.join(',') + ')'
return '(function (' + names.join(',') + '){\n'
+ src + '\n}).call(this,' + values.join(',') + ')'
;
}
{
"name": "insert-module-globals",
"version": "3.1.2",
"version": "3.1.3",
"description": "insert implicit module globals into a module-deps stream",

@@ -5,0 +5,0 @@ "main": "index.js",

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