@superdoc-dev/mcp 0.3.0-next.83 → 0.3.0-next.84

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 +21 -17
  2. package/package.json +3 -3
package/dist/index.js CHANGED
@@ -51891,7 +51891,7 @@ var init_remark_gfm_BhnWr3yf_es = __esm(() => {
51891
51891
  emptyOptions2 = {};
51892
51892
  });
51893
51893
 
51894
- // ../../packages/superdoc/dist/chunks/SuperConverter-b41pKAPh.es.js
51894
+ // ../../packages/superdoc/dist/chunks/SuperConverter-CHgmKFZo.es.js
51895
51895
  function getExtensionConfigField(extension$1, field, context = { name: "" }) {
51896
51896
  const fieldValue = extension$1.config[field];
51897
51897
  if (typeof fieldValue === "function")
@@ -105270,6 +105270,8 @@ var isRegExp = (value) => {
105270
105270
  return findChildren(node2, (child) => child.isInline, descend);
105271
105271
  }, getTrackChanges = (state, id = null) => {
105272
105272
  const trackedChanges = [];
105273
+ if (!state?.doc)
105274
+ return trackedChanges;
105273
105275
  const allInlineNodes = findInlineNodes(state.doc);
105274
105276
  if (!allInlineNodes.length)
105275
105277
  return trackedChanges;
@@ -105327,7 +105329,7 @@ var isRegExp = (value) => {
105327
105329
  state.kern = kernNode.attributes["w:val"];
105328
105330
  }
105329
105331
  }, SuperConverter;
105330
- var init_SuperConverter_b41pKAPh_es = __esm(() => {
105332
+ var init_SuperConverter_CHgmKFZo_es = __esm(() => {
105331
105333
  init_rolldown_runtime_Bg48TavK_es();
105332
105334
  init_jszip_C49i9kUs_es();
105333
105335
  init_xml_js_CqGKpaft_es();
@@ -143196,7 +143198,7 @@ var init_SuperConverter_b41pKAPh_es = __esm(() => {
143196
143198
  };
143197
143199
  });
143198
143200
 
143199
- // ../../packages/superdoc/dist/chunks/create-headless-toolbar-D5DGnv93.es.js
143201
+ // ../../packages/superdoc/dist/chunks/create-headless-toolbar-D80LhrY2.es.js
143200
143202
  function parseSizeUnit(val = "0") {
143201
143203
  const length = val.toString() || "0";
143202
143204
  const value = Number.parseFloat(length);
@@ -145885,8 +145887,8 @@ var CSS_DIMENSION_REGEX, DOM_SIZE_UNITS, Extension = class Extension2 {
145885
145887
  }
145886
145888
  };
145887
145889
  };
145888
- var init_create_headless_toolbar_D5DGnv93_es = __esm(() => {
145889
- init_SuperConverter_b41pKAPh_es();
145890
+ var init_create_headless_toolbar_D80LhrY2_es = __esm(() => {
145891
+ init_SuperConverter_CHgmKFZo_es();
145890
145892
  init_constants_DrU4EASo_es();
145891
145893
  init_dist_B8HfvhaK_es();
145892
145894
  CSS_DIMENSION_REGEX = /[\d-.]+(\w+)$/;
@@ -200104,7 +200106,7 @@ var init_remark_gfm_eZN6yzWQ_es = __esm(() => {
200104
200106
  init_remark_gfm_BhnWr3yf_es();
200105
200107
  });
200106
200108
 
200107
- // ../../packages/superdoc/dist/chunks/src-BM2rQG5r.es.js
200109
+ // ../../packages/superdoc/dist/chunks/src-DRfvNmSR.es.js
200108
200110
  function deleteProps(obj, propOrProps) {
200109
200111
  const props = typeof propOrProps === "string" ? [propOrProps] : propOrProps;
200110
200112
  const removeNested = (target, pathParts, index2 = 0) => {
@@ -293721,12 +293723,12 @@ menclose::after {
293721
293723
  return;
293722
293724
  console.log(...args$1);
293723
293725
  }, 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;
293724
- var init_src_BM2rQG5r_es = __esm(() => {
293726
+ var init_src_DRfvNmSR_es = __esm(() => {
293725
293727
  init_rolldown_runtime_Bg48TavK_es();
293726
- init_SuperConverter_b41pKAPh_es();
293728
+ init_SuperConverter_CHgmKFZo_es();
293727
293729
  init_jszip_C49i9kUs_es();
293728
293730
  init_uuid_qzgm05fK_es();
293729
- init_create_headless_toolbar_D5DGnv93_es();
293731
+ init_create_headless_toolbar_D80LhrY2_es();
293730
293732
  init_constants_DrU4EASo_es();
293731
293733
  init_dist_B8HfvhaK_es();
293732
293734
  init_unified_Dsuw2be5_es();
@@ -331757,11 +331759,11 @@ function print() { __p += __j.call(arguments, '') }
331757
331759
  ];
331758
331760
  });
331759
331761
 
331760
- // ../../packages/superdoc/dist/chunks/create-super-doc-ui-B2YfE2qW.es.js
331762
+ // ../../packages/superdoc/dist/chunks/create-super-doc-ui-pg9u9fct.es.js
331761
331763
  var MOD_ALIASES, ALT_ALIASES, CTRL_ALIASES, SHIFT_ALIASES, BUILTIN_CONTEXT_MENU_GROUPS, BUILTIN_GROUP_ORDER, RESERVED_PROXY_PROPERTY_NAMES, ALL_TOOLBAR_COMMAND_IDS, EMPTY_ACTIVE_IDS;
331762
- var init_create_super_doc_ui_B2YfE2qW_es = __esm(() => {
331763
- init_SuperConverter_b41pKAPh_es();
331764
- init_create_headless_toolbar_D5DGnv93_es();
331764
+ var init_create_super_doc_ui_pg9u9fct_es = __esm(() => {
331765
+ init_SuperConverter_CHgmKFZo_es();
331766
+ init_create_headless_toolbar_D80LhrY2_es();
331765
331767
  MOD_ALIASES = new Set([
331766
331768
  "Mod",
331767
331769
  "Meta",
@@ -331803,16 +331805,16 @@ var init_zipper_BxRAi0_5_es = __esm(() => {
331803
331805
 
331804
331806
  // ../../packages/superdoc/dist/super-editor.es.js
331805
331807
  var init_super_editor_es = __esm(() => {
331806
- init_src_BM2rQG5r_es();
331807
- init_SuperConverter_b41pKAPh_es();
331808
+ init_src_DRfvNmSR_es();
331809
+ init_SuperConverter_CHgmKFZo_es();
331808
331810
  init_jszip_C49i9kUs_es();
331809
331811
  init_xml_js_CqGKpaft_es();
331810
- init_create_headless_toolbar_D5DGnv93_es();
331812
+ init_create_headless_toolbar_D80LhrY2_es();
331811
331813
  init_constants_DrU4EASo_es();
331812
331814
  init_dist_B8HfvhaK_es();
331813
331815
  init_unified_Dsuw2be5_es();
331814
331816
  init_DocxZipper_Dh4RtvcE_es();
331815
- init_create_super_doc_ui_B2YfE2qW_es();
331817
+ init_create_super_doc_ui_pg9u9fct_es();
331816
331818
  init_ui_CGB3qmy3_es();
331817
331819
  init_eventemitter3_UwU_CLPU_es();
331818
331820
  init_errors_C_DoKMoN_es();
@@ -425199,6 +425201,8 @@ var flatten3 = (node4, descend = true) => {
425199
425201
  // ../../packages/super-editor/src/editors/v1/extensions/track-changes/trackChangesHelpers/getTrackChanges.js
425200
425202
  var getTrackChanges2 = (state, id2 = null) => {
425201
425203
  const trackedChanges = [];
425204
+ if (!state?.doc)
425205
+ return trackedChanges;
425202
425206
  const allInlineNodes = findInlineNodes2(state.doc);
425203
425207
  if (!allInlineNodes.length) {
425204
425208
  return trackedChanges;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@superdoc-dev/mcp",
3
- "version": "0.3.0-next.83",
3
+ "version": "0.3.0-next.84",
4
4
  "type": "module",
5
5
  "engines": {
6
6
  "node": ">=20"
@@ -20,8 +20,8 @@
20
20
  "@types/node": "22.19.2",
21
21
  "typescript": "^5.9.2",
22
22
  "@superdoc/document-api": "0.0.1",
23
- "superdoc": "1.32.0",
24
- "@superdoc/super-editor": "0.0.1"
23
+ "@superdoc/super-editor": "0.0.1",
24
+ "superdoc": "1.32.0"
25
25
  },
26
26
  "publishConfig": {
27
27
  "access": "public"