@clazic/kordoc 2.7.1 → 2.7.2

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.
@@ -7,7 +7,7 @@ import {
7
7
  precheckZipSize,
8
8
  sanitizeHref,
9
9
  toArrayBuffer
10
- } from "./chunk-YIJCHZLO.js";
10
+ } from "./chunk-WMQBWE6H.js";
11
11
  import {
12
12
  parsePageRange
13
13
  } from "./chunk-MOL7MDBG.js";
@@ -9847,19 +9847,19 @@ var CACHE_DIR = join2(homedir(), ".cache", "kordoc", "libreoffice");
9847
9847
  var VERSION_FILE = join2(CACHE_DIR, "version");
9848
9848
  var PACKAGES = {
9849
9849
  darwin: {
9850
- url: "https://download.documentfoundation.org/libreoffice/stable/24.8.4/mac/x86_64/LibreOffice_24.8.4_MacOS_x86-64.dmg",
9850
+ url: "https://ftp.osuosl.org/pub/tdf/libreoffice/stable/26.2.3/mac/x86_64/LibreOffice_26.2.3_MacOS_x86-64.dmg",
9851
9851
  binPath: "LibreOffice.app/Contents/MacOS/soffice",
9852
9852
  sizeMb: 300
9853
9853
  },
9854
9854
  linux: {
9855
- url: "https://download.documentfoundation.org/libreoffice/stable/24.8.4/deb/x86_64/LibreOffice_24.8.4_Linux_x86-64_deb.tar.gz",
9856
- binPath: "opt/libreoffice24.8/program/soffice",
9857
- sizeMb: 200
9855
+ url: "https://ftp.osuosl.org/pub/tdf/libreoffice/stable/26.2.3/deb/x86_64/LibreOffice_26.2.3_Linux_x86-64_deb.tar.gz",
9856
+ binPath: "opt/libreoffice26.2/program/soffice",
9857
+ sizeMb: 210
9858
9858
  },
9859
9859
  win32: {
9860
- url: "https://download.documentfoundation.org/libreoffice/stable/24.8.4/win/x86_64/LibreOffice_24.8.4_Win_x86-64.msi",
9860
+ url: "https://ftp.osuosl.org/pub/tdf/libreoffice/stable/26.2.3/win/x86_64/LibreOffice_26.2.3_Win_x86-64.msi",
9861
9861
  binPath: "LibreOffice/program/soffice.exe",
9862
- sizeMb: 350
9862
+ sizeMb: 360
9863
9863
  }
9864
9864
  };
9865
9865
  async function findInPath() {
@@ -9912,6 +9912,7 @@ async function findInDefaultPaths() {
9912
9912
  }
9913
9913
  async function downloadWithProgress(url, dest, totalBytes, onProgress) {
9914
9914
  const response = await fetch(url);
9915
+ if (!response.ok) throw new Error(`\uB2E4\uC6B4\uB85C\uB4DC \uC2E4\uD328: HTTP ${response.status} (${url})`);
9915
9916
  if (!response.body) throw new Error("\uB2E4\uC6B4\uB85C\uB4DC \uC2E4\uD328: response body \uC5C6\uC74C");
9916
9917
  const file = createWriteStream(dest);
9917
9918
  const reader = response.body.getReader();
@@ -10689,4 +10690,4 @@ export {
10689
10690
  cfb/cfb.js:
10690
10691
  (*! crc32.js (C) 2014-present SheetJS -- http://sheetjs.com *)
10691
10692
  */
10692
- //# sourceMappingURL=chunk-FZJLIDFL.js.map
10693
+ //# sourceMappingURL=chunk-OF2YI3AC.js.map