提交 d59c70fd 编写于 作者: E Emily Morehouse

Releasing v0.18.0

上级 48a79022
{
"name": "axios",
"main": "./dist/axios.js",
"version": "0.17.1",
"version": "0.18.0",
"homepage": "https://github.com/axios/axios",
"authors": [
"Matt Zabriskie"
......
/* axios v0.17.1 | (c) 2017 by Matt Zabriskie */
/* axios v0.18.0 | (c) 2018 by Matt Zabriskie */
(function webpackUniversalModuleDefinition(root, factory) {
if(typeof exports === 'object' && typeof module === 'object')
module.exports = factory();
......@@ -448,7 +448,7 @@ return /******/ (function(modules) { // webpackBootstrap
/*!
* Determine if an object is a Buffer
*
* @author Feross Aboukhadijeh <feross@feross.org> <http://feross.org>
* @author Feross Aboukhadijeh <https://feross.org>
* @license MIT
*/
......@@ -506,7 +506,7 @@ return /******/ (function(modules) { // webpackBootstrap
}, arguments[1]);
}
config = utils.merge(defaults, this.defaults, { method: 'get' }, config);
config = utils.merge(defaults, {method: 'get'}, this.defaults, config);
config.method = config.method.toLowerCase();
// Hook up interceptors middleware
......@@ -622,6 +622,10 @@ return /******/ (function(modules) { // webpackBootstrap
return data;
}],
/**
* A timeout in milliseconds to abort a request. If set to 0 (default) a
* timeout is not created.
*/
timeout: 0,
xsrfCookieName: 'XSRF-TOKEN',
......@@ -985,9 +989,7 @@ return /******/ (function(modules) { // webpackBootstrap
if (utils.isArray(val)) {
key = key + '[]';
}
if (!utils.isArray(val)) {
} else {
val = [val];
}
......
此差异已折叠。
此差异已折叠。
因为 它太大了无法显示 source diff 。你可以改为 查看blob
{
"name": "axios",
"version": "0.17.1",
"version": "0.18.0",
"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.
先完成此消息的编辑!
想要评论请 注册