Comparing version 2.0.0 to 2.1.0
@@ -344,3 +344,3 @@ /* | ||
var mod = m._cache[k]; | ||
var idx = mod.parent.children.indexOf(mod); | ||
var idx = mod.parent && mod.parent.children && mod.parent.children.indexOf(mod); | ||
if (idx > -1) { | ||
@@ -347,0 +347,0 @@ mod.parent.children.splice(idx, 1); |
{ | ||
"name": "mockery", | ||
"version": "2.0.0", | ||
"version": "2.1.0", | ||
"description": "Simplifying the use of mocks with Node.js", | ||
@@ -5,0 +5,0 @@ "keywords": [ |
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
49223