2
0
mirror of https://github.com/tenrok/axios.git synced 2026-06-20 20:00:40 +03:00

Releasing 0.19.0

This commit is contained in:
Emily Morehouse
2019-05-30 10:10:06 -06:00
parent 3f7451ceb7
commit 8d0b92b267
6 changed files with 15 additions and 7 deletions
+9 -1
View File
@@ -1,4 +1,4 @@
/* axios v0.19.0-beta.1 | (c) 2018 by Matt Zabriskie */
/* axios v0.19.0 | (c) 2019 by Matt Zabriskie */
(function webpackUniversalModuleDefinition(root, factory) {
if(typeof exports === 'object' && typeof module === 'object')
module.exports = factory();
@@ -647,6 +647,11 @@ return /******/ (function(modules) { // webpackBootstrap
}
if (serializedParams) {
var hashmarkIndex = url.indexOf('#');
if (hashmarkIndex !== -1) {
url = url.slice(0, hashmarkIndex);
}
url += (url.indexOf('?') === -1 ? '?' : '&') + serializedParams;
}
@@ -1219,8 +1224,11 @@ return /******/ (function(modules) { // webpackBootstrap
if (code) {
error.code = code;
}
error.request = request;
error.response = response;
error.isAxiosError = true;
error.toJSON = function() {
return {
// Standard
+1 -1
View File
File diff suppressed because one or more lines are too long
+2 -2
View File
File diff suppressed because one or more lines are too long
+1 -1
View File
File diff suppressed because one or more lines are too long