chore(deps-dev): bump @types/node from 22.19.21 to 26.0.0 - #74
chore(deps-dev): bump @types/node from 22.19.21 to 26.0.0#74dependabot[bot] wants to merge 1 commit into
Conversation
Deploying agent-render with
|
| Latest commit: |
4569994
|
| Status: | ✅ Deploy successful! |
| Preview URL: | https://43469c31.agent-render.pages.dev |
| Branch Preview URL: | https://dependabot-npm-and-yarn-type-7pfi.agent-render.pages.dev |
|
Review the following changes in direct dependencies. Learn more about Socket for GitHub.
|
|
| Filename | Overview |
|---|---|
| package.json | Bumps @types/node from ^22.19.21 to ^26.0.0; engines.node stays at >=20.10.0, creating a mismatch where tsc accepts Node 26-only APIs that would fail on the declared minimum runtime. |
| package-lock.json | Lockfile regenerated to reflect the @types/node and undici-types version changes; peer-flag reorganization across many packages is expected npm bookkeeping with no functional impact. |
Flowchart
%%{init: {'theme': 'neutral'}}%%
flowchart TD
A["engines.node >= 20.10.0\n(runtime target)"] -->|"gap: Node 20/21/22/23/24/25"| B["@types/node@26\n(type-check layer)"]
B --> C["tsc --noEmit passes\nfor Node 26-only APIs"]
C -->|"deployed on Node 20"| D["💥 Runtime Error\n(API not available)"]
B --> E["undici-types@8.3.0\n(transitive dep)"]
style D fill:#ff6b6b,color:#fff
style B fill:#ffd93d
style A fill:#6bcb77
%%{init: {'theme': 'base', 'themeVariables': {"darkMode": true, "background": "#0d1117", "primaryColor": "#21262d", "primaryTextColor": "#e6edf3", "primaryBorderColor": "#8b949e", "lineColor": "#8b949e", "textColor": "#e6edf3", "edgeLabelBackground": "#161b22", "actorBkg": "#21262d", "actorBorder": "#8b949e", "actorTextColor": "#e6edf3", "actorLineColor": "#8b949e", "signalColor": "#8b949e", "signalTextColor": "#e6edf3", "noteBkgColor": "#373320", "noteBorderColor": "#d4a72c", "noteTextColor": "#f0e6c0", "labelBoxBkgColor": "#21262d", "labelBoxBorderColor": "#8b949e", "labelTextColor": "#e6edf3", "loopTextColor": "#e6edf3", "activationBkgColor": "#30363d", "activationBorderColor": "#8b949e"}}}%%
flowchart TD
A["engines.node >= 20.10.0\n(runtime target)"] -->|"gap: Node 20/21/22/23/24/25"| B["@types/node@26\n(type-check layer)"]
B --> C["tsc --noEmit passes\nfor Node 26-only APIs"]
C -->|"deployed on Node 20"| D["💥 Runtime Error\n(API not available)"]
B --> E["undici-types@8.3.0\n(transitive dep)"]
style D fill:#ff6b6b,color:#fff
style B fill:#ffd93d
style A fill:#6bcb77
Reviews (2): Last reviewed commit: "chore(deps-dev): bump @types/node from 2..." | Re-trigger Greptile
| "@testing-library/user-event": "^14.6.1", | ||
| "@types/better-sqlite3": "^7.6.13", | ||
| "@types/node": "^22.13.10", | ||
| "@types/node": "^26.0.0", |
There was a problem hiding this comment.
SUGGESTION: @types/node is bumped across 4 major versions (22 -> 26).
@types/node@26 ships types for Node 26, but package.json declares engines.node >= 20.10.0. Using Node 26 types against a Node 20 runtime baseline can let Node 22+/26-only APIs typecheck cleanly while being unavailable at runtime. The prior ^22 pin was already ahead of the engine floor, so this widens that gap. Confirm the CI typecheck (tsc --noEmit via npm run test:ci / check) passes green before merging.
Reply with @kilocode-bot fix it to have Kilo Code address this issue.
Code Review SummaryStatus: 1 Issue Found | Recommendation: Address before merge Overview
Issue Details (click to expand)SUGGESTION
Files Reviewed (2 files)
Fix these issues in Kilo Cloud Previous Review Summary (commit e79055f)Current summary above is authoritative. Previous snapshots are kept for context only. Previous review (commit e79055f)Status: 1 Issue Found | Recommendation: Address before merge Overview
Issue Details (click to expand)SUGGESTION
Files Reviewed (2 files)
Reviewed by GLM-5.2 · Input: 68.2K · Output: 6.6K · Cached: 79.9K |
Bumps [@types/node](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/node) from 22.19.21 to 26.0.0. - [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.0.0 dependency-type: direct:development update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] <support@github.com>
e79055f to
4569994
Compare
|
OK, I won't notify you again about this release, but will get in touch when a new version is available. If you'd rather skip all updates until the next major or minor version, let me know by commenting If you change your mind, just re-open this PR and I'll resolve any conflicts on it. |
Bumps @types/node from 22.19.21 to 26.0.0.
Commits