@superdoc-dev/cli 0.11.0-next.4 → 0.11.0-next.5

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 +7 -3
  2. package/package.json +8 -8
package/dist/index.js CHANGED
@@ -209584,7 +209584,7 @@ var init_remark_gfm_eZN6yzWQ_es = __esm(() => {
209584
209584
  init_remark_gfm_BhnWr3yf_es();
209585
209585
  });
209586
209586
 
209587
- // ../../packages/superdoc/dist/chunks/src-Cj1y6vM-.es.js
209587
+ // ../../packages/superdoc/dist/chunks/src-89KDSWz7.es.js
209588
209588
  function deleteProps(obj, propOrProps) {
209589
209589
  const props = typeof propOrProps === "string" ? [propOrProps] : propOrProps;
209590
209590
  const removeNested = (target, pathParts, index2 = 0) => {
@@ -219896,6 +219896,8 @@ function shouldProcessEqualAsModification$1(oldParagraph, newParagraph) {
219896
219896
  return JSON.stringify(oldNormalized) !== JSON.stringify(newNormalized);
219897
219897
  }
219898
219898
  function paragraphComparator(oldParagraph, newParagraph) {
219899
+ if (oldParagraph?.depth !== newParagraph?.depth)
219900
+ return false;
219899
219901
  const oldId = oldParagraph?.node?.attrs?.paraId;
219900
219902
  const newId = newParagraph?.node?.attrs?.paraId;
219901
219903
  if (oldId && newId && oldId === newId)
@@ -219938,6 +219940,8 @@ function buildModifiedParagraphDiff(oldParagraph, newParagraph) {
219938
219940
  };
219939
219941
  }
219940
219942
  function canTreatAsModification(oldParagraph, newParagraph) {
219943
+ if (oldParagraph?.depth !== newParagraph?.depth)
219944
+ return false;
219941
219945
  if (paragraphComparator(oldParagraph, newParagraph))
219942
219946
  return true;
219943
219947
  const oldText = oldParagraph.fullText;
@@ -304349,7 +304353,7 @@ menclose::after {
304349
304353
  return;
304350
304354
  console.log(...args$1);
304351
304355
  }, 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;
304352
- var init_src_Cj1y6vM_es = __esm(() => {
304356
+ var init_src_89KDSWz7_es = __esm(() => {
304353
304357
  init_rolldown_runtime_Bg48TavK_es();
304354
304358
  init_SuperConverter_CnwfJPj6_es();
304355
304359
  init_jszip_C49i9kUs_es();
@@ -342568,7 +342572,7 @@ var init_zipper_BxRAi0_5_es = __esm(() => {
342568
342572
 
342569
342573
  // ../../packages/superdoc/dist/super-editor.es.js
342570
342574
  var init_super_editor_es = __esm(() => {
342571
- init_src_Cj1y6vM_es();
342575
+ init_src_89KDSWz7_es();
342572
342576
  init_SuperConverter_CnwfJPj6_es();
342573
342577
  init_jszip_C49i9kUs_es();
342574
342578
  init_xml_js_CqGKpaft_es();
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@superdoc-dev/cli",
3
- "version": "0.11.0-next.4",
3
+ "version": "0.11.0-next.5",
4
4
  "type": "module",
5
5
  "bin": {
6
6
  "superdoc": "./dist/index.js"
@@ -25,20 +25,20 @@
25
25
  "@types/ws": "^8.5.13",
26
26
  "typescript": "^5.9.2",
27
27
  "@superdoc/pm-adapter": "0.0.0",
28
+ "@superdoc/super-editor": "0.0.1",
28
29
  "superdoc": "1.33.1",
29
- "@superdoc/document-api": "0.0.1",
30
- "@superdoc/super-editor": "0.0.1"
30
+ "@superdoc/document-api": "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.11.0-next.4",
38
- "@superdoc-dev/cli-darwin-x64": "0.11.0-next.4",
39
- "@superdoc-dev/cli-linux-x64": "0.11.0-next.4",
40
- "@superdoc-dev/cli-linux-arm64": "0.11.0-next.4",
41
- "@superdoc-dev/cli-windows-x64": "0.11.0-next.4"
37
+ "@superdoc-dev/cli-darwin-arm64": "0.11.0-next.5",
38
+ "@superdoc-dev/cli-darwin-x64": "0.11.0-next.5",
39
+ "@superdoc-dev/cli-linux-x64": "0.11.0-next.5",
40
+ "@superdoc-dev/cli-windows-x64": "0.11.0-next.5",
41
+ "@superdoc-dev/cli-linux-arm64": "0.11.0-next.5"
42
42
  },
43
43
  "scripts": {
44
44
  "predev": "node scripts/ensure-superdoc-build.js",