normalize-exception
Advanced tools
Comparing version 1.4.1 to 1.4.2
@@ -14,3 +14,3 @@ import{setErrorProperty}from"./descriptors.js"; | ||
if(error.stack.startsWith(header)){ | ||
if(error.stack.includes(header)){ | ||
return; | ||
@@ -27,2 +27,4 @@ } | ||
const getStackHeader=function(error){ | ||
@@ -29,0 +31,0 @@ return`${error.name}: ${error.message}`; |
{ | ||
"name": "normalize-exception", | ||
"version": "1.4.1", | ||
"version": "1.4.2", | ||
"type": "module", | ||
@@ -57,4 +57,4 @@ "exports": "./build/src/main.js", | ||
"is-plain-obj": "^4.1.0", | ||
"safe-json-value": "^1.2.0" | ||
"safe-json-value": "^1.5.0" | ||
} | ||
} |
Sorry, the diff of this file is not supported yet
64166
Updatedsafe-json-value@^1.5.0