Align @types/node with Node 22 runtime#2836
Draft
cursor[bot] wants to merge 1 commit into
Draft
Conversation
Pin @types/node to ^22.20.0 to match the Node 22 runtime declared in .nvmrc. Add a Dependabot ignore rule to prevent future major-version bumps that would reintroduce a Node API surface mismatch.
Contributor
Build Branch
Static preview entry points
QR codes (mobile preview)
Integration commandsnpm (Android / Extension): Swift Package Manager (Apple): .package(url: "https://github.com/duckduckgo/content-scope-scripts.git", branch: "pr-releases/cursor/dependency-update-risk-assessment-c6b1")git submodule (Windows): git -C submodules/content-scope-scripts fetch origin pr-releases/cursor/dependency-update-risk-assessment-c6b1
git -C submodules/content-scope-scripts checkout origin/pr-releases/cursor/dependency-update-risk-assessment-c6b1Pin to exact commitnpm (Android / Extension): Swift Package Manager (Apple): .package(url: "https://github.com/duckduckgo/content-scope-scripts.git", revision: "3dccf042fbf718dbde63e4e5ea82770a6ee8e0bd")git submodule (Windows): git -C submodules/content-scope-scripts fetch origin pr-releases/cursor/dependency-update-risk-assessment-c6b1
git -C submodules/content-scope-scripts checkout 3dccf042fbf718dbde63e4e5ea82770a6ee8e0bd |
Contributor
[Beta] Generated file diffTime updated: Fri, 03 Jul 2026 11:00:59 GMT |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Asana Task/Github Issue: Follow-up to dependency review of #2835
Description
Pins
@types/nodeto^22.20.0so dev-time type definitions match the Node 22 runtime declared in.nvmrc. The Dependabot PR #2835 would bump@types/nodeto v26 (Node.js 26 API surface), widening an existing mismatch —mainalready uses@types/node@^25.9.3against Node 22.Also adds a Dependabot
ignorerule to block future semver-major@types/nodebumps, since major versions track Node.js major releases and should be updated deliberately alongside.nvmrc.Testing Steps
npm installnpm run tsc— passesnpm run tsc-strict-core— passesChecklist