Comparing version 1.1.0 to 1.1.1
{ | ||
"name": "xerror", | ||
"version": "1.1.0", | ||
"version": "1.1.1", | ||
"description": "Error wrapper including things like error code, data, and cause for Node.JS", | ||
@@ -5,0 +5,0 @@ "main": "./xerror.js", |
@@ -20,3 +20,4 @@ var registry = require('./error-code-registry'); | ||
function XError(/*code, message, data, privateData, cause*/) { | ||
Error.captureStackTrace(this, this); | ||
if (Error.captureStackTrace) Error.captureStackTrace(this, this); | ||
else this.stack = new Error().stack; | ||
@@ -23,0 +24,0 @@ var code, message, data, cause, privateData; |
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
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
Found 1 instance in 1 package
192301
36
2055
0