Skip to content

fix(deps): migrate to api-languageservice and update deps - #165

Merged
char0n merged 1 commit into
mainfrom
chore/update-deps-api-languageservice
Sep 26, 2026
Merged

char0n merged 1 commit into
mainfrom
chore/update-deps-api-languageservice

Conversation

@char0n

@char0n char0n commented Sep 26, 2026 •

Copy link
Copy Markdown
Member

Summary

  • Replace @speclynx/apidom-ls with its renamed successor @speclynx/api-languageservice (^2.13.1). The new package ships types for the AsyncAPI validation provider subpaths, so the local apidom-ls-asyncapi.d.ts shim is removed.
  • Update all other dependencies to their latest versions (@speclynx/apidom-* 5.2.6, Babel 8.0.6, ESLint 10.11, mocha 12, eslint-plugin-mocha 12, @eslint/js 10, …).
  • npm audit fix (non-forced, lockfile only) → 0 vulnerabilities.

Held back

  • chalk ^5, commander ^14 — latest majors require Node >=22; engines stays >=20.
  • typescript 6.0.3 — typescript-eslint peer range is <6.1.0, so TS 7 isn't usable yet.

Breaking-change adaptations

  • eslint-plugin-mocha 12: no-hooks-for-single-case → no-hooks-for-single-child, no-top-level-hooks → no-root-hooks, no-sibling-hooks → merged into consistent-structure (broader; current tests pass it).
  • @eslint/js 10: preserve-caught-error — writeReport now attaches { cause } when rethrowing.

Test plan

  • npm run typescript:check-types
  • npm run lint
  • npm test — 82 passing
  • Manual speclynx validate smoke test against a built CLI

@char0n
char0n force-pushed the chore/update-deps-api-languageservice branch from a221023 to 1875323 Compare September 26, 2026 22:16
@char0n char0n changed the title chore(deps): migrate to api-languageservice and update deps fix(deps): migrate to api-languageservice and update deps Sep 26, 2026
@char0n
char0n force-pushed the chore/update-deps-api-languageservice branch 2 times, most recently from 6aaf031 to 9a23f62 Compare September 26, 2026 22:19
Replace @speclynx/apidom-ls with its renamed successor
@speclynx/api-languageservice. The new package ships types for the
AsyncAPI validation provider subpaths, so the local declaration shim
is removed.

Update all other dependencies to their latest versions, except chalk
and commander (latest majors require Node >=22; engines stays >=20)
and typescript (typescript-eslint does not support 7.x yet).

Adapt to breaking changes:
- eslint-plugin-mocha 12: renamed rules; no-sibling-hooks merged into
  consistent-structure
- @eslint/js 10: preserve-caught-error, attach cause when rethrowing
@char0n
char0n force-pushed the chore/update-deps-api-languageservice branch from 9a23f62 to 20d89c1 Compare September 26, 2026 22:23
@char0n
char0n merged commit c7d9090 into main Sep 26, 2026
9 of 10 checks passed
@char0n
char0n deleted the chore/update-deps-api-languageservice branch September 26, 2026 22:28
char0n pushed a commit that referenced this pull request Sep 26, 2026
## [1.4.2](v1.4.1...v1.4.2) (2026-09-26)

### Bug Fixes

* **deps:** migrate to api-languageservice and update deps ([#165](#165)) ([c7d9090](c7d9090))
@char0n

char0n commented Sep 26, 2026

Copy link
Copy Markdown
Member Author

🎉 This PR is included in version 1.4.2 🎉

The release is available on GitHub release

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