@ks-web/use 0.1.1 → 0.1.2
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/LICENSE +9 -9
- package/README.md +16 -16
- package/dist/index.cjs.js +1 -1
- package/dist/index.esm.mjs +1 -1
- package/package.json +56 -56
package/LICENSE
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
MIT License
|
|
2
|
-
|
|
3
|
-
Copyright (c) Youzan
|
|
4
|
-
Copyright (c) Chen Jiahan and other contributors
|
|
5
|
-
|
|
6
|
-
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
|
|
7
|
-
|
|
8
|
-
The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
|
|
9
|
-
|
|
1
|
+
MIT License
|
|
2
|
+
|
|
3
|
+
Copyright (c) Youzan
|
|
4
|
+
Copyright (c) Chen Jiahan and other contributors
|
|
5
|
+
|
|
6
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
|
|
7
|
+
|
|
8
|
+
The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
|
|
9
|
+
|
|
10
10
|
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
package/README.md
CHANGED
|
@@ -1,16 +1,16 @@
|
|
|
1
|
-
# Ks Use
|
|
2
|
-
|
|
3
|
-
Built-in composition APIs of ks.
|
|
4
|
-
|
|
5
|
-
## Install
|
|
6
|
-
|
|
7
|
-
```shell
|
|
8
|
-
# with npm
|
|
9
|
-
npm i @ks-web/use
|
|
10
|
-
|
|
11
|
-
# with yarn
|
|
12
|
-
yarn add @ks-web/use
|
|
13
|
-
|
|
14
|
-
# with pnpm
|
|
15
|
-
pnpm add @ks-web/use
|
|
16
|
-
```
|
|
1
|
+
# Ks Use
|
|
2
|
+
|
|
3
|
+
Built-in composition APIs of ks.
|
|
4
|
+
|
|
5
|
+
## Install
|
|
6
|
+
|
|
7
|
+
```shell
|
|
8
|
+
# with npm
|
|
9
|
+
npm i @ks-web/use
|
|
10
|
+
|
|
11
|
+
# with yarn
|
|
12
|
+
yarn add @ks-web/use
|
|
13
|
+
|
|
14
|
+
# with pnpm
|
|
15
|
+
pnpm add @ks-web/use
|
|
16
|
+
```
|
package/dist/index.cjs.js
CHANGED
|
@@ -5480,7 +5480,7 @@ function handleOptions(httpInstance, url, method2, param, config) {
|
|
|
5480
5480
|
});
|
|
5481
5481
|
options.cancelToken = (config == null ? void 0 : config.cancelToken) || ((_a = httpInstance.source) == null ? void 0 : _a.source);
|
|
5482
5482
|
const headers = {};
|
|
5483
|
-
Object.assign(headers, config.headers || {}
|
|
5483
|
+
Object.assign(headers, casHeaders, config.headers || {});
|
|
5484
5484
|
return __spreadValues(__spreadValues({
|
|
5485
5485
|
userConfig: __spreadValues({}, config),
|
|
5486
5486
|
url: getRequestUrl(
|
package/dist/index.esm.mjs
CHANGED
|
@@ -5460,7 +5460,7 @@ function handleOptions(httpInstance, url, method2, param, config) {
|
|
|
5460
5460
|
});
|
|
5461
5461
|
options.cancelToken = (config == null ? void 0 : config.cancelToken) || ((_a = httpInstance.source) == null ? void 0 : _a.source);
|
|
5462
5462
|
const headers = {};
|
|
5463
|
-
Object.assign(headers, config.headers || {}
|
|
5463
|
+
Object.assign(headers, casHeaders, config.headers || {});
|
|
5464
5464
|
return __spreadValues(__spreadValues({
|
|
5465
5465
|
userConfig: __spreadValues({}, config),
|
|
5466
5466
|
url: getRequestUrl(
|
package/package.json
CHANGED
|
@@ -1,56 +1,56 @@
|
|
|
1
|
-
{
|
|
2
|
-
"name": "@ks-web/use",
|
|
3
|
-
"version": "0.1.
|
|
4
|
-
"description": "Vant Composition API",
|
|
5
|
-
"main": "dist/index.cjs.js",
|
|
6
|
-
"module": "dist/index.esm.mjs",
|
|
7
|
-
"types": "dist/index.d.ts",
|
|
8
|
-
"exports": {
|
|
9
|
-
".": {
|
|
10
|
-
"types": "./dist/index.d.ts",
|
|
11
|
-
"import": "./dist/index.esm.mjs",
|
|
12
|
-
"require": "./dist/index.cjs.js"
|
|
13
|
-
}
|
|
14
|
-
},
|
|
15
|
-
"sideEffects": false,
|
|
16
|
-
"files": [
|
|
17
|
-
"dist"
|
|
18
|
-
],
|
|
19
|
-
"scripts": {
|
|
20
|
-
"clean": "rimraf ./dist",
|
|
21
|
-
"dev": "node ./build.js -w",
|
|
22
|
-
"build:types": "tsc -p ./tsconfig.json --emitDeclarationOnly",
|
|
23
|
-
"build:bundle": "node ./build.js",
|
|
24
|
-
"build": "pnpm clean && pnpm build:bundle && pnpm build:types",
|
|
25
|
-
"release": "ks-cli release",
|
|
26
|
-
"prepare": "pnpm build"
|
|
27
|
-
},
|
|
28
|
-
"publishConfig": {
|
|
29
|
-
"access": "public",
|
|
30
|
-
"registry": "https://registry.npmjs.org/"
|
|
31
|
-
},
|
|
32
|
-
"repository": {
|
|
33
|
-
"type": "git",
|
|
34
|
-
"url": "https://github.com/vant-ui/vant.git",
|
|
35
|
-
"directory": "packages/vant-use"
|
|
36
|
-
},
|
|
37
|
-
"bugs": "https://github.com/vant-ui/vant/issues",
|
|
38
|
-
"author": "chenjiahan",
|
|
39
|
-
"license": "MIT",
|
|
40
|
-
"devDependencies": {
|
|
41
|
-
"@types/js-md5": "0.7.0",
|
|
42
|
-
"@types/qs": "6.9.7",
|
|
43
|
-
"axios": "1.3.3",
|
|
44
|
-
"esbuild": "^0.18.11",
|
|
45
|
-
"js-md5": "0.7.3",
|
|
46
|
-
"qs": "6.11.0",
|
|
47
|
-
"release-it": "^16.1.3",
|
|
48
|
-
"rimraf": "^5.0.0",
|
|
49
|
-
"typescript": "^5.0.4",
|
|
50
|
-
"vue": "^3.3.4",
|
|
51
|
-
"@ks-web/ks": "0.0.8-beta.2"
|
|
52
|
-
},
|
|
53
|
-
"peerDependencies": {
|
|
54
|
-
"vue": "^3.0.0"
|
|
55
|
-
}
|
|
56
|
-
}
|
|
1
|
+
{
|
|
2
|
+
"name": "@ks-web/use",
|
|
3
|
+
"version": "0.1.2",
|
|
4
|
+
"description": "Vant Composition API",
|
|
5
|
+
"main": "dist/index.cjs.js",
|
|
6
|
+
"module": "dist/index.esm.mjs",
|
|
7
|
+
"types": "dist/index.d.ts",
|
|
8
|
+
"exports": {
|
|
9
|
+
".": {
|
|
10
|
+
"types": "./dist/index.d.ts",
|
|
11
|
+
"import": "./dist/index.esm.mjs",
|
|
12
|
+
"require": "./dist/index.cjs.js"
|
|
13
|
+
}
|
|
14
|
+
},
|
|
15
|
+
"sideEffects": false,
|
|
16
|
+
"files": [
|
|
17
|
+
"dist"
|
|
18
|
+
],
|
|
19
|
+
"scripts": {
|
|
20
|
+
"clean": "rimraf ./dist",
|
|
21
|
+
"dev": "node ./build.js -w",
|
|
22
|
+
"build:types": "tsc -p ./tsconfig.json --emitDeclarationOnly",
|
|
23
|
+
"build:bundle": "node ./build.js",
|
|
24
|
+
"build": "pnpm clean && pnpm build:bundle && pnpm build:types",
|
|
25
|
+
"release": "ks-cli release",
|
|
26
|
+
"prepare": "pnpm build"
|
|
27
|
+
},
|
|
28
|
+
"publishConfig": {
|
|
29
|
+
"access": "public",
|
|
30
|
+
"registry": "https://registry.npmjs.org/"
|
|
31
|
+
},
|
|
32
|
+
"repository": {
|
|
33
|
+
"type": "git",
|
|
34
|
+
"url": "https://github.com/vant-ui/vant.git",
|
|
35
|
+
"directory": "packages/vant-use"
|
|
36
|
+
},
|
|
37
|
+
"bugs": "https://github.com/vant-ui/vant/issues",
|
|
38
|
+
"author": "chenjiahan",
|
|
39
|
+
"license": "MIT",
|
|
40
|
+
"devDependencies": {
|
|
41
|
+
"@types/js-md5": "0.7.0",
|
|
42
|
+
"@types/qs": "6.9.7",
|
|
43
|
+
"axios": "1.3.3",
|
|
44
|
+
"esbuild": "^0.18.11",
|
|
45
|
+
"js-md5": "0.7.3",
|
|
46
|
+
"qs": "6.11.0",
|
|
47
|
+
"release-it": "^16.1.3",
|
|
48
|
+
"rimraf": "^5.0.0",
|
|
49
|
+
"typescript": "^5.0.4",
|
|
50
|
+
"vue": "^3.3.4",
|
|
51
|
+
"@ks-web/ks": "0.0.8-beta.2"
|
|
52
|
+
},
|
|
53
|
+
"peerDependencies": {
|
|
54
|
+
"vue": "^3.0.0"
|
|
55
|
+
}
|
|
56
|
+
}
|