diff --git a/javascript/package-lock.json b/javascript/package-lock.json index 05d926c3..d49575a7 100644 --- a/javascript/package-lock.json +++ b/javascript/package-lock.json @@ -34,7 +34,7 @@ "prettier": "3.3.3", "pretty-quick": "4.0.0", "ts-node": "10.9.2", - "typescript": "5.4.5" + "typescript": "5.6.3" } }, "node_modules/@aashutoshrathi/word-wrap": { @@ -6317,9 +6317,9 @@ } }, "node_modules/typescript": { - "version": "5.4.5", - "resolved": "https://registry.npmjs.org/typescript/-/typescript-5.4.5.tgz", - "integrity": "sha512-vcI4UpRgg81oIRUFwR0WSIHKt11nJ7SAVlYNIu+QpqeyXP+gpQJy/Z4+F0aGxSE4MqwjyXvW/TzgkLAx2AGHwQ==", + "version": "5.6.3", + "resolved": "https://registry.npmjs.org/typescript/-/typescript-5.6.3.tgz", + "integrity": "sha512-hjcS1mhfuyi4WW8IWtjP7brDrG2cuDZukyrYrSauoXGNgx0S7zceP07adYkJycEr56BOUTNPzbInooiN3fn1qw==", "dev": true, "bin": { "tsc": "bin/tsc", @@ -11016,9 +11016,9 @@ } }, "typescript": { - "version": "5.4.5", - "resolved": "https://registry.npmjs.org/typescript/-/typescript-5.4.5.tgz", - "integrity": "sha512-vcI4UpRgg81oIRUFwR0WSIHKt11nJ7SAVlYNIu+QpqeyXP+gpQJy/Z4+F0aGxSE4MqwjyXvW/TzgkLAx2AGHwQ==", + "version": "5.6.3", + "resolved": "https://registry.npmjs.org/typescript/-/typescript-5.6.3.tgz", + "integrity": "sha512-hjcS1mhfuyi4WW8IWtjP7brDrG2cuDZukyrYrSauoXGNgx0S7zceP07adYkJycEr56BOUTNPzbInooiN3fn1qw==", "dev": true }, "unbox-primitive": { diff --git a/javascript/package.json b/javascript/package.json index f310eecc..bf33ce6d 100644 --- a/javascript/package.json +++ b/javascript/package.json @@ -68,7 +68,7 @@ "prettier": "3.3.3", "pretty-quick": "4.0.0", "ts-node": "10.9.2", - "typescript": "5.4.5" + "typescript": "5.6.3" }, "dependencies": { "regexp-match-indices": "1.0.2" diff --git a/javascript/tsconfig.build-cjs.json b/javascript/tsconfig.build-cjs.json index da76f4bb..191679d5 100644 --- a/javascript/tsconfig.build-cjs.json +++ b/javascript/tsconfig.build-cjs.json @@ -2,7 +2,6 @@ "extends": "./tsconfig.build.json", "compilerOptions": { "outDir": "dist/cjs", - "target": "ES5", "module": "CommonJS", }, } diff --git a/javascript/tsconfig.build-esm.json b/javascript/tsconfig.build-esm.json index 735b5257..526b7549 100644 --- a/javascript/tsconfig.build-esm.json +++ b/javascript/tsconfig.build-esm.json @@ -1,10 +1,6 @@ { "extends": "./tsconfig.build.json", "compilerOptions": { - "lib": [ - "ES2019" - ], - "target": "ES6", "module": "ES6", "outDir": "dist/esm" }, diff --git a/javascript/tsconfig.json b/javascript/tsconfig.json index a1a7df5c..3eed700c 100644 --- a/javascript/tsconfig.json +++ b/javascript/tsconfig.json @@ -13,9 +13,9 @@ "experimentalDecorators": true, "module": "ESNext", "lib": [ - "ES6" + "ES2022" ], - "target": "ES6", + "target": "ES2022", "moduleResolution": "node", "allowSyntheticDefaultImports": true, "noEmit": true