Skip to content

Commit

Permalink
chore: Upgrade TS to 5.6 (#2650)
Browse files Browse the repository at this point in the history
It is needed for isolatedDeclarations which should speed up type
checking.
  • Loading branch information
arv authored Oct 11, 2024
1 parent 4a06ddd commit 3032a90
Show file tree
Hide file tree
Showing 15 changed files with 48 additions and 47 deletions.
2 changes: 1 addition & 1 deletion apps/zbugs/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@
"prettier": "^3.0.3",
"tailwindcss": "^3.0.23",
"tsx": "^4.19.1",
"typescript": "^5.5.3",
"typescript": "^5.6.3",
"universal-user-agent": "^7.0.2",
"vite": "^5.2.0",
"vite-plugin-svgr": "^4.2.0",
Expand Down
65 changes: 33 additions & 32 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion packages/btree/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -53,6 +53,6 @@
"functional-red-black-tree": "^1.0.1",
"mersenne-twister": "^1.1.0",
"tsx": "^4.19.1",
"typescript": "^5.5.3"
"typescript": "^5.6.3"
}
}
2 changes: 1 addition & 1 deletion packages/datadog/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
"@rocicorp/logger": "^5.3.0",
"@rocicorp/prettier-config": "^0.2.0",
"replicache": "15.2.1",
"typescript": "^5.5.3",
"typescript": "^5.6.3",
"vitest": "^2.0.3"
},
"scripts": {
Expand Down
2 changes: 1 addition & 1 deletion packages/replicache-perf/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@
"replicache": "15.2.1",
"shared": "0.0.0",
"tsx": "^4.19.1",
"typescript": "^5.5.3",
"typescript": "^5.6.3",
"xbytes": "^1.7.0"
},
"eslintConfig": {
Expand Down
2 changes: 1 addition & 1 deletion packages/replicache/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@
"shared": "0.0.0",
"sinon": "^13.0.1",
"tsc-alias": "^1.8.10",
"typescript": "^5.5.3"
"typescript": "^5.6.3"
},
"type": "module",
"main": "out/replicache.js",
Expand Down
2 changes: 1 addition & 1 deletion packages/shared/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@
"@vitest/browser": "^2.0.3",
"fast-check": "^3.18.0",
"pkg-up": "^5.0.0",
"typescript": "^5.5.3",
"typescript": "^5.6.3",
"vitest": "^2.0.3"
},
"eslintConfig": {
Expand Down
2 changes: 1 addition & 1 deletion packages/zero-cache/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@
"concurrently": "^8.2.1",
"shared": "0.0.0",
"tsx": "^4.19.1",
"typescript": "^5.5.3",
"typescript": "^5.6.3",
"vitest": "^2.0.3"
},
"eslintConfig": {
Expand Down
2 changes: 1 addition & 1 deletion packages/zero-client/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@
"shared": "0.0.0",
"sinon": "^13.0.1",
"tsc-alias": "^1.8.10",
"typescript": "^5.5.3",
"typescript": "^5.6.3",
"zero-protocol": "0.0.0"
},
"eslintConfig": {
Expand Down
2 changes: 1 addition & 1 deletion packages/zero-integration-test/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@
"@vitest/browser": "^2.0.3",
"fast-check": "^3.18.0",
"pkg-up": "^5.0.0",
"typescript": "^5.5.3",
"typescript": "^5.6.3",
"vitest": "^2.0.3"
},
"eslintConfig": {
Expand Down
2 changes: 1 addition & 1 deletion packages/zero-protocol/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
"@rocicorp/prettier-config": "^0.2.0",
"zql": "0.0.0",
"shared": "0.0.0",
"typescript": "^5.5.3"
"typescript": "^5.6.3"
},
"exports": {
".": "./src/mod.ts",
Expand Down
2 changes: 1 addition & 1 deletion packages/zero/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@
"esbuild": "^0.20.2",
"replicache": "15.2.1",
"tsc-alias": "^1.8.10",
"typescript": "^5.5.3"
"typescript": "^5.6.3"
},
"type": "module",
"main": "out/zero.js",
Expand Down
2 changes: 1 addition & 1 deletion packages/zql/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@
"playwright": "^1.43.1",
"replicache": "15.2.1",
"shared": "0.0.0",
"typescript": "^5.5.3",
"typescript": "^5.6.3",
"wa-sqlite": "github:rhashimoto/wa-sqlite#ca2084cdd188c56532ba3e272696d0b9e21a23bf",
"zod": "^3.21.4"
},
Expand Down
4 changes: 2 additions & 2 deletions packages/zql/src/zql/ivm/lookahead-iterator.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -94,7 +94,7 @@ test('basics', () => {
});

class ExpensiveIterator {
#iter = [1, 2, 3][Symbol.iterator]();
#iter = [1, 2, 3].values();

returned: unknown[] = [];
thrown: unknown[] = [];
Expand All @@ -103,7 +103,7 @@ class ExpensiveIterator {
return this.#iter.next();
}

return(value?: unknown) {
return(value?: undefined) {
this.returned.push(value);
this.#iter.return?.(value);
return {done: true, value: undefined};
Expand Down
2 changes: 1 addition & 1 deletion packages/zqlite/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@
"nanoid": "^4.0.2",
"playwright": "^1.43.1",
"shared": "0.0.0",
"typescript": "^5.5.3"
"typescript": "^5.6.3"
},
"eslintConfig": {
"extends": "../../eslint-config.json"
Expand Down

0 comments on commit 3032a90

Please sign in to comment.