diffstalkerd 0.13.2 → 0.13.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +27 -0
- package/README.md +1 -1
- package/dist/index.js +46 -46
- package/dist/symbolWorker.js +4 -4
- package/dist/web/assets/{index-OI_CX4LF.css → index-BJnRrqXY.css} +1 -1
- package/dist/web/assets/index-CdqTQlaU.js +20 -0
- package/dist/web/index.html +2 -2
- package/package.json +6 -6
- package/dist/web/assets/index-Df0CkXUx.js +0 -19
package/CHANGELOG.md
CHANGED
|
@@ -5,6 +5,33 @@ All notable changes to this project will be documented in this file.
|
|
|
5
5
|
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.1.0/),
|
|
6
6
|
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
|
|
7
7
|
|
|
8
|
+
## [0.13.3] - 2026-09-07
|
|
9
|
+
|
|
10
|
+
### Changed
|
|
11
|
+
|
|
12
|
+
- **The word-level highlight now covers whole words.** fast-diff works in
|
|
13
|
+
characters, so `bullseye` -> `bookworm` marked only `ullseye`/`ookworm`: the
|
|
14
|
+
shared `b` stayed unpainted and the highlight started mid-word, leaving the
|
|
15
|
+
reader to work out what the edit actually was. What gets replaced in practice
|
|
16
|
+
is the WORD, so the word is what is shown. A changed run grows outward only
|
|
17
|
+
over characters inside the same word — letters, digits and `_` — so `-`, `.`,
|
|
18
|
+
`:`, `/` and `,` still end it and the highlight never runs on into the rest of
|
|
19
|
+
a path or an argument list. A change that already begins at a boundary (a
|
|
20
|
+
whole added argument, a changed separator) is left exactly where fast-diff put
|
|
21
|
+
it. The similarity gate still reads the raw character diff, so no pair that
|
|
22
|
+
highlights today stops highlighting.
|
|
23
|
+
|
|
24
|
+
### Fixed
|
|
25
|
+
|
|
26
|
+
- **Word-level diff highlighting is visible again in the web UI.** The changed
|
|
27
|
+
words were computed and wrapped in spans all along — the CSS that paints them
|
|
28
|
+
never matched. The spans come from `DiffLineContent`, a fragment component, so
|
|
29
|
+
Vue cannot hand it `DiffView`'s scope attribute, and the scoped rule compiled
|
|
30
|
+
to `.word-hl[data-v-…]`, which matches nothing. Every diff therefore rendered
|
|
31
|
+
as whole-line add/del blocks, with no way to see that `bullseye` became
|
|
32
|
+
`bookworm`. The rules now use `:deep()`, and a test reads the style block and
|
|
33
|
+
fails on any `.word-hl` rule that does not.
|
|
34
|
+
|
|
8
35
|
## [0.13.2] - 2026-08-28
|
|
9
36
|
|
|
10
37
|
### Changed
|
package/README.md
CHANGED
|
@@ -107,7 +107,7 @@ loopback `Host`, so they pass. Every response also carries hardening
|
|
|
107
107
|
headers (`X-Content-Type-Options`, `X-Frame-Options: DENY`,
|
|
108
108
|
`Referrer-Policy`, and a strict `Content-Security-Policy` for the served
|
|
109
109
|
SPA). To reach the daemon from another machine, forward the port over SSH
|
|
110
|
-
(`ssh -L`). See
|
|
110
|
+
(`ssh -L`). See `.github/SECURITY.md` at the repo root.
|
|
111
111
|
|
|
112
112
|
The API surface is chosen **per listener**, by how well that transport is
|
|
113
113
|
protected — not per daemon. A unix socket (or an inherited activation fd) is
|