refactor: improve axios instance parameters (#6550)

#### What type of PR is this?

/area ui
/kind improvement
/milestone 2.19.0

#### What this PR does / why we need it:

优化默认的 axios 实例的参数:

1. baseURL 改为空字符串。
2. 默认优化数组参数。

#### Does this PR introduce a user-facing change?

```release-note
None
```
pull/6563/head
Ryan Wang 2024-08-30 11:41:27 +08:00 committed by GitHub
parent 9c9ac1b38f
commit 998f4ccb45
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
3 changed files with 106 additions and 180 deletions

View File

@ -1,4 +1,5 @@
import axios, { AxiosInstance } from "axios";
import QueryString from "qs";
import {
AnnotationSettingV1alpha1Api,
AttachmentV1alpha1Api,
@ -64,12 +65,15 @@ import {
UserConnectionV1alpha1Api,
UserV1alpha1Api,
UserV1alpha1ConsoleApi,
UserV1alpha1PublicApi
UserV1alpha1PublicApi,
} from "../src";
const defaultAxiosInstance = axios.create({
baseURL: "/",
baseURL: "",
withCredentials: true,
paramsSerializer: (params) => {
return QueryString.stringify(params, { arrayFormat: "repeat" });
},
});
defaultAxiosInstance.defaults.headers.common["X-Requested-With"] =
@ -373,11 +377,7 @@ function createUcApiClient(axiosInstance: AxiosInstance) {
baseURL,
axiosInstance
),
device: new DeviceV1alpha1UcApi(
undefined,
baseURL,
axiosInstance
),
device: new DeviceV1alpha1UcApi(undefined, baseURL, axiosInstance),
},
notification: {
notification: new NotificationV1alpha1UcApi(

View File

@ -46,6 +46,7 @@
"devDependencies": {
"@openapitools/openapi-generator-cli": "^2.13.4",
"@types/node": "^20.14.2",
"@types/qs": "^6.9.15",
"rimraf": "^5.0.7",
"typescript": "~5.5.4",
"unbuild": "^0.7.6",
@ -53,5 +54,8 @@
},
"peerDependencies": {
"axios": "^1.7.x"
},
"dependencies": {
"qs": "^6.13.0"
}
}

View File

@ -372,6 +372,9 @@ importers:
axios:
specifier: ^1.7.x
version: 1.7.2(debug@4.3.2)
qs:
specifier: ^6.13.0
version: 6.13.0
devDependencies:
'@openapitools/openapi-generator-cli':
specifier: ^2.13.4
@ -379,6 +382,9 @@ importers:
'@types/node':
specifier: ^20.14.2
version: 20.14.2
'@types/qs':
specifier: ^6.9.15
version: 6.9.15
rimraf:
specifier: ^5.0.7
version: 5.0.7
@ -593,7 +599,7 @@ importers:
version: 16.2.1(typescript@5.5.4)
vite-plugin-dts:
specifier: ^4.0.3
version: 4.0.3(@types/node@18.13.0)(rollup@4.17.2)(typescript@5.5.4)(vite@5.4.1(@types/node@18.13.0)(less@4.2.0)(sass@1.60.0)(terser@5.31.0))
version: 4.0.3(@types/node@20.14.2)(rollup@4.17.2)(typescript@5.5.4)(vite@5.4.1(@types/node@20.14.2)(less@4.2.0)(sass@1.60.0)(terser@5.31.0))
packages/shared:
dependencies:
@ -609,7 +615,7 @@ importers:
devDependencies:
vite-plugin-dts:
specifier: ^4.0.3
version: 4.0.3(@types/node@18.13.0)(rollup@4.17.2)(typescript@5.5.4)(vite@5.4.1(@types/node@18.13.0)(less@4.2.0)(sass@1.60.0)(terser@5.31.0))
version: 4.0.3(@types/node@20.14.2)(rollup@4.17.2)(typescript@5.5.4)(vite@5.4.1(@types/node@20.14.2)(less@4.2.0)(sass@1.60.0)(terser@5.31.0))
packages/ui-plugin-bundler-kit:
dependencies:
@ -2401,6 +2407,7 @@ packages:
'@humanwhocodes/config-array@0.11.10':
resolution: {integrity: sha512-KVVjQmNUepDVGXNuoRRdmmEjruj0KfiGSbS8LVc12LMsWDQzRXJ0qdhN8L8uUigKpfEHRhlaQFY0ib1tnUbNeQ==}
engines: {node: '>=10.10.0'}
deprecated: Use @eslint/config-array instead
'@humanwhocodes/module-importer@1.0.1':
resolution: {integrity: sha512-bxveV4V8v5Yb4ncFTT3rPSgZBOpCkjfK0y4oVVVJwIuDVBRMDXrPyXRL988i5ap9m9bnyEEjWfm5WkBmtffLfA==}
@ -2408,6 +2415,7 @@ packages:
'@humanwhocodes/object-schema@1.2.1':
resolution: {integrity: sha512-ZnQMnLV4e7hDlUvw8H+U8ASL02SS2Gn6+9Ac3wGGLIe7+je2AeAOxPY+izIPJDfFDb7eDjev0Us8MO1iFRN8hA==}
deprecated: Use @eslint/object-schema instead
'@iarna/toml@2.2.5':
resolution: {integrity: sha512-trnsAYxU3xnS1gPHPyU961coFyLkh4gAD/0zQ5mymY4yOZ+CYvsPqUbOFSw0aDM4y0tV7tiFxL/1XfXPNC6IPg==}
@ -3355,6 +3363,7 @@ packages:
'@storybook/addon-styling@1.3.7':
resolution: {integrity: sha512-JSBZMOrSw/3rlq5YoEI7Qyq703KSNP0Jd+gxTWu3/tP6245mpjn2dXnR8FvqVxCi+FG4lt2kQyPzgsuwEw1SSA==}
deprecated: 'This package has been split into @storybook/addon-styling-webpack and @storybook/addon-themes. More info: https://github.com/storybookjs/addon-styling'
hasBin: true
peerDependencies:
less: ^3.5.0 || ^4.0.0
@ -3942,6 +3951,9 @@ packages:
'@types/prop-types@15.7.11':
resolution: {integrity: sha512-ga8y9v9uyeiLdpKddhxYQkxNDrfvuPrlFb0N1qnZZByvcElJaXthF1UhvCh9TLWJBEHeNtdnbysW7Y6Uq8CVng==}
'@types/qs@6.9.15':
resolution: {integrity: sha512-uXHQKES6DQKKCLh441Xv/dwxOq1TVS3JPUMlEqoEglvlhR6Mxnlew/Xq/LRVHpLyk7iK3zODe1qYHIMltO7XGg==}
'@types/qs@6.9.7':
resolution: {integrity: sha512-FGa1F62FT09qcrueBA6qYTrJPVDzah9a+493+o2PCXsesWHIn27G98TsSMs3WPNbZIEj4+VJf6saSFpvD+3Zsw==}
@ -4452,6 +4464,7 @@ packages:
abab@2.0.6:
resolution: {integrity: sha512-j2afSsaIENvHZN2B8GOpF566vZ5WVk5opAiMTvWgaQT8DkbOqsTfvNAvHoRGU2zzP8cPoqys+xHTRDWW8L+/BA==}
deprecated: Use your platform's native atob() and btoa() methods instead
abbrev@1.1.1:
resolution: {integrity: sha512-nne9/IiQ/hzIhY6pdDnbBtz7DjPTKrY00P/zvPSm5pOFkl6xuGrGnXn/VtTNNfNtAfZ9/1RtehkszU9qcTii0Q==}
@ -4941,9 +4954,6 @@ packages:
call-bind@1.0.2:
resolution: {integrity: sha512-7O+FbCihrB5WGbFYesctwmTKae6rOiIzmz1icreWJ+0aA7LJfuqhEso2T9ncpcFtzMQtzXf2QGGueWJGTYsqrA==}
call-bind@1.0.5:
resolution: {integrity: sha512-C3nQxfFZxFRVoJoGKKI8y3MOEo129NQ+FgQ08iye+Mk4zNZZGdjfs06bVTr+DBSlA66Q2VEcMki/cUCP4SercQ==}
call-bind@1.0.7:
resolution: {integrity: sha512-GHTSNSYICQ7scH7sZ+M2rFopRoLh8t2bLSW6BbgrtLsahOIB5iyAVJf9GjWK3cYTDaMj4XdBpM1cA6pIS0Kv2w==}
engines: {node: '>= 0.4'}
@ -5600,6 +5610,7 @@ packages:
domexception@4.0.0:
resolution: {integrity: sha512-A2is4PLG+eeSfoTMA95/s4pvAoSo2mKtiM5jlHkAVewmiO8ISFTFKZjH7UAM1Atli/OT/7JHOrJRJiMKUZKYBw==}
engines: {node: '>=12'}
deprecated: Use your platform's native DOMException instead
domhandler@4.3.1:
resolution: {integrity: sha512-GrwoxYN+uWlzO8uhUXRl0P+kHE4GtVPfYzVLcUxPL7KNdHKj66vvlhiweIHqYYXWlw+T8iLMp42Lm67ghw4WMQ==}
@ -6367,9 +6378,6 @@ packages:
get-intrinsic@1.1.3:
resolution: {integrity: sha512-QJVz1Tj7MS099PevUG5jvnt9tSkXN8K14dxQlikJuPt4uD9hHAHjLyLBiLR5zELelBdD9QNRAXZzsJx0WaDL9A==}
get-intrinsic@1.2.2:
resolution: {integrity: sha512-0gSo4ml/0j98Y3lngkFEot/zhiCeWsbYIlZ+uZOVgzLyLaUw7wxUL+nCTP0XJvJg1AXulJRI3UJi8GsbDuxdGA==}
get-intrinsic@1.2.4:
resolution: {integrity: sha512-5uYhsJH8VJBTv7oslg4BznJYhDoRI6waYCxMmCdnTrcCrHA/fCFKoTFz2JKKE0HdDFUF7/oQuhzumXJK7paBRQ==}
engines: {node: '>= 0.4'}
@ -6734,6 +6742,7 @@ packages:
inflight@1.0.6:
resolution: {integrity: sha512-k92I/b08q4wvFscXCLvqfsHCrjrF7yiXsQuIVvVE7N82W3+aqpzuUdBbfhWcy/FZR3/4IgflMgKLOsvPDrGCJA==}
deprecated: This module is not supported, and leaks memory. Do not use it. Check out lru-cache if you want a good and tested way to coalesce async requests by a key value, which is much more comprehensive and powerful.
inherits@2.0.4:
resolution: {integrity: sha512-k/vGaX4/Yla3WzyMCvTQOXYeIHvqOKtnqBduzTHpzpQZzAskKMhZ2K+EnBiSM9zGSoIFeMpXKxa4dYeZIQqewQ==}
@ -7452,9 +7461,11 @@ packages:
loupe@2.3.4:
resolution: {integrity: sha512-OvKfgCC2Ndby6aSTREl5aCCPTNIzlDfQZvZxNUrBrihDhL3xcrYegTblhmEiCrg2kKQz4XsFIaemE5BF4ybSaQ==}
deprecated: Please upgrade to 2.3.7 which fixes GHSA-4q6p-r6v2-jvc5
loupe@2.3.6:
resolution: {integrity: sha512-RaPMZKiMy8/JruncMU5Bt6na1eftNoo++R4Y+N2FrxkDVTrGvcyzFTsaGif4QTeKESheMGegbhw6iUAq+5A8zA==}
deprecated: Please upgrade to 2.3.7 which fixes GHSA-4q6p-r6v2-jvc5
lower-case@2.0.2:
resolution: {integrity: sha512-7fm3l3NAF9WfN6W3JOmf5drwpVqX78JtoGJ3A6W0a6ZnldM41w2fV5D490psKFTpMds8TJse/eHLFFsNHHjHgg==}
@ -8601,6 +8612,10 @@ packages:
resolution: {integrity: sha512-0wsrzgTz/kAVIeuxSjnpGC56rzYtr6JT/2BwEvMaPhFIoYa1aGO8LbzuU1R0uUYQkLpWBTOj0l/CLAJB64J6nQ==}
engines: {node: '>=0.6'}
qs@6.13.0:
resolution: {integrity: sha512-+38qI9SOr8tfZ4QmJNplMUxqjbe7LKvvZgWdExBOmd+egZTtjLB67Gu0HRX3u/XOq7UU2Nx6nsjvS16Z9uwfpg==}
engines: {node: '>=0.6'}
qs@6.5.3:
resolution: {integrity: sha512-qxXIEh4pCGfHICj1mAJQ2/2XVZkjCDTcEgfoSQxc/fYivUZxTkk7L3bDBJSoNrEzXI17oUO5Dp07ktqE5KzczA==}
engines: {node: '>=0.6'}
@ -9071,10 +9086,6 @@ packages:
set-blocking@2.0.0:
resolution: {integrity: sha512-KiKBS8AnWGEyLzofFfmvKwpdPzqiy16LvQfK3yv/fVH7Bj13/wl3JSR1J+rfgRE9q7xUJK4qvgS8raSOeLUehw==}
set-function-length@1.1.1:
resolution: {integrity: sha512-VoaqjbBJKiWtg4yRcKBQ7g7wnGnLV3M8oLvVWwOk2PdYY6PEFegR1vezXR0tw6fZGF9csVakIRjrJiy2veSBFQ==}
engines: {node: '>= 0.4'}
set-function-length@1.2.2:
resolution: {integrity: sha512-pgRc4hJ4/sNjWCSS9AmnS40x3bNMDTknHgL5UaMBTMyJnU90EgWh1Rz+MC9eFu4BuN/UwZjKQuY/1v3rM7HMfg==}
engines: {node: '>= 0.4'}
@ -10158,8 +10169,8 @@ packages:
vue-component-type-helpers@2.0.19:
resolution: {integrity: sha512-cN3f1aTxxKo4lzNeQAkVopswuImUrb5Iurll9Gaw5cqpnbTAxtEMM1mgi6ou4X79OCyqYv1U1mzBHJkzmiK82w==}
vue-component-type-helpers@2.0.29:
resolution: {integrity: sha512-58i+ZhUAUpwQ+9h5Hck0D+jr1qbYl4voRt5KffBx8qzELViQ4XdT/Tuo+mzq8u63teAG8K0lLaOiL5ofqW38rg==}
vue-component-type-helpers@2.1.2:
resolution: {integrity: sha512-URuxnrOhO9lUG4LOAapGWBaa/WOLDzzyAbL+uKZqT7RS+PFy0cdXI2mUSh7GaMts6vtHaeVbGk7trd0FPJi65Q==}
vue-demi@0.13.11:
resolution: {integrity: sha512-IR8HoEEGM65YY3ZJYAjMlKygDQn25D5ajNFNoKh9RSDMQtlzCxtfQjdQgv9jjK+m3377SsJXY8ysq8kLCZL25A==}
@ -13087,7 +13098,7 @@ snapshots:
'@ljharb/through@2.3.11':
dependencies:
call-bind: 1.0.5
call-bind: 1.0.7
'@lukeed/csprng@1.1.0': {}
@ -13113,14 +13124,6 @@ snapshots:
'@types/react': 18.2.41
react: 18.2.0
'@microsoft/api-extractor-model@7.29.4(@types/node@18.13.0)':
dependencies:
'@microsoft/tsdoc': 0.15.0
'@microsoft/tsdoc-config': 0.17.0
'@rushstack/node-core-library': 5.5.1(@types/node@18.13.0)
transitivePeerDependencies:
- '@types/node'
'@microsoft/api-extractor-model@7.29.4(@types/node@20.14.2)':
dependencies:
'@microsoft/tsdoc': 0.15.0
@ -13129,24 +13132,6 @@ snapshots:
transitivePeerDependencies:
- '@types/node'
'@microsoft/api-extractor@7.47.4(@types/node@18.13.0)':
dependencies:
'@microsoft/api-extractor-model': 7.29.4(@types/node@18.13.0)
'@microsoft/tsdoc': 0.15.0
'@microsoft/tsdoc-config': 0.17.0
'@rushstack/node-core-library': 5.5.1(@types/node@18.13.0)
'@rushstack/rig-package': 0.5.3
'@rushstack/terminal': 0.13.3(@types/node@18.13.0)
'@rushstack/ts-command-line': 4.22.3(@types/node@18.13.0)
lodash: 4.17.21
minimatch: 3.0.8
resolve: 1.22.8
semver: 7.5.4
source-map: 0.6.1
typescript: 5.4.2
transitivePeerDependencies:
- '@types/node'
'@microsoft/api-extractor@7.47.4(@types/node@20.14.2)':
dependencies:
'@microsoft/api-extractor-model': 7.29.4(@types/node@20.14.2)
@ -13801,19 +13786,6 @@ snapshots:
'@rushstack/eslint-patch@1.3.2': {}
'@rushstack/node-core-library@5.5.1(@types/node@18.13.0)':
dependencies:
ajv: 8.13.0
ajv-draft-04: 1.0.0(ajv@8.13.0)
ajv-formats: 3.0.1(ajv@8.13.0)
fs-extra: 7.0.1
import-lazy: 4.0.0
jju: 1.4.0
resolve: 1.22.8
semver: 7.5.4
optionalDependencies:
'@types/node': 18.13.0
'@rushstack/node-core-library@5.5.1(@types/node@20.14.2)':
dependencies:
ajv: 8.13.0
@ -13832,13 +13804,6 @@ snapshots:
resolve: 1.22.8
strip-json-comments: 3.1.1
'@rushstack/terminal@0.13.3(@types/node@18.13.0)':
dependencies:
'@rushstack/node-core-library': 5.5.1(@types/node@18.13.0)
supports-color: 8.1.1
optionalDependencies:
'@types/node': 18.13.0
'@rushstack/terminal@0.13.3(@types/node@20.14.2)':
dependencies:
'@rushstack/node-core-library': 5.5.1(@types/node@20.14.2)
@ -13846,15 +13811,6 @@ snapshots:
optionalDependencies:
'@types/node': 20.14.2
'@rushstack/ts-command-line@4.22.3(@types/node@18.13.0)':
dependencies:
'@rushstack/terminal': 0.13.3(@types/node@18.13.0)
'@types/argparse': 1.0.38
argparse: 1.0.10
string-argv: 0.3.1
transitivePeerDependencies:
- '@types/node'
'@rushstack/ts-command-line@4.22.3(@types/node@20.14.2)':
dependencies:
'@rushstack/terminal': 0.13.3(@types/node@20.14.2)
@ -14489,7 +14445,7 @@ snapshots:
ts-dedent: 2.2.0
type-fest: 2.19.0
vue: 3.4.27(typescript@5.5.4)
vue-component-type-helpers: 2.0.29
vue-component-type-helpers: 2.1.2
transitivePeerDependencies:
- encoding
- supports-color
@ -14912,6 +14868,8 @@ snapshots:
'@types/prop-types@15.7.11': {}
'@types/qs@6.9.15': {}
'@types/qs@6.9.7': {}
'@types/randomstring@1.1.8': {}
@ -15740,7 +15698,7 @@ snapshots:
array-buffer-byte-length@1.0.0:
dependencies:
call-bind: 1.0.5
call-bind: 1.0.7
is-array-buffer: 3.0.2
array-buffer-byte-length@1.0.1:
@ -15756,14 +15714,14 @@ snapshots:
array.prototype.flat@1.3.0:
dependencies:
call-bind: 1.0.2
call-bind: 1.0.7
define-properties: 1.2.1
es-abstract: 1.22.3
es-shim-unscopables: 1.0.0
array.prototype.map@1.0.6:
dependencies:
call-bind: 1.0.5
call-bind: 1.0.7
define-properties: 1.2.1
es-abstract: 1.22.3
es-array-method-boxes-properly: 1.0.0
@ -15772,10 +15730,10 @@ snapshots:
arraybuffer.prototype.slice@1.0.2:
dependencies:
array-buffer-byte-length: 1.0.0
call-bind: 1.0.5
call-bind: 1.0.7
define-properties: 1.2.1
es-abstract: 1.22.3
get-intrinsic: 1.2.2
get-intrinsic: 1.2.4
is-array-buffer: 3.0.2
is-shared-array-buffer: 1.0.2
@ -15804,7 +15762,7 @@ snapshots:
assert@2.1.0:
dependencies:
call-bind: 1.0.5
call-bind: 1.0.7
is-nan: 1.3.2
object-is: 1.1.5
object.assign: 4.1.4
@ -16120,13 +16078,7 @@ snapshots:
call-bind@1.0.2:
dependencies:
function-bind: 1.1.1
get-intrinsic: 1.1.3
call-bind@1.0.5:
dependencies:
function-bind: 1.1.2
get-intrinsic: 1.2.2
set-function-length: 1.1.1
get-intrinsic: 1.2.4
call-bind@1.0.7:
dependencies:
@ -16679,9 +16631,9 @@ snapshots:
deep-equal@2.2.3:
dependencies:
array-buffer-byte-length: 1.0.0
call-bind: 1.0.5
call-bind: 1.0.7
es-get-iterator: 1.1.3
get-intrinsic: 1.2.2
get-intrinsic: 1.2.4
is-arguments: 1.1.1
is-array-buffer: 3.0.2
is-date-object: 1.0.5
@ -16692,7 +16644,7 @@ snapshots:
object-keys: 1.1.1
object.assign: 4.1.4
regexp.prototype.flags: 1.5.1
side-channel: 1.0.4
side-channel: 1.0.6
which-boxed-primitive: 1.0.2
which-collection: 1.0.1
which-typed-array: 1.1.13
@ -16732,7 +16684,7 @@ snapshots:
define-data-property@1.1.1:
dependencies:
get-intrinsic: 1.2.2
get-intrinsic: 1.2.4
gopd: 1.0.1
has-property-descriptors: 1.0.0
@ -16953,11 +16905,11 @@ snapshots:
array-buffer-byte-length: 1.0.0
arraybuffer.prototype.slice: 1.0.2
available-typed-arrays: 1.0.5
call-bind: 1.0.5
call-bind: 1.0.7
es-set-tostringtag: 2.0.2
es-to-primitive: 1.2.1
function.prototype.name: 1.1.6
get-intrinsic: 1.2.2
get-intrinsic: 1.2.4
get-symbol-description: 1.0.0
globalthis: 1.0.3
gopd: 1.0.1
@ -17049,8 +17001,8 @@ snapshots:
es-get-iterator@1.1.3:
dependencies:
call-bind: 1.0.5
get-intrinsic: 1.2.2
call-bind: 1.0.7
get-intrinsic: 1.2.4
has-symbols: 1.0.3
is-arguments: 1.1.1
is-map: 2.0.2
@ -17071,9 +17023,9 @@ snapshots:
es-set-tostringtag@2.0.2:
dependencies:
get-intrinsic: 1.2.2
get-intrinsic: 1.2.4
has-tostringtag: 1.0.0
hasown: 2.0.0
hasown: 2.0.2
es-set-tostringtag@2.0.3:
dependencies:
@ -17807,7 +17759,7 @@ snapshots:
function.prototype.name@1.1.6:
dependencies:
call-bind: 1.0.5
call-bind: 1.0.7
define-properties: 1.2.1
es-abstract: 1.22.3
functions-have-names: 1.2.3
@ -17828,13 +17780,6 @@ snapshots:
has: 1.0.3
has-symbols: 1.0.3
get-intrinsic@1.2.2:
dependencies:
function-bind: 1.1.2
has-proto: 1.0.1
has-symbols: 1.0.3
hasown: 2.0.0
get-intrinsic@1.2.4:
dependencies:
es-errors: 1.3.0
@ -17863,8 +17808,8 @@ snapshots:
get-symbol-description@1.0.0:
dependencies:
call-bind: 1.0.5
get-intrinsic: 1.2.2
call-bind: 1.0.7
get-intrinsic: 1.2.4
get-symbol-description@1.0.2:
dependencies:
@ -17996,7 +17941,7 @@ snapshots:
gopd@1.0.1:
dependencies:
get-intrinsic: 1.2.2
get-intrinsic: 1.2.4
got@12.6.1:
dependencies:
@ -18062,7 +18007,7 @@ snapshots:
has-property-descriptors@1.0.0:
dependencies:
get-intrinsic: 1.1.3
get-intrinsic: 1.2.4
has-property-descriptors@1.0.2:
dependencies:
@ -18086,7 +18031,7 @@ snapshots:
has@1.0.3:
dependencies:
function-bind: 1.1.1
function-bind: 1.1.2
hash-sum@2.0.0: {}
@ -18285,9 +18230,9 @@ snapshots:
internal-slot@1.0.6:
dependencies:
get-intrinsic: 1.2.2
hasown: 2.0.0
side-channel: 1.0.4
get-intrinsic: 1.2.4
hasown: 2.0.2
side-channel: 1.0.6
internal-slot@1.0.7:
dependencies:
@ -18311,13 +18256,13 @@ snapshots:
is-arguments@1.1.1:
dependencies:
call-bind: 1.0.5
call-bind: 1.0.7
has-tostringtag: 1.0.0
is-array-buffer@3.0.2:
dependencies:
call-bind: 1.0.5
get-intrinsic: 1.2.2
call-bind: 1.0.7
get-intrinsic: 1.2.4
is-typed-array: 1.1.12
is-array-buffer@3.0.4:
@ -18339,7 +18284,7 @@ snapshots:
is-boolean-object@1.1.2:
dependencies:
call-bind: 1.0.5
call-bind: 1.0.7
has-tostringtag: 1.0.0
is-builtin-module@3.2.1:
@ -18358,7 +18303,7 @@ snapshots:
is-core-module@2.13.1:
dependencies:
hasown: 2.0.0
hasown: 2.0.2
is-data-view@1.0.1:
dependencies:
@ -18414,7 +18359,7 @@ snapshots:
is-nan@1.3.2:
dependencies:
call-bind: 1.0.5
call-bind: 1.0.7
define-properties: 1.2.1
is-negative-zero@2.0.2: {}
@ -18457,7 +18402,7 @@ snapshots:
is-regex@1.1.4:
dependencies:
call-bind: 1.0.5
call-bind: 1.0.7
has-tostringtag: 1.0.0
is-regexp@1.0.0: {}
@ -18468,7 +18413,7 @@ snapshots:
is-shared-array-buffer@1.0.2:
dependencies:
call-bind: 1.0.5
call-bind: 1.0.7
is-shared-array-buffer@1.0.3:
dependencies:
@ -18512,12 +18457,12 @@ snapshots:
is-weakref@1.0.2:
dependencies:
call-bind: 1.0.5
call-bind: 1.0.7
is-weakset@2.0.2:
dependencies:
call-bind: 1.0.5
get-intrinsic: 1.2.2
call-bind: 1.0.7
get-intrinsic: 1.2.4
is-what@3.14.1: {}
@ -19416,14 +19361,14 @@ snapshots:
object-is@1.1.5:
dependencies:
call-bind: 1.0.5
call-bind: 1.0.7
define-properties: 1.2.1
object-keys@1.1.1: {}
object.assign@4.1.4:
dependencies:
call-bind: 1.0.5
call-bind: 1.0.7
define-properties: 1.2.1
has-symbols: 1.0.3
object-keys: 1.1.1
@ -19931,10 +19876,10 @@ snapshots:
promise.allsettled@1.0.7:
dependencies:
array.prototype.map: 1.0.6
call-bind: 1.0.5
call-bind: 1.0.7
define-properties: 1.2.1
es-abstract: 1.22.3
get-intrinsic: 1.2.2
get-intrinsic: 1.2.4
iterate-value: 1.0.2
promise@7.3.1:
@ -20204,12 +20149,16 @@ snapshots:
qs@6.11.0:
dependencies:
side-channel: 1.0.4
side-channel: 1.0.6
qs@6.11.1:
dependencies:
side-channel: 1.0.4
qs@6.13.0:
dependencies:
side-channel: 1.0.6
qs@6.5.3: {}
querystringify@2.2.0: {}
@ -20383,7 +20332,7 @@ snapshots:
regexp.prototype.flags@1.5.1:
dependencies:
call-bind: 1.0.5
call-bind: 1.0.7
define-properties: 1.2.1
set-function-name: 2.0.1
@ -20633,8 +20582,8 @@ snapshots:
safe-array-concat@1.0.1:
dependencies:
call-bind: 1.0.5
get-intrinsic: 1.2.2
call-bind: 1.0.7
get-intrinsic: 1.2.4
has-symbols: 1.0.3
isarray: 2.0.5
@ -20651,8 +20600,8 @@ snapshots:
safe-regex-test@1.0.0:
dependencies:
call-bind: 1.0.5
get-intrinsic: 1.2.2
call-bind: 1.0.7
get-intrinsic: 1.2.4
is-regex: 1.1.4
safe-regex-test@1.0.3:
@ -20754,13 +20703,6 @@ snapshots:
set-blocking@2.0.0: {}
set-function-length@1.1.1:
dependencies:
define-data-property: 1.1.1
get-intrinsic: 1.2.2
gopd: 1.0.1
has-property-descriptors: 1.0.0
set-function-length@1.2.2:
dependencies:
define-data-property: 1.1.4
@ -20772,9 +20714,9 @@ snapshots:
set-function-name@2.0.1:
dependencies:
define-data-property: 1.1.1
define-data-property: 1.1.4
functions-have-names: 1.2.3
has-property-descriptors: 1.0.0
has-property-descriptors: 1.0.2
set-function-name@2.0.2:
dependencies:
@ -21052,7 +20994,7 @@ snapshots:
string.prototype.trim@1.2.8:
dependencies:
call-bind: 1.0.5
call-bind: 1.0.7
define-properties: 1.2.1
es-abstract: 1.22.3
@ -21065,7 +21007,7 @@ snapshots:
string.prototype.trimend@1.0.7:
dependencies:
call-bind: 1.0.5
call-bind: 1.0.7
define-properties: 1.2.1
es-abstract: 1.22.3
@ -21077,7 +21019,7 @@ snapshots:
string.prototype.trimstart@1.0.7:
dependencies:
call-bind: 1.0.5
call-bind: 1.0.7
define-properties: 1.2.1
es-abstract: 1.22.3
@ -21442,8 +21384,8 @@ snapshots:
typed-array-buffer@1.0.0:
dependencies:
call-bind: 1.0.5
get-intrinsic: 1.2.2
call-bind: 1.0.7
get-intrinsic: 1.2.4
is-typed-array: 1.1.12
typed-array-buffer@1.0.2:
@ -21454,9 +21396,9 @@ snapshots:
typed-array-byte-length@1.0.0:
dependencies:
call-bind: 1.0.5
call-bind: 1.0.7
for-each: 0.3.3
has-proto: 1.0.1
has-proto: 1.0.3
is-typed-array: 1.1.12
typed-array-byte-length@1.0.1:
@ -21470,9 +21412,9 @@ snapshots:
typed-array-byte-offset@1.0.0:
dependencies:
available-typed-arrays: 1.0.5
call-bind: 1.0.5
call-bind: 1.0.7
for-each: 0.3.3
has-proto: 1.0.1
has-proto: 1.0.3
is-typed-array: 1.1.12
typed-array-byte-offset@1.0.2:
@ -21486,7 +21428,7 @@ snapshots:
typed-array-length@1.0.4:
dependencies:
call-bind: 1.0.5
call-bind: 1.0.7
for-each: 0.3.3
is-typed-array: 1.1.12
@ -21532,7 +21474,7 @@ snapshots:
unbox-primitive@1.0.2:
dependencies:
call-bind: 1.0.5
call-bind: 1.0.7
has-bigints: 1.0.2
has-symbols: 1.0.3
which-boxed-primitive: 1.0.2
@ -21793,26 +21735,6 @@ snapshots:
- supports-color
- terser
vite-plugin-dts@4.0.3(@types/node@18.13.0)(rollup@4.17.2)(typescript@5.5.4)(vite@5.4.1(@types/node@18.13.0)(less@4.2.0)(sass@1.60.0)(terser@5.31.0)):
dependencies:
'@microsoft/api-extractor': 7.47.4(@types/node@18.13.0)
'@rollup/pluginutils': 5.1.0(rollup@4.17.2)
'@volar/typescript': 2.4.0
'@vue/language-core': 2.0.29(typescript@5.5.4)
compare-versions: 6.1.1
debug: 4.3.6(supports-color@8.1.1)
kolorist: 1.8.0
local-pkg: 0.5.0
magic-string: 0.30.11
typescript: 5.5.4
vue-tsc: 2.0.29(typescript@5.5.4)
optionalDependencies:
vite: 5.4.1(@types/node@18.13.0)(less@4.2.0)(sass@1.60.0)(terser@5.31.0)
transitivePeerDependencies:
- '@types/node'
- rollup
- supports-color
vite-plugin-dts@4.0.3(@types/node@20.14.2)(rollup@2.79.1)(typescript@5.5.4)(vite@5.4.1(@types/node@20.14.2)(less@4.2.0)(sass@1.60.0)(terser@5.31.0)):
dependencies:
'@microsoft/api-extractor': 7.47.4(@types/node@20.14.2)
@ -22036,7 +21958,7 @@ snapshots:
vue-component-type-helpers@2.0.19: {}
vue-component-type-helpers@2.0.29: {}
vue-component-type-helpers@2.1.2: {}
vue-demi@0.13.11(vue@3.4.27(typescript@5.5.4)):
dependencies:
@ -22273,7 +22195,7 @@ snapshots:
which-typed-array@1.1.13:
dependencies:
available-typed-arrays: 1.0.5
call-bind: 1.0.5
call-bind: 1.0.7
for-each: 0.3.3
gopd: 1.0.1
has-tostringtag: 1.0.0