@tooee/diff 0.16.3 → 0.17.0
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/README.md +1 -1
- package/package.json +7 -7
package/README.md
CHANGED
|
@@ -40,5 +40,5 @@ A fence whose body is not a real unified diff — prose-style `+`/`-` bullets, f
|
|
|
40
40
|
- **Themes are approximated.** Hunk resolves one of its own bundled palettes by name and accepts no custom colour table, so each Tooee theme is mapped to the closest bundled Hunk theme rather than reproduced exactly. Unmapped (user) themes fall back to GitHub's palette on the matching light/dark side.
|
|
41
41
|
- **Marks are not painted inside hunks.** Row-level decorations (cursor, search, selection, marks) paint under the row, but Hunk draws its own backgrounds over most of it, so a mark on a diff row reads mainly from the gutter sign.
|
|
42
42
|
- **Diff content is replace-only when streaming.** `ContentChunk`'s `append` does not accept `diff`; send the full patch through a `replace` chunk instead.
|
|
43
|
-
- **Peer range.** `hunkdiff@0.22.0` declares `@opentui/core`/`@opentui/react` `^0.5.6`. Tooee tests it against OpenTUI `0.
|
|
43
|
+
- **Peer range.** `hunkdiff@0.22.0` declares `@opentui/core`/`@opentui/react` `^0.5.6`. Tooee tests it against OpenTUI `0.8.3`, with one shared runtime copy and no root overrides. Fresh installs print two incorrect-peer-dependency warnings, one for core and one for React. These warnings are safe to ignore until Hunk widens its range; installs using the committed Bun lock may be silent. The Hunk version stays pinned exactly because it is pre-1.0.
|
|
44
44
|
- **Install weight.** `hunkdiff` declares the `bun` npm package as a runtime dependency and ships a prebuilt CLI binary as an optional one, neither of which `hunkdiff/opentui` imports. Adding this package grew the local Bun store by roughly 580 MB, of which about 400 MB is the Bun binary and its platform variants and 134 MB is `hunkdiff-linux-x64`. Only the ~18 MB `hunkdiff/opentui` bundle is actually used. Fixing this needs an upstream packaging change; `bun patch` cannot drop a declared dependency from the resolution graph.
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@tooee/diff",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.17.0",
|
|
4
4
|
"description": "Hunk-backed unified/split diff rendering for Tooee",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"cli",
|
|
@@ -40,21 +40,21 @@
|
|
|
40
40
|
},
|
|
41
41
|
"dependencies": {
|
|
42
42
|
"@pierre/diffs": "1.3.5",
|
|
43
|
-
"@tooee/renderers": "0.
|
|
44
|
-
"@tooee/themes": "0.
|
|
43
|
+
"@tooee/renderers": "0.17.0",
|
|
44
|
+
"@tooee/themes": "0.17.0",
|
|
45
45
|
"hunkdiff": "0.22.0"
|
|
46
46
|
},
|
|
47
47
|
"devDependencies": {
|
|
48
|
-
"@opentui/core": "^0.
|
|
49
|
-
"@opentui/react": "^0.
|
|
48
|
+
"@opentui/core": "^0.8.3",
|
|
49
|
+
"@opentui/react": "^0.8.3",
|
|
50
50
|
"@tooee/test-support": "0.7.3",
|
|
51
51
|
"@types/bun": "^1.4.2",
|
|
52
52
|
"@types/react": "^19.3.0",
|
|
53
53
|
"typescript": "^7.0.2"
|
|
54
54
|
},
|
|
55
55
|
"peerDependencies": {
|
|
56
|
-
"@opentui/core": "^0.
|
|
57
|
-
"@opentui/react": "^0.
|
|
56
|
+
"@opentui/core": "^0.8.3",
|
|
57
|
+
"@opentui/react": "^0.8.3",
|
|
58
58
|
"react": "^18.0.0 || ^19.0.0"
|
|
59
59
|
}
|
|
60
60
|
}
|