Update TypeScript to 5.6.2

Change-type: patch
This commit is contained in:
Thodoris Greasidis 2024-09-10 11:46:33 +03:00
parent 2f03b24bcf
commit 5f92bbc846
3 changed files with 7 additions and 6 deletions

9
npm-shrinkwrap.json generated
View File

@ -171,7 +171,7 @@
"simple-git": "^3.14.1",
"sinon": "^18.0.0",
"ts-node": "^10.4.0",
"typescript": "^5.5.2"
"typescript": "^5.6.2"
},
"engines": {
"node": "^20.6.0"
@ -17236,9 +17236,10 @@
}
},
"node_modules/typescript": {
"version": "5.5.2",
"resolved": "https://registry.npmjs.org/typescript/-/typescript-5.5.2.tgz",
"integrity": "sha512-NcRtPEOsPFFWjobJEtfihkLCZCXZt/os3zf8nTxjVH3RvTSxjrCamJpbExGvYOF+tFHc3pA65qpdwPbzjohhew==",
"version": "5.6.2",
"resolved": "https://registry.npmjs.org/typescript/-/typescript-5.6.2.tgz",
"integrity": "sha512-NW8ByodCSNCwZeghjN3o+JX5OFH0Ojg6sadjEKY4huZ52TqbJTJnDo5+Tw98lSy63NZvi4n+ez5m2u5d4PkZyw==",
"license": "Apache-2.0",
"bin": {
"tsc": "bin/tsc",
"tsserver": "bin/tsserver"

View File

@ -189,7 +189,7 @@
"simple-git": "^3.14.1",
"sinon": "^18.0.0",
"ts-node": "^10.4.0",
"typescript": "^5.5.2"
"typescript": "^5.6.2"
},
"dependencies": {
"@balena/compose": "^4.0.1",

View File

@ -410,7 +410,7 @@ export function getProxyConfig(): ProxyConfig | undefined {
const proxyUrl = process.env.HTTPS_PROXY || process.env.HTTP_PROXY;
if (proxyUrl) {
const { URL } = require('url') as typeof import('url');
let url: URL;
let url: InstanceType<typeof URL>;
try {
url = new URL(proxyUrl);
} catch (_e) {