提交 ad1195f0 编写于 作者: N Nick Uraltsev

Releasing 0.17.1

上级 599eb989
{ {
"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"
......
/* 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 ...@@ -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 ...@@ -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)) {
......
此差异已折叠。
此差异已折叠。
因为 它太大了无法显示 source diff 。你可以改为 查看blob
{ {
"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": {
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册