axios-better-stacktrace
Advanced tools
Comparing version 2.1.0 to 2.1.1
@@ -5,2 +5,9 @@ # Changelog | ||
### [2.1.1](https://github.com/svsool/axios-better-stacktrace/compare/v2.1.0...v2.1.1) (2021-03-13) | ||
### Bug Fixes | ||
* Improve error type detection ([#5](https://github.com/svsool/axios-better-stacktrace/issues/5)) ([e955d9b](https://github.com/svsool/axios-better-stacktrace/commit/e955d9bc90ec9a3aca302ad65a6e197e2eea1ebe)) | ||
## [2.1.0](https://github.com/svsool/axios-better-stacktrace/compare/v2.0.2...v2.1.0) (2021-03-10) | ||
@@ -7,0 +14,0 @@ |
@@ -15,4 +15,8 @@ "use strict"; | ||
var patchedSym = Symbol('axiosBetterStacktrace.patched'); | ||
// toString used instead of instanceOf for detecting error type to prevent problem mentioned in issue #5 | ||
var isError = function (error) { | ||
return Object.prototype.toString.call(error) === '[object Error]'; | ||
}; | ||
var isAxiosError = function (error) { | ||
return error instanceof Error && error.isAxiosError; | ||
return isError(error) && error.isAxiosError; | ||
}; | ||
@@ -52,3 +56,3 @@ var axiosMethods = [ | ||
var responseErrorInterceptorId = axiosInstance.interceptors.response.use(function (response) { | ||
if (response.config && response.config.topmostError instanceof Error) { | ||
if (response.config && isError(response.config.topmostError)) { | ||
// remove topmostError to not clutter config and expose it to other interceptors down the chain | ||
@@ -59,7 +63,6 @@ delete response.config.topmostError; | ||
}, function (error) { | ||
if (isAxiosError(error) && error.config && error.config.topmostError instanceof Error) { | ||
if (isAxiosError(error) && error.config && isError(error.config.topmostError)) { | ||
error.originalStack = error.stack; | ||
error.stack = error.stack + "\n" + error.config.topmostError.stack; | ||
delete error.config.topmostError; | ||
throw error; | ||
} | ||
@@ -110,2 +113,2 @@ throw error; | ||
exports.default = axiosBetterStacktrace; | ||
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiYXhpb3NCZXR0ZXJTdGFja3RyYWNlLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiL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ENBQUM7Z0JBQ1osS0FBSyxLQUFLLENBQUM7Z0JBQ1gsS0FBSyxPQUFPLENBQUMsQ0FBQztvQkFDWixJQUFNLGlCQUFlLEdBQUcsYUFBYSxDQUFDLE1BQU0sQ0FBQyxDQUFDO29CQUM5QyxhQUFhLENBQUMsTUFBTSxDQUFDLEdBQUcsU0FBUyxnQ0FBZ0MsQ0FBQyxHQUFHLEVBQUUsSUFBSSxFQUFFLE1BQU07d0JBQ2pGLE9BQU8saUJBQWUsQ0FBQyxHQUFHLEVBQUUsSUFBSSx3QkFDM0IsQ0FBQyxNQUFNLElBQUksRUFBRSxDQUFDLEtBQ2pCLFlBQVksRUFBRSxJQUFJLEtBQUssQ0FBQyxRQUFRLENBQUMsSUFDakMsQ0FBQztvQkFDTCxDQUFDLENBQUM7b0JBQ0YsTUFBTTtpQkFDUDthQUNGO1lBRUQsSUFBSSxDQUFDLGFBQWEsQ0FBQyxVQUFVLENBQUMsRUFBRTtnQkFDOUIsYUFBYSxDQUFDLFVBQVUsQ0FBQyxHQUFHLElBQUksQ0FBQzthQUNsQztTQUNGO0lBQ0gsQ0FBQyxDQUFDLENBQUM7SUFFSCw0RkFBNEY7SUFDNUYsT0FBTztRQUNMLGFBQWEsQ0FBQyxZQUFZLENBQUMsUUFBUSxDQUFDLEtBQUssQ0FBQywwQkFBMEIsQ0FBQyxDQUFDO1FBQ3RFLE1BQU0sQ0FBQyxNQUFNLENBQUMsYUFBYSxFQUFFLGdCQUFnQixDQUFDLENBQUM7SUFDakQsQ0FBQyxDQUFDO0FBQ0osQ0FBQyxDQUFDO0FBRUYsa0JBQWUscUJBQXFCLENBQUMifQ== |
@@ -13,4 +13,8 @@ var __assign = (this && this.__assign) || function () { | ||
var patchedSym = Symbol('axiosBetterStacktrace.patched'); | ||
// toString used instead of instanceOf for detecting error type to prevent problem mentioned in issue #5 | ||
var isError = function (error) { | ||
return Object.prototype.toString.call(error) === '[object Error]'; | ||
}; | ||
var isAxiosError = function (error) { | ||
return error instanceof Error && error.isAxiosError; | ||
return isError(error) && error.isAxiosError; | ||
}; | ||
@@ -50,3 +54,3 @@ var axiosMethods = [ | ||
var responseErrorInterceptorId = axiosInstance.interceptors.response.use(function (response) { | ||
if (response.config && response.config.topmostError instanceof Error) { | ||
if (response.config && isError(response.config.topmostError)) { | ||
// remove topmostError to not clutter config and expose it to other interceptors down the chain | ||
@@ -57,7 +61,6 @@ delete response.config.topmostError; | ||
}, function (error) { | ||
if (isAxiosError(error) && error.config && error.config.topmostError instanceof Error) { | ||
if (isAxiosError(error) && error.config && isError(error.config.topmostError)) { | ||
error.originalStack = error.stack; | ||
error.stack = error.stack + "\n" + error.config.topmostError.stack; | ||
delete error.config.topmostError; | ||
throw error; | ||
} | ||
@@ -108,2 +111,2 @@ throw error; | ||
export default axiosBetterStacktrace; | ||
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiYXhpb3NCZXR0ZXJTdGFja3RyYWNlLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vc3JjL2F4aW9zQmV0dGVyU3RhY2t0cmFjZS50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiOzs7Ozs7Ozs7OztBQUVBLElBQU0sVUFBVSxHQUFHLE1BQU0sQ0FBQywrQkFBK0IsQ0FBQyxDQUFDO0FBZ0IzRCxJQUFNLFlBQVksR0FBRyxVQUFDLEtBQWM7SUFDbEMsT0FBQSxLQUFLLFlBQVksS0FBSyxJQUFLLEtBQW9CLENBQUMsWUFBWTtBQUE1RCxDQUE0RCxDQUFDO0FBRS9ELElBQU0sWUFBWSxHQUFHO0lBQ25CLFNBQVM7SUFDVCxLQUFLO0lBQ0wsUUFBUTtJQUNSLE1BQU07SUFDTixTQUFTO0lBQ1QsTUFBTTtJQUNOLEtBQUs7SUFDTCxPQUFPO0NBQ0MsQ0FBQztBQUVYLElBQU0scUJBQXFCLEdBQUcsVUFBQyxhQUE2QixFQUFFLElBQWd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sR0FBRyxJQUFJLENBQUM7YUFDbEM7U0FDRjtJQUNILENBQUMsQ0FBQyxDQUFDO0lBRUgsNEZBQTRGO0lBQzVGLE9BQU87UUFDTCxhQUFhLENBQUMsWUFBWSxDQUFDLFFBQVEsQ0FBQyxLQUFLLENBQUMsMEJBQTBCLENBQUMsQ0FBQztRQUN0RSxNQUFNLENBQUMsTUFBTSxDQUFDLGFBQWEsRUFBRSxnQkFBZ0IsQ0FBQyxDQUFDO0lBQ2pELENBQUMsQ0FBQztBQUNKLENBQUMsQ0FBQztBQUVGLGVBQWUscUJBQXFCLENBQUMifQ== |
@@ -14,3 +14,3 @@ { | ||
"author": "Svyatoslav Sobol <svyatoslav.sobol@gmail.com>", | ||
"version": "2.1.0", | ||
"version": "2.1.1", | ||
"main": "./lib/cjs/axiosBetterStacktrace.js", | ||
@@ -17,0 +17,0 @@ "exports": { |
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
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
Found 1 instance in 1 package
26962
233
0