@dpuse/dpuse-tool-file-previewer 1.0.105 → 1.0.112

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
@@ -6,8 +6,8 @@
6
6
  <!-- OPENING_START -->
7
7
 
8
8
  [![License: MIT](https://img.shields.io/badge/License-MIT-blue.svg)](./LICENSE)
9
- [![DPUse version](https://img.shields.io/badge/dynamic/json?url=https%3A%2F%2Fapi.dpuse.app%2Fconfigs%2Fdpuse-tool-file-previewer&query=%24.data.version&prefix=v&label=DPUse&color=f6821f)](https://github.com/dpuse/dpuse-tool-file-previewer/releases/latest)
10
- [![npm version](https://img.shields.io/npm/v/@dpuse/dpuse-tool-file-previewer?color=cb3837&label=npm)](https://www.npmjs.com/package/@dpuse/dpuse-tool-file-previewer)
9
+ [![DPUse version](https://img.shields.io/badge/dynamic/json?url=https%3A%2F%2Fapi.dpuse.app%2Fconfigs%2Fdpuse-tool-file-previewer&query=%24.data.version&prefix=v&label=DPUse&color=blue)](https://github.com/dpuse/dpuse-tool-file-previewer/releases/latest)
10
+ [![npm version](https://img.shields.io/npm/v/@dpuse/dpuse-tool-file-previewer?label=npm)](https://www.npmjs.com/package/@dpuse/dpuse-tool-file-previewer)
11
11
  [![CI](https://github.com/dpuse/dpuse-tool-file-previewer/actions/workflows/ci.yml/badge.svg)](https://github.com/dpuse/dpuse-tool-file-previewer/actions/workflows/ci.yml)
12
12
 
13
13
  ...
@@ -65,32 +65,32 @@ License data is updated each time `npm run document` is run, using [license-chec
65
65
  | Dependency | Version | License(s) | Document |
66
66
  | :--------------------------------------------------------------------- | :-----: | :--------- | :-------------------------------------------------------------------- |
67
67
  | [@borewit/text-codec](https://github.com/Borewit/text-codec) | 0.2.2 | MIT | [LICENSE](licenses/downloads/@borewit/text-codec@0.2.2-LICENSE.txt) |
68
- | [@dpuse/dpuse-shared](https://github.com/dpuse/dpuse-shared) | 1.0.113 | MIT | [LICENSE](licenses/downloads/@dpuse/dpuse-shared@1.0.113-LICENSE.txt) |
69
- | [@tokenizer/inflate](https://github.com/Borewit/tokenizer-inflate) | 0.4.1 | MIT | [LICENSE](licenses/downloads/@tokenizer/inflate@0.4.1-LICENSE.txt) |
68
+ | [@dpuse/dpuse-shared](https://github.com/dpuse/dpuse-shared) | 1.0.129 | MIT | [LICENSE](licenses/downloads/@dpuse/dpuse-shared@1.0.129-LICENSE.txt) |
69
+ | [@tokenizer/inflate](https://github.com/Borewit/tokenizer-inflate) | 0.5.1 | MIT | [LICENSE](licenses/downloads/@tokenizer/inflate@0.5.1-LICENSE.txt) |
70
70
  | [debug](https://github.com/debug-js/debug) | 4.4.3 | MIT | [LICENSE](licenses/downloads/debug@4.4.3-LICENSE.txt) |
71
- | [file-type](https://github.com/sindresorhus/file-type) | 22.1.1 | MIT | [LICENSE](licenses/downloads/file-type@22.1.1-LICENSE.txt) |
71
+ | [file-type](https://github.com/sindresorhus/file-type) | 22.2.0 | MIT | [LICENSE](licenses/downloads/file-type@22.2.0-LICENSE.txt) |
72
72
  | [jschardet](https://github.com/aadsm/jschardet) | 4.0.0 | 0BSD | [LICENSE](licenses/downloads/jschardet@4.0.0-LICENSE.txt) |
73
73
  | [ms](https://github.com/vercel/ms) | 2.1.3 | MIT | [LICENSE](licenses/downloads/ms@2.1.3-LICENSE.txt) |
74
- | [strtok3](https://github.com/Borewit/strtok3) | 10.3.5 | MIT | [LICENSE](licenses/downloads/strtok3@10.3.5-LICENSE.txt) |
74
+ | [strtok3](https://github.com/Borewit/strtok3) | 10.6.2 | MIT | [LICENSE](licenses/downloads/strtok3@10.6.2-LICENSE.txt) |
75
75
  | [token-types](https://github.com/Borewit/token-types) | 6.1.2 | MIT | [LICENSE](licenses/downloads/token-types@6.1.2-LICENSE.txt) |
76
- | [uint8array-extras](https://github.com/sindresorhus/uint8array-extras) | 1.5.0 | MIT | [LICENSE](licenses/downloads/uint8array-extras@1.5.0-LICENSE.txt) |
76
+ | [uint8array-extras](https://github.com/sindresorhus/uint8array-extras) | 1.6.0 | MIT | [LICENSE](licenses/downloads/uint8array-extras@1.6.0-LICENSE.txt) |
77
77
  | [valibot](https://github.com/open-circle/valibot) | 1.5.0 | MIT | [LICENSE](licenses/downloads/valibot@1.5.0-LICENSE.txt) |
78
78
 
79
79
  ### Dependency Tree
80
80
 
81
81
  The dependency tree below shows how each package in the table above is reached — direct and transitive — along with its installed version, release date, and update status. A package that does not ship itself, such as one whose parts are bundled separately, is left out and what ships beneath it is shown in its place. Packages flagged ❗ have a newer version available; ⚠️ indicates a package that hasn't been updated in the last 6 months or longer. Neither flag necessarily indicates a problem: we let new releases stabilise before upgrading, and some packages are mature and stable (have limited or no dependencies), so they require no active development.
82
82
 
83
- - **[@dpuse/dpuse-shared](https://github.com/dpuse/dpuse-shared)** 1.0.113 — this month: 2026-10-05
84
- - **[file-type](https://github.com/sindresorhus/file-type)** 22.1.1 — this month: 2026-09-17
85
- - **[valibot](https://github.com/open-circle/valibot)** 1.5.0 — this month: 2026-09-09
86
- - **[file-type](https://github.com/sindresorhus/file-type)** 22.1.1 — this month: 2026-09-17
87
- - **[@tokenizer/inflate](https://github.com/Borewit/tokenizer-inflate)** 0.4.1 — 10 mths ago: 2025-11-18 ⚠️
88
- - **[debug](https://github.com/debug-js/debug)** 4.4.3 — 12 mths ago: 2025-09-13 ⚠️
83
+ - **[@dpuse/dpuse-shared](https://github.com/dpuse/dpuse-shared)** 1.0.129 — this month: 2026-10-20
84
+ - **[file-type](https://github.com/sindresorhus/file-type)** 22.2.0 — this month: 2026-10-14
85
+ - **[valibot](https://github.com/open-circle/valibot)** 1.5.0 — 1 mth ago: 2026-09-09
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
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
- - **[strtok3](https://github.com/Borewit/strtok3)** 10.3.5 — 6 mths ago: 2026-03-21
90
+ - **[strtok3](https://github.com/Borewit/strtok3)** 10.6.2 — this month: 2026-10-18
91
91
  - **[token-types](https://github.com/Borewit/token-types)** 6.1.2 — 9 mths ago: 2026-01-01 ⚠️
92
- - **[@borewit/text-codec](https://github.com/Borewit/text-codec)** 0.2.2 — 6 mths ago: 2026-03-11
93
- - **[uint8array-extras](https://github.com/sindresorhus/uint8array-extras)** 1.5.0 — 13 mths ago: 2025-08-22 ⚠️ → latest: 1.6.0 — this month: 2026-09-26 ❗
92
+ - **[@borewit/text-codec](https://github.com/Borewit/text-codec)** 0.2.2 — 7 mths ago: 2026-03-11 ⚠️
93
+ - **[uint8array-extras](https://github.com/sindresorhus/uint8array-extras)** 1.6.0 — this month: 2026-09-26
94
94
  - **[jschardet](https://github.com/aadsm/jschardet)** 4.0.0 — this month: 2026-09-26
95
95
 
96
96
  <!-- DEPENDENCY_LICENSES_END -->
@@ -103,28 +103,30 @@ This report is updated with each release, from the bundle the release builds, us
103
103
 
104
104
  _Note: Sonda's Vite reports currently exclude CSS files, since Vite does not generate source maps for CSS._
105
105
 
106
- | Chunk/Module/File | Composition |
107
- | :-------------------------------------------------------------------- | :---------------------------------------------- |
108
- | **dist/dpuse-tool-file-previewer.es.js** | 1232.3 kB · gzip 716.2 kB · 100.0% of the build |
109
- | &nbsp;&nbsp;&nbsp;&nbsp;jschardet → dist/jschardet.esm.min.js | `██████████████████░░` 91.1% · 1122.4 kB |
110
- | &nbsp;&nbsp;&nbsp;&nbsp;file-type | `█░░░░░░░░░░░░░░░░░░░` 3.7% · 45.6 kB |
111
- | &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;↳ 8 smaller files | `▒░░░░░░░░░░░░░░░░░░░` 3.7% · 45.6 kB |
112
- | &nbsp;&nbsp;&nbsp;&nbsp;@dpuse/dpuse-shared → dist/dpuse-shared.es.js | `░░░░░░░░░░░░░░░░░░░░` 1.2% · 14.9 kB |
113
- | &nbsp;&nbsp;&nbsp;&nbsp;strtok3 | `░░░░░░░░░░░░░░░░░░░░` 0.6% · 7.0 kB |
114
- | &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;↳ 11 smaller files | `░░░░░░░░░░░░░░░░░░░░` 0.6% · 7.0 kB |
115
- | &nbsp;&nbsp;&nbsp;&nbsp;@tokenizer/inflate | `░░░░░░░░░░░░░░░░░░░░` 0.5% · 6.5 kB |
116
- | &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;↳ 3 smaller files | `░░░░░░░░░░░░░░░░░░░░` 0.5% · 6.5 kB |
117
- | &nbsp;&nbsp;&nbsp;&nbsp;debug | `░░░░░░░░░░░░░░░░░░░░` 0.4% · 5.1 kB |
118
- | &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;↳ 2 smaller files | `░░░░░░░░░░░░░░░░░░░░` 0.4% · 5.1 kB |
119
- | &nbsp;&nbsp;&nbsp;&nbsp;src → index.ts | `░░░░░░░░░░░░░░░░░░░░` 0.4% · 4.6 kB |
120
- | &nbsp;&nbsp;&nbsp;&nbsp;@borewit/text-codec → lib/index.js | `░░░░░░░░░░░░░░░░░░░░` 0.3% · 3.4 kB |
121
- | &nbsp;&nbsp;&nbsp;&nbsp;ms → index.js | `░░░░░░░░░░░░░░░░░░░░` 0.1% · 1.6 kB |
122
- | &nbsp;&nbsp;&nbsp;&nbsp;token-types → lib/index.js | `░░░░░░░░░░░░░░░░░░░░` 0.1% · 1018 B |
123
- | &nbsp;&nbsp;&nbsp;&nbsp;uint8array-extras → index.js | `░░░░░░░░░░░░░░░░░░░░` 0.1% · 987 B |
124
- | &nbsp;&nbsp;&nbsp;&nbsp;(bundler output, whitespace & JSON) | `░░░░░░░░░░░░░░░░░░░░` 1.6% · 19.3 kB |
106
+ | Chunk/Module/File | Composition |
107
+ | :---------------------------------------------------------------------- | :------------------------------------------------------------------------------------------------ |
108
+ | **dist/dpuse-tool-file-previewer.es.js** | 1238.2&nbsp;kB&nbsp;·&nbsp;gzip&nbsp;717.5&nbsp;kB&nbsp;·&nbsp;100.0%&nbsp;of&nbsp;the&nbsp;build |
109
+ | &nbsp;&nbsp;&nbsp;&nbsp;jschardet → dist/jschardet.esm.min.js | `██████████████████░░`&nbsp;90.6%&nbsp;·&nbsp;1122.3&nbsp;kB |
110
+ | &nbsp;&nbsp;&nbsp;&nbsp;file-type → source/index.js + 7 more | `█░░░░░░░░░░░░░░░░░░░`&nbsp;3.7%&nbsp;·&nbsp;45.3&nbsp;kB |
111
+ | &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;↳ 8 smaller files | `▒░░░░░░░░░░░░░░░░░░░`&nbsp;3.7%&nbsp;·&nbsp;45.3&nbsp;kB |
112
+ | &nbsp;&nbsp;&nbsp;&nbsp;@dpuse/dpuse-shared → dist/dpuse-shared.es.js | `░░░░░░░░░░░░░░░░░░░░`&nbsp;1.3%&nbsp;·&nbsp;15.8&nbsp;kB |
113
+ | &nbsp;&nbsp;&nbsp;&nbsp;strtok3 → lib/AbstractTokenizer.js + 12 more | `░░░░░░░░░░░░░░░░░░░░`&nbsp;0.8%&nbsp;·&nbsp;9.4&nbsp;kB |
114
+ | &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;↳ 13 smaller files | `░░░░░░░░░░░░░░░░░░░░`&nbsp;0.8%&nbsp;·&nbsp;9.4&nbsp;kB |
115
+ | &nbsp;&nbsp;&nbsp;&nbsp;@tokenizer/inflate → lib/ZipHandler.js + 3 more | `░░░░░░░░░░░░░░░░░░░░`&nbsp;0.7%&nbsp;·&nbsp;8.4&nbsp;kB |
116
+ | &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;↳ 4 smaller files | `░░░░░░░░░░░░░░░░░░░░`&nbsp;0.7%&nbsp;·&nbsp;8.4&nbsp;kB |
117
+ | &nbsp;&nbsp;&nbsp;&nbsp;debug → src/browser.js + 1 more | `░░░░░░░░░░░░░░░░░░░░`&nbsp;0.4%&nbsp;·&nbsp;5.1&nbsp;kB |
118
+ | &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;↳ 2 smaller files | `░░░░░░░░░░░░░░░░░░░░`&nbsp;0.4%&nbsp;·&nbsp;5.1&nbsp;kB |
119
+ | &nbsp;&nbsp;&nbsp;&nbsp;src → index.ts | `░░░░░░░░░░░░░░░░░░░░`&nbsp;0.4%&nbsp;·&nbsp;4.8&nbsp;kB |
120
+ | &nbsp;&nbsp;&nbsp;&nbsp;@borewit/text-codec → lib/index.js | `░░░░░░░░░░░░░░░░░░░░`&nbsp;0.3%&nbsp;·&nbsp;3.4&nbsp;kB |
121
+ | &nbsp;&nbsp;&nbsp;&nbsp;ms → index.js | `░░░░░░░░░░░░░░░░░░░░`&nbsp;0.1%&nbsp;·&nbsp;1.6&nbsp;kB |
122
+ | &nbsp;&nbsp;&nbsp;&nbsp;uint8array-extras → index.js | `░░░░░░░░░░░░░░░░░░░░`&nbsp;0.1%&nbsp;·&nbsp;1.2&nbsp;kB |
123
+ | &nbsp;&nbsp;&nbsp;&nbsp;token-types → lib/index.js | `░░░░░░░░░░░░░░░░░░░░`&nbsp;0.1%&nbsp;·&nbsp;1018&nbsp;B |
124
+ | &nbsp;&nbsp;&nbsp;&nbsp;(bundler output, whitespace & JSON) | `░░░░░░░░░░░░░░░░░░░░`&nbsp;1.6%&nbsp;·&nbsp;19.8&nbsp;kB |
125
125
 
126
126
  Bars show each row's share of its output file. ↳ rows are part of the row above.
127
127
 
128
+ - n more = the row also holds n more files from the same package or folder, each no larger than the one named. A package can appear under several output files, each holding different files, never the same file twice.
129
+
128
130
  (bundler output, whitespace & JSON) = bytes Sonda can't trace to a source file: whitespace (indentation and line breaks), code the bundler generates (region comments, the combined import/export lines, its small runtime helper and wrappers), and imported JSON such as `config.json`, which the bundler doesn't map. The JSON and the generated code are real bytes that ship; the whitespace mostly disappears once compressed.
129
131
 
130
132
  <!-- BUNDLE_END -->
@@ -137,10 +139,11 @@ This section is updated each time `npm run document` is run. Settings come from
137
139
 
138
140
  ### Testing
139
141
 
140
- | Check | Status | What it does |
141
- | :------------------- | :----- | :------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
142
- | Unit tests | ✅ On | [Vitest](https://vitest.dev) runs the unit tests. Part of the [CI workflow](https://github.com/dpuse/dpuse-tool-file-previewer/actions/workflows/ci.yml) on every push and pull request to `main`. |
143
- | Property-based tests | ❌ Off | [fast-check](https://fast-check.dev) runs many random inputs per test to find edge cases, alongside the unit tests. |
142
+ | Check | Status | What it does |
143
+ | :------------------- | :----- | :------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ |
144
+ | Unit tests | ✅ On | [Vitest](https://vitest.dev) runs the unit tests. Part of the [CI workflow](https://github.com/dpuse/dpuse-tool-file-previewer/actions/workflows/ci.yml) on every push and pull request to `main`. |
145
+ | Property-based tests | ❌ Off | [fast-check](https://fast-check.dev) runs many random inputs per test to find edge cases, alongside the unit tests. |
146
+ | Test coverage | ✅ On | ![Coverage](https://img.shields.io/endpoint?url=https%3A%2F%2Fraw.githubusercontent.com%2Fdpuse%2Fdpuse-tool-file-previewer%2Fmain%2Fcode-health-reports%2Fvitest%2Fbadge.json) [Vitest's V8 coverage](https://vitest.dev/guide/coverage) measures the share of source lines the unit tests run. The target is 80%. |
144
147
 
145
148
  ### Code Quality
146
149