Skip to content

critique@0.1.140

Latest

Choose a tag to compare

@remorses remorses released this 25 Apr 13:43
  1. Fixed TypeScript syntax highlighting for boundary template-literal and docstring hunks — diffs now keep syntax colors when a hunk starts or ends inside a multi-line string. This fixes cases like the shared cli/src/database.ts patch where later TypeScript lines were previously rendered as plain white text.

  2. Fixed --open on Windows and clarified temp-file help textcritique --open now launches the default browser correctly on Windows, and the --pdf, review --pdf, and --image help text now describes temp-file locations without assuming /tmp.

  3. Hide generated artifacts from diff views by default — critique now ignores both snapshot.json and Wrangler's generated worker-configuration.d.ts file the same way it already ignores lockfiles, keeping reviews focused on meaningful source changes.

Thanks @shanselman for #40.