Comparing version 0.1.6 to 0.1.7
@@ -136,18 +136,3 @@ "use strict"; | ||
if (callbacks.length >= i) { | ||
let result = undefined; | ||
let error = false; | ||
try { | ||
result = callbacks[i - 1].apply(this, args); | ||
} | ||
catch (e) { | ||
error = true; | ||
throw e; | ||
} | ||
finally { | ||
if (error) { | ||
// continue the loop | ||
return next(); | ||
} | ||
return result; | ||
} | ||
return callbacks[i - 1].apply(this, args); | ||
} | ||
@@ -154,0 +139,0 @@ else { |
{ | ||
"name": "mpwrapper", | ||
"version": "0.1.6", | ||
"version": "0.1.7", | ||
"description": "Monkey Patch Wrapper that support multiple wrapping and unwrapping", | ||
@@ -5,0 +5,0 @@ "main": "build/src/index.js", |
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
22225
207