Skip to content

chore: update devDependencies and ESLint version in package.json#14

Merged
Coderrob merged 1 commit intomainfrom
bump-versions
Apr 2, 2026
Merged

chore: update devDependencies and ESLint version in package.json#14
Coderrob merged 1 commit intomainfrom
bump-versions

Conversation

@Coderrob
Copy link
Copy Markdown
Owner

@Coderrob Coderrob commented Apr 2, 2026

  • Reordered @emnapi dependencies to maintain consistency.
  • Upgraded eslint from ^9.39.4 to ^10.1.0.
  • Updated rimraf from ^5.0.10 to ^6.1.3.
  • Adjusted node engine compatibility to include ^24.

- Reordered @emnapi dependencies to maintain consistency.
- Upgraded eslint from ^9.39.4 to ^10.1.0.
- Updated rimraf from ^5.0.10 to ^6.1.3.
- Adjusted node engine compatibility to include ^24.
Copilot AI review requested due to automatic review settings April 2, 2026 23:34
@Coderrob Coderrob merged commit 191a51f into main Apr 2, 2026
4 checks passed
@Coderrob Coderrob deleted the bump-versions branch April 2, 2026 23:35
Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull request overview

Updates development tooling dependencies (notably ESLint) and aligns documentation around supported Node.js versions for this TypeScript type-guards package.

Changes:

  • Reorders @emnapi/* devDependencies for consistency.
  • Upgrades ESLint to ^10.1.0 and rimraf to ^6.1.3 (with corresponding lockfile updates).
  • Updates stated Node.js compatibility in package.json and docs.

Reviewed changes

Copilot reviewed 3 out of 4 changed files in this pull request and generated 3 comments.

File Description
README.md Updates documented Node.js version requirements.
package.json Reorders devDependencies; bumps ESLint/rimraf; changes engines.node.
package-lock.json Regenerates lockfile for updated dependency graph and engine metadata.
CONTRIBUTING.md Updates contributor Node.js requirements.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

},
"engines": {
"node": "^20 || ^22 || >=24"
"node": "^20 || ^22 || ^24"
Copy link

Copilot AI Apr 2, 2026

Choose a reason for hiding this comment

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

The updated Node engine range (^20 || ^22 || ^24) is broader and stricter in the wrong places: it allows Node 20.0.0 / 22.0.0 even though the upgraded ESLint toolchain in this PR requires at least Node ^20.19.0 / ^22.13.0 (per package-lock), and it also blocks Node 25+ by using ^24 instead of >=24. Consider aligning engines.node with the actual minimums required by dev tooling (e.g., ^20.19.0 || ^22.13.0 || >=24) so installs and CI don’t break unexpectedly.

Suggested change
"node": "^20 || ^22 || ^24"
"node": "^20.19.0 || ^22.13.0 || >=24"

Copilot uses AI. Check for mistakes.
```

The package and its development tooling require Node.js `^20.19.0`, `^22.13.0`, or `>=24.0.0`.
The package and its development tooling require Node.js `^20`, `^22`, or `^24`.
Copy link

Copilot AI Apr 2, 2026

Choose a reason for hiding this comment

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

This Node.js requirement is now stated as ^20, ^22, or ^24, but the updated ESLint toolchain requires at least Node ^20.19.0 / ^22.13.0 (see package-lock engines). As written, the README could mislead users into using unsupported earlier 20.x/22.x releases; consider restoring the patch-level minimums (and/or referencing package.json#engines).

Suggested change
The package and its development tooling require Node.js `^20`, `^22`, or `^24`.
The package and its development tooling require Node.js `^20.19.0`, `^22.13.0`, or `^24`.

Copilot uses AI. Check for mistakes.
## Requirements

- Node.js `^20.19.0`, `^22.13.0`, or `>=24.0.0`
- Node.js `^20`, `^22`, or `^24`
Copy link

Copilot AI Apr 2, 2026

Choose a reason for hiding this comment

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

CONTRIBUTING now says Node.js ^20, ^22, or ^24, but devDependencies introduced/updated here (notably ESLint) require at least Node ^20.19.0 / ^22.13.0 (per package-lock). Consider keeping the documented minimums at patch level to avoid contributors hitting engine/runtime errors on earlier minor versions.

Suggested change
- Node.js `^20`, `^22`, or `^24`
- Node.js `^20.19.0`, `^22.13.0`, or `^24`

Copilot uses AI. Check for mistakes.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants