@dpuse/dpuse-tool-file-previewer 1.0.117 → 1.0.118

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.
package/README.md CHANGED
@@ -84,7 +84,7 @@ The dependency tree below shows how each package in the table above is reached
84
84
  - **[file-type](https://github.com/sindresorhus/file-type)** 22.2.0 — this month: 2026-10-14
85
85
  - **[valibot](https://github.com/open-circle/valibot)** 1.5.0 — 1 mth ago: 2026-09-09
86
86
  - **[file-type](https://github.com/sindresorhus/file-type)** 22.2.0 — this month: 2026-10-14
87
- - **[@tokenizer/inflate](https://github.com/Borewit/tokenizer-inflate)** 0.5.1 — this month: 2026-10-13 → latest: 0.5.2 — this month: 2026-10-24 ❗
87
+ - **[@tokenizer/inflate](https://github.com/Borewit/tokenizer-inflate)** 0.5.1 — this month: 2026-10-13 → latest: 0.6.0 — this month: 2026-10-24 ❗
88
88
  - **[debug](https://github.com/debug-js/debug)** 4.4.3 — 13 mths ago: 2025-09-13 ⚠️
89
89
  - **[token-types](https://github.com/Borewit/token-types)** 6.1.2 — 9 mths ago: 2026-01-01 ⚠️
90
90
  - **[strtok3](https://github.com/Borewit/strtok3)** 10.6.2 — this month: 2026-10-18
@@ -9013,10 +9013,10 @@ var Nc = .2, Pc = 4096, Fc = {
9013
9013
  let i = await fetch(encodeURI(e), {
9014
9014
  headers: { Range: `bytes=0-${String((n ?? Pc) - 1)}` },
9015
9015
  signal: t
9016
- });
9016
+ }), a = jc(new URL(e).pathname)?.toLowerCase();
9017
+ if (i.status === 416) return await Uc(/* @__PURE__ */ new Uint8Array(), a, r);
9017
9018
  if (!i.ok) throw await Tc(i, `Failed to fetch '${e}' file.`, "dpuse-tool-file-previewer.previewRemoteFile");
9018
- let a = new Uint8Array(await i.arrayBuffer()), o = jc(new URL(e).pathname)?.toLowerCase();
9019
- return await Uc(a, o, r);
9019
+ return await Uc(new Uint8Array(await i.arrayBuffer()), a, r);
9020
9020
  }
9021
9021
  };
9022
9022
  async function Uc(e, t, n) {