axios-error
Advanced tools
Comparing version 1.0.0-beta.16 to 1.0.0-beta.24
/// <reference types="node" /> | ||
import util from 'util'; | ||
import { AxiosRequestConfig, AxiosResponse } from 'axios'; | ||
export default class AxiosError extends Error { | ||
declare class AxiosError extends Error { | ||
config: AxiosRequestConfig; | ||
@@ -12,2 +12,3 @@ request?: any; | ||
} | ||
export = AxiosError; | ||
//# sourceMappingURL=index.d.ts.map |
@@ -5,3 +5,2 @@ "use strict"; | ||
}; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
const util_1 = __importDefault(require("util")); | ||
@@ -79,3 +78,3 @@ function indent(str) { | ||
} | ||
exports.default = AxiosError; | ||
module.exports = AxiosError; | ||
//# sourceMappingURL=index.js.map |
@@ -9,3 +9,3 @@ { | ||
}, | ||
"version": "1.0.0-beta.16", | ||
"version": "1.0.0-beta.24", | ||
"main": "dist/index.js", | ||
@@ -24,3 +24,3 @@ "types": "dist/index.d.ts", | ||
}, | ||
"gitHead": "e0695dde8d2b01d1a068f4086fbd7988bcf9de4c" | ||
"gitHead": "18258941a920ed2aabf7b12f17e10e8c14238c15" | ||
} |
@@ -20,3 +20,3 @@ import util from 'util'; | ||
export default class AxiosError extends Error { | ||
class AxiosError extends Error { | ||
config: AxiosRequestConfig; | ||
@@ -104,1 +104,3 @@ | ||
} | ||
export = AxiosError; |
Sorry, the diff of this file is not supported yet
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
90155
249