chore(deps): update dependency typescript to v6#117
Closed
renovate[bot] wants to merge 1 commit into
Closed
Conversation
f489b27 to
81dce90
Compare
81dce90 to
2d69289
Compare
Contributor
|
Superseded by # which includes the required tsconfig.json changes (types: ["node"], rootDir) that Renovate's bare version bump doesn't handle. |
Contributor
Author
Renovate Ignore NotificationBecause you closed this PR without merging, Renovate will ignore this update. You will not get PRs for any future If you accidentally closed this PR, or if you changed your mind: rename this PR to get a fresh replacement PR. |
ahanoff
added a commit
that referenced
this pull request
Jun 22, 2026
## What Three coupled changes to keep the toolchain current and type-safe: 1. **TypeScript 5.9.3 → 6.0.3** — latest major. TS 7 (native Go port) is next; this is the transition release. 2. **@typescript-eslint 8.56 → 8.58** — required for TS 6 support (peer dep widened from `<6.0.0` to `<6.1.0`). 3. **@types/node ^25 → ^24** — fix type-safety mismatch with the `node24` runtime. ## Why each change ### TypeScript 6.0 TS 6.0 changes two tsconfig defaults that would break the build without config updates: - `types` now defaults to `[]` (was: auto-discover all `@types/*`) → added `"types": ["node"]` - `rootDir` now defaults to `.` (was: inferred from `include`) → added `"rootDir": "./src"` Also fixed stale exclude pattern: `"__tests__"` → `"src/__tests__"` (old pattern never matched the actual path; worked by accident under TS 5.9 because all `@types/*` were auto-loaded). **No source code changes needed** — the project's TS feature surface is minimal (just `enum` + standard ESM imports). No namespaces, decorators, import assertions, or deprecated tsconfig options. ### @types/node ^24 (not ^26) | Version | Node.js line | Status (June 2026) | Safe for `node24` runtime? | |---|---|---|---| | `@types/node@^24` | Node 24 | **Active LTS** | ✅ Exact match | | `@types/node@^25` | Node 25 | **EOL** (June 1, 2026) | ❌ Tracks a dead runtime | | `@types/node@^26` | Node 26 | **Current** (not LTS until Oct 28, 2026) | ❌ Exposes Node 26-only APIs that don't exist at runtime | `@types/node@^26` would let TypeScript compile calls to APIs that don't exist in Node 24 — exactly the class of bug TypeScript is supposed to prevent. The types version must match the runtime version. Bump to `^26` only when `action.yml` bumps to `node26` (after Oct 2026 LTS). ### @typescript-eslint ^8.58 v8.58.0 (2026-03-30) added TS 6 support. The old `^8.56.0` floor has peerDep `typescript: <6.0.0` which would emit `warnOnUnsupportedTypeScriptVersion` warnings. ## Verification | Check | Result | |---|---| | `npm run build` (`tsc --noEmit` TS 6.0.3) | ✅ clean | | `npm run lint` | ✅ clean | | `npm test` (28 tests) | ✅ all pass in 0.25s | | `npm run package` | ✅ 411 KB (unchanged — no source changes) | ## Supersedes Closes Renovate PR #117 (bare version bump without the required tsconfig changes).
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This PR contains the following updates:
^5.9.3→^6.0.0Release Notes
microsoft/TypeScript (typescript)
v6.0.3: TypeScript 6.0.3Compare Source
For release notes, check out the release announcement blog post.
Downloads are available on:
v6.0.2: TypeScript 6.0Compare Source
For release notes, check out the release announcement blog post.
Downloads are available on:
Configuration
📅 Schedule: (UTC)
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about this update again.
This PR was generated by Mend Renovate. View the repository job log.