Comparing version 2.1.0 to 2.1.1
@@ -32,3 +32,4 @@ 'use strict'; | ||
enumerable: false, | ||
value: this.constructor.name | ||
value: this.constructor.name, | ||
writable: true | ||
}); | ||
@@ -43,3 +44,4 @@ | ||
enumerable: false, | ||
value: new Error(message).stack | ||
value: new Error(message).stack, | ||
writable: true | ||
}); | ||
@@ -46,0 +48,0 @@ } |
{ | ||
"name": "es6-error", | ||
"version": "2.1.0", | ||
"version": "2.1.1", | ||
"description": "Easily-extendable error for use with ES6 classes", | ||
@@ -5,0 +5,0 @@ "main": "dist/index.js", |
@@ -15,2 +15,3 @@ class ExtendableError extends Error { | ||
value : this.constructor.name, | ||
writable : true, | ||
}); | ||
@@ -26,2 +27,3 @@ | ||
value : (new Error(message)).stack, | ||
writable : true, | ||
}); | ||
@@ -28,0 +30,0 @@ } |
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
8693
11
138