chore(deps-dev): bump @types/node from 24.12.3 to 25.8.0#67
chore(deps-dev): bump @types/node from 24.12.3 to 25.8.0#67dependabot[bot] wants to merge 1 commit into
Conversation
Bumps [@types/node](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/node) from 24.12.3 to 25.8.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: 25.8.0 dependency-type: direct:development update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] <support@github.com>
LabelsThe following labels could not be found: Please fix the above issues or remove invalid values from |
📝 WalkthroughSummary by CodeRabbit
WalkthroughThis PR updates the ChangesDependency Update
Estimated code review effort🎯 1 (Trivial) | ⏱️ ~2 minutes Possibly related PRs
Suggested reviewers
Poem
🚥 Pre-merge checks | ✅ 5✅ Passed checks (5 passed)
✏️ Tip: You can configure your own custom pre-merge checks in the settings. ✨ Finishing Touches🧪 Generate unit tests (beta)
✨ Simplify code
Comment |
|
Review the following changes in direct dependencies. Learn more about Socket for GitHub.
|
There was a problem hiding this comment.
Actionable comments posted: 1
🤖 Prompt for all review comments with AI agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.
Inline comments:
In `@package.json`:
- Line 1856: The dev dependency `@types/node` is set to 25.8.0 which mismatches
the declared Node 24 runtime; update the package.json entry for "@types/node" to
a 24.x-compatible version (e.g., latest 24.x) so TypeScript typings align with
engines.node and devEngines.runtime.version (look for the "@types/node" entry
and the engines.node / devEngines.runtime.version fields to change the version).
🪄 Autofix (Beta)
Fix all unresolved CodeRabbit comments on this PR:
- Push a commit to this branch (recommended)
- Create a new PR with the fixes
ℹ️ Review info
⚙️ Run configuration
Configuration used: Organization UI
Review profile: ASSERTIVE
Plan: Pro Plus
Run ID: 547d597d-911f-4fe7-bc63-034342e70707
⛔ Files ignored due to path filters (1)
pnpm-lock.yamlis excluded by!**/pnpm-lock.yaml
📒 Files selected for processing (1)
package.json
| "@types/jest": "30.0.0", | ||
| "@types/mocha": "10.0.10", | ||
| "@types/node": "24.12.3", | ||
| "@types/node": "25.8.0", |
There was a problem hiding this comment.
🧩 Analysis chain
🏁 Script executed:
#!/bin/bash
set -euo pipefail
python - <<'PY'
import json, re, pathlib
data = json.loads(pathlib.Path("package.json").read_text())
eng_node = (data.get("engines") or {}).get("node", "")
dev_runtime = ((data.get("devEngines") or {}).get("runtime") or {}).get("version", "")
types_node = (data.get("devDependencies") or {}).get("@types/node", "")
def major(v: str):
m = re.search(r'(\d+)', v or "")
return int(m.group(1)) if m else None
maj_eng = major(eng_node)
maj_dev = major(dev_runtime)
maj_types = major(types_node)
print(f"engines.node={eng_node} (major={maj_eng})")
print(f"devEngines.runtime.version={dev_runtime} (major={maj_dev})")
print(f"@types/node={types_node} (major={maj_types})")
if maj_types is not None and maj_eng is not None and maj_types != maj_eng:
print("MISMATCH: `@types/node` major differs from engines.node major")
else:
print("OK: `@types/node` major aligns with engines.node major")
PYRepository: oaslananka/kicad-studio
Length of output: 229
Downgrade @types/node to align with Node 24 runtime.
Line 1856 sets @types/node to 25.8.0, but the declared Node runtime is 24.x (engines.node at line 9 and devEngines.runtime.version at line 15). This major-version mismatch allows Node 25-only APIs at compile time while the runtime remains on Node 24, causing runtime failures.
🔧 Proposed fix
- "@types/node": "25.8.0",
+ "@types/node": "24.12.3",🤖 Prompt for AI Agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.
In `@package.json` at line 1856, The dev dependency `@types/node` is set to 25.8.0
which mismatches the declared Node 24 runtime; update the package.json entry for
"@types/node" to a 24.x-compatible version (e.g., latest 24.x) so TypeScript
typings align with engines.node and devEngines.runtime.version (look for the
"@types/node" entry and the engines.node / devEngines.runtime.version fields to
change the version).
Bumps @types/node from 24.12.3 to 25.8.0.
Commits
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 rebasewill rebase this PR@dependabot recreatewill recreate this PR, overwriting any edits that have been made to it@dependabot show <dependency name> ignore conditionswill show all of the ignore conditions of the specified dependency@dependabot ignore this major versionwill 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 versionwill 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 dependencywill close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)