Skip to content

chore(deps): update dependency typescript to v6#117

Closed
renovate[bot] wants to merge 1 commit into
mainfrom
renovate/typescript-6.x
Closed

chore(deps): update dependency typescript to v6#117
renovate[bot] wants to merge 1 commit into
mainfrom
renovate/typescript-6.x

Conversation

@renovate

@renovate renovate Bot commented May 24, 2026

Copy link
Copy Markdown
Contributor

This PR contains the following updates:

Package Change Age Confidence
typescript (source) ^5.9.3^6.0.0 age confidence

Release Notes

microsoft/TypeScript (typescript)

v6.0.3: TypeScript 6.0.3

Compare Source

For release notes, check out the release announcement blog post.

Downloads are available on:

v6.0.2: TypeScript 6.0

Compare Source

For release notes, check out the release announcement blog post.

Downloads are available on:


Configuration

📅 Schedule: (UTC)

  • Branch creation
    • At any time (no schedule defined)
  • Automerge
    • At any time (no schedule defined)

🚦 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.


  • If you want to rebase/retry this PR, check this box

This PR was generated by Mend Renovate. View the repository job log.

@renovate renovate Bot force-pushed the renovate/typescript-6.x branch from f489b27 to 81dce90 Compare June 19, 2026 18:16
@renovate renovate Bot force-pushed the renovate/typescript-6.x branch from 81dce90 to 2d69289 Compare June 22, 2026 15:36
@ahanoff

ahanoff commented Jun 22, 2026

Copy link
Copy Markdown
Contributor

Superseded by # which includes the required tsconfig.json changes (types: ["node"], rootDir) that Renovate's bare version bump doesn't handle.

@ahanoff ahanoff closed this Jun 22, 2026
@ahanoff ahanoff deleted the renovate/typescript-6.x branch June 22, 2026 15:56
@renovate

renovate Bot commented Jun 22, 2026

Copy link
Copy Markdown
Contributor Author

Renovate Ignore Notification

Because you closed this PR without merging, Renovate will ignore this update. You will not get PRs for any future 6.x releases. But if you manually upgrade to 6.x then Renovate will re-enable minor and patch updates automatically.

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).
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant