feat(core): update version of axios used (#19607)
This commit is contained in:
parent
d36194ad17
commit
2fb735d33f
@ -324,7 +324,7 @@
|
||||
"@yarnpkg/lockfile": "^1.1.0",
|
||||
"@yarnpkg/parsers": "3.0.0-rc.46",
|
||||
"@zkochan/js-yaml": "0.0.6",
|
||||
"axios": "1.0.0",
|
||||
"axios": "^1.5.1",
|
||||
"classnames": "^2.3.1",
|
||||
"cliui": "^8.0.1",
|
||||
"core-js": "^3.6.5",
|
||||
|
||||
@ -36,7 +36,7 @@
|
||||
"tmp": "~0.2.1",
|
||||
"tslib": "^2.3.0",
|
||||
"yargs": "^17.6.2",
|
||||
"axios": "^1.0.0"
|
||||
"axios": "^1.5.1"
|
||||
},
|
||||
"publishConfig": {
|
||||
"access": "public"
|
||||
|
||||
@ -37,7 +37,7 @@
|
||||
"@yarnpkg/lockfile": "^1.1.0",
|
||||
"@yarnpkg/parsers": "3.0.0-rc.46",
|
||||
"@zkochan/js-yaml": "0.0.6",
|
||||
"axios": "^1.0.0",
|
||||
"axios": "^1.5.1",
|
||||
"chalk": "^4.1.0",
|
||||
"cli-cursor": "3.1.0",
|
||||
"cli-spinners": "2.6.1",
|
||||
|
||||
@ -215,14 +215,12 @@ async function verifyCurrentBundle(
|
||||
currentBundle: CloudBundleInstall | null
|
||||
): Promise<AxiosResponse<VerifyClientBundleResponse>> {
|
||||
const contentHash = getBundleContentHash(currentBundle);
|
||||
const queryParams =
|
||||
currentBundle && contentHash
|
||||
? `?${new URLSearchParams({
|
||||
version: currentBundle.version,
|
||||
contentHash: contentHash,
|
||||
}).toString()}`
|
||||
: '';
|
||||
return axios.get('/nx-cloud/client/verify' + queryParams);
|
||||
return axios.get('/nx-cloud/client/verify', {
|
||||
params: {
|
||||
version: currentBundle.version,
|
||||
contentHash: contentHash,
|
||||
},
|
||||
});
|
||||
}
|
||||
|
||||
function getLatestBundleVerificationTimestamp(): number | null {
|
||||
|
||||
26
pnpm-lock.yaml
generated
26
pnpm-lock.yaml
generated
@ -58,8 +58,8 @@ dependencies:
|
||||
specifier: 0.0.6
|
||||
version: 0.0.6
|
||||
axios:
|
||||
specifier: 1.0.0
|
||||
version: 1.0.0
|
||||
specifier: ^1.5.1
|
||||
version: 1.5.1
|
||||
classnames:
|
||||
specifier: ^2.3.1
|
||||
version: 2.3.2
|
||||
@ -11696,15 +11696,6 @@ packages:
|
||||
- debug
|
||||
dev: true
|
||||
|
||||
/axios@1.0.0:
|
||||
resolution: {integrity: sha512-SsHsGFN1qNPFT5QhSoSD37SHDfGyLSW5AESmyLk2JeCMHv5g0I9g0Hz/zQHx2KNe0jGXh2q2hAm7OdkXm360CA==}
|
||||
dependencies:
|
||||
follow-redirects: 1.15.2(debug@4.3.2)
|
||||
form-data: 4.0.0
|
||||
proxy-from-env: 1.1.0
|
||||
transitivePeerDependencies:
|
||||
- debug
|
||||
|
||||
/axios@1.1.3:
|
||||
resolution: {integrity: sha512-00tXVRwKx/FZr/IDVFt4C+f9FYairX517WoGCL6dpOntqLkZofjhu43F/Xl44UOpqa+9sLFDrG/XAnFsUYgkDA==}
|
||||
dependencies:
|
||||
@ -11715,6 +11706,15 @@ packages:
|
||||
- debug
|
||||
dev: true
|
||||
|
||||
/axios@1.5.1:
|
||||
resolution: {integrity: sha512-Q28iYCWzNHjAm+yEAot5QaAMxhMghWLFVf7rRdwhUI+c2jix2DUXjAHXVi+s1ibs3mjPO/cCgbA++3BjD0vP/A==}
|
||||
dependencies:
|
||||
follow-redirects: 1.15.2(debug@4.3.2)
|
||||
form-data: 4.0.0
|
||||
proxy-from-env: 1.1.0
|
||||
transitivePeerDependencies:
|
||||
- debug
|
||||
|
||||
/axobject-query@2.2.0:
|
||||
resolution: {integrity: sha512-Td525n+iPOOyUQIeBfcASuG6uJsDOITl7Mds5gFyerkWiX7qhUTdYUBlSgNMyVqtSJqwpt1kXGLdUt6SykLMRA==}
|
||||
dev: true
|
||||
@ -20836,7 +20836,7 @@ packages:
|
||||
'@yarnpkg/lockfile': 1.1.0
|
||||
'@yarnpkg/parsers': 3.0.0-rc.46
|
||||
'@zkochan/js-yaml': 0.0.6
|
||||
axios: 1.0.0
|
||||
axios: 1.5.1
|
||||
chalk: 4.1.2
|
||||
cli-cursor: 3.1.0
|
||||
cli-spinners: 2.6.1
|
||||
@ -20899,7 +20899,7 @@ packages:
|
||||
'@yarnpkg/lockfile': 1.1.0
|
||||
'@yarnpkg/parsers': 3.0.0-rc.46
|
||||
'@zkochan/js-yaml': 0.0.6
|
||||
axios: 1.0.0
|
||||
axios: 1.5.1
|
||||
chalk: 4.1.2
|
||||
cli-cursor: 3.1.0
|
||||
cli-spinners: 2.6.1
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user