normalize-exception
Advanced tools
Comparing version 2.8.1 to 2.9.0
@@ -18,4 +18,3 @@ import{setErrorProperty}from"./descriptors.js"; | ||
}else if(error.errors!==undefined){ | ||
delete error.errors; | ||
deleteAggregateErrors(error); | ||
} | ||
@@ -34,2 +33,11 @@ }; | ||
}; | ||
const deleteAggregateErrors=function(error){ | ||
delete error.errors; | ||
if(error.errors!==undefined){ | ||
setErrorProperty(error,"errors",[]); | ||
} | ||
}; | ||
//# sourceMappingURL=aggregate.js.map |
{ | ||
"name": "normalize-exception", | ||
"version": "2.8.1", | ||
"version": "2.9.0", | ||
"type": "module", | ||
@@ -5,0 +5,0 @@ "exports": "./build/src/main.js", |
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
25123
429