From e5622c7a36d2f97ee4381b30cbeb97fa95f20b2a Mon Sep 17 00:00:00 2001 From: saqqdy Date: Sat, 25 Sep 2021 15:05:59 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BC=98=E5=8C=96=E4=BB=A3=E7=A0=81?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- CHANGELOG.md | 4 +++ docs/README.md | 2 +- docs/classes/default.md | 20 ++++++------- docs/interfaces/AxiosExtendConfig.md | 30 +++++++++---------- .../interfaces/AxiosExtendCurrentStateType.md | 6 ++-- docs/interfaces/AxiosExtendObject.md | 10 +++---- docs/interfaces/AxiosExtendRequestOptions.md | 16 +++++----- docs/modules.md | 18 +++++------ docs/out.json | 2 +- lib/index.esm.js | 2 +- lib/index.js | 2 +- lib/index.umd.js | 2 +- 12 files changed, 59 insertions(+), 55 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 3f471e4..fa787f0 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,9 @@ # 更新日志 +## 2021.09.25 v2.2.3 更新日志 + +1. 优化代码 + ## 2021.09.21 v2.2.2 更新日志 1. 构建输出 banner diff --git a/docs/README.md b/docs/README.md index d288495..1dedfab 100644 --- a/docs/README.md +++ b/docs/README.md @@ -1,4 +1,4 @@ -index.md - v2.2.2 / [Exports](modules.md) +index.md - v2.2.3 / [Exports](modules.md) # axios-ex diff --git a/docs/classes/default.md b/docs/classes/default.md index ced18b7..b2ec6fe 100644 --- a/docs/classes/default.md +++ b/docs/classes/default.md @@ -1,4 +1,4 @@ -[index.md - v2.2.2](../README.md) / [Exports](../modules.md) / default +[index.md - v2.2.3](../README.md) / [Exports](../modules.md) / default # Class: default @@ -40,7 +40,7 @@ axios 封装 #### Defined in -[src/index.ts:164](https://github.com/saqqdy/axios-ex/blob/70c2408/src/index.ts#L164) +[src/index.ts:164](https://github.com/saqqdy/axios-ex/blob/72d4d86/src/index.ts#L164) ## Properties @@ -50,7 +50,7 @@ axios 封装 #### Defined in -[src/index.ts:159](https://github.com/saqqdy/axios-ex/blob/70c2408/src/index.ts#L159) +[src/index.ts:159](https://github.com/saqqdy/axios-ex/blob/72d4d86/src/index.ts#L159) --- @@ -60,7 +60,7 @@ axios 封装 #### Defined in -[src/index.ts:163](https://github.com/saqqdy/axios-ex/blob/70c2408/src/index.ts#L163) +[src/index.ts:163](https://github.com/saqqdy/axios-ex/blob/72d4d86/src/index.ts#L163) --- @@ -70,7 +70,7 @@ axios 封装 #### Defined in -[src/index.ts:160](https://github.com/saqqdy/axios-ex/blob/70c2408/src/index.ts#L160) +[src/index.ts:160](https://github.com/saqqdy/axios-ex/blob/72d4d86/src/index.ts#L160) --- @@ -80,7 +80,7 @@ axios 封装 #### Defined in -[src/index.ts:162](https://github.com/saqqdy/axios-ex/blob/70c2408/src/index.ts#L162) +[src/index.ts:162](https://github.com/saqqdy/axios-ex/blob/72d4d86/src/index.ts#L162) --- @@ -90,7 +90,7 @@ axios 封装 #### Defined in -[src/index.ts:161](https://github.com/saqqdy/axios-ex/blob/70c2408/src/index.ts#L161) +[src/index.ts:161](https://github.com/saqqdy/axios-ex/blob/72d4d86/src/index.ts#L161) --- @@ -100,7 +100,7 @@ axios 封装 #### Defined in -[src/index.ts:158](https://github.com/saqqdy/axios-ex/blob/70c2408/src/index.ts#L158) +[src/index.ts:158](https://github.com/saqqdy/axios-ex/blob/72d4d86/src/index.ts#L158) ## Methods @@ -122,7 +122,7 @@ axios 封装 #### Defined in -[src/index.ts:238](https://github.com/saqqdy/axios-ex/blob/70c2408/src/index.ts#L238) +[src/index.ts:238](https://github.com/saqqdy/axios-ex/blob/72d4d86/src/index.ts#L238) --- @@ -144,4 +144,4 @@ axios 封装 #### Defined in -[src/index.ts:176](https://github.com/saqqdy/axios-ex/blob/70c2408/src/index.ts#L176) +[src/index.ts:176](https://github.com/saqqdy/axios-ex/blob/72d4d86/src/index.ts#L176) diff --git a/docs/interfaces/AxiosExtendConfig.md b/docs/interfaces/AxiosExtendConfig.md index aa23b24..f85e5f3 100644 --- a/docs/interfaces/AxiosExtendConfig.md +++ b/docs/interfaces/AxiosExtendConfig.md @@ -1,4 +1,4 @@ -[index.md - v2.2.2](../README.md) / [Exports](../modules.md) / AxiosExtendConfig +[index.md - v2.2.3](../README.md) / [Exports](../modules.md) / AxiosExtendConfig # Interface: AxiosExtendConfig @@ -32,7 +32,7 @@ #### Defined in -[src/index.ts:34](https://github.com/saqqdy/axios-ex/blob/70c2408/src/index.ts#L34) +[src/index.ts:34](https://github.com/saqqdy/axios-ex/blob/72d4d86/src/index.ts#L34) --- @@ -42,7 +42,7 @@ #### Defined in -[src/index.ts:37](https://github.com/saqqdy/axios-ex/blob/70c2408/src/index.ts#L37) +[src/index.ts:37](https://github.com/saqqdy/axios-ex/blob/72d4d86/src/index.ts#L37) --- @@ -52,7 +52,7 @@ #### Defined in -[src/index.ts:36](https://github.com/saqqdy/axios-ex/blob/70c2408/src/index.ts#L36) +[src/index.ts:36](https://github.com/saqqdy/axios-ex/blob/72d4d86/src/index.ts#L36) --- @@ -62,7 +62,7 @@ #### Defined in -[src/index.ts:38](https://github.com/saqqdy/axios-ex/blob/70c2408/src/index.ts#L38) +[src/index.ts:38](https://github.com/saqqdy/axios-ex/blob/72d4d86/src/index.ts#L38) --- @@ -72,7 +72,7 @@ #### Defined in -[src/index.ts:35](https://github.com/saqqdy/axios-ex/blob/70c2408/src/index.ts#L35) +[src/index.ts:35](https://github.com/saqqdy/axios-ex/blob/72d4d86/src/index.ts#L35) ## Methods @@ -92,7 +92,7 @@ #### Defined in -[src/index.ts:47](https://github.com/saqqdy/axios-ex/blob/70c2408/src/index.ts#L47) +[src/index.ts:47](https://github.com/saqqdy/axios-ex/blob/72d4d86/src/index.ts#L47) --- @@ -112,7 +112,7 @@ #### Defined in -[src/index.ts:46](https://github.com/saqqdy/axios-ex/blob/70c2408/src/index.ts#L46) +[src/index.ts:46](https://github.com/saqqdy/axios-ex/blob/72d4d86/src/index.ts#L46) --- @@ -133,7 +133,7 @@ #### Defined in -[src/index.ts:42](https://github.com/saqqdy/axios-ex/blob/70c2408/src/index.ts#L42) +[src/index.ts:42](https://github.com/saqqdy/axios-ex/blob/72d4d86/src/index.ts#L42) --- @@ -153,7 +153,7 @@ #### Defined in -[src/index.ts:43](https://github.com/saqqdy/axios-ex/blob/70c2408/src/index.ts#L43) +[src/index.ts:43](https://github.com/saqqdy/axios-ex/blob/72d4d86/src/index.ts#L43) --- @@ -174,7 +174,7 @@ #### Defined in -[src/index.ts:44](https://github.com/saqqdy/axios-ex/blob/70c2408/src/index.ts#L44) +[src/index.ts:44](https://github.com/saqqdy/axios-ex/blob/72d4d86/src/index.ts#L44) --- @@ -194,7 +194,7 @@ #### Defined in -[src/index.ts:45](https://github.com/saqqdy/axios-ex/blob/70c2408/src/index.ts#L45) +[src/index.ts:45](https://github.com/saqqdy/axios-ex/blob/72d4d86/src/index.ts#L45) --- @@ -208,7 +208,7 @@ #### Defined in -[src/index.ts:39](https://github.com/saqqdy/axios-ex/blob/70c2408/src/index.ts#L39) +[src/index.ts:39](https://github.com/saqqdy/axios-ex/blob/72d4d86/src/index.ts#L39) --- @@ -229,7 +229,7 @@ #### Defined in -[src/index.ts:40](https://github.com/saqqdy/axios-ex/blob/70c2408/src/index.ts#L40) +[src/index.ts:40](https://github.com/saqqdy/axios-ex/blob/72d4d86/src/index.ts#L40) --- @@ -249,4 +249,4 @@ #### Defined in -[src/index.ts:41](https://github.com/saqqdy/axios-ex/blob/70c2408/src/index.ts#L41) +[src/index.ts:41](https://github.com/saqqdy/axios-ex/blob/72d4d86/src/index.ts#L41) diff --git a/docs/interfaces/AxiosExtendCurrentStateType.md b/docs/interfaces/AxiosExtendCurrentStateType.md index 555ea2c..ad2def2 100644 --- a/docs/interfaces/AxiosExtendCurrentStateType.md +++ b/docs/interfaces/AxiosExtendCurrentStateType.md @@ -1,4 +1,4 @@ -[index.md - v2.2.2](../README.md) / [Exports](../modules.md) / AxiosExtendCurrentStateType +[index.md - v2.2.3](../README.md) / [Exports](../modules.md) / AxiosExtendCurrentStateType # Interface: AxiosExtendCurrentStateType @@ -17,7 +17,7 @@ #### Defined in -[src/index.ts:19](https://github.com/saqqdy/axios-ex/blob/70c2408/src/index.ts#L19) +[src/index.ts:19](https://github.com/saqqdy/axios-ex/blob/72d4d86/src/index.ts#L19) --- @@ -27,4 +27,4 @@ #### Defined in -[src/index.ts:20](https://github.com/saqqdy/axios-ex/blob/70c2408/src/index.ts#L20) +[src/index.ts:20](https://github.com/saqqdy/axios-ex/blob/72d4d86/src/index.ts#L20) diff --git a/docs/interfaces/AxiosExtendObject.md b/docs/interfaces/AxiosExtendObject.md index c63e7e2..5dccb79 100644 --- a/docs/interfaces/AxiosExtendObject.md +++ b/docs/interfaces/AxiosExtendObject.md @@ -1,4 +1,4 @@ -[index.md - v2.2.2](../README.md) / [Exports](../modules.md) / AxiosExtendObject +[index.md - v2.2.3](../README.md) / [Exports](../modules.md) / AxiosExtendObject # Interface: AxiosExtendObject @@ -19,7 +19,7 @@ #### Defined in -[src/index.ts:14](https://github.com/saqqdy/axios-ex/blob/70c2408/src/index.ts#L14) +[src/index.ts:14](https://github.com/saqqdy/axios-ex/blob/72d4d86/src/index.ts#L14) --- @@ -29,7 +29,7 @@ #### Defined in -[src/index.ts:12](https://github.com/saqqdy/axios-ex/blob/70c2408/src/index.ts#L12) +[src/index.ts:12](https://github.com/saqqdy/axios-ex/blob/72d4d86/src/index.ts#L12) --- @@ -39,7 +39,7 @@ #### Defined in -[src/index.ts:15](https://github.com/saqqdy/axios-ex/blob/70c2408/src/index.ts#L15) +[src/index.ts:15](https://github.com/saqqdy/axios-ex/blob/72d4d86/src/index.ts#L15) --- @@ -49,4 +49,4 @@ #### Defined in -[src/index.ts:13](https://github.com/saqqdy/axios-ex/blob/70c2408/src/index.ts#L13) +[src/index.ts:13](https://github.com/saqqdy/axios-ex/blob/72d4d86/src/index.ts#L13) diff --git a/docs/interfaces/AxiosExtendRequestOptions.md b/docs/interfaces/AxiosExtendRequestOptions.md index 73cef05..2a66f1f 100644 --- a/docs/interfaces/AxiosExtendRequestOptions.md +++ b/docs/interfaces/AxiosExtendRequestOptions.md @@ -1,4 +1,4 @@ -[index.md - v2.2.2](../README.md) / [Exports](../modules.md) / AxiosExtendRequestOptions +[index.md - v2.2.3](../README.md) / [Exports](../modules.md) / AxiosExtendRequestOptions # Interface: AxiosExtendRequestOptions @@ -88,7 +88,7 @@ node_modules/axios/index.d.ts:64 #### Defined in -[src/index.ts:24](https://github.com/saqqdy/axios-ex/blob/70c2408/src/index.ts#L24) +[src/index.ts:24](https://github.com/saqqdy/axios-ex/blob/72d4d86/src/index.ts#L24) --- @@ -116,7 +116,7 @@ AxiosRequestConfig.cancelToken #### Defined in -[src/index.ts:28](https://github.com/saqqdy/axios-ex/blob/70c2408/src/index.ts#L28) +[src/index.ts:28](https://github.com/saqqdy/axios-ex/blob/72d4d86/src/index.ts#L28) --- @@ -154,7 +154,7 @@ node_modules/axios/index.d.ts:79 #### Defined in -[src/index.ts:30](https://github.com/saqqdy/axios-ex/blob/70c2408/src/index.ts#L30) +[src/index.ts:30](https://github.com/saqqdy/axios-ex/blob/72d4d86/src/index.ts#L30) --- @@ -262,7 +262,7 @@ node_modules/axios/index.d.ts:52 #### Defined in -[src/index.ts:26](https://github.com/saqqdy/axios-ex/blob/70c2408/src/index.ts#L26) +[src/index.ts:26](https://github.com/saqqdy/axios-ex/blob/72d4d86/src/index.ts#L26) --- @@ -300,7 +300,7 @@ node_modules/axios/index.d.ts:77 #### Defined in -[src/index.ts:27](https://github.com/saqqdy/axios-ex/blob/70c2408/src/index.ts#L27) +[src/index.ts:27](https://github.com/saqqdy/axios-ex/blob/72d4d86/src/index.ts#L27) --- @@ -408,7 +408,7 @@ node_modules/axios/index.d.ts:80 #### Defined in -[src/index.ts:29](https://github.com/saqqdy/axios-ex/blob/70c2408/src/index.ts#L29) +[src/index.ts:29](https://github.com/saqqdy/axios-ex/blob/72d4d86/src/index.ts#L29) --- @@ -418,7 +418,7 @@ node_modules/axios/index.d.ts:80 #### Defined in -[src/index.ts:25](https://github.com/saqqdy/axios-ex/blob/70c2408/src/index.ts#L25) +[src/index.ts:25](https://github.com/saqqdy/axios-ex/blob/72d4d86/src/index.ts#L25) --- diff --git a/docs/modules.md b/docs/modules.md index 5c0da86..e98072e 100644 --- a/docs/modules.md +++ b/docs/modules.md @@ -1,6 +1,6 @@ -[index.md - v2.2.2](README.md) / Exports +[index.md - v2.2.3](README.md) / Exports -# index.md - v2.2.2 +# index.md - v2.2.3 ## Table of contents @@ -36,7 +36,7 @@ #### Defined in -[src/index.ts:6](https://github.com/saqqdy/axios-ex/blob/70c2408/src/index.ts#L6) +[src/index.ts:6](https://github.com/saqqdy/axios-ex/blob/72d4d86/src/index.ts#L6) ## Functions @@ -58,7 +58,7 @@ delay 毫秒 #### Defined in -[src/index.ts:139](https://github.com/saqqdy/axios-ex/blob/70c2408/src/index.ts#L139) +[src/index.ts:139](https://github.com/saqqdy/axios-ex/blob/72d4d86/src/index.ts#L139) --- @@ -80,7 +80,7 @@ boolean #### Defined in -[src/index.ts:123](https://github.com/saqqdy/axios-ex/blob/70c2408/src/index.ts#L123) +[src/index.ts:123](https://github.com/saqqdy/axios-ex/blob/72d4d86/src/index.ts#L123) --- @@ -102,7 +102,7 @@ boolean #### Defined in -[src/index.ts:102](https://github.com/saqqdy/axios-ex/blob/70c2408/src/index.ts#L102) +[src/index.ts:102](https://github.com/saqqdy/axios-ex/blob/72d4d86/src/index.ts#L102) --- @@ -124,7 +124,7 @@ boolean #### Defined in -[src/index.ts:132](https://github.com/saqqdy/axios-ex/blob/70c2408/src/index.ts#L132) +[src/index.ts:132](https://github.com/saqqdy/axios-ex/blob/72d4d86/src/index.ts#L132) --- @@ -146,7 +146,7 @@ boolean #### Defined in -[src/index.ts:148](https://github.com/saqqdy/axios-ex/blob/70c2408/src/index.ts#L148) +[src/index.ts:148](https://github.com/saqqdy/axios-ex/blob/72d4d86/src/index.ts#L148) --- @@ -168,4 +168,4 @@ boolean #### Defined in -[src/index.ts:114](https://github.com/saqqdy/axios-ex/blob/70c2408/src/index.ts#L114) +[src/index.ts:114](https://github.com/saqqdy/axios-ex/blob/72d4d86/src/index.ts#L114) diff --git a/docs/out.json b/docs/out.json index 7a7f013..9208848 100644 --- a/docs/out.json +++ b/docs/out.json @@ -1,6 +1,6 @@ { "id": 0, - "name": "index.md - v2.2.2", + "name": "index.md - v2.2.3", "kind": 1, "kindString": "Project", "flags": {}, diff --git a/lib/index.esm.js b/lib/index.esm.js index d70bfd5..f29eab1 100644 --- a/lib/index.esm.js +++ b/lib/index.esm.js @@ -1,5 +1,5 @@ /*! - * axios-ex v2.2.2 + * axios-ex v2.2.3 * axios extend * (c) 2021-2021 saqqdy * Released under the MIT License. diff --git a/lib/index.js b/lib/index.js index 8c67bb8..9b199e5 100644 --- a/lib/index.js +++ b/lib/index.js @@ -1,5 +1,5 @@ /*! - * axios-ex v2.2.2 + * axios-ex v2.2.3 * axios extend * (c) 2021-2021 saqqdy * Released under the MIT License. diff --git a/lib/index.umd.js b/lib/index.umd.js index 3f4b19b..30a38ab 100644 --- a/lib/index.umd.js +++ b/lib/index.umd.js @@ -1,5 +1,5 @@ /*! - * axios-ex v2.2.2 + * axios-ex v2.2.3 * axios extend * (c) 2021-2021 saqqdy * Released under the MIT License.