提交 1025d123 编写于 作者: J Jay

Release v0.23.0

上级 6d1e30fd
{
"name": "axios",
"main": "./dist/axios.js",
"version": "0.22.0",
"version": "0.23.0",
"homepage": "https://axios-http.com",
"authors": [
"Matt Zabriskie"
......
......@@ -7,7 +7,7 @@
exports["axios"] = factory();
else
root["axios"] = factory();
})(window, function() {
})(this, function() {
return /******/ (function(modules) { // webpackBootstrap
/******/ // The module cache
/******/ var installedModules = {};
......@@ -239,7 +239,7 @@ module.exports = function xhrAdapter(config) {
// Handle timeout
request.ontimeout = function handleTimeout() {
var timeoutErrorMessage = 'timeout of ' + config.timeout + 'ms exceeded';
var timeoutErrorMessage = config.timeout ? 'timeout of ' + config.timeout + 'ms exceeded' : 'timeout exceeded';
var transitional = config.transitional || defaults.transitional;
if (config.timeoutErrorMessage) {
timeoutErrorMessage = config.timeoutErrorMessage;
......@@ -1357,7 +1357,7 @@ module.exports = defaults;
/***/ (function(module, exports) {
module.exports = {
"version": "0.22.0"
"version": "0.23.0"
};
/***/ }),
......
此差异已折叠。
此差异已折叠。
此差异已折叠。
module.exports = {
"version": "0.22.0"
"version": "0.23.0"
};
\ No newline at end of file
{
"name": "axios",
"version": "0.22.0",
"version": "0.23.0",
"description": "Promise based HTTP client for the browser and node.js",
"main": "index.js",
"types": "index.d.ts",
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册