@superdoc-dev/cli 0.5.0-next.45 → 0.5.0-next.46

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 +4 -3
  2. package/package.json +8 -8
package/dist/index.js CHANGED
@@ -173714,7 +173714,7 @@ var init_remark_gfm_DCND_V_3_es = __esm(() => {
173714
173714
  init_remark_gfm_BUJjZJLy_es();
173715
173715
  });
173716
173716
 
173717
- // ../../packages/superdoc/dist/chunks/src-wLlfPuEU.es.js
173717
+ // ../../packages/superdoc/dist/chunks/src-DZJdFEeE.es.js
173718
173718
  function deleteProps(obj, propOrProps) {
173719
173719
  const props = typeof propOrProps === "string" ? [propOrProps] : propOrProps;
173720
173720
  const removeNested = (target, pathParts, index2 = 0) => {
@@ -257424,7 +257424,7 @@ var Node$13 = class Node$14 {
257424
257424
  return;
257425
257425
  console.log(...args$1);
257426
257426
  }, 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;
257427
- var init_src_wLlfPuEU_es = __esm(() => {
257427
+ var init_src_DZJdFEeE_es = __esm(() => {
257428
257428
  init_rolldown_runtime_B2q5OVn9_es();
257429
257429
  init_SuperConverter_Dyz8lKjn_es();
257430
257430
  init_jszip_ChlR43oI_es();
@@ -282744,6 +282744,7 @@ function print() { __p += __j.call(arguments, '') }
282744
282744
  const ydoc = this.options.ydoc;
282745
282745
  const provider = this.options.collaborationProvider;
282746
282746
  const doReplaceFileSync = () => {
282747
+ this.options.fragment = null;
282747
282748
  this.#insertNewFileData();
282748
282749
  seedPartsFromEditor(this, ydoc, { replaceExisting: true });
282749
282750
  const mediaFiles$1 = this.options.mediaFiles ?? {};
@@ -291997,7 +291998,7 @@ var init_zipper_YmNpPIyc_es = __esm(() => {
291997
291998
 
291998
291999
  // ../../packages/superdoc/dist/super-editor.es.js
291999
292000
  var init_super_editor_es = __esm(() => {
292000
- init_src_wLlfPuEU_es();
292001
+ init_src_DZJdFEeE_es();
292001
292002
  init_SuperConverter_Dyz8lKjn_es();
292002
292003
  init_jszip_ChlR43oI_es();
292003
292004
  init_xml_js_40FWvL78_es();
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@superdoc-dev/cli",
3
- "version": "0.5.0-next.45",
3
+ "version": "0.5.0-next.46",
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/document-api": "0.0.1",
28
- "@superdoc/pm-adapter": "0.0.0",
28
+ "superdoc": "1.23.1",
29
29
  "@superdoc/super-editor": "0.0.1",
30
- "superdoc": "1.23.1"
30
+ "@superdoc/pm-adapter": "0.0.0"
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.45",
38
- "@superdoc-dev/cli-linux-x64": "0.5.0-next.45",
39
- "@superdoc-dev/cli-linux-arm64": "0.5.0-next.45",
40
- "@superdoc-dev/cli-windows-x64": "0.5.0-next.45",
41
- "@superdoc-dev/cli-darwin-x64": "0.5.0-next.45"
37
+ "@superdoc-dev/cli-darwin-x64": "0.5.0-next.46",
38
+ "@superdoc-dev/cli-darwin-arm64": "0.5.0-next.46",
39
+ "@superdoc-dev/cli-linux-x64": "0.5.0-next.46",
40
+ "@superdoc-dev/cli-windows-x64": "0.5.0-next.46",
41
+ "@superdoc-dev/cli-linux-arm64": "0.5.0-next.46"
42
42
  },
43
43
  "scripts": {
44
44
  "predev": "node scripts/ensure-superdoc-build.js",