Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix cli 0.10.1 #1052

Merged
merged 1 commit into from
Nov 20, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
894 changes: 0 additions & 894 deletions cli/.yarn/releases/yarn-4.3.1.cjs

This file was deleted.

934 changes: 934 additions & 0 deletions cli/.yarn/releases/yarn-4.5.1.cjs

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion cli/.yarnrc.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,4 +4,4 @@ enableGlobalCache: false

nodeLinker: node-modules

yarnPath: .yarn/releases/yarn-4.3.1.cjs
yarnPath: .yarn/releases/yarn-4.5.1.cjs
4 changes: 2 additions & 2 deletions cli/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@
"eslint": "^9.15.0",
"limiter": "^2.1.0",
"rimraf": "^6.0.1",
"typescript": "^4.3.2"
"typescript": "^5.6.3"
},
"scripts": {
"clean": "rimraf lib",
Expand All @@ -71,5 +71,5 @@
"publish:latest": "yarn npm publish --tag latest",
"load-extensions": "node scripts/load-test-extensions.js"
},
"packageManager": "yarn@4.3.1"
"packageManager": "yarn@4.5.1"
}
6 changes: 1 addition & 5 deletions cli/src/registry.ts
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,6 @@
********************************************************************************/

import * as http from 'http';
import * as https from 'https';
import * as fs from 'fs';
import * as querystring from 'querystring';
import * as followRedirects from 'follow-redirects';
Expand Down Expand Up @@ -167,10 +166,7 @@ export class Registry {
}

private getProtocol(url: URL) {
if (url.protocol === 'https:')
return followRedirects.https
else
return followRedirects.http
return url.protocol === 'https:' ? followRedirects.https : followRedirects.http;
}

private getRequestOptions(method?: string, headers?: http.OutgoingHttpHeaders, maxBodyLength?: number): http.RequestOptions {
Expand Down
18 changes: 9 additions & 9 deletions cli/yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -2658,7 +2658,7 @@ __metadata:
rimraf: "npm:^6.0.1"
semver: "npm:^7.6.0"
tmp: "npm:^0.2.3"
typescript: "npm:^4.3.2"
typescript: "npm:^5.6.3"
yauzl: "npm:^3.1.3"
bin:
ovsx: lib/ovsx
Expand Down Expand Up @@ -3309,23 +3309,23 @@ __metadata:
languageName: node
linkType: hard

"typescript@npm:^4.3.2":
version: 4.9.5
resolution: "typescript@npm:4.9.5"
"typescript@npm:^5.6.3":
version: 5.6.3
resolution: "typescript@npm:5.6.3"
bin:
tsc: bin/tsc
tsserver: bin/tsserver
checksum: 10/458f7220ab11e0fc191514cc41be1707645ec9a8c2d609448a448e18c522cef9646f58728f6811185a4c35613dacdf6c98cf8965c88b3541d0288c47291e4300
checksum: 10/c328e418e124b500908781d9f7b9b93cf08b66bf5936d94332b463822eea2f4e62973bfb3b8a745fdc038785cb66cf59d1092bac3ec2ac6a3e5854687f7833f1
languageName: node
linkType: hard

"typescript@patch:typescript@npm%3A^4.3.2#optional!builtin<compat/typescript>":
version: 4.9.5
resolution: "typescript@patch:typescript@npm%3A4.9.5#optional!builtin<compat/typescript>::version=4.9.5&hash=289587"
"typescript@patch:typescript@npm%3A^5.6.3#optional!builtin<compat/typescript>":
version: 5.6.3
resolution: "typescript@patch:typescript@npm%3A5.6.3#optional!builtin<compat/typescript>::version=5.6.3&hash=8c6c40"
bin:
tsc: bin/tsc
tsserver: bin/tsserver
checksum: 10/5659316360b5cc2d6f5931b346401fa534107b68b60179cf14970e27978f0936c1d5c46f4b5b8175f8cba0430f522b3ce355b4b724c0ea36ce6c0347fab25afd
checksum: 10/00504c01ee42d470c23495426af07512e25e6546bce7e24572e72a9ca2e6b2e9bea63de4286c3cfea644874da1467dcfca23f4f98f7caf20f8b03c0213bb6837
languageName: node
linkType: hard

Expand Down
894 changes: 0 additions & 894 deletions webui/.yarn/releases/yarn-4.3.1.cjs

This file was deleted.

934 changes: 934 additions & 0 deletions webui/.yarn/releases/yarn-4.5.1.cjs

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion webui/.yarnrc.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,4 +9,4 @@ packageExtensions:
peerDependencies:
"@babel/core": ^7.0.0

yarnPath: .yarn/releases/yarn-4.3.1.cjs
yarnPath: .yarn/releases/yarn-4.5.1.cjs
2 changes: 1 addition & 1 deletion webui/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -119,5 +119,5 @@
"publish:next": "yarn npm publish --tag next",
"publish:latest": "yarn npm publish --tag latest"
},
"packageManager": "yarn@4.3.1"
"packageManager": "yarn@4.5.1"
}