@ruan-cat/utils 3.1.0 → 3.2.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/package.json +11 -11
- package/src/vueuse/useAxios/index.ts +1 -0
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@ruan-cat/utils",
|
|
3
|
-
"version": "3.
|
|
3
|
+
"version": "3.2.0",
|
|
4
4
|
"description": "阮喵喵工具集合。一个纯typescript库,也提供纯js文件。",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "./src/index.ts",
|
|
@@ -58,23 +58,23 @@
|
|
|
58
58
|
"tsconfig.json"
|
|
59
59
|
],
|
|
60
60
|
"dependencies": {
|
|
61
|
-
"@vueuse/integrations": "^12.
|
|
62
|
-
"axios": "^1.
|
|
61
|
+
"@vueuse/integrations": "^12.7.0",
|
|
62
|
+
"axios": "^1.8.1",
|
|
63
63
|
"consola": "^3.4.0",
|
|
64
64
|
"lodash-es": "^4.17.21"
|
|
65
65
|
},
|
|
66
66
|
"devDependencies": {
|
|
67
|
-
"@antfu/utils": "^
|
|
67
|
+
"@antfu/utils": "^9.1.0",
|
|
68
68
|
"@types/lodash-es": "^4.17.12",
|
|
69
|
-
"@types/node": "^22.13.
|
|
70
|
-
"@types/qs": "^6.9.
|
|
71
|
-
"qs": "^6.
|
|
72
|
-
"tsup": "^8.
|
|
69
|
+
"@types/node": "^22.13.8",
|
|
70
|
+
"@types/qs": "^6.9.18",
|
|
71
|
+
"qs": "^6.14.0",
|
|
72
|
+
"tsup": "^8.4.0",
|
|
73
73
|
"type-plus": "^7.6.2",
|
|
74
|
-
"typedoc": "^0.27.
|
|
74
|
+
"typedoc": "^0.27.9",
|
|
75
75
|
"typedoc-plugin-frontmatter": "^1.2.1",
|
|
76
|
-
"typedoc-plugin-markdown": "^4.
|
|
77
|
-
"typescript": "5.
|
|
76
|
+
"typedoc-plugin-markdown": "^4.4.2",
|
|
77
|
+
"typescript": "^5.8.2",
|
|
78
78
|
"unplugin-vue-router": "^0.11.2",
|
|
79
79
|
"vite-plugin-autogeneration-import-file": "^3.0.0",
|
|
80
80
|
"@ruan-cat/vuepress-preset-config": "^0.1.19"
|
|
@@ -13,6 +13,7 @@ export type KeyAxiosRequestConfig<D = any> = keyof AxiosRequestConfig<D>;
|
|
|
13
13
|
export type KeyHelper<K extends KeyAxiosRequestConfig> = K;
|
|
14
14
|
|
|
15
15
|
export type RemoveUrl<T extends KeyAxiosRequestConfig> = Exclude<T, "url">;
|
|
16
|
+
export type RemoveUrlMethod<T extends KeyAxiosRequestConfig> = Exclude<T, "url" | "method">;
|
|
16
17
|
|
|
17
18
|
/**
|
|
18
19
|
* 创建 AxiosRequestConfig 的各种变种类型
|