Comparing version 1.0.0 to 1.0.1
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
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
177
7683
12
6