Skip to content

Bump typescript from 5.9.3 to 7.0.2 - #424

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

Bump typescript from 5.9.3 to 7.0.2#424
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 Aug 1, 2026

Copy link
Copy Markdown
Contributor

Bumps typescript from 5.9.3 to 7.0.2.

Release notes

Sourced from typescript's releases.

TypeScript 6.0.3

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

Downloads are available on:

TypeScript 6.0

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

Downloads are available on:

TypeScript 6.0 Beta

For release notes, check out the release announcement.

Downloads are available on:

Commits
Maintainer changes

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


@dependabot dependabot Bot added dependencies Pull requests that update a dependency file javascript Pull requests that update Javascript code labels Aug 1, 2026
Bumps [typescript](https://github.com/microsoft/TypeScript) from 5.9.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 34d6d9d to 4324b98 Compare August 3, 2026 14:26
@grahamlangford

Copy link
Copy Markdown
Collaborator

Closing in favor of #429, which bumps to TypeScript 6.0.3 instead.

TypeScript 7 can't land yet: it's the native Go compiler and doesn't expose a public compiler API, so anything doing require("typescript") breaks. The Lint failure here is ts-api-utils crashing on Cannot read properties of undefined (reading 'Intrinsic'), and it isn't fixable from this repo — typescript-eslint@8.65.0 and its canary both declare typescript: >=4.8.4 <6.1.0, and ts-api-utils@3.0.0-rc.1 declares <7. See typescript-eslint/typescript-eslint#12518 (closed as not planned) and the tracker at typescript-eslint/typescript-eslint#10940.

The Types failure was fixable — baseUrl removal, explicit rootDir, relative paths, and types: ["chrome"] — and those changes are carried into #429, which also picks up the @types/node refresh needed for TS 6's URLPattern declaration under skipLibCheck: false.

Worth reopening as a straight one-line bump once typescript-eslint ships TS 7 support.

@dependabot @github

dependabot Bot commented on behalf of github Aug 3, 2026

Copy link
Copy Markdown
Contributor Author

OK, I won't notify you again about this release, but will get in touch when a new version is available. If you'd rather skip all updates until the next major or minor version, let me know by commenting @dependabot ignore this major version or @dependabot ignore this minor version. You can also ignore all major, minor, or patch releases for a dependency by adding an ignore condition with the desired update_types to your config file.

If you change your mind, just re-open this PR and I'll resolve any conflicts on it.

@dependabot
dependabot Bot deleted the dependabot/npm_and_yarn/typescript-7.0.2 branch August 3, 2026 16:30
grahamlangford added a commit that referenced this pull request Aug 3, 2026
Supersedes #424, which bumped straight to TypeScript 7.0.2. That cannot
land yet: typescript-eslint has no TS 7 support and is blocked upstream
until the native Go compiler ships a public API
(typescript-eslint/typescript-eslint#10940), so `npm run lint` crashes in
ts-api-utils. TypeScript 6 is the last JS-based compiler and sits inside
typescript-eslint's `<6.1.0` peer range.

TypeScript 6 turns several tsconfig options into deprecation errors and
drops automatic `@types` inclusion, so the config needs three changes:

- `baseUrl` is deprecated and removed in 7.0; `rootDir` replaces it and
  has to be explicit once `baseUrl` is gone
- `paths` values must be relative in 7.0
- `types: ["chrome"]` restores the `chrome` globals, which 5.9 picked up
  by scanning all of node_modules/@types

Also refreshes @types/node 24.0.8 -> 26.1.2 in the lockfile. 24.0.8
declares `URLPattern` incompatibly with TypeScript 6's lib.dom.d.ts,
which this project sees because it sets `skipLibCheck: false`.
@types/tape already requests `@types/node: "*"`, so no direct dependency
is needed.

The emitted `distribution/` is byte-identical to the 5.9.3 output across
all 108 files, so the published API is unchanged.

Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
grahamlangford added a commit that referenced this pull request Aug 3, 2026
Supersedes #424, which bumped straight to TypeScript 7.0.2. That cannot
land yet: typescript-eslint has no TS 7 support and is blocked upstream
until the native Go compiler ships a public API
(typescript-eslint/typescript-eslint#10940), so `npm run lint` crashes in
ts-api-utils. TypeScript 6 is the last JS-based compiler and sits inside
typescript-eslint's `<6.1.0` peer range.

TypeScript 6 turns several tsconfig options into deprecation errors and
drops automatic `@types` inclusion, so the config needs three changes:

- `baseUrl` is deprecated and removed in 7.0; `rootDir` replaces it and
  has to be explicit once `baseUrl` is gone
- `paths` values must be relative in 7.0
- `types: ["chrome"]` restores the `chrome` globals, which 5.9 picked up
  by scanning all of node_modules/@types

Also refreshes @types/node 24.0.8 -> 26.1.2 in the lockfile. 24.0.8
declares `URLPattern` incompatibly with TypeScript 6's lib.dom.d.ts,
which this project sees because it sets `skipLibCheck: false`.
@types/tape already requests `@types/node: "*"`, so no direct dependency
is needed.

The emitted `distribution/` is byte-identical to the 5.9.3 output across
all 108 files, so the published API is unchanged.

Co-authored-by: Claude Opus 5 (1M context) <noreply@anthropic.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependencies Pull requests that update a dependency file javascript Pull requests that update Javascript code

Development

Successfully merging this pull request may close these issues.

1 participant