Skip to content

Commit 0dfaece

Browse files
authored
Merge pull request #1052 from amvanbaren/fix-cli-0.10.1
Fix cli 0.10.1
2 parents 375d136 + 4c4217b commit 0dfaece

File tree

10 files changed

+1883
-1807
lines changed

10 files changed

+1883
-1807
lines changed

cli/.yarn/releases/yarn-4.3.1.cjs

Lines changed: 0 additions & 894 deletions
This file was deleted.

cli/.yarn/releases/yarn-4.5.1.cjs

Lines changed: 934 additions & 0 deletions
Large diffs are not rendered by default.

cli/.yarnrc.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,4 +4,4 @@ enableGlobalCache: false
44

55
nodeLinker: node-modules
66

7-
yarnPath: .yarn/releases/yarn-4.3.1.cjs
7+
yarnPath: .yarn/releases/yarn-4.5.1.cjs

cli/package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,7 @@
5858
"eslint": "^9.15.0",
5959
"limiter": "^2.1.0",
6060
"rimraf": "^6.0.1",
61-
"typescript": "^4.3.2"
61+
"typescript": "^5.6.3"
6262
},
6363
"scripts": {
6464
"clean": "rimraf lib",
@@ -71,5 +71,5 @@
7171
"publish:latest": "yarn npm publish --tag latest",
7272
"load-extensions": "node scripts/load-test-extensions.js"
7373
},
74-
"packageManager": "yarn@4.3.1"
74+
"packageManager": "yarn@4.5.1"
7575
}

cli/src/registry.ts

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,6 @@
99
********************************************************************************/
1010

1111
import * as http from 'http';
12-
import * as https from 'https';
1312
import * as fs from 'fs';
1413
import * as querystring from 'querystring';
1514
import * as followRedirects from 'follow-redirects';
@@ -167,10 +166,7 @@ export class Registry {
167166
}
168167

169168
private getProtocol(url: URL) {
170-
if (url.protocol === 'https:')
171-
return followRedirects.https
172-
else
173-
return followRedirects.http
169+
return url.protocol === 'https:' ? followRedirects.https : followRedirects.http;
174170
}
175171

176172
private getRequestOptions(method?: string, headers?: http.OutgoingHttpHeaders, maxBodyLength?: number): http.RequestOptions {

cli/yarn.lock

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -2658,7 +2658,7 @@ __metadata:
26582658
rimraf: "npm:^6.0.1"
26592659
semver: "npm:^7.6.0"
26602660
tmp: "npm:^0.2.3"
2661-
typescript: "npm:^4.3.2"
2661+
typescript: "npm:^5.6.3"
26622662
yauzl: "npm:^3.1.3"
26632663
bin:
26642664
ovsx: lib/ovsx
@@ -3309,23 +3309,23 @@ __metadata:
33093309
languageName: node
33103310
linkType: hard
33113311

3312-
"typescript@npm:^4.3.2":
3313-
version: 4.9.5
3314-
resolution: "typescript@npm:4.9.5"
3312+
"typescript@npm:^5.6.3":
3313+
version: 5.6.3
3314+
resolution: "typescript@npm:5.6.3"
33153315
bin:
33163316
tsc: bin/tsc
33173317
tsserver: bin/tsserver
3318-
checksum: 10/458f7220ab11e0fc191514cc41be1707645ec9a8c2d609448a448e18c522cef9646f58728f6811185a4c35613dacdf6c98cf8965c88b3541d0288c47291e4300
3318+
checksum: 10/c328e418e124b500908781d9f7b9b93cf08b66bf5936d94332b463822eea2f4e62973bfb3b8a745fdc038785cb66cf59d1092bac3ec2ac6a3e5854687f7833f1
33193319
languageName: node
33203320
linkType: hard
33213321

3322-
"typescript@patch:typescript@npm%3A^4.3.2#optional!builtin<compat/typescript>":
3323-
version: 4.9.5
3324-
resolution: "typescript@patch:typescript@npm%3A4.9.5#optional!builtin<compat/typescript>::version=4.9.5&hash=289587"
3322+
"typescript@patch:typescript@npm%3A^5.6.3#optional!builtin<compat/typescript>":
3323+
version: 5.6.3
3324+
resolution: "typescript@patch:typescript@npm%3A5.6.3#optional!builtin<compat/typescript>::version=5.6.3&hash=8c6c40"
33253325
bin:
33263326
tsc: bin/tsc
33273327
tsserver: bin/tsserver
3328-
checksum: 10/5659316360b5cc2d6f5931b346401fa534107b68b60179cf14970e27978f0936c1d5c46f4b5b8175f8cba0430f522b3ce355b4b724c0ea36ce6c0347fab25afd
3328+
checksum: 10/00504c01ee42d470c23495426af07512e25e6546bce7e24572e72a9ca2e6b2e9bea63de4286c3cfea644874da1467dcfca23f4f98f7caf20f8b03c0213bb6837
33293329
languageName: node
33303330
linkType: hard
33313331

webui/.yarn/releases/yarn-4.3.1.cjs

Lines changed: 0 additions & 894 deletions
This file was deleted.

webui/.yarn/releases/yarn-4.5.1.cjs

Lines changed: 934 additions & 0 deletions
Large diffs are not rendered by default.

webui/.yarnrc.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,4 +9,4 @@ packageExtensions:
99
peerDependencies:
1010
"@babel/core": ^7.0.0
1111

12-
yarnPath: .yarn/releases/yarn-4.3.1.cjs
12+
yarnPath: .yarn/releases/yarn-4.5.1.cjs

webui/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -119,5 +119,5 @@
119119
"publish:next": "yarn npm publish --tag next",
120120
"publish:latest": "yarn npm publish --tag latest"
121121
},
122-
"packageManager": "yarn@4.3.1"
122+
"packageManager": "yarn@4.5.1"
123123
}

0 commit comments

Comments
 (0)