Skip to content

build(deps): refresh dependencies and pin OpenTUI 0.1.101 - #19

Merged
amix merged 6 commits into
mainfrom
amix/audit-4-deps
Nov 10, 2026
Merged

amix merged 6 commits into
mainfrom
amix/audit-4-deps

Conversation

@amix

@amix amix commented Nov 10, 2026

Copy link
Copy Markdown
Owner

Context

Stacked on #18. Dependency refresh, each bump in its own commit behind typecheck, unit, PTY, and TTY smoke.

What was changed

  • In range: @pierre/diffs 1.6.4, zod 4.6.7, diff 8.0.4, react 19.3.1, oxlint 1.93, @types/react, simple-git-hooks.
    • Pierre: parsePatchFiles takes options; metadata needs character counts; its red token slot moved to coral, so the reserved-hue remap learns the new hexes (markdown headings keep dunk's keyword color).
  • OpenTUI 0.1.101 (exact): useAlternateScreen became screenMode. 0.1.102+ probes text width via OSC 66 + cursor-position queries and renders garbage when nothing answers. Real terminals are fine, but the script-based CI smoke job breaks.
  • Majors: TypeScript 7 (drops baseUrl), oxfmt 0.78 (embedded formatting off, so no churn), commander 15 (parsing and help byte-identical to 14), diff 9 (no trailing tab in ---/+++), lint-staged 17.

Out of scope

  • OpenTUI 0.8: ScrollBox and scroll-timing changes need a dedicated migration.
  • tuistory 0.12: two PTY tests see dunk quit on arrow keys (likely ESC-split key writes); needs harness work.
  • Bun toolchain pin (1.3.10 in CI and packageManager).

@amix
amix added this pull request to stack #20 November 10, 2026 06:51
@amix
amix force-pushed the amix/audit-4-deps branch from d0de659 to 74cb664 Compare November 10, 2026 06:54
@amix
amix force-pushed the amix/audit-4-deps branch 2 times, most recently from bf4dc2b to 9985da5 Compare November 10, 2026 06:59
Base automatically changed from amix/audit-3-drop-opentui to main November 10, 2026 06:59
amix added 6 commits November 10, 2026 07:59
- @pierre/diffs 1.1.19 -> 1.6.4: `parsePatchFiles` takes an options object
  now, and `FileDiffMetadata` requires character counts, which the
  binary/large-file placeholders now set to 0. Pierre also retuned its red
  token slot to coral, so the reserved-hue remap learns the new hexes and
  markdown headings, Rust `self`, etc. keep dunk's keyword color.
- @opentui/core/react 0.1.88 -> 0.1.101 (exact): `useAlternateScreen`
  became `screenMode`. 0.1.102+ probes text width with OSC 66 + cursor
  position queries and renders garbage when nothing answers them, which
  breaks the `script`-based TTY smoke job; real terminals are fine. Leave
  that for the 0.8 migration.
- zod 4.6.7, diff 8.0.4, react 19.3.1, @types/react 19.3.0, oxlint 1.93,
  simple-git-hooks 2.14.
`tsc --noEmit` is the only TypeScript use left now that the OpenTUI
declaration build is gone, and TS 7's native compiler runs it in about
0.2 s. TS 7 removed `baseUrl`; nothing imported through it.
0.78 started formatting code fences inside Markdown, which collapsed the
hand-aligned comments in the README's config example. Turn embedded
formatting off to keep 0.41's output; the bump reformats nothing.
Paired `--x` / `--no-x` flags, `--branch[=base]`, and every subcommand's
help text parse and render byte-identically under 14 and 15. Commander
only runs inside the Bun-compiled binary, so its newer Node floor doesn't
touch the launcher's `node >= 18`.
dunk only calls `createTwoFilesPatch` for `dunk diff <left> <right>`. v9
stops writing a trailing tab after the filename on `---`/`+++` lines when
no header is given; rendering comes from Pierre's parsed metadata, so
nothing visible changes.
Only the pre-commit hook uses it, and this commit ran through it.
@amix
amix force-pushed the amix/audit-4-deps branch from 9985da5 to 5b9fe1d Compare November 10, 2026 06:59
@amix
amix merged commit 81cbb11 into main Nov 10, 2026
2 checks passed
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