@pierre/diffs 1.2.4 → 1.2.6
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/dist/components/CodeView.d.ts +1 -0
- package/dist/components/CodeView.d.ts.map +1 -1
- package/dist/components/CodeView.js +23 -0
- package/dist/components/CodeView.js.map +1 -1
- package/dist/components/UnresolvedFile.d.ts.map +1 -1
- package/dist/components/VirtualizedFile.js +6 -1
- package/dist/components/VirtualizedFile.js.map +1 -1
- package/dist/components/VirtualizedFileDiff.js +22 -42
- package/dist/components/VirtualizedFileDiff.js.map +1 -1
- package/dist/components/Virtualizer.js +5 -3
- package/dist/components/Virtualizer.js.map +1 -1
- package/dist/constants.d.ts.map +1 -1
- package/dist/react/jsx.d.ts.map +1 -1
- package/dist/renderers/DiffHunksRenderer.js +5 -9
- package/dist/renderers/DiffHunksRenderer.js.map +1 -1
- package/dist/utils/computeEstimatedDiffHeights.js +9 -20
- package/dist/utils/computeEstimatedDiffHeights.js.map +1 -1
- package/dist/utils/iterateOverDiff.js +147 -182
- package/dist/utils/iterateOverDiff.js.map +1 -1
- package/dist/utils/virtualDiffLayout.d.ts +23 -2
- package/dist/utils/virtualDiffLayout.d.ts.map +1 -1
- package/dist/utils/virtualDiffLayout.js +41 -1
- package/dist/utils/virtualDiffLayout.js.map +1 -1
- package/dist/worker/worker-portable.js +207 -205
- package/dist/worker/worker-portable.js.map +1 -1
- package/dist/worker/worker.js +179 -181
- package/dist/worker/worker.js.map +1 -1
- package/package.json +20 -20
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@pierre/diffs",
|
|
3
|
-
"version": "1.2.
|
|
3
|
+
"version": "1.2.6",
|
|
4
4
|
"license": "apache-2.0",
|
|
5
5
|
"files": [
|
|
6
6
|
"dist",
|
|
@@ -62,29 +62,29 @@
|
|
|
62
62
|
"prepublishOnly": "bun run build"
|
|
63
63
|
},
|
|
64
64
|
"dependencies": {
|
|
65
|
-
"@pierre/theme": "
|
|
65
|
+
"@pierre/theme": "catalog:",
|
|
66
66
|
"@shikijs/transformers": "^3.0.0",
|
|
67
|
-
"diff": "
|
|
68
|
-
"hast-util-to-html": "
|
|
69
|
-
"lru_map": "
|
|
67
|
+
"diff": "catalog:",
|
|
68
|
+
"hast-util-to-html": "catalog:",
|
|
69
|
+
"lru_map": "catalog:",
|
|
70
70
|
"shiki": "^3.0.0"
|
|
71
71
|
},
|
|
72
72
|
"devDependencies": {
|
|
73
|
-
"@arethetypeswrong/core": "
|
|
74
|
-
"@types/hast": "
|
|
75
|
-
"@types/jsdom": "
|
|
76
|
-
"@types/react": "
|
|
77
|
-
"@types/react-dom": "
|
|
78
|
-
"autoprefixer": "
|
|
79
|
-
"jsdom": "
|
|
80
|
-
"lightningcss": "
|
|
81
|
-
"postcss": "
|
|
82
|
-
"postcss-calc": "
|
|
83
|
-
"postcss-nesting": "
|
|
84
|
-
"react": "
|
|
85
|
-
"react-dom": "
|
|
86
|
-
"tsdown": "
|
|
87
|
-
"typescript": "
|
|
73
|
+
"@arethetypeswrong/core": "catalog:",
|
|
74
|
+
"@types/hast": "catalog:",
|
|
75
|
+
"@types/jsdom": "catalog:",
|
|
76
|
+
"@types/react": "catalog:",
|
|
77
|
+
"@types/react-dom": "catalog:",
|
|
78
|
+
"autoprefixer": "catalog:",
|
|
79
|
+
"jsdom": "catalog:",
|
|
80
|
+
"lightningcss": "catalog:",
|
|
81
|
+
"postcss": "catalog:",
|
|
82
|
+
"postcss-calc": "catalog:",
|
|
83
|
+
"postcss-nesting": "catalog:",
|
|
84
|
+
"react": "catalog:",
|
|
85
|
+
"react-dom": "catalog:",
|
|
86
|
+
"tsdown": "catalog:",
|
|
87
|
+
"typescript": "catalog:"
|
|
88
88
|
},
|
|
89
89
|
"peerDependencies": {
|
|
90
90
|
"react": "^18.3.1 || ^19.0.0",
|