Skip to content

Bump @types/node from 20.19.37 to 25.9.1 in /apps/desktop#344

Open
dependabot[bot] wants to merge 1 commit into
mainfrom
dependabot/npm_and_yarn/apps/desktop/types/node-25.9.1
Open

Bump @types/node from 20.19.37 to 25.9.1 in /apps/desktop#344
dependabot[bot] wants to merge 1 commit into
mainfrom
dependabot/npm_and_yarn/apps/desktop/types/node-25.9.1

Conversation

@dependabot
Copy link
Copy Markdown
Contributor

@dependabot dependabot Bot commented on behalf of github May 23, 2026

Bumps @types/node from 20.19.37 to 25.9.1.

Commits

@dependabot dependabot Bot added dependencies Pull requests that update a dependency file javascript Pull requests that update javascript code labels May 23, 2026
@dependabot dependabot Bot requested a review from arul28 as a code owner May 23, 2026 02:23
@dependabot dependabot Bot added dependencies Pull requests that update a dependency file javascript Pull requests that update javascript code labels May 23, 2026
@vercel
Copy link
Copy Markdown

vercel Bot commented May 23, 2026

The latest updates on your projects. Learn more about Vercel for GitHub.

1 Skipped Deployment
Project Deployment Actions Updated (UTC)
ade Ignored Ignored Preview May 28, 2026 8:00pm

@greptile-apps
Copy link
Copy Markdown

greptile-apps Bot commented May 23, 2026

PR author is in the excluded authors list.

@capy-ai
Copy link
Copy Markdown

capy-ai Bot commented May 23, 2026

Capy auto-review is paused for this organization because the monthly auto-review limit has been reached. Increase the limit or turn it off in billing settings to resume automatic reviews.

Copy link
Copy Markdown
Contributor

@cursor cursor Bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

PR Review

Scope: 2 file(s), +9 / −9
Verdict: Needs changes

Dependabot bumps @types/node from 20.x to 25.9.1 in apps/desktop only (lockfile included). That is a dev-only types change, but @types/node@25 ships node:sqlite declarations that override the app’s local src/types/node-sqlite.d.ts augmentations. Desktop npm run typecheck then fails with nine errors in recentProjectSummary.ts; CI runs that job (typecheck-desktop).


🐛 Functionality

[High] Desktop typecheck fails after @types/node 25

File: apps/desktop/src/main/services/projects/recentProjectSummary.ts:L49-L116
Issue: @types/node@25 includes node_modules/@types/node/sqlite.d.ts, whose StatementSync.get / .all do not accept generic type parameters and return SQLOutputValue rows. Calls such as .get<{ present?: number }>(tableName) and .all<LaneCountRow>() error with TS2558 (“Expected 0 type arguments, but got 1”) and TS2322/TS2345 on row fields. With @types/node@20, npm run typecheck reports zero errors under src/; with 25.9.1 it reports nine errors, all in this file.
Repro: On the PR branch, cd apps/desktop && npm ci && npm run typecheck.
Fix: Either stay on a Node-22-aligned types line (e.g. @types/node@^22) until sqlite typings are reconciled, or remove/replace src/types/node-sqlite.d.ts and update sqlite call sites to match the official node:sqlite types (cast/narrow SQLOutputValue, drop generic .get<T> / .all<T>).


Notes

  • Runtime and CI use Node 22; @types/node@25 describes Node 25 APIs and can drift from what Electron/main actually runs even after typecheck is green.
  • apps/ade-cli and apps/web still pin @types/node@^20.11.30; only desktop moves to 25 here.
  • No application source files change in this PR; the failure is entirely from the types package + existing sqlite usage.
Open in Web View Automation 

Sent by Cursor Automation: BUGBOT in Versic

@dependabot dependabot Bot force-pushed the dependabot/npm_and_yarn/apps/desktop/types/node-25.9.1 branch 4 times, most recently from f35d71d to 33c16e4 Compare May 28, 2026 19:20
Bumps [@types/node](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/node) from 20.19.37 to 25.9.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: 25.9.1
  dependency-type: direct:development
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot Bot force-pushed the dependabot/npm_and_yarn/apps/desktop/types/node-25.9.1 branch from 33c16e4 to 4c660f1 Compare May 28, 2026 19:59
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.

0 participants