@git-diff-view/react 0.0.22 → 0.0.23

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/index.d.ts CHANGED
@@ -115,6 +115,7 @@ export declare class DiffFile {
115
115
  unifiedLines: UnifiedLineItem[];
116
116
  unifiedHunkLines: Record<string, DiffHunkItem>;
117
117
  highlighterName: string;
118
+ highlighterType: string;
118
119
  composeByDiff: boolean;
119
120
  hasSomeLineCollapsed: boolean;
120
121
  version: string;
@@ -155,6 +156,7 @@ export declare class DiffFile {
155
156
  unifiedLines: UnifiedLineItem[];
156
157
  unifiedHunkLines: Record<string, DiffHunkItem>;
157
158
  highlighterName: string;
159
+ highlighterType: string;
158
160
  composeByDiff: boolean;
159
161
  hasSomeLineCollapsed: boolean;
160
162
  version: string;
package/package.json CHANGED
@@ -3,7 +3,7 @@
3
3
  "description": "@git-diff-view/react",
4
4
  "author": "MrWangJustToDo",
5
5
  "license": "MIT",
6
- "version": "0.0.22",
6
+ "version": "0.0.23",
7
7
  "main": "index.js",
8
8
  "types": "index.d.ts",
9
9
  "files": [
@@ -16,7 +16,7 @@
16
16
  "url": "git+https://github.com/MrWangJustToDo/git-diff-view.git",
17
17
  "directory": "packages/react"
18
18
  },
19
- "homepage": "https://github.com/MrWangJustToDo/git-diff-view",
19
+ "homepage": "https://mrwangjusttodo.github.io/git-diff-view",
20
20
  "exports": {
21
21
  ".": {
22
22
  "require": "./index.js",
@@ -59,16 +59,17 @@
59
59
  "react diff component"
60
60
  ],
61
61
  "dependencies": {
62
- "@git-diff-view/core": "^0.0.22",
62
+ "@git-diff-view/core": "^0.0.23",
63
+ "@git-diff-view/utils": "^0.0.23",
63
64
  "@types/hast": "^3.0.0",
64
65
  "fast-diff": "^1.3.0",
65
- "highlight.js": "^11.10.0",
66
- "lowlight": "^3.2.0",
67
- "reactivity-store": "^0.3.8",
68
- "use-sync-external-store": "^1.2.2"
66
+ "highlight.js": "^11.11.0",
67
+ "lowlight": "^3.3.0",
68
+ "reactivity-store": "^0.3.9",
69
+ "use-sync-external-store": "^1.4.0"
69
70
  },
70
71
  "devDependencies": {
71
- "@types/use-sync-external-store": "^0.0.3",
72
+ "@types/use-sync-external-store": "^0.0.6",
72
73
  "autoprefixer": "^10.4.20",
73
74
  "postcss": "^8.4.47",
74
75
  "postcss-cli": "^11.0.0",
package/readme.md CHANGED
@@ -1,4 +1,4 @@
1
- ## A React UI Component to render `git diff` data, support `Split View` and `Unified View`, just like `GitHub` and `GitLab`.
1
+ ## A React DiffView Component like GitHub, Easy to use and feature complete.
2
2
 
3
3
  ### Usage
4
4