@haklex/rich-litexml-cli 0.46.4 → 0.47.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/dist/cli.mjs +14 -14
- package/package.json +8 -8
package/dist/cli.mjs
CHANGED
|
@@ -20,7 +20,7 @@ var __esmMin = (fn, res, err) => () => {
|
|
|
20
20
|
throw err = [e], e;
|
|
21
21
|
}
|
|
22
22
|
};
|
|
23
|
-
var __commonJSMin = (cb, mod) => () => (mod || (cb((mod = { exports: {} }).exports, mod), cb = null), mod.exports);
|
|
23
|
+
var __commonJSMin = (cb, mod) => () => (mod || (cb((mod = { exports: {} }).exports, mod, mod.exports), cb = null), mod.exports);
|
|
24
24
|
var __exportAll = (all, no_symbols) => {
|
|
25
25
|
let target = {};
|
|
26
26
|
for (var name in all) __defProp(target, name, {
|
|
@@ -149,7 +149,7 @@ function renderJson(state, compact) {
|
|
|
149
149
|
return JSON.stringify(state, null, compact ? 0 : 2);
|
|
150
150
|
}
|
|
151
151
|
//#endregion
|
|
152
|
-
//#region \0@oxc-project+runtime@0.
|
|
152
|
+
//#region \0@oxc-project+runtime@0.154.0/helpers/esm/typeof.js
|
|
153
153
|
function _typeof(o) {
|
|
154
154
|
"@babel/helpers - typeof";
|
|
155
155
|
return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function(o) {
|
|
@@ -159,7 +159,7 @@ function _typeof(o) {
|
|
|
159
159
|
}, _typeof(o);
|
|
160
160
|
}
|
|
161
161
|
//#endregion
|
|
162
|
-
//#region \0@oxc-project+runtime@0.
|
|
162
|
+
//#region \0@oxc-project+runtime@0.154.0/helpers/esm/toPrimitive.js
|
|
163
163
|
function toPrimitive(t, r) {
|
|
164
164
|
if ("object" != _typeof(t) || !t) return t;
|
|
165
165
|
var e = t[Symbol.toPrimitive];
|
|
@@ -171,13 +171,13 @@ function toPrimitive(t, r) {
|
|
|
171
171
|
return ("string" === r ? String : Number)(t);
|
|
172
172
|
}
|
|
173
173
|
//#endregion
|
|
174
|
-
//#region \0@oxc-project+runtime@0.
|
|
174
|
+
//#region \0@oxc-project+runtime@0.154.0/helpers/esm/toPropertyKey.js
|
|
175
175
|
function toPropertyKey(t) {
|
|
176
176
|
var i = toPrimitive(t, "string");
|
|
177
177
|
return "symbol" == _typeof(i) ? i : i + "";
|
|
178
178
|
}
|
|
179
179
|
//#endregion
|
|
180
|
-
//#region \0@oxc-project+runtime@0.
|
|
180
|
+
//#region \0@oxc-project+runtime@0.154.0/helpers/esm/defineProperty.js
|
|
181
181
|
function _defineProperty(e, r, t) {
|
|
182
182
|
return (r = toPropertyKey(r)) in e ? Object.defineProperty(e, r, {
|
|
183
183
|
value: t,
|
|
@@ -5903,8 +5903,8 @@ function Ul(t, n = "removeEmptySlices") {
|
|
|
5903
5903
|
const s = r.getParents().reverse();
|
|
5904
5904
|
s.push(r);
|
|
5905
5905
|
const l = Math.min(i.length, s.length);
|
|
5906
|
-
let c;
|
|
5907
|
-
for (
|
|
5906
|
+
let c = 0;
|
|
5907
|
+
for (; c < l && i[c] === s[c]; c++);
|
|
5908
5908
|
const a = (t, e) => {
|
|
5909
5909
|
let n;
|
|
5910
5910
|
for (let o = c; o < t.length; o++) {
|
|
@@ -22929,8 +22929,8 @@ var require_CSSStyleDeclaration = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
|
22929
22929
|
return properties.join(" ");
|
|
22930
22930
|
},
|
|
22931
22931
|
set cssText(text) {
|
|
22932
|
-
var i, name;
|
|
22933
|
-
for (
|
|
22932
|
+
var i = this.length, name;
|
|
22933
|
+
for (; i--;) {
|
|
22934
22934
|
name = this[i];
|
|
22935
22935
|
this[name] = "";
|
|
22936
22936
|
}
|
|
@@ -24842,10 +24842,10 @@ function registerBuiltinReaders(registry) {
|
|
|
24842
24842
|
}));
|
|
24843
24843
|
}
|
|
24844
24844
|
//#endregion
|
|
24845
|
-
//#region ../../node_modules/.pnpm/nanoid@6.0.
|
|
24846
|
-
var urlAlphabet = "
|
|
24845
|
+
//#region ../../node_modules/.pnpm/nanoid@6.0.2/node_modules/nanoid/url-alphabet/index.js
|
|
24846
|
+
var urlAlphabet = "57X6y3wQZNzYjJB2L_10pxbackgroundhimselfUTF-8DEMOGRAPHICSVqvt4KW9";
|
|
24847
24847
|
//#endregion
|
|
24848
|
-
//#region ../../node_modules/.pnpm/nanoid@6.0.
|
|
24848
|
+
//#region ../../node_modules/.pnpm/nanoid@6.0.2/node_modules/nanoid/index.js
|
|
24849
24849
|
var GET_RANDOM_LIMIT = 65536;
|
|
24850
24850
|
function fillRandom(buffer) {
|
|
24851
24851
|
let from = 0;
|
|
@@ -24871,7 +24871,7 @@ function customRandom(alphabet, defaultSize, getRandom) {
|
|
|
24871
24871
|
let id = "";
|
|
24872
24872
|
while (true) {
|
|
24873
24873
|
let bytes = getRandom(size);
|
|
24874
|
-
let i = size;
|
|
24874
|
+
let i = size |= 0;
|
|
24875
24875
|
while (i--) {
|
|
24876
24876
|
id += alphabet[bytes[i] & mask];
|
|
24877
24877
|
if (id.length >= size) return id;
|
|
@@ -24879,10 +24879,10 @@ function customRandom(alphabet, defaultSize, getRandom) {
|
|
|
24879
24879
|
}
|
|
24880
24880
|
};
|
|
24881
24881
|
}
|
|
24882
|
-
let step = Math.ceil(409.6 * defaultSize / safeByteCutoff);
|
|
24883
24882
|
return (size = defaultSize) => {
|
|
24884
24883
|
if (!size) return "";
|
|
24885
24884
|
let id = "";
|
|
24885
|
+
let step = Math.ceil(409.6 * size / safeByteCutoff);
|
|
24886
24886
|
while (true) {
|
|
24887
24887
|
let bytes = getRandom(step);
|
|
24888
24888
|
let i = step;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@haklex/rich-litexml-cli",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.47.0",
|
|
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",
|
|
@@ -16,17 +16,17 @@
|
|
|
16
16
|
"dist"
|
|
17
17
|
],
|
|
18
18
|
"dependencies": {
|
|
19
|
+
"@haklex/rich-compose": "0.47.0",
|
|
20
|
+
"@haklex/rich-headless": "0.47.0",
|
|
21
|
+
"@haklex/rich-litexml": "0.47.0",
|
|
19
22
|
"@lexical/headless": "^0.52.0",
|
|
20
|
-
"lexical": "^0.52.0"
|
|
21
|
-
"@haklex/rich-headless": "0.46.4",
|
|
22
|
-
"@haklex/rich-compose": "0.46.4",
|
|
23
|
-
"@haklex/rich-litexml": "0.46.4"
|
|
23
|
+
"lexical": "^0.52.0"
|
|
24
24
|
},
|
|
25
25
|
"devDependencies": {
|
|
26
|
-
"@types/node": "26.
|
|
26
|
+
"@types/node": "26.6.5",
|
|
27
27
|
"typescript": "^7.0.2",
|
|
28
|
-
"vite": "^8.
|
|
29
|
-
"vitest": "^
|
|
28
|
+
"vite": "^8.3.4",
|
|
29
|
+
"vitest": "^5.0.5"
|
|
30
30
|
},
|
|
31
31
|
"publishConfig": {
|
|
32
32
|
"access": "public"
|