Skip to content

fix(deps): update dependencies#20

Merged
Jercik merged 2 commits into
mainfrom
chore/dependency-updates
Jun 10, 2026
Merged

fix(deps): update dependencies#20
Jercik merged 2 commits into
mainfrom
chore/dependency-updates

Conversation

@Jercik

@Jercik Jercik commented Jun 10, 2026

Copy link
Copy Markdown
Owner

Routine dependency refresh, surfaced by the j4k-align audit.

Non-major updates

@types/node, @typescript/native-preview (stays on the beta tag spec), @vitest/coverage-v8, knip, oxfmt, oxlint, oxlint-config-j4k 2.7.2, oxlint-tsgolint, vitest.

oxlint-config-j4k 2.7.2 enables new rules (vitest prefer-strict-equal, prefer-mock-return-shorthand, max-expects; eslint prefer-named-capture-group). Flagged code reworked:

  • parseMajorVersion regex uses a named capture group
  • mock setups use mockReturnValue(undefined) instead of mockImplementation
  • the branch-divergence test now asserts the full literal error message in one toHaveBeenCalledWith, and the not-called side-effect guards moved to their own test (fixes max-expects)
  • one redundant fileExists assertion dropped from destination-directory.test.ts

Major: commander 14 → 15 (+ @commander-js/extra-typings 15)

Breaking changes reviewed against the v15 changelog:

  • ESM-only — this package is ESM ("type": "module"), no impact.
  • Node ≥ 22.12engines already requires >= 24.
  • Negated-option defaults — no paired positive/negative options defined, change is inert.

CLI smoke-tested (--help renders), full suite green locally (44 tests, typecheck, lint, knip, fta, format).

Jercik added 2 commits June 10, 2026 07:04
oxlint-config-j4k 2.7.2 enables vitest prefer-strict-equal,
prefer-called-with, prefer-mock-return-shorthand, and max-expects, plus
eslint prefer-named-capture-group; the flagged tests and regex are
reworked accordingly (divergence test now asserts the full literal
message and the side-effect guards moved to their own test).
ESM-only release; this package is ESM and requires Node >= 24, so the
v15 constraints are already satisfied. No paired positive/negative
options are defined, so the negated-option default change is inert.
github-actions[bot]

This comment was marked as resolved.

github-actions[bot]

This comment was marked as resolved.

github-actions[bot]

This comment was marked as resolved.

github-actions[bot]

This comment was marked as resolved.

github-actions[bot]

This comment was marked as resolved.

github-actions[bot]

This comment was marked as resolved.

@Jercik Jercik merged commit 6484528 into main Jun 10, 2026
9 checks passed
@Jercik Jercik deleted the chore/dependency-updates branch June 10, 2026 06:10
@github-actions

Copy link
Copy Markdown

🎉 This PR is included in version 1.3.7 🎉

The release is available on:

Your semantic-release bot 📦🚀

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant