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

Releasing 0.17.1

This commit is contained in:
Nick Uraltsev
2017-11-11 15:24:16 -08:00
parent 599eb9890c
commit ad1195f070
6 changed files with 10 additions and 11 deletions
+1 -1
View File
@@ -1,7 +1,7 @@
{ {
"name": "axios", "name": "axios",
"main": "./dist/axios.js", "main": "./dist/axios.js",
"version": "0.17.0", "version": "0.17.1",
"homepage": "https://github.com/axios/axios", "homepage": "https://github.com/axios/axios",
"authors": [ "authors": [
"Matt Zabriskie" "Matt Zabriskie"
+3 -4
View File
@@ -1,4 +1,4 @@
/* axios v0.17.0 | (c) 2017 by Matt Zabriskie */ /* axios v0.17.1 | (c) 2017 by Matt Zabriskie */
(function webpackUniversalModuleDefinition(root, factory) { (function webpackUniversalModuleDefinition(root, factory) {
if(typeof exports === 'object' && typeof module === 'object') if(typeof exports === 'object' && typeof module === 'object')
module.exports = factory(); module.exports = factory();
@@ -328,7 +328,7 @@ return /******/ (function(modules) { // webpackBootstrap
} }
// Force an array if not already something iterable // Force an array if not already something iterable
if (typeof obj !== 'object' && !isArray(obj)) { if (typeof obj !== 'object') {
/*eslint no-param-reassign:0*/ /*eslint no-param-reassign:0*/
obj = [obj]; obj = [obj];
} }
@@ -699,8 +699,7 @@ return /******/ (function(modules) { // webpackBootstrap
// For IE 8/9 CORS support // For IE 8/9 CORS support
// Only supports POST and GET calls and doesn't returns the response headers. // Only supports POST and GET calls and doesn't returns the response headers.
// DON'T do this for testing b/c XMLHttpRequest is mocked, not XDomainRequest. // DON'T do this for testing b/c XMLHttpRequest is mocked, not XDomainRequest.
if (!window.XMLHttpRequest && if (("production") !== 'test' &&
("production") !== 'test' &&
typeof window !== 'undefined' && typeof window !== 'undefined' &&
window.XDomainRequest && !('withCredentials' in request) && window.XDomainRequest && !('withCredentials' in request) &&
!isURLSameOrigin(config.url)) { !isURLSameOrigin(config.url)) {
+1 -1
View File
File diff suppressed because one or more lines are too long
+3 -3
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
+1 -1
View File
@@ -1,6 +1,6 @@
{ {
"name": "axios", "name": "axios",
"version": "0.17.0", "version": "0.17.1",
"description": "Promise based HTTP client for the browser and node.js", "description": "Promise based HTTP client for the browser and node.js",
"main": "index.js", "main": "index.js",
"scripts": { "scripts": {