normalize-exception
Advanced tools
Comparing version 1.1.2 to 1.1.3
@@ -0,5 +1,6 @@ | ||
import isPlainObj from"is-plain-obj"; | ||
import{supportsAggregateError}from"./aggregate.js"; | ||
import{setErrorProperty,isNonModifiableError}from"./descriptors.js"; | ||
import{setFullStack}from"./stack.js"; | ||
import{isPlainObj}from"./utils.js"; | ||
@@ -25,5 +26,7 @@ | ||
const isError=function(value){ | ||
return( | ||
objectToString.call(value)==="[object Error]"&& | ||
!(Symbol.toStringTag in value)); | ||
const isError=function(value){ | ||
return objectToString.call(value)==="[object Error]"; | ||
}; | ||
@@ -30,0 +33,0 @@ |
{ | ||
"name": "normalize-exception", | ||
"version": "1.1.2", | ||
"version": "1.1.3", | ||
"type": "module", | ||
@@ -55,3 +55,6 @@ "exports": "./build/src/main.js", | ||
"node": ">=14.18.0" | ||
}, | ||
"dependencies": { | ||
"is-plain-obj": "^4.1.0" | ||
} | ||
} |
Sorry, the diff of this file is not supported yet
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
49685
1
16
324
+ Addedis-plain-obj@^4.1.0
+ Addedis-plain-obj@4.1.0(transitive)