Skip to content

chore(deps-dev): bump @types/node from 22.15.31 to 25.5.2#649

Open
dependabot[bot] wants to merge 6 commits intomainfrom
dependabot/npm_and_yarn/types/node-25.5.2
Open

chore(deps-dev): bump @types/node from 22.15.31 to 25.5.2#649
dependabot[bot] wants to merge 6 commits intomainfrom
dependabot/npm_and_yarn/types/node-25.5.2

Conversation

@dependabot
Copy link
Copy Markdown
Contributor

@dependabot dependabot Bot commented on behalf of github Apr 16, 2026

Bumps @types/node from 22.15.31 to 25.5.2.

Commits

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.15.31 to 25.5.2.
- [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.5.2
  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 Apr 16, 2026
@nirinchev
Copy link
Copy Markdown
Collaborator

@copilot resolve the upgrade issue

…for @types/node v25 compatibility

Agent-Logs-Url: https://github.com/mongodb-js/devtools-shared/sessions/22b8fb15-2b45-4f11-a3f0-2d5cdf963473

Co-authored-by: nirinchev <2315687+nirinchev@users.noreply.github.com>
Copy link
Copy Markdown
Contributor

Copilot AI commented Apr 16, 2026

@copilot resolve the upgrade issue

Fixed in f33820a. The upgrade to @types/node v25 removed the KeyPairKeyObjectResult interface from the crypto module. Replaced the import and type annotation in oidc-mock-provider/src/index.ts with an equivalent inline type { publicKey: crypto.KeyObject; privateKey: crypto.KeyObject }.

Copilot AI requested a review from nirinchev April 16, 2026 12:16
@nirinchev
Copy link
Copy Markdown
Collaborator

@copilot this is still failing build

…pes/node v25 compatibility

Agent-Logs-Url: https://github.com/mongodb-js/devtools-shared/sessions/2ea462cf-abbd-4a3c-a49c-0a29c28ee9c1

Co-authored-by: nirinchev <2315687+nirinchev@users.noreply.github.com>
Copy link
Copy Markdown
Contributor

Copilot AI commented Apr 16, 2026

@copilot this is still failing build

Fixed in b9c8f44. The remaining failure was in mongodb-runner/src/tls-helpers.ts@types/node v25 extended webcrypto.KeyUsage with new post-quantum crypto operations ("decapsulateBits", "encapsulateBits", etc.), making webcrypto.CryptoKeyPair incompatible with the global CryptoKeyPair expected by @peculiar/x509. Added a as CryptoKeyPair cast on the generateKey call result to resolve the type mismatch.

@nirinchev
Copy link
Copy Markdown
Collaborator

@copilot build succeeds now, but there's one failing test

Copy link
Copy Markdown
Contributor

Copilot AI commented Apr 16, 2026

@copilot build succeeds now, but there's one failing test

Fixed in d81a93a. The @mongodb-js/mongodb-ts-autocomplete test asserts that all @types/node files needed by the TypeScript language service are pre-bundled in autocomplete-types.ts (so no fallback disk reads via getScriptSnapshot are needed). @types/node v25 introduced new files that weren't in the deps list in extract-types.ts. Updated the list to add the new files (inspector.generated.d.ts, quic.d.ts, inspector/promises.d.ts, path/posix.d.ts, path/win32.d.ts, test/reporters.d.ts, util/types.d.ts, all 13 web-globals/*.d.ts files) and two new TypeScript lib files (lib.esnext.disposable.d.ts, lib.esnext.float16.d.ts), and removed dom-events.d.ts which was dropped in v25.

@nirinchev
Copy link
Copy Markdown
Collaborator

@copilot resolve the merge conflicts in this pull request

…rn/types/node-25.5.2

# Conflicts:
#	package-lock.json

Co-authored-by: nirinchev <2315687+nirinchev@users.noreply.github.com>
Copy link
Copy Markdown
Contributor

Copilot AI commented Apr 16, 2026

@copilot resolve the merge conflicts in this pull request

Resolved in 74dffe1. Merged origin/main into the branch and resolved 10 conflicts in package-lock.json — all caused by non-overlapping insertions between both sides (@types/node v25 entries from our branch, and new packages from main like ajv, ansi-regex, string-width, etc.).

@dependabot @github
Copy link
Copy Markdown
Contributor Author

dependabot Bot commented on behalf of github Apr 22, 2026

A newer version of @​types/node exists, but since this PR has been edited by someone other than Dependabot I haven't updated it. You'll get a PR for the updated version as normal once this PR is merged.

@nirinchev
Copy link
Copy Markdown
Collaborator

@copilot resolve the merge conflicts

@nirinchev
Copy link
Copy Markdown
Collaborator

@copilot can you resolve the merge conflicts please

…rn/types/node-25.5.2

# Conflicts:
#	package-lock.json
#	packages/device-id/package.json
#	packages/devtools-proxy-support/package.json
#	packages/dl-center/package.json
#	packages/get-os-info/package.json
#	packages/mongodb-cloud-info/package.json
#	packages/mongodb-runner/package.json
#	packages/mongodb-server-log-checker/package.json
#	packages/mongodb-ts-autocomplete/package.json
#	packages/native-machine-id/package.json
#	packages/node-webpack-startup-snapshot-checker/package.json
#	packages/oidc-mock-provider/package.json
#	packages/query-parser/package.json
#	packages/saslprep/package.json
#	packages/sbom-tools/package.json
#	packages/signing-utils/package.json
#	packages/ts-autocomplete/package.json

Co-authored-by: nirinchev <2315687+nirinchev@users.noreply.github.com>
Copy link
Copy Markdown
Contributor

Copilot AI commented May 3, 2026

@copilot resolve the merge conflicts

Resolved in 8fdffa6. Merged origin/main into the branch, resolving 68 conflicts in package-lock.json (by taking main's lockfile and applying the @types/node v25.5.2 entries from our branch on top) and 16 conflicts in package.json files (keeping @types/node: ^25.5.2 while taking @types/sinon-chai: ^4.0.0 and other updates from main).

@copilot can you resolve the merge conflicts please

Done in 8fdffa6 — same merge commit that resolves all conflicts.

@coveralls
Copy link
Copy Markdown

coveralls commented May 3, 2026

Coverage Status

Coverage is 72.844%dependabot/npm_and_yarn/types/node-25.5.2 into main. No base build found for main.

@nirinchev nirinchev requested a review from lerouxb May 3, 2026 15:05
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.

3 participants