chore(deps): bump @types/node from 25.3.5 to 26.4.1 - #6837
dependabot[bot] wants to merge 3 commits into
Conversation
Bumps [@types/node](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/node) from 25.3.5 to 26.4.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: 26.4.1 dependency-type: direct:production update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] <support@github.com>
|
Reviewing this major version bump. Workflow run |
|
BLEnder picked up this PR. Workflow run |
|
NEEDS_REVIEW: this major version bump needs code-owner review Confidence: high Breaking changes: crypto.BinaryLike widened from 'string | NodeJS.ArrayBufferView' (25.3.5) to additionally include 'ArrayBuffer' (26.4.1), while Hash/Hmac .update() still accepts only 'string | ArrayBufferView' -- BinaryLike is therefore no longer assignable to .update(); ArrayBufferView type references became generic ('ArrayBufferView'), tightening assignability for any code passing raw ArrayBuffer into Node crypto/stream APIs; Type definitions now describe the Node 26 API surface while this project pins engines.node '20.20.x' and builds on node:20.20-alpine, so types may advertise globals and APIs absent from the deployed runtime; Bundled undici-types dependency moved to ~8.3.0, which can shift fetch/Response/Request/Headers typings that overlap with the DOM lib enabled in tsconfig ('lib': ['dom', 'dom.iterable', 'esnext']) |
|
Reviewing this major version bump. Workflow run |
|
BLEnder picked up this PR. Workflow run |
emailHashPrefix cast its already-string argument to crypto's BinaryLike before passing it to getSha1, which takes a string. In @types/node 26 that union (string | NodeJS.ArrayBufferView) is no longer accepted where a string is required, breaking tsc for npm-lint, npm-build and the Docker image build. Removed the unnecessary cast and the now-unused BinaryLike import. No behaviour change.
|
Reviewing this major version bump. Workflow run |
Bumps @types/node from 25.3.5 to 26.4.1.
Commits
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 rebasewill rebase this PR@dependabot recreatewill recreate this PR, overwriting any edits that have been made to it@dependabot show <dependency name> ignore conditionswill show all of the ignore conditions of the specified dependency@dependabot ignore this major versionwill 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 versionwill 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 dependencywill close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)