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

Releasing 0.17.1

上级 599eb989
{
"name": "axios",
"main": "./dist/axios.js",
"version": "0.17.0",
"version": "0.17.1",
"homepage": "https://github.com/axios/axios",
"authors": [
"Matt Zabriskie"
......
/* axios v0.17.0 | (c) 2017 by Matt Zabriskie */
/* axios v0.17.1 | (c) 2017 by Matt Zabriskie */
(function webpackUniversalModuleDefinition(root, factory) {
if(typeof exports === 'object' && typeof module === 'object')
module.exports = factory();
......@@ -328,7 +328,7 @@ return /******/ (function(modules) { // webpackBootstrap
}
// Force an array if not already something iterable
if (typeof obj !== 'object' && !isArray(obj)) {
if (typeof obj !== 'object') {
/*eslint no-param-reassign:0*/
obj = [obj];
}
......@@ -699,8 +699,7 @@ return /******/ (function(modules) { // webpackBootstrap
// For IE 8/9 CORS support
// 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.
if (!window.XMLHttpRequest &&
("production") !== 'test' &&
if (("production") !== 'test' &&
typeof window !== 'undefined' &&
window.XDomainRequest && !('withCredentials' in request) &&
!isURLSameOrigin(config.url)) {
......
此差异已折叠。
此差异已折叠。
因为 它太大了无法显示 source diff 。你可以改为 查看blob
{
"name": "axios",
"version": "0.17.0",
"version": "0.17.1",
"description": "Promise based HTTP client for the browser and node.js",
"main": "index.js",
"scripts": {
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册