@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 +42 -39
- package/dist/dpuse-tool-file-previewer.es.js +946 -758
- package/dist/dpuse-tool-file-previewer.es.js.map +1 -1
- package/dist/shipped-packages.json +5 -5
- package/package.json +14 -13
package/README.md
CHANGED
|
@@ -6,8 +6,8 @@
|
|
|
6
6
|
<!-- OPENING_START -->
|
|
7
7
|
|
|
8
8
|
[](./LICENSE)
|
|
9
|
-
[](https://github.com/dpuse/dpuse-tool-file-previewer/releases/latest)
|
|
10
|
+
[](https://www.npmjs.com/package/@dpuse/dpuse-tool-file-previewer)
|
|
11
11
|
[](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.
|
|
69
|
-
| [@tokenizer/inflate](https://github.com/Borewit/tokenizer-inflate) | 0.
|
|
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.
|
|
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.
|
|
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.
|
|
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.
|
|
84
|
-
- **[file-type](https://github.com/sindresorhus/file-type)** 22.
|
|
85
|
-
- **[valibot](https://github.com/open-circle/valibot)** 1.5.0 —
|
|
86
|
-
- **[file-type](https://github.com/sindresorhus/file-type)** 22.
|
|
87
|
-
- **[@tokenizer/inflate](https://github.com/Borewit/tokenizer-inflate)** 0.
|
|
88
|
-
- **[debug](https://github.com/debug-js/debug)** 4.4.3 —
|
|
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.
|
|
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 —
|
|
93
|
-
- **[uint8array-extras](https://github.com/sindresorhus/uint8array-extras)** 1.
|
|
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
|
|
107
|
-
|
|
|
108
|
-
| **dist/dpuse-tool-file-previewer.es.js**
|
|
109
|
-
| jschardet → dist/jschardet.esm.min.js
|
|
110
|
-
| file-type
|
|
111
|
-
| ↳ 8 smaller files
|
|
112
|
-
| @dpuse/dpuse-shared → dist/dpuse-shared.es.js
|
|
113
|
-
| strtok3
|
|
114
|
-
| ↳
|
|
115
|
-
| @tokenizer/inflate
|
|
116
|
-
| ↳
|
|
117
|
-
| debug
|
|
118
|
-
| ↳ 2 smaller files
|
|
119
|
-
| src → index.ts
|
|
120
|
-
| @borewit/text-codec → lib/index.js
|
|
121
|
-
| ms → index.js
|
|
122
|
-
|
|
|
123
|
-
|
|
|
124
|
-
| (bundler output, whitespace & JSON)
|
|
106
|
+
| Chunk/Module/File | Composition |
|
|
107
|
+
| :---------------------------------------------------------------------- | :------------------------------------------------------------------------------------------------ |
|
|
108
|
+
| **dist/dpuse-tool-file-previewer.es.js** | 1238.2 kB · gzip 717.5 kB · 100.0% of the build |
|
|
109
|
+
| jschardet → dist/jschardet.esm.min.js | `██████████████████░░` 90.6% · 1122.3 kB |
|
|
110
|
+
| file-type → source/index.js + 7 more | `█░░░░░░░░░░░░░░░░░░░` 3.7% · 45.3 kB |
|
|
111
|
+
| ↳ 8 smaller files | `▒░░░░░░░░░░░░░░░░░░░` 3.7% · 45.3 kB |
|
|
112
|
+
| @dpuse/dpuse-shared → dist/dpuse-shared.es.js | `░░░░░░░░░░░░░░░░░░░░` 1.3% · 15.8 kB |
|
|
113
|
+
| strtok3 → lib/AbstractTokenizer.js + 12 more | `░░░░░░░░░░░░░░░░░░░░` 0.8% · 9.4 kB |
|
|
114
|
+
| ↳ 13 smaller files | `░░░░░░░░░░░░░░░░░░░░` 0.8% · 9.4 kB |
|
|
115
|
+
| @tokenizer/inflate → lib/ZipHandler.js + 3 more | `░░░░░░░░░░░░░░░░░░░░` 0.7% · 8.4 kB |
|
|
116
|
+
| ↳ 4 smaller files | `░░░░░░░░░░░░░░░░░░░░` 0.7% · 8.4 kB |
|
|
117
|
+
| debug → src/browser.js + 1 more | `░░░░░░░░░░░░░░░░░░░░` 0.4% · 5.1 kB |
|
|
118
|
+
| ↳ 2 smaller files | `░░░░░░░░░░░░░░░░░░░░` 0.4% · 5.1 kB |
|
|
119
|
+
| src → index.ts | `░░░░░░░░░░░░░░░░░░░░` 0.4% · 4.8 kB |
|
|
120
|
+
| @borewit/text-codec → lib/index.js | `░░░░░░░░░░░░░░░░░░░░` 0.3% · 3.4 kB |
|
|
121
|
+
| ms → index.js | `░░░░░░░░░░░░░░░░░░░░` 0.1% · 1.6 kB |
|
|
122
|
+
| uint8array-extras → index.js | `░░░░░░░░░░░░░░░░░░░░` 0.1% · 1.2 kB |
|
|
123
|
+
| token-types → lib/index.js | `░░░░░░░░░░░░░░░░░░░░` 0.1% · 1018 B |
|
|
124
|
+
| (bundler output, whitespace & JSON) | `░░░░░░░░░░░░░░░░░░░░` 1.6% · 19.8 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 |  [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
|
|