error-type
Advanced tools
Comparing version 1.1.8 to 1.1.9
@@ -36,11 +36,6 @@ | ||
for(const key in params){ | ||
for(const key of Reflect.ownKeys(params)){ | ||
setKey({error,params,key,onCreateParams}); | ||
} | ||
for(const symbol of Object.getOwnPropertySymbols(params)){ | ||
setKey({error,params,key:symbol,onCreateParams}); | ||
} | ||
return onCreateParams; | ||
@@ -47,0 +42,0 @@ }; |
@@ -8,2 +8,6 @@ import{defaultOnCreate,getOnCreateParams}from"./create.js"; | ||
export default function errorType(name,onCreate=defaultOnCreate){ | ||
@@ -10,0 +14,0 @@ const ErrorType=class extends Error{ |
{ | ||
"name": "error-type", | ||
"version": "1.1.8", | ||
"version": "1.1.9", | ||
"type": "module", | ||
@@ -5,0 +5,0 @@ "exports": "./build/src/main.js", |
Sorry, the diff of this file is not supported yet
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
37274
174