Skip to content

chore(deps-dev)(deps-dev): bump typescript from 6.0.3 to 7.0.2 - #350

Open
dependabot[bot] wants to merge 1 commit into
mainfrom
dependabot/npm_and_yarn/typescript-7.0.2
Open

dependabot[bot] wants to merge 1 commit into
mainfrom
dependabot/npm_and_yarn/typescript-7.0.2

Conversation

@dependabot

@dependabot dependabot Bot commented on behalf of github Jul 13, 2026

Copy link
Copy Markdown
Contributor

Bumps typescript from 6.0.3 to 7.0.2.

Commits
Maintainer changes

This version was pushed to npm by microsoft1es, a new releaser for typescript since your current version.


Note
Automatic rebases have been disabled on this pull request as it has been open for over 30 days.

@dependabot @github

dependabot Bot commented on behalf of github Jul 13, 2026

Copy link
Copy Markdown
Contributor Author

Labels

The following labels could not be found: dependencies. Please create it before Dependabot can add it to a pull request.

Please fix the above issues or remove invalid values from dependabot.yml.

Bumps [typescript](https://github.com/microsoft/TypeScript) from 6.0.3 to 7.0.2.
- [Release notes](https://github.com/microsoft/TypeScript/releases)
- [Commits](https://github.com/microsoft/TypeScript/commits)

---
updated-dependencies:
- dependency-name: typescript
  dependency-version: 7.0.2
  dependency-type: direct:development
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot
dependabot Bot force-pushed the dependabot/npm_and_yarn/typescript-7.0.2 branch from 51e70c0 to 542cd43 Compare July 22, 2026 13:29
@pofallon

Copy link
Copy Markdown
Contributor

Holding this until the ESLint toolchain supports TypeScript 7.

Verified locally (rebased onto main, lockfile regenerated):

  • bun run typecheck passes clean across all packages under TS 7.0.2
  • bun run lint breaks — ts-api-utils (a transitive dep of typescript-eslint) throws TypeError: Cannot read properties of undefined (reading 'Intrinsic') on TS 7's compiler API.

The blocker is upstream, not something we can fix here: the latest typescript-eslint (8.65.0) still declares its TypeScript peer as >=4.8.4 <6.1.0, i.e. it does not yet support TS 7. The only ts-api-utils that might is 3.0.0-rc.1 (a prerelease we shouldn't pull into main).

Plan: leave this open and re-bump once typescript-eslint ships a release with TS 7 support, upgrading typescript + typescript-eslint together.

@pofallon

Copy link
Copy Markdown
Contributor

Held off merging — verified locally rather than just trusting CI green/red:

  • bun install succeeds and bun run typecheck passes clean on TypeScript 7.0.2 across all packages.
  • bun run lint hard-crashes on every package except shared (which has no lint-sensitive TS usage triggering the path). Root cause: typescript-eslint@8.61.0 (and current latest, 8.66.0) still peer-depends on typescript: >=4.8.4 <6.1.0" — ts-api-utils(an internal dep of@typescript-eslint/typescript-estree) reads ts.TypeFlags.Intrinsic", which TS 7 apparently removed/relocated, producing a hard TypeError rather than a warning.

This isn't a lockfile problem — the underlying tooling itself isn't TS7-compatible yet. Holding this open until typescript-eslint ships TS7 support (no released version does as of now); re-check when they do. Not closing, since the fix is upstream landing support, not something to abandon.

🤖 verified locally with bun run typecheck && bun run lint on a clean checkout of this branch — Claude Code

@pofallon

pofallon commented Sep 4, 2026

Copy link
Copy Markdown
Contributor

Took this branch for a full local run to see how much of it is our problem. Short version: none of it — this is blocked upstream on typescript-eslint, and there is no version we can bump to yet.

The red CI here is only the mechanical half: Dependabot bumped the five package.json entries but never pushed a bun.lock update, so bun install --frozen-lockfile fails before it compiles a line. Regenerating the lockfile locally gets past that and reveals the actual blocker.

What happens on TypeScript 7.0.2

With typescript at ^7.0.2 across shared, server, web, cli and sdk, and a regenerated lockfile:

Gate Result
bun run typecheck ✅ all 6 packages clean
bun run test ✅ 780 server (87 files) + 276 web (49 files), 0 failures
bun run build ✅ all packages built
bun run lint ❌ crashes in every TS package

The lint failure:

TypeError: Cannot read properties of undefined (reading 'Intrinsic')
    at Object.<anonymous> (node_modules/ts-api-utils/lib/index.cjs:787:57)
    at Object.<anonymous> (node_modules/@typescript-eslint/typescript-estree/dist/convert-comments.js:37:30)

ts-api-utils reads ts.TypeFlags.Intrinsic at module load. That flag is gone from the TypeScript 7 compiler API, so @typescript-eslint/typescript-estree fails on import — before any rule runs. Nothing in our config or our code reaches it.

Why bumping typescript-eslint doesn't fix it

typescript-eslint@8.69.0 — currently latest, and there is no v9 — still declares:

peerDependencies: { typescript: '>=4.8.4 <6.1.0' }

TypeScript 7 is outside the supported range of the newest release. ts-api-utils@2.5.0 is likewise the newest and claims typescript: >=4.8.4 while using an API that TS 7 removed. So there is no combination of published versions that lints this repo under TypeScript 7 today.

Recommendation

Leave this open and parked until typescript-eslint ships TS 7 support, then re-run. Worth noting that our own source needed zero changes — the compiler swap is clean on our side, which is the expensive thing to find out and it's now known.

Sibling Dependabot PRs #412, #406 and #427 were unblocked and merged together in #436; this one was deliberately left out of that batch so it wouldn't hold them up.

Evidence gathered at d521d24 on main.

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