@superdoc-dev/cli 0.5.0-next.79 → 0.5.0-next.80

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.
Files changed (2) hide show
  1. package/dist/index.js +15 -4
  2. package/package.json +9 -9
package/dist/index.js CHANGED
@@ -204688,7 +204688,7 @@ var init_remark_gfm_eZN6yzWQ_es = __esm(() => {
204688
204688
  init_remark_gfm_BhnWr3yf_es();
204689
204689
  });
204690
204690
 
204691
- // ../../packages/superdoc/dist/chunks/src-CQtFp08c.es.js
204691
+ // ../../packages/superdoc/dist/chunks/src-D3Yvsm9K.es.js
204692
204692
  function deleteProps(obj, propOrProps) {
204693
204693
  const props = typeof propOrProps === "string" ? [propOrProps] : propOrProps;
204694
204694
  const removeNested = (target, pathParts, index2 = 0) => {
@@ -269633,7 +269633,18 @@ var Node$13 = class Node$14 {
269633
269633
  return marksMatch(mark2, stepMark, true);
269634
269634
  });
269635
269635
  }, upsertMarkSnapshotByType = (snapshots, incoming) => {
269636
- return [...snapshots.filter((mark2) => mark2.type !== incoming.type), incoming];
269636
+ const existing = snapshots.find((mark2) => mark2.type === incoming.type);
269637
+ if (existing) {
269638
+ const merged = {
269639
+ ...existing,
269640
+ attrs: {
269641
+ ...existing.attrs,
269642
+ ...incoming.attrs
269643
+ }
269644
+ };
269645
+ return snapshots.map((mark2) => mark2 === existing ? merged : mark2);
269646
+ }
269647
+ return [...snapshots, incoming];
269637
269648
  }, markMatchesSnapshot = (mark2, snapshot2, exact = true) => {
269638
269649
  return marksMatch(mark2, snapshot2, exact);
269639
269650
  }, markAttrsIncludeSnapshotAttrs = (mark2, snapshot2) => {
@@ -287746,7 +287757,7 @@ var Node$13 = class Node$14 {
287746
287757
  return;
287747
287758
  console.log(...args$1);
287748
287759
  }, HEADER_FOOTER_INIT_BUDGET_MS = 200, MAX_ZOOM_WARNING_THRESHOLD = 10, MAX_SELECTION_RECTS_PER_USER = 100, SEMANTIC_RESIZE_DEBOUNCE_MS = 120, MIN_SEMANTIC_CONTENT_WIDTH_PX = 1, GLOBAL_PERFORMANCE, PresentationEditor, ICONS, TEXTS, tableActionsOptions;
287749
- var init_src_CQtFp08c_es = __esm(() => {
287760
+ var init_src_D3Yvsm9K_es = __esm(() => {
287750
287761
  init_rolldown_runtime_Bg48TavK_es();
287751
287762
  init_SuperConverter_C87tnocN_es();
287752
287763
  init_jszip_C49i9kUs_es();
@@ -322473,7 +322484,7 @@ var init_zipper_DbkgrypV_es = __esm(() => {
322473
322484
 
322474
322485
  // ../../packages/superdoc/dist/super-editor.es.js
322475
322486
  var init_super_editor_es = __esm(() => {
322476
- init_src_CQtFp08c_es();
322487
+ init_src_D3Yvsm9K_es();
322477
322488
  init_SuperConverter_C87tnocN_es();
322478
322489
  init_jszip_C49i9kUs_es();
322479
322490
  init_xml_js_CqGKpaft_es();
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@superdoc-dev/cli",
3
- "version": "0.5.0-next.79",
3
+ "version": "0.5.0-next.80",
4
4
  "type": "module",
5
5
  "bin": {
6
6
  "superdoc": "./dist/index.js"
@@ -24,21 +24,21 @@
24
24
  "@types/node": "22.19.2",
25
25
  "@types/ws": "^8.5.13",
26
26
  "typescript": "^5.9.2",
27
- "@superdoc/pm-adapter": "0.0.0",
28
27
  "@superdoc/document-api": "0.0.1",
29
- "@superdoc/super-editor": "0.0.1",
30
- "superdoc": "1.25.0"
28
+ "@superdoc/pm-adapter": "0.0.0",
29
+ "superdoc": "1.25.0",
30
+ "@superdoc/super-editor": "0.0.1"
31
31
  },
32
32
  "module": "src/index.ts",
33
33
  "publishConfig": {
34
34
  "access": "public"
35
35
  },
36
36
  "optionalDependencies": {
37
- "@superdoc-dev/cli-darwin-arm64": "0.5.0-next.79",
38
- "@superdoc-dev/cli-darwin-x64": "0.5.0-next.79",
39
- "@superdoc-dev/cli-windows-x64": "0.5.0-next.79",
40
- "@superdoc-dev/cli-linux-x64": "0.5.0-next.79",
41
- "@superdoc-dev/cli-linux-arm64": "0.5.0-next.79"
37
+ "@superdoc-dev/cli-darwin-arm64": "0.5.0-next.80",
38
+ "@superdoc-dev/cli-darwin-x64": "0.5.0-next.80",
39
+ "@superdoc-dev/cli-linux-x64": "0.5.0-next.80",
40
+ "@superdoc-dev/cli-linux-arm64": "0.5.0-next.80",
41
+ "@superdoc-dev/cli-windows-x64": "0.5.0-next.80"
42
42
  },
43
43
  "scripts": {
44
44
  "predev": "node scripts/ensure-superdoc-build.js",