custom-require
Advanced tools
Comparing version 0.1.14 to 0.1.15
@@ -71,4 +71,6 @@ "use strict"; | ||
exports.CustomRequire = CustomRequire; | ||
Module.__customCache = {}; | ||
Module.prototype.__require = Module.prototype.require; | ||
if (!Module.__customCache) { | ||
Module.__customCache = {}; | ||
Module.prototype.__require = Module.prototype.require; | ||
} | ||
Module.prototype.__cleanCalled = function (customRequire, mod, cyclicCheck) { | ||
@@ -170,3 +172,2 @@ if (!cyclicCheck) { | ||
} | ||
this.__invalid = true; | ||
for (var _i = 0, _a = this.__childModules; _i < _a.length; _i++) { | ||
@@ -173,0 +174,0 @@ var childModule = _a[_i]; |
@@ -34,3 +34,3 @@ { | ||
}, | ||
"version": "0.1.14", | ||
"version": "0.1.15", | ||
"dependencies": { | ||
@@ -37,0 +37,0 @@ "callsite": "^1.0.0" |
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
26866
311