Skip to content

Align @types/node with Node 22 runtime#2836

Draft
cursor[bot] wants to merge 1 commit into
mainfrom
cursor/dependency-update-risk-assessment-c6b1
Draft

Align @types/node with Node 22 runtime#2836
cursor[bot] wants to merge 1 commit into
mainfrom
cursor/dependency-update-risk-assessment-c6b1

Conversation

@cursor

@cursor cursor Bot commented Jul 3, 2026

Copy link
Copy Markdown
Contributor

Asana Task/Github Issue: Follow-up to dependency review of #2835

Description

Pins @types/node to ^22.20.0 so dev-time type definitions match the Node 22 runtime declared in .nvmrc. The Dependabot PR #2835 would bump @types/node to v26 (Node.js 26 API surface), widening an existing mismatch — main already uses @types/node@^25.9.3 against Node 22.

Also adds a Dependabot ignore rule to block future semver-major @types/node bumps, since major versions track Node.js major releases and should be updated deliberately alongside .nvmrc.

Testing Steps

  • npm install
  • npm run tsc — passes
  • npm run tsc-strict-core — passes

Checklist

  • I have tested this change locally
  • I have tested this change locally in all supported browsers
  • This change will be visible to users
  • I have added automated tests that cover this change
  • I have ensured the change is gated by config
  • This change was covered by a ship review
  • This change was covered by a tech design
  • Any dependent config has been merged
Open in Web View Automation 

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.
@github-actions

github-actions Bot commented Jul 3, 2026

Copy link
Copy Markdown
Contributor

Build Branch

Branch pr-releases/cursor/dependency-update-risk-assessment-c6b1
Commit 3dccf042fb
Updated July 3, 2026 at 10:57:59 AM UTC

Static preview entry points

QR codes (mobile preview)
Entry point QR code
Docs QR for docs preview
Static pages QR for static pages preview
Integration pages QR for integration pages preview

Integration commands

npm (Android / Extension):

npm i github:duckduckgo/content-scope-scripts#pr-releases/cursor/dependency-update-risk-assessment-c6b1

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-c6b1
Pin to exact commit

npm (Android / Extension):

npm i github:duckduckgo/content-scope-scripts#3dccf042fbf718dbde63e4e5ea82770a6ee8e0bd

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

@github-actions github-actions Bot added the semver-patch Bug fix / internal — no release needed label Jul 3, 2026
@github-actions

github-actions Bot commented Jul 3, 2026

Copy link
Copy Markdown
Contributor

[Beta] Generated file diff

Time updated: Fri, 03 Jul 2026 11:00:59 GMT

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

semver-patch Bug fix / internal — no release needed

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant