Skip to content

chore(deps): move the development tooling to its latest - #349

Merged
l7aromeo merged 2 commits into
mainfrom
chore/deps-dev-tooling
Nov 21, 2026
Merged

l7aromeo merged 2 commits into
mainfrom
chore/deps-dev-tooling

Conversation

@l7aromeo

@l7aromeo l7aromeo commented Nov 21, 2026 •

Copy link
Copy Markdown
Contributor

Part of #323

What changes

Package From To
eslint 10.11.0 10.15.0
typescript-eslint 8.70.1 8.73.0
prettier 3.9.9 3.10.1
eslint-plugin-prettier 5.5.6 5.5.7
@types/bun 1.4.2 1.4.5
@types/node 26.6.2 26.6.6
@playwright/test 1.63.0 1.65.1
@axe-core/playwright 4.13.0 4.14.0
lighthouse 13.5.0 13.6.0
@sigstore/bundle 5.0.0 5.0.1
@sigstore/tuf 5.0.0 5.0.1
@sigstore/verify 4.1.2 4.1.3
dotenv 18.0.5 18.0.10
semver 7.8.5 7.8.6
vitest, @vitest/coverage-istanbul 5.0.5 exactly 5.1.0

typescript stays at 6.0.3, and happy-dom 21 gets a pull request of its own.

Why vitest stops at 5.1.0

examples:check runs each line's specs under Bun's runtime (bun --bun vitest run). vitest 5.1.1's forks pool calls
child.channel.unref(), which Bun's IPC channel doesn't have yet (oven-sh/bun#33593). With 5.1.1, all three lines
fail with:

TypeError: child.channel?.unref is not a function

vitest-dev/vitest#12039 makes the call optional and is merged, but no release includes it yet. Until then, both
packages are pinned at exactly 5.1.0. The lines' own vitest ^5.0.1 resolves to the same locked copy.

tests/vitest-bun-pin.spec.ts spawns Bun, forks a child with an IPC channel and checks that channel.unref is
missing. When Bun ships it, the spec fails and tells the reader to move both packages to their latest and delete the
spec. I checked that it fails: run against Node, whose channel has unref, it fails with that message. A
vitest release containing vitest-dev/vitest#12039 (child.channel?.unref?.()) also lifts the pin, but the spec
can't see that, so check vitest's changelog on each bump.

Lockfile

The install rearranges which copies are hoisted: 21 nested entries are added and 55 removed, four of them the
eslint-utils copies below and their own nested eslint-visitor-keys. Every new nested copy is one its parent's
range requires next to a hoisted copy outside it, for example:

  • @sentry/bundler-plugins/dotenv 17.4.2. lighthouse 13.6 depends on @sentry/node 11 instead of 10, and its
    bundler plugins need dotenv ^17, while the site keeps 18.
  • cliui/string-width 7.2.0 (^7.2.0, with 8.3.0 hoisted).
  • puppeteer-core/ws 8.23.0 (^8.22.1, with 8.21.3 hoisted).

eslint and @typescript-eslint/utils each kept a nested @eslint-community/eslint-utils 4.10.1 from main. The
hoisted 4.9.1, which @next/eslint-plugin-next pins exactly, meets both ranges (^4.8.0 and ^4.9.1), so both nested
entries are removed and all three share 4.9.1. No nested entry left in the lockfile is redundant: none has a parent
whose range the next copy up already meets. A frozen bun install passes, and a plain one reports no changes.

Checks

bun run lint, format:check, typecheck, content:check and examples:check pass. bun run test:coverage
runs 112 files and 993 tests, all passing, with 96.47% lines, 95.8% functions, 88.41% branches and 95.3% statements.
The new spec passes under both Node and Bun. The build and e2e run in CI.

@l7aromeo
l7aromeo force-pushed the chore/deps-dev-tooling branch from 9cba9c9 to d28f209 Compare November 21, 2026 04:14
eslint 10.15.0, typescript-eslint 8.73.0, prettier 3.10.1,
eslint-plugin-prettier 5.5.7, @types/bun 1.4.5, @types/node 26.6.6,
@playwright/test 1.65.1, @axe-core/playwright 4.14.0, lighthouse
13.6.0, @sigstore/bundle 5.0.1, @sigstore/tuf 5.0.1,
@sigstore/verify 4.1.3, dotenv 18.0.10 and semver 7.8.6.

vitest and @vitest/coverage-istanbul move from 5.0.5 to exactly
5.1.0, not 5.1.1. examples:check runs each line's specs under Bun's
runtime, and 5.1.1's forks pool calls child.channel.unref(), which
Bun's IPC channel lacks (oven-sh/bun#33593): on 5.1.1 every line
fails with "child.channel?.unref is not a function". A spec checks
Bun's channel and fails once it has unref, so the pin lifts then.

The lockfile reshuffles its nested copies: 21 added, 55 gone, each
new one required by its parent's range. lighthouse 13.6 takes
@sentry/node 11, whose bundler plugins need dotenv 17 beside the
site's 18. eslint and @typescript-eslint/utils each had a nested
@eslint-community/eslint-utils 4.10.1 that the hoisted 4.9.1, pinned
by @next/eslint-plugin-next, already satisfies; both now share it.
@l7aromeo
l7aromeo force-pushed the chore/deps-dev-tooling branch from 12fb86f to 10be4e9 Compare November 21, 2026 09:22
axe 4.14 enables label-content-name-mismatch (WCAG 2.5.3), which fails
a control whose aria-label does not contain its visible text. It
flagged the toolbar's search field on every page: axe counts the
aria-hidden "⌘K" hint as visible text, and the aria-label "Search the
documentation" does not contain it. An aria-label of "Search" fails
the same way.

The button now has no aria-label and takes its name from its text:
the visible "Search", then " the documentation", which is drawn
nowhere. The "⌘K" hint stays aria-hidden; aria-keyshortcuts announces
the shortcut. Below the compact width the word is visually hidden
instead of removed, so the name stays "Search the documentation" at
every width.

The out-of-sight style the sidebar filter's count used moves to
visuallyHiddenCss in the design styles, which both now share.

Checked on the live site's markup with the new structure grafted in:
the name is "Search the documentation" at 1280 and 375 px, and axe
4.14 with the e2e's WCAG tags reports no label-content-name-mismatch.
A spec asserts, at 390 and 1280 px, the name and that the button has
no aria-label; on the old toolbar it fails on the aria-label.
@l7aromeo
l7aromeo force-pushed the chore/deps-dev-tooling branch from 10be4e9 to 18bd8ec Compare November 21, 2026 09:24
@l7aromeo
l7aromeo marked this pull request as ready for review November 21, 2026 09:42
@l7aromeo
l7aromeo added this pull request to the merge queue Nov 21, 2026
Merged via the queue into main with commit 18f46fe Nov 21, 2026
8 checks passed
@l7aromeo
l7aromeo deleted the chore/deps-dev-tooling branch November 21, 2026 09:58
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.

1 participant