Socket
Socket
Sign inDemoInstall

load

Package Overview
Dependencies
Maintainers
1
Versions
12
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

load - npm Package Compare versions

Comparing version 1.0.0 to 1.0.1

test.js

19

index.js

@@ -61,16 +61,2 @@ 'use strict';

Object.keys(missing).forEach(function missingInVM(global) {
if (context[global] === missing[global]) {
try { delete context[global]; }
catch (e) {}
}
});
Object.keys(globals).forEach(function missingInVM(global) {
if (context[global] === globals[global]) {
try { delete context[global]; }
catch (e) {}
}
});
return context;

@@ -109,3 +95,6 @@ }

return missing;
}, { require: require });
}, {
require: require,
Error: Error
});

@@ -112,0 +101,0 @@ //

{
"name": "load",
"version": "1.0.0",
"version": "1.0.1",
"description": "Load plain JavaScript files that don't use module patterns directly in node.",

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

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

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