Socket
Socket
Sign inDemoInstall

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 5.0.0 to 5.0.1

3

index.js

@@ -6,6 +6,7 @@ var parseScope = require('lexical-scope');

var fs = require('fs');
var processPath = require.resolve('process/browser.js');
var defaultVars = {
process: function () {
return 'require("process")';
return 'require(' + JSON.stringify(processPath) + ')';
},

@@ -12,0 +13,0 @@ global: function () {

{
"name": "insert-module-globals",
"version": "5.0.0",
"version": "5.0.1",
"description": "insert implicit module globals into a module-deps stream",

@@ -10,6 +10,7 @@ "main": "index.js",

"dependencies": {
"JSONStream": "~0.7.1",
"concat-stream": "~1.4.1",
"lexical-scope": "~1.1.0",
"through": "~2.3.4",
"JSONStream": "~0.7.1",
"concat-stream": "~1.4.1"
"process": "~0.6.0",
"through": "~2.3.4"
},

@@ -16,0 +17,0 @@ "devDependencies": {

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