Skip to content

Bump @types/node from 22.20.5 to 26.6.5 - #2735

Open
dependabot[bot] wants to merge 1 commit into
development/8.6from
dependabot/npm_and_yarn/types/node-26.6.5
Open

dependabot[bot] wants to merge 1 commit into
development/8.6from
dependabot/npm_and_yarn/types/node-26.6.5

Conversation

@dependabot

@dependabot dependabot Bot commented on behalf of github Oct 14, 2026

Copy link
Copy Markdown
Contributor

Bumps @types/node from 22.20.5 to 26.6.5.

Commits

Most Recent Ignore Conditions Applied to This Pull Request
Dependency Name Ignore Conditions
@types/node [>= 24.a, < 25]

Dependabot compatibility score

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


Dependabot commands and options

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot show <dependency name> ignore conditions will show all of the ignore conditions of the specified dependency
  • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)

Bumps [@types/node](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/node) from 22.20.5 to 26.6.5.
- [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: 26.6.5
  dependency-type: direct:development
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot Bot added dependencies Pull requests that update a dependency file javascript Pull requests that update javascript code labels Oct 14, 2026
@bert-e

bert-e commented Oct 14, 2026

Copy link
Copy Markdown
Contributor

Hello dependabot[bot],

My role is to assist you with the merge of this
pull request. Please type @bert-e help to get information
on this process, or consult the user documentation.

Available options
name description privileged authored
/after_pull_request Wait for the given pull request id to be merged before continuing with the current one.
/bypass_author_approval Bypass the pull request author's approval ⭐
/bypass_build_status Bypass the build and test status ⭐
/bypass_commit_size Bypass the check on the size of the changeset TBA ⭐
/bypass_incompatible_branch Bypass the check on the source branch prefix ⭐
/bypass_jira_check Bypass the Jira issue check ⭐
/bypass_peer_approval Bypass the pull request peers' approval ⭐
/bypass_leader_approval Bypass the pull request leaders' approval ⭐
/bypass_source_branch_lineage Bypass the cross-branch contamination check ⭐
/approve Instruct Bert-E that the author has approved the pull request. ✍️
/create_pull_requests Allow the creation of integration pull requests.
/create_integration_branches Allow the creation of integration branches.
/no_octopus Prevent Wall-E from doing any octopus merge and use multiple consecutive merge instead
/unanimity Change review acceptance criteria from one reviewer at least to all reviewers
/wait Instruct Bert-E not to run until further notice.
Available commands
name description privileged
/help Print Bert-E's manual in the pull request.
/status Print Bert-E's current status in the pull request.
/clear Remove all comments from Bert-E from the history TBA
/retry Re-start a fresh build TBA
/build Re-start a fresh build TBA
/force_reset Delete integration branches & pull requests, and restart merge process from the beginning.
/reset Try to remove integration branches unless there are commits on them which do not appear on the source branch.

Status report is not available.

The following options are set: bypass_author_approval, bypass_jira_check

@bert-e

bert-e commented Oct 14, 2026

Copy link
Copy Markdown
Contributor

Waiting for approval

The following approvals are needed before I can proceed with the merge:

  • the author

  • 2 peers

The following options are set: bypass_author_approval, bypass_jira_check

@github-actions

Copy link
Copy Markdown

Dependency Bump Evaluation

Version change: @types/node 22.20.5 -> 26.6.5 (major)
Semver bump type: major (spans 4 major versions: 22 to 26)

Changes:

  • Node.js type definitions updated to match Node.js 26 API surface
  • Buffer type is now generic (Buffer) instead of plain Buffer
  • undici-types transitive dependency bumped from ~6.21.0 to ~8.9.0
  • Stream types now expose toAsyncStreamable as a private name in declarations
  • Some @ts-expect-error suppressions are no longer needed (underlying type issues resolved upstream)

Breaking changes: Yes — 4 TypeScript compilation errors detected in CI:

  1. lib/network/kmip/transport/TransportTemplate.ts:135 — string | NonSharedBuffer is not assignable to Buffer | undefined (Buffer type became generic)
  2. lib/network/kmip/transport/TransportTemplate.ts:179 — Property errors does not exist on type Error (AggregateError typing changed)
  3. lib/storage/metadata/file/RecordLog.js:1 — Declaration emit requires private name toAsyncStreamable from node:stream (stream type internals exposed)
  4. lib/network/http/server.ts:445 — Unused @ts-expect-error directive (previously suppressed error no longer occurs)

Security concerns: None — this is a devDependency (type definitions only) with no runtime impact

Impact on codebase: Significant. The project has 68+ TypeScript files importing Node.js built-in types, with heavy usage of http, stream, crypto, Buffer, and tls types. The Buffer generics change and stream declaration changes affect core modules.

Additional note: NodeJS.Timer in lib/storage/metadata/mongoclient/MongoClientInterface.ts:274 is deprecated in @types/node v26 — should be changed to NodeJS.Timeout.

CI Status: Tests (Node 22, Node 24) and prettier all fail at the build step due to TypeScript compilation errors

Recommendation: BREAKING CHANGES

Notes: This bump requires code changes to fix 4 compilation errors before it can be merged. The fixes are straightforward:

  • Add explicit type annotations or casts for the Buffer/NonSharedBuffer issue
  • Use AggregateError type assertion or check for the .errors property
  • Add explicit return type annotation to resolve the RecordLog.js declaration emit issue
  • Remove the now-unnecessary @ts-expect-error directive in server.ts

Consider whether the project actually needs Node 26 types given CI runs on Node 22 and 24. An alternative is to pin @types/node to a version matching the supported Node.js versions (e.g., @types/node@^22).

— Claude Code

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