Skip to content

chore(deps-dev): bump @types/node from 24.13.2 to 26.0.1 - #595

Closed
dependabot[bot] wants to merge 1 commit into
masterfrom
dependabot/npm_and_yarn/types/node-25.9.3
Closed

dependabot[bot] wants to merge 1 commit into
masterfrom
dependabot/npm_and_yarn/types/node-25.9.3

Conversation

@dependabot

@dependabot dependabot Bot commented on behalf of github Jun 11, 2026 •

Copy link
Copy Markdown
Contributor

Bumps @types/node from 24.13.2 to 26.0.1.

Commits

@dependabot dependabot Bot added dependencies Pull requests that update a dependency file javascript Pull requests that update javascript code labels Jun 11, 2026
Bumps [@types/node](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/node) from 24.13.2 to 26.0.1.
- [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases)
- [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/node)

---
updated-dependencies:
- dependency-name: "@types/node"
  dependency-version: 25.9.3
  dependency-type: direct:development
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot Bot changed the title chore(deps-dev): bump @types/node from 24.12.2 to 25.9.3 chore(deps-dev): bump @types/node from 24.13.2 to 26.0.1 Jun 26, 2026
@dependabot
dependabot Bot force-pushed the dependabot/npm_and_yarn/types/node-25.9.3 branch from 4116f67 to eb04002 Compare June 26, 2026 14:27
@kalwalt

kalwalt commented Sep 20, 2026

Copy link
Copy Markdown
Member

Deliberately left out of #621, which resolved the rest of the dependency backlog.

This bump is 24.x → 26.x, a major. @types/node majors describe a specific Node major's
API surface, and this project currently targets Node 22–24:

  • .nvmrc → 24.15.0
  • .github/workflows/publish.yml → 22.15.1

Types running ahead of the runtime let code typecheck cleanly against APIs that do not exist
when it executes. That failure is silent at build time and only appears at runtime, which
makes it a poor trade for a bump carrying no security advisory — unlike everything else
in #621, which closed real ones.

Keeping @types/node on 24.x to match .nvmrc.

Worth revisiting once #624 settles which Node versions this project actually supports — that
decision determines the right @types/node major. If the floor moves to 26, this should be
merged at the same time.

Leaving the PR open rather than closing it, so dependabot does not simply reopen it.

@kalwalt

kalwalt commented Sep 21, 2026

Copy link
Copy Markdown
Member

Closing in favour of #638, which bumps @types/node to 24.13.6 instead.

The 26.0.1 bump proposed here would put the type definitions two majors ahead of the runtime:

Types for Node 26 on a Node 24 runtime means TypeScript accepts APIs that do not exist when the code runs, which quietly costs us the compiler's ability to catch a real mistake. 24.13.6 is the newest 24.x and sits inside the existing caret, so it is a lockfile-only change.

When the project moves to Node 26, .nvmrc and @types/node should move together.

@kalwalt kalwalt closed this Sep 21, 2026
@dependabot @github

dependabot Bot commented on behalf of github Sep 21, 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/types/node-25.9.3 branch September 21, 2026 21:02
kalwalt added a commit that referenced this pull request Sep 21, 2026
Lockfile-only patch bump within the existing "^24.13.2" range, so
package.json is unchanged.

Deliberately stays on the 24.x line. Dependabot proposed 26.0.1 in #595,
but .nvmrc pins Node 24, so types for Node 26 would let TypeScript accept
APIs that do not exist at runtime. Matching the types major to the runtime
major matters more than being on the newest types.

Co-Authored-By: Claude Opus 5 <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

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant