chore: update typescript (#10135)

This commit is contained in:
jrandolf 2023-05-05 07:46:17 +02:00 committed by GitHub
parent 4615607b7d
commit 9e21d30f75
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 9 additions and 7 deletions

13
package-lock.json generated
View File

@ -77,7 +77,7 @@
"text-diff": "1.0.1", "text-diff": "1.0.1",
"tsd": "0.26.0", "tsd": "0.26.0",
"tsx": "3.12.3", "tsx": "3.12.3",
"typescript": "4.9.5", "typescript": "5.0.4",
"wireit": "0.9.5", "wireit": "0.9.5",
"zod": "3.21.2" "zod": "3.21.2"
} }
@ -8889,15 +8889,16 @@
} }
}, },
"node_modules/typescript": { "node_modules/typescript": {
"version": "4.9.5", "version": "5.0.4",
"resolved": "https://registry.npmjs.org/typescript/-/typescript-5.0.4.tgz",
"integrity": "sha512-cW9T5W9xY37cc+jfEnaUvX91foxtHkza3Nw3wkoF4sSlKn0MONdkdEndig/qPBWXNkmplh3NzayQzCiHM4/hqw==",
"devOptional": true, "devOptional": true,
"license": "Apache-2.0",
"bin": { "bin": {
"tsc": "bin/tsc", "tsc": "bin/tsc",
"tsserver": "bin/tsserver" "tsserver": "bin/tsserver"
}, },
"engines": { "engines": {
"node": ">=4.2.0" "node": ">=12.20"
} }
}, },
"node_modules/unbox-primitive": { "node_modules/unbox-primitive": {
@ -15440,7 +15441,9 @@
"dev": true "dev": true
}, },
"typescript": { "typescript": {
"version": "4.9.5", "version": "5.0.4",
"resolved": "https://registry.npmjs.org/typescript/-/typescript-5.0.4.tgz",
"integrity": "sha512-cW9T5W9xY37cc+jfEnaUvX91foxtHkza3Nw3wkoF4sSlKn0MONdkdEndig/qPBWXNkmplh3NzayQzCiHM4/hqw==",
"devOptional": true "devOptional": true
}, },
"unbox-primitive": { "unbox-primitive": {

View File

@ -181,7 +181,7 @@
"text-diff": "1.0.1", "text-diff": "1.0.1",
"tsd": "0.26.0", "tsd": "0.26.0",
"tsx": "3.12.3", "tsx": "3.12.3",
"typescript": "4.9.5", "typescript": "5.0.4",
"wireit": "0.9.5", "wireit": "0.9.5",
"zod": "3.21.2" "zod": "3.21.2"
}, },

View File

@ -178,7 +178,6 @@ export class BidiSerializer {
case 'NaN': case 'NaN':
return NaN; return NaN;
case 'Infinity': case 'Infinity':
case '+Infinity':
return Infinity; return Infinity;
case '-Infinity': case '-Infinity':
return -Infinity; return -Infinity;