Releasing 0.19.0

上级 3f7451ce
{
"name": "axios",
"main": "./dist/axios.js",
"version": "0.19.0-beta.1",
"version": "0.19.0",
"homepage": "https://github.com/axios/axios",
"authors": [
"Matt Zabriskie"
......
/* axios v0.19.0-beta.1 | (c) 2018 by Matt Zabriskie */
/* axios v0.19.0 | (c) 2019 by Matt Zabriskie */
(function webpackUniversalModuleDefinition(root, factory) {
if(typeof exports === 'object' && typeof module === 'object')
module.exports = factory();
......@@ -647,6 +647,11 @@ return /******/ (function(modules) { // webpackBootstrap
}
if (serializedParams) {
var hashmarkIndex = url.indexOf('#');
if (hashmarkIndex !== -1) {
url = url.slice(0, hashmarkIndex);
}
url += (url.indexOf('?') === -1 ? '?' : '&') + serializedParams;
}
......@@ -1219,8 +1224,11 @@ return /******/ (function(modules) { // webpackBootstrap
if (code) {
error.code = code;
}
error.request = request;
error.response = response;
error.isAxiosError = true;
error.toJSON = function() {
return {
// Standard
......
此差异已折叠。
此差异已折叠。
因为 它太大了无法显示 source diff 。你可以改为 查看blob
{
"name": "axios",
"version": "0.19.0-beta.1",
"version": "0.19.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.
先完成此消息的编辑!
想要评论请 注册