Skip to content

[Repo Assist] chore: bump @types/node to ^20 and @types/mocha to ^10 #105

@github-actions

Description

@github-actions

🤖 This PR was created by Repo Assist, an automated AI assistant.

Summary

Updates two stale devDependencies that have been pinned to 2017 releases for ~8 years:

Package Before After
@types/node ^7.0.43 ^20.0.0
@types/mocha ^2.2.42 ^10.0.0

Why

@types/node ^7 predates many Node.js built-in APIs used in this project (path, fs, os, cp, child_process). Modern type definitions provide:

  • Accurate IntelliSense and autocomplete in VS Code
  • Correct type signatures for fs.existsSync, path.join, os.tmpdir, cp.spawn, etc.
  • Type support for Node.js's built-in node:test runner used in test/unit.test.js

@types/node ^20 aligns with Node.js 20 LTS, which is the runtime version shipping with current VS Code extension hosts.

@types/mocha ^10 similarly aligns with the current Mocha release.

Scope

  • No production code changesdevDependencies only; zero runtime impact.
  • package.json change only (one file, 2-line change).
  • Does not change typescript, vscode, or eslint versions (those warrant separate discussions).

Test Status

All 7 unit tests pass unchanged:

# tests 7
# pass 7
# fail 0

Generated by Repo Assist ·

To install this agentic workflow, run

gh aw add githubnext/agentics/workflows/repo-assist.md@346204513ecfa08b81566450d7d599556807389f

Warning

🛡️ Protected Files

This was originally intended as a pull request, but the patch modifies protected files: package.json.

These files may affect project dependencies, CI/CD pipelines, or agent behaviour. Please review the changes carefully before creating the pull request.

Click here to create the pull request once you have reviewed the changes

To route changes like this to a review issue instead of blocking, configure protected-files: fallback-to-issue in your workflow configuration.

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions