@haklex/rich-litexml-cli 0.29.0 → 0.29.2
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/cli.mjs +16 -4
- package/package.json +6 -6
package/dist/cli.mjs
CHANGED
|
@@ -150,7 +150,7 @@ function renderJson(state, compact) {
|
|
|
150
150
|
return JSON.stringify(state, null, compact ? 0 : 2);
|
|
151
151
|
}
|
|
152
152
|
//#endregion
|
|
153
|
-
//#region \0@oxc-project+runtime@0.
|
|
153
|
+
//#region \0@oxc-project+runtime@0.138.0/helpers/esm/typeof.js
|
|
154
154
|
function _typeof(o) {
|
|
155
155
|
"@babel/helpers - typeof";
|
|
156
156
|
return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function(o) {
|
|
@@ -160,7 +160,7 @@ function _typeof(o) {
|
|
|
160
160
|
}, _typeof(o);
|
|
161
161
|
}
|
|
162
162
|
//#endregion
|
|
163
|
-
//#region \0@oxc-project+runtime@0.
|
|
163
|
+
//#region \0@oxc-project+runtime@0.138.0/helpers/esm/toPrimitive.js
|
|
164
164
|
function toPrimitive(t, r) {
|
|
165
165
|
if ("object" != _typeof(t) || !t) return t;
|
|
166
166
|
var e = t[Symbol.toPrimitive];
|
|
@@ -172,13 +172,13 @@ function toPrimitive(t, r) {
|
|
|
172
172
|
return ("string" === r ? String : Number)(t);
|
|
173
173
|
}
|
|
174
174
|
//#endregion
|
|
175
|
-
//#region \0@oxc-project+runtime@0.
|
|
175
|
+
//#region \0@oxc-project+runtime@0.138.0/helpers/esm/toPropertyKey.js
|
|
176
176
|
function toPropertyKey(t) {
|
|
177
177
|
var i = toPrimitive(t, "string");
|
|
178
178
|
return "symbol" == _typeof(i) ? i : i + "";
|
|
179
179
|
}
|
|
180
180
|
//#endregion
|
|
181
|
-
//#region \0@oxc-project+runtime@0.
|
|
181
|
+
//#region \0@oxc-project+runtime@0.138.0/helpers/esm/defineProperty.js
|
|
182
182
|
function _defineProperty(e, r, t) {
|
|
183
183
|
return (r = toPropertyKey(r)) in e ? Object.defineProperty(e, r, {
|
|
184
184
|
value: t,
|
|
@@ -11605,6 +11605,9 @@ var customHeadlessNodes = [
|
|
|
11605
11605
|
decorate() {
|
|
11606
11606
|
return null;
|
|
11607
11607
|
}
|
|
11608
|
+
isInline() {
|
|
11609
|
+
return false;
|
|
11610
|
+
}
|
|
11608
11611
|
getTextContent() {
|
|
11609
11612
|
return extractText(this.__contentState);
|
|
11610
11613
|
}
|
|
@@ -11648,6 +11651,9 @@ var customHeadlessNodes = [
|
|
|
11648
11651
|
decorate() {
|
|
11649
11652
|
return null;
|
|
11650
11653
|
}
|
|
11654
|
+
isInline() {
|
|
11655
|
+
return false;
|
|
11656
|
+
}
|
|
11651
11657
|
getTextContent() {
|
|
11652
11658
|
return extractText(this.__contentState);
|
|
11653
11659
|
}
|
|
@@ -11687,6 +11693,9 @@ var customHeadlessNodes = [
|
|
|
11687
11693
|
decorate() {
|
|
11688
11694
|
return null;
|
|
11689
11695
|
}
|
|
11696
|
+
isInline() {
|
|
11697
|
+
return false;
|
|
11698
|
+
}
|
|
11690
11699
|
getTextContent() {
|
|
11691
11700
|
return extractText(this.__contentState);
|
|
11692
11701
|
}
|
|
@@ -11735,6 +11744,9 @@ var customHeadlessNodes = [
|
|
|
11735
11744
|
decorate() {
|
|
11736
11745
|
return null;
|
|
11737
11746
|
}
|
|
11747
|
+
isInline() {
|
|
11748
|
+
return false;
|
|
11749
|
+
}
|
|
11738
11750
|
getTextContent() {
|
|
11739
11751
|
return this.__cells.map((cell) => extractText(cell)).join("\n");
|
|
11740
11752
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@haklex/rich-litexml-cli",
|
|
3
|
-
"version": "0.29.
|
|
3
|
+
"version": "0.29.2",
|
|
4
4
|
"description": "Unified CLI for haklex LiteXML: convert LiteXML or Lexical JSON to HTML, JSON, or Markdown.",
|
|
5
5
|
"repository": {
|
|
6
6
|
"type": "git",
|
|
@@ -18,14 +18,14 @@
|
|
|
18
18
|
"dependencies": {
|
|
19
19
|
"@lexical/headless": "^0.46.0",
|
|
20
20
|
"lexical": "^0.46.0",
|
|
21
|
-
"@haklex/rich-compose": "0.29.
|
|
22
|
-
"@haklex/rich-
|
|
23
|
-
"@haklex/rich-
|
|
21
|
+
"@haklex/rich-compose": "0.29.1",
|
|
22
|
+
"@haklex/rich-litexml": "0.29.0",
|
|
23
|
+
"@haklex/rich-headless": "0.29.1"
|
|
24
24
|
},
|
|
25
25
|
"devDependencies": {
|
|
26
|
-
"@types/node": "26.0
|
|
26
|
+
"@types/node": "26.1.0",
|
|
27
27
|
"typescript": "^6.0.3",
|
|
28
|
-
"vite": "^8.1.
|
|
28
|
+
"vite": "^8.1.3",
|
|
29
29
|
"vitest": "^4.1.9"
|
|
30
30
|
},
|
|
31
31
|
"publishConfig": {
|