Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore: bump eslint+ts #5596

Closed
wants to merge 2 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
2 changes: 1 addition & 1 deletion examples/.experimental/next-app-dir/package.json
Expand Up @@ -28,7 +28,7 @@
"react-hot-toast": "^2.4.1",
"superjson": "^1.12.4",
"trpc-api": "link:./src/trpc",
"typescript": "^5.4.0",
"typescript": "^5.4.3",
"zod": "^3.0.0"
},
"devDependencies": {
Expand Down
4 changes: 2 additions & 2 deletions examples/.experimental/next-formdata/package.json
Expand Up @@ -26,7 +26,7 @@
"@types/node": "^20.10.0",
"@types/react": "^18.2.33",
"@types/react-dom": "^18.2.14",
"eslint": "^8.56.0",
"typescript": "^5.4.0"
"eslint": "^8.57.0",
"typescript": "^5.4.3"
}
}
4 changes: 2 additions & 2 deletions examples/.test/diagnostics-big-router/package.json
Expand Up @@ -21,8 +21,8 @@
"@types/node": "^20.10.0",
"@types/react": "^18.2.33",
"@types/react-dom": "^18.2.14",
"eslint": "^8.56.0",
"eslint": "^8.57.0",
"tsx": "^4.0.0",
"typescript": "^5.4.0"
"typescript": "^5.4.3"
}
}
2 changes: 1 addition & 1 deletion examples/.test/internal-types-export/package.json
Expand Up @@ -10,7 +10,7 @@
"@tsconfig/node-lts": "^18.12.2",
"@tsconfig/strictest": "^2.0.1",
"@types/node": "^20.10.0",
"typescript": "^5.4.0"
"typescript": "^5.4.3"
},
"dependencies": {
"@trpc/client": "npm:@trpc/client@next",
Expand Down
4 changes: 2 additions & 2 deletions examples/.test/ssg-infinite-serialization/package.json
Expand Up @@ -27,8 +27,8 @@
"@types/node": "^20.10.0",
"@types/react": "^18.2.33",
"@types/react-dom": "^18.2.14",
"eslint": "^8.56.0",
"eslint": "^8.57.0",
"start-server-and-test": "^1.12.0",
"typescript": "^5.4.0"
"typescript": "^5.4.3"
}
}
4 changes: 2 additions & 2 deletions examples/.test/ssg/package.json
Expand Up @@ -27,8 +27,8 @@
"@types/node": "^20.10.0",
"@types/react": "^18.2.33",
"@types/react-dom": "^18.2.14",
"eslint": "^8.56.0",
"eslint": "^8.57.0",
"start-server-and-test": "^1.12.0",
"typescript": "^5.4.0"
"typescript": "^5.4.3"
}
}
4 changes: 2 additions & 2 deletions examples/bun/package.json
Expand Up @@ -18,9 +18,9 @@
},
"devDependencies": {
"bun-types": "^0.7.3",
"eslint": "^8.56.0",
"eslint": "^8.57.0",
"start-server-and-test": "^1.12.0",
"typescript": "^5.4.0",
"typescript": "^5.4.3",
"wait-port": "^1.0.1"
}
}
4 changes: 2 additions & 2 deletions examples/cloudflare-workers/package.json
Expand Up @@ -15,10 +15,10 @@
"devDependencies": {
"@cloudflare/workers-types": "^4.0.0",
"@types/node": "^20.10.0",
"eslint": "^8.56.0",
"eslint": "^8.57.0",
"start-server-and-test": "^1.12.0",
"tsx": "^4.0.0",
"typescript": "^5.4.0",
"typescript": "^5.4.3",
"wrangler": "^2.0.17"
},
"publishConfig": {
Expand Down
4 changes: 2 additions & 2 deletions examples/express-minimal/package.json
Expand Up @@ -28,11 +28,11 @@
"@types/node": "^20.10.0",
"@types/react": "^18.2.33",
"esbuild": "^0.17.10",
"eslint": "^8.56.0",
"eslint": "^8.57.0",
"npm-run-all": "^4.1.5",
"start-server-and-test": "^1.12.0",
"tsx": "^4.0.0",
"typescript": "^5.4.0",
"typescript": "^5.4.3",
"wait-port": "^1.0.1"
},
"publishConfig": {
Expand Down
4 changes: 2 additions & 2 deletions examples/express-server/package.json
Expand Up @@ -28,11 +28,11 @@
"@types/node": "^20.10.0",
"@types/react": "^18.2.33",
"esbuild": "^0.17.10",
"eslint": "^8.56.0",
"eslint": "^8.57.0",
"npm-run-all": "^4.1.5",
"start-server-and-test": "^1.12.0",
"tsx": "^4.0.0",
"typescript": "^5.4.0",
"typescript": "^5.4.3",
"wait-port": "^1.0.1"
},
"publishConfig": {
Expand Down
4 changes: 2 additions & 2 deletions examples/fastify-server/package.json
Expand Up @@ -29,11 +29,11 @@
"@types/node": "^20.10.0",
"@types/ws": "^8.2.0",
"esbuild": "^0.17.10",
"eslint": "^8.56.0",
"eslint": "^8.57.0",
"npm-run-all": "^4.1.5",
"start-server-and-test": "^1.12.0",
"tsx": "^4.0.0",
"typescript": "^5.4.0",
"typescript": "^5.4.3",
"wait-port": "^1.0.1"
},
"publishConfig": {
Expand Down
4 changes: 2 additions & 2 deletions examples/lambda-api-gateway/package.json
Expand Up @@ -20,10 +20,10 @@
"devDependencies": {
"@types/node": "^20.10.0",
"esbuild": "^0.17.10",
"eslint": "^8.56.0",
"eslint": "^8.57.0",
"serverless": "^3.18.1",
"serverless-esbuild": "^1.39.0",
"serverless-offline": "^12.0.4",
"typescript": "^5.4.0"
"typescript": "^5.4.3"
}
}
4 changes: 2 additions & 2 deletions examples/minimal-react/client/package.json
Expand Up @@ -20,8 +20,8 @@
"@types/react": "^18.2.33",
"@types/react-dom": "^18.2.14",
"@vitejs/plugin-react": "^3.1.0",
"eslint": "^8.56.0",
"typescript": "^5.4.0",
"eslint": "^8.57.0",
"typescript": "^5.4.3",
"vite": "^5.1.0"
}
}
4 changes: 2 additions & 2 deletions examples/minimal-react/server/package.json
Expand Up @@ -15,8 +15,8 @@
"devDependencies": {
"@types/cors": "^2.8.13",
"@types/node": "^20.10.0",
"eslint": "^8.56.0",
"eslint": "^8.57.0",
"tsx": "^4.0.0",
"typescript": "^5.4.0"
"typescript": "^5.4.3"
}
}
2 changes: 1 addition & 1 deletion examples/minimal/package.json
Expand Up @@ -20,7 +20,7 @@
"npm-run-all": "^4.1.5",
"start-server-and-test": "^1.12.0",
"tsx": "^4.0.0",
"typescript": "^5.4.0",
"typescript": "^5.4.3",
"wait-port": "^1.0.1"
}
}
4 changes: 2 additions & 2 deletions examples/next-big-router/package.json
Expand Up @@ -24,8 +24,8 @@
"@types/node": "^20.10.0",
"@types/react": "^18.2.33",
"@types/react-dom": "^18.2.14",
"eslint": "^8.56.0",
"eslint": "^8.57.0",
"tsx": "^4.0.0",
"typescript": "^5.4.0"
"typescript": "^5.4.3"
}
}
4 changes: 2 additions & 2 deletions examples/next-edge-runtime/package.json
Expand Up @@ -22,7 +22,7 @@
"@types/node": "^20.10.0",
"@types/react": "^18.2.33",
"@types/react-dom": "^18.2.14",
"eslint": "^8.56.0",
"typescript": "^5.4.0"
"eslint": "^8.57.0",
"typescript": "^5.4.3"
}
}
4 changes: 2 additions & 2 deletions examples/next-minimal-starter/package.json
Expand Up @@ -22,7 +22,7 @@
"@types/node": "^20.10.0",
"@types/react": "^18.2.33",
"@types/react-dom": "^18.2.14",
"eslint": "^8.56.0",
"typescript": "^5.4.0"
"eslint": "^8.57.0",
"typescript": "^5.4.3"
}
}
8 changes: 4 additions & 4 deletions examples/next-prisma-starter/package.json
Expand Up @@ -48,11 +48,11 @@
"@playwright/test": "^1.26.1",
"@types/node": "^20.10.0",
"@types/react": "^18.2.33",
"@typescript-eslint/eslint-plugin": "^7.0.1",
"@typescript-eslint/parser": "^7.0.1",
"@typescript-eslint/eslint-plugin": "^7.4.0",
"@typescript-eslint/parser": "^7.4.0",
"autoprefixer": "^10.4.7",
"dotenv": "^16.0.1",
"eslint": "^8.56.0",
"eslint": "^8.57.0",
"eslint-config-next": "^14.0.1",
"eslint-plugin-react": "^7.32.2",
"eslint-plugin-react-hooks": "^4.6.0",
Expand All @@ -63,7 +63,7 @@
"start-server-and-test": "^1.12.0",
"tailwindcss": "^3.3.0",
"tsx": "^4.0.0",
"typescript": "^5.4.0",
"typescript": "^5.4.3",
"vite": "^5.1.0",
"vitest": "^1.2.2"
},
Expand Down
4 changes: 2 additions & 2 deletions examples/next-prisma-todomvc/package.json
Expand Up @@ -44,11 +44,11 @@
"@tanstack/react-query-devtools": "^5.0.0",
"@types/node": "^20.10.0",
"@types/react": "^18.2.33",
"eslint": "^8.56.0",
"eslint": "^8.57.0",
"npm-run-all": "^4.1.5",
"prisma": "^5.8.1",
"start-server-and-test": "^1.12.0",
"typescript": "^5.4.0"
"typescript": "^5.4.3"
},
"publishConfig": {
"access": "restricted"
Expand Down
8 changes: 4 additions & 4 deletions examples/next-prisma-websockets-starter/package.json
Expand Up @@ -61,11 +61,11 @@
"@types/node": "^20.10.0",
"@types/react": "^18.2.33",
"@types/ws": "^8.2.0",
"@typescript-eslint/eslint-plugin": "^7.0.1",
"@typescript-eslint/parser": "^7.0.1",
"@typescript-eslint/eslint-plugin": "^7.4.0",
"@typescript-eslint/parser": "^7.4.0",
"autoprefixer": "^10.4.7",
"cross-env": "^7.0.3",
"eslint": "^8.56.0",
"eslint": "^8.57.0",
"eslint-config-next": "^14.0.1",
"eslint-plugin-react": "^7.32.2",
"eslint-plugin-react-hooks": "^4.6.0",
Expand All @@ -75,7 +75,7 @@
"prisma": "^5.8.1",
"start-server-and-test": "^1.12.0",
"tailwindcss": "^3.3.0",
"typescript": "^5.4.0"
"typescript": "^5.4.3"
},
"publishConfig": {
"access": "restricted"
Expand Down
2 changes: 1 addition & 1 deletion examples/soa/package.json
Expand Up @@ -17,7 +17,7 @@
"npm-run-all": "^4.1.5",
"start-server-and-test": "^1.12.0",
"tsx": "^4.0.0",
"typescript": "^5.4.0",
"typescript": "^5.4.3",
"wait-port": "^1.0.1"
}
}
4 changes: 2 additions & 2 deletions examples/standalone-server/package.json
Expand Up @@ -27,11 +27,11 @@
"@types/node": "^20.10.0",
"@types/ws": "^8.2.0",
"esbuild": "^0.17.10",
"eslint": "^8.56.0",
"eslint": "^8.57.0",
"npm-run-all": "^4.1.5",
"start-server-and-test": "^1.12.0",
"tsx": "^4.0.0",
"typescript": "^5.4.0",
"typescript": "^5.4.3",
"wait-port": "^1.0.1"
},
"publishConfig": {
Expand Down
2 changes: 1 addition & 1 deletion examples/vercel-edge-runtime/package.json
Expand Up @@ -18,7 +18,7 @@
"esbuild": "^0.17.10",
"start-server-and-test": "^1.12.0",
"tsx": "^4.0.0",
"typescript": "^5.4.0"
"typescript": "^5.4.3"
},
"publishConfig": {
"access": "restricted"
Expand Down
8 changes: 4 additions & 4 deletions package.json
Expand Up @@ -51,12 +51,12 @@
"@testing-library/user-event": "^14.4.3",
"@types/node": "^20.10.0",
"@types/prettier": "^2.7.2",
"@typescript-eslint/eslint-plugin": "^7.0.1",
"@typescript-eslint/parser": "^7.0.1",
"@typescript-eslint/eslint-plugin": "^7.4.0",
"@typescript-eslint/parser": "^7.4.0",
"@vitest/coverage-istanbul": "^1.2.2",
"@vitest/ui": "^1.2.2",
"concurrently": "^8.0.0",
"eslint": "^8.56.0",
"eslint": "^8.57.0",
"eslint-config-prettier": "^8.8.0",
"eslint-plugin-no-only-tests": "^3.1.0",
"eslint-plugin-react": "^7.32.2",
Expand All @@ -80,7 +80,7 @@
"ts-prune": "^0.10.3",
"tsx": "^4.0.0",
"turbo": "^1.10.2",
"typescript": "^5.4.0",
"typescript": "^5.4.3",
"vite": "^5.1.0",
"vitest": "^1.2.2",
"vitest-environment-miniflare": "^2.14.1",
Expand Down
2 changes: 1 addition & 1 deletion packages/client/package.json
Expand Up @@ -83,7 +83,7 @@
"@trpc/server": "^10.45.1",
"@types/isomorphic-fetch": "^0.0.39",
"@types/node": "^20.10.0",
"eslint": "^8.56.0",
"eslint": "^8.57.0",
"isomorphic-fetch": "^3.0.0",
"node-fetch": "^3.3.0",
"rollup": "^4.9.5",
Expand Down
3 changes: 1 addition & 2 deletions packages/client/src/internals/getAbortController.ts
Expand Up @@ -8,11 +8,10 @@ export function getAbortController(
return customAbortControllerImpl;
}

// eslint-disable-next-line @typescript-eslint/prefer-optional-chain
if (typeof window !== 'undefined' && window.AbortController) {
return window.AbortController;
}
// eslint-disable-next-line @typescript-eslint/prefer-optional-chain

if (typeof globalThis !== 'undefined' && globalThis.AbortController) {
return globalThis.AbortController;
}
Expand Down
3 changes: 1 addition & 2 deletions packages/client/src/links/internals/getTextDecoder.ts
Expand Up @@ -7,11 +7,10 @@ export function getTextDecoder(
return customTextDecoder;
}

// eslint-disable-next-line @typescript-eslint/prefer-optional-chain
if (typeof window !== 'undefined' && window.TextDecoder) {
return new window.TextDecoder();
}
// eslint-disable-next-line @typescript-eslint/prefer-optional-chain

if (typeof globalThis !== 'undefined' && globalThis.TextDecoder) {
return new globalThis.TextDecoder();
}
Expand Down
2 changes: 1 addition & 1 deletion packages/next/package.json
Expand Up @@ -98,7 +98,7 @@
"@types/node": "^20.10.0",
"@types/react": "^18.2.33",
"@types/react-dom": "^18.2.14",
"eslint": "^8.56.0",
"eslint": "^8.57.0",
"express": "^4.17.1",
"next": "^14.1.4",
"react": "^18.2.0",
Expand Down
2 changes: 1 addition & 1 deletion packages/react-query/package.json
Expand Up @@ -71,7 +71,7 @@
"@types/express": "^4.17.17",
"@types/node": "^20.10.0",
"@types/react": "^18.2.33",
"eslint": "^8.56.0",
"eslint": "^8.57.0",
"express": "^4.17.1",
"next": "^14.1.4",
"react": "^18.2.0",
Expand Down
4 changes: 2 additions & 2 deletions packages/server/package.json
Expand Up @@ -140,7 +140,7 @@
"@web3-storage/multipart-parser": "^1.0.0",
"aws-lambda": "^1.0.7",
"devalue": "^4.0.0",
"eslint": "^8.56.0",
"eslint": "^8.57.0",
"express": "^4.17.1",
"fastify": "^4.16.0",
"fastify-plugin": "^4.5.0",
Expand All @@ -154,7 +154,7 @@
"superstruct": "^1.0.0",
"tslib": "^2.5.0",
"tsx": "^4.0.0",
"typescript": "^5.4.0",
"typescript": "^5.4.3",
"valibot": "^0.30.0",
"ws": "^8.0.0",
"yup": "^1.0.0",
Expand Down