axios-cordova-adapter
Advanced tools
Comparing version 1.0.6 to 1.0.7
@@ -18,2 +18,3 @@ "use strict"; | ||
const buildFullPath_1 = __importDefault(require("axios/lib/core/buildFullPath")); | ||
const http_status_codes_1 = require("http-status-codes"); | ||
function axiosCordovaAdapter(config) { | ||
@@ -115,2 +116,4 @@ return new Promise((resolve, reject) => __awaiter(this, void 0, void 0, function* () { | ||
} | ||
response.config = config; | ||
response.statusText = (0, http_status_codes_1.getReasonPhrase)(response.status); | ||
(Object.prototype.toString.call(config.settle) === '[object Function]' | ||
@@ -117,0 +120,0 @@ ? config.settle |
{ | ||
"name": "axios-cordova-adapter", | ||
"version": "1.0.6", | ||
"version": "1.0.7", | ||
"description": "An axios adapter using cordova-plugin-advanced-http", | ||
@@ -30,3 +30,5 @@ "main": "dist/index.js", | ||
}, | ||
"dependencies": {} | ||
"dependencies": { | ||
"http-status-codes": "^2.2.0" | ||
} | ||
} |
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
Network access
Supply chain riskThis module accesses the network.
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
8626
129
1
1
+ Addedhttp-status-codes@^2.2.0
+ Addedhttp-status-codes@2.3.0(transitive)