@dpuse/dpuse-tool-file-previewer 1.0.136 → 1.0.138

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
@@ -3,9 +3,11 @@
3
3
  <!-- OPENING_START -->
4
4
 
5
5
  [![License: MIT](https://img.shields.io/badge/License-MIT-blue.svg)](./LICENSE)
6
+ [![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)
7
+ [![CodeQL](https://github.com/dpuse/dpuse-tool-file-previewer/actions/workflows/codeql.yml/badge.svg)](https://github.com/dpuse/dpuse-tool-file-previewer/security/code-scanning)
8
+ ![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)
6
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)
7
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)
8
- [![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)
9
11
 
10
12
  A library that wraps file-type and jschardet to identify a file's format and encoding from its first bytes, and return a decoded sample of its text.
11
13
 
@@ -13,15 +15,15 @@ A library that wraps file-type and jschardet to identify a file's format and enc
13
15
 
14
16
  ## About DPUse
15
17
 
16
- [DPUse](https://www.dpuse.app) (Data Positioning & Use) is an in-browser application that positions your data for use through three core activities: sourcing, contextualising, and publishing.
18
+ DPUse (Data Positioning & Use) is a browser-based app that helps you prepare your data for use in two main steps: Sourcing and Contextualising. Once your data is contextualised, Presentations and Cookbooks give you two ways to put it to use.
17
19
 
18
- **Sourcing** uses a library of [Connectors](https://www.dpuse.app/connectors) to establish [Connections](https://www.dpuse.app) to applications, databases, file stores, and curated datasets; these connections are subsequently used to configure structured [Data Views](https://www.dpuse.app) from the underlying sources.
20
+ **Sourcing** uses Connectors to link to applications, databases, file stores, and curated datasets. These Connections help you set up tabular Data Views from your sources.
19
21
 
20
- **Contextualising** extracts chronological events from those [Data Views](https://www.dpuse.app) and maps them into comprehensive [Context Models](https://www.dpuse.app). This gives the DPUse Engine the structural framework needed to generate deterministic transactions, facts, or observations.
22
+ **Contextualising** maps events from your Data Views to detailed Context Models. These models give the DPUse Engine the structure it needs to create clear transactions, facts, or observations.
21
23
 
22
- **Publishing** uses a library of [Presenters](https://www.dpuse.app) to render standard [Presentations](https://www.dpuse.app) immediately using the contextualised data; additionally, [Cookbooks](https://www.dpuse.app) of [Recipes](https://www.dpuse.app) let you build Data Apps using your preferred tools.
24
+ **Presentations** use ready-made Presenters to show your contextualised data in a meaningful way as soon as it's ready.
23
25
 
24
- In addition, DPUse provides [Tools](https://www.dpuse.app) used by the application, and you can use them to construct connectors and presenters.
26
+ **Cookbooks** of Recipes guide you in building Data Apps, and additional Presenters, with your contextualised data using your preferred tools.
25
27
 
26
28
  ## Introduction
27
29
 
@@ -39,6 +41,8 @@ This [package](https://www.npmjs.com/package/@dpuse/dpuse-tool-file-previewer) i
39
41
  npm install @dpuse/dpuse-tool-file-previewer
40
42
  ```
41
43
 
44
+ _Requires [Node.js](https://nodejs.org/) 24 or later, [npm](https://www.npmjs.com/) 12 or later._
45
+
42
46
  To work on the source instead, clone this repository.
43
47
 
44
48
  ```bash
@@ -47,22 +51,30 @@ cd dpuse-tool-file-previewer
47
51
  npm install
48
52
  ```
49
53
 
50
- _Requires [Node.js](https://nodejs.org/) 24 or later, [npm](https://www.npmjs.com/) 12 or later, and [TypeScript](https://www.typescriptlang.org/) 6.0.3 or later._
54
+ _Working on the source also requires [TypeScript](https://www.typescriptlang.org/) 6.0.3 or a later 6.0 release. Later versions, including TypeScript 7, are not supported yet._
51
55
 
52
56
  This repository is managed using the common set of actions provided by [@dpuse/dpuse-development](https://github.com/dpuse/dpuse-development). See the `scripts` block in [package.json](https://github.com/dpuse/dpuse-tool-file-previewer/blob/main/package.json) for details.
53
57
 
58
+ ### Release Status
59
+
60
+ DPUse is a new product, and this package is a release candidate: complete and in use across DPUse, but not yet at its first stable release.
61
+
62
+ The last number of the version increases with every push to GitHub, whether or not that push is released, so the versions of consecutive releases can skip numbers, for example from 1.1.120 to 1.1.124. Until the first stable release, any release may include changes that need updates in the projects that use it, so depend on an exact version to avoid unexpected changes. Once stable, versions will follow [Semantic Versioning](https://semver.org): breaking changes in the first number, new features in the second and fixes in the last.
63
+
64
+ Every release is listed on the [Releases](https://github.com/dpuse/dpuse-tool-file-previewer/releases) page.
65
+
54
66
  <!-- USAGE_END -->
55
67
 
56
68
  <!-- DEPENDENCY_LICENSES_START -->
57
69
 
58
70
  ## Dependency Licenses
59
71
 
60
- License data is updated each time `npm run document` is run, using [license-checker](https://github.com/RSeidelsohn/license-checker-rseidelsohn). The following table lists every package whose code, styles or assets are included in this project's build, as recorded by the build itself. Modules loaded at run time are not included; each documents its own. These dependencies have been checked and confirmed to use 0BSD or MIT, all of which allow commercial use. All are used unmodified, so any licence conditions that apply only to modified versions are not triggered. Developers cloning this repository should independently verify development dependencies.
72
+ License data is updated each time `npm run document` is run, using [CycloneDX](https://github.com/CycloneDX/cyclonedx-node-npm). The following table lists every package whose code, styles or assets are included in this project's build, as recorded by the build itself. Modules loaded at run time are not included; each documents its own. These dependencies have been checked and confirmed to use 0BSD or MIT, all of which allow commercial use. All are used as published. Where the build has to adjust a dependency so it can be bundled, the adjustment only affects how its files are located and loaded, never what the code does. Developers cloning this repository should independently verify development dependencies.
61
73
 
62
74
  | Dependency | Version | License(s) | Document |
63
75
  | :--------------------------------------------------------------------- | :-----: | :--------- | :-------------------------------------------------------------------- |
64
76
  | [@borewit/text-codec](https://github.com/Borewit/text-codec) | 0.2.3 | MIT | [LICENSE](licenses/downloads/@borewit/text-codec@0.2.3-LICENSE.txt) |
65
- | [@dpuse/dpuse-shared](https://github.com/dpuse/dpuse-shared) | 1.0.211 | MIT | [LICENSE](licenses/downloads/@dpuse/dpuse-shared@1.0.211-LICENSE.txt) |
77
+ | [@dpuse/dpuse-shared](https://github.com/dpuse/dpuse-shared) | 1.0.256 | MIT | [LICENSE](licenses/downloads/@dpuse/dpuse-shared@1.0.256-LICENSE.txt) |
66
78
  | [@tokenizer/inflate](https://github.com/Borewit/tokenizer-inflate) | 0.6.0 | MIT | [LICENSE](licenses/downloads/@tokenizer/inflate@0.6.0-LICENSE.txt) |
67
79
  | [debug](https://github.com/debug-js/debug) | 4.4.3 | MIT | [LICENSE](licenses/downloads/debug@4.4.3-LICENSE.txt) |
68
80
  | [file-type](https://github.com/sindresorhus/file-type) | 22.3.0 | MIT | [LICENSE](licenses/downloads/file-type@22.3.0-LICENSE.txt) |
@@ -77,19 +89,20 @@ License data is updated each time `npm run document` is run, using [license-chec
77
89
 
78
90
  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.
79
91
 
80
- - **[@dpuse/dpuse-shared](https://github.com/dpuse/dpuse-shared)** 1.0.211 — this month: 2026-11-11
92
+ - **[@dpuse/dpuse-shared](https://github.com/dpuse/dpuse-shared)** 1.0.256 — this month: 2026-11-28
81
93
  - **[file-type](https://github.com/sindresorhus/file-type)** 22.3.0 — this month: 2026-10-29
82
94
  - **[valibot](https://github.com/open-circle/valibot)** 1.5.0 — 2 mths ago: 2026-09-09
83
95
  - **[file-type](https://github.com/sindresorhus/file-type)** 22.3.0 — this month: 2026-10-29
84
- - **[@tokenizer/inflate](https://github.com/Borewit/tokenizer-inflate)** 0.6.0 — this month: 2026-10-24
85
- - **[debug](https://github.com/debug-js/debug)** 4.4.3 — 13 mths ago: 2025-09-13 ⚠️
86
- - **[strtok3](https://github.com/Borewit/strtok3)** 10.7.0 — this month: 2026-11-02
96
+ - **[@tokenizer/inflate](https://github.com/Borewit/tokenizer-inflate)** 0.6.0 — 1 mth ago: 2026-10-24 → latest: 0.6.1 — this month: 2026-11-15 ❗
97
+ - **[debug](https://github.com/debug-js/debug)** 4.4.3 — 14 mths ago: 2025-09-13 ⚠️
98
+ - **[strtok3](https://github.com/Borewit/strtok3)** 10.7.0 — this month: 2026-11-02 → latest: 10.8.0 — this month: 2026-11-13 ❗
87
99
  - **[token-types](https://github.com/Borewit/token-types)** 6.2.0 — this month: 2026-11-02
88
- - **[strtok3](https://github.com/Borewit/strtok3)** 10.7.0 — this month: 2026-11-02
100
+ - **[strtok3](https://github.com/Borewit/strtok3)** 10.7.0 — this month: 2026-11-02 → latest: 10.8.0 — this month: 2026-11-13 ❗
89
101
  - **[token-types](https://github.com/Borewit/token-types)** 6.2.0 — this month: 2026-11-02
90
- - **[@borewit/text-codec](https://github.com/Borewit/text-codec)** 0.2.3 — this month: 2026-10-28
91
- - **[uint8array-extras](https://github.com/sindresorhus/uint8array-extras)** 1.6.0 — 1 mth ago: 2026-09-26
92
- - **[jschardet](https://github.com/aadsm/jschardet)** 4.1.0 — this month: 2026-10-25
102
+ - **[@borewit/text-codec](https://github.com/Borewit/text-codec)** 0.2.3 — 1 mth ago: 2026-10-28
103
+ - **[uint8array-extras](https://github.com/sindresorhus/uint8array-extras)** 1.6.0 — 2 mths ago: 2026-09-26
104
+ - **[jschardet](https://github.com/aadsm/jschardet)** 4.1.0 — 1 mth ago: 2026-10-25
105
+ - **[ms](https://github.com/vercel/ms)** 2.1.3 — 71 mths ago: 2020-12-08 ⚠️
93
106
 
94
107
  <!-- DEPENDENCY_LICENSES_END -->
95
108
 
@@ -101,28 +114,23 @@ This report is updated with each release, from the bundle the release builds, us
101
114
 
102
115
  _Note: Sonda's Vite reports currently exclude CSS files, since Vite does not generate source maps for CSS._
103
116
 
104
- | Chunk/Module/File | Composition |
105
- | :---------------------------------------------------------------------- | :------------------------------------------------------------------------------------------------ |
106
- | **dist/dpuse-tool-file-previewer.es.js** | 1263.6&nbsp;kB&nbsp;·&nbsp;gzip&nbsp;724.5&nbsp;kB&nbsp;·&nbsp;100.0%&nbsp;of&nbsp;the&nbsp;build |
107
- | &nbsp;&nbsp;&nbsp;&nbsp;jschardet → dist/jschardet.esm.min.js | `██████████████████░░`&nbsp;89.6%&nbsp;·&nbsp;1132.0&nbsp;kB |
108
- | &nbsp;&nbsp;&nbsp;&nbsp;file-type → source/index.js + 7 more | `█░░░░░░░░░░░░░░░░░░░`&nbsp;3.4%&nbsp;·&nbsp;42.9&nbsp;kB |
109
- | &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;↳ 8 smaller files | `▒░░░░░░░░░░░░░░░░░░░`&nbsp;3.4%&nbsp;·&nbsp;42.9&nbsp;kB |
110
- | &nbsp;&nbsp;&nbsp;&nbsp;@dpuse/dpuse-shared → dist/dpuse-shared.es.js | `░░░░░░░░░░░░░░░░░░░░`&nbsp;1.8%&nbsp;·&nbsp;22.5&nbsp;kB |
111
- | &nbsp;&nbsp;&nbsp;&nbsp;strtok3 → lib/TokenizerView.js + 15 more | `░░░░░░░░░░░░░░░░░░░░`&nbsp;1.1%&nbsp;·&nbsp;13.8&nbsp;kB |
112
- | &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;↳ 16 smaller files | `░░░░░░░░░░░░░░░░░░░░`&nbsp;1.1%&nbsp;·&nbsp;13.8&nbsp;kB |
113
- | &nbsp;&nbsp;&nbsp;&nbsp;@tokenizer/inflate → lib/ZipHandler.js + 3 more | `░░░░░░░░░░░░░░░░░░░░`&nbsp;0.8%&nbsp;·&nbsp;10.2&nbsp;kB |
114
- | &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;↳ 4 smaller files | `░░░░░░░░░░░░░░░░░░░░`&nbsp;0.8%&nbsp;·&nbsp;10.2&nbsp;kB |
115
- | &nbsp;&nbsp;&nbsp;&nbsp;src → index.ts + 2 more | `░░░░░░░░░░░░░░░░░░░░`&nbsp;0.6%&nbsp;·&nbsp;7.7&nbsp;kB |
116
- | &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;↳ 3 smaller files | `░░░░░░░░░░░░░░░░░░░░`&nbsp;0.6%&nbsp;·&nbsp;7.7&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;@borewit/text-codec → lib/index.js | `░░░░░░░░░░░░░░░░░░░░`&nbsp;0.4%&nbsp;·&nbsp;4.9&nbsp;kB |
120
- | &nbsp;&nbsp;&nbsp;&nbsp;ms → index.js | `░░░░░░░░░░░░░░░░░░░░`&nbsp;0.1%&nbsp;·&nbsp;1.6&nbsp;kB |
121
- | &nbsp;&nbsp;&nbsp;&nbsp;token-types → dist/lib/index.js | `░░░░░░░░░░░░░░░░░░░░`&nbsp;0.1%&nbsp;·&nbsp;1.2&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;(bundler output, whitespace & JSON) | `░░░░░░░░░░░░░░░░░░░░`&nbsp;1.6%&nbsp;·&nbsp;20.7&nbsp;kB |
124
-
125
- Bars show each row's share of its output file. ↳ rows are part of the row above.
117
+ | Chunk/Module/File | Composition |
118
+ | :---------------------------------------------------------------------- | :--------------------------------------------------------------------------------------------- |
119
+ | **dist/dpuse-tool-file-previewer.es.js** | 1.2&nbsp;MB&nbsp;·&nbsp;gzip&nbsp;724.6&nbsp;kB&nbsp;·&nbsp;100.0%&nbsp;of&nbsp;the&nbsp;build |
120
+ | &nbsp;&nbsp;&nbsp;&nbsp;jschardet → dist/jschardet.esm.min.js | `██████████████████░░`&nbsp;89.5%&nbsp;·&nbsp;1.1&nbsp;MB |
121
+ | &nbsp;&nbsp;&nbsp;&nbsp;file-type → source/index.js + 7 more | `█░░░░░░░░░░░░░░░░░░░`&nbsp;3.4%&nbsp;·&nbsp;42.9&nbsp;kB |
122
+ | &nbsp;&nbsp;&nbsp;&nbsp;@dpuse/dpuse-shared → dist/dpuse-shared.es.js | `░░░░░░░░░░░░░░░░░░░░`&nbsp;1.9%&nbsp;·&nbsp;23.7&nbsp;kB |
123
+ | &nbsp;&nbsp;&nbsp;&nbsp;strtok3 → lib/TokenizerView.js + 15 more | `░░░░░░░░░░░░░░░░░░░░`&nbsp;1.1%&nbsp;·&nbsp;13.7&nbsp;kB |
124
+ | &nbsp;&nbsp;&nbsp;&nbsp;@tokenizer/inflate → lib/ZipHandler.js + 3 more | `░░░░░░░░░░░░░░░░░░░░`&nbsp;0.8%&nbsp;·&nbsp;10.2&nbsp;kB |
125
+ | &nbsp;&nbsp;&nbsp;&nbsp;src → index.ts + 2 more | `░░░░░░░░░░░░░░░░░░░░`&nbsp;0.6%&nbsp;·&nbsp;7.7&nbsp;kB |
126
+ | &nbsp;&nbsp;&nbsp;&nbsp;debug → src/browser.js + 1 more | `░░░░░░░░░░░░░░░░░░░░`&nbsp;0.4%&nbsp;·&nbsp;5.0&nbsp;kB |
127
+ | &nbsp;&nbsp;&nbsp;&nbsp;@borewit/text-codec → lib/index.js | `░░░░░░░░░░░░░░░░░░░░`&nbsp;0.4%&nbsp;·&nbsp;4.9&nbsp;kB |
128
+ | &nbsp;&nbsp;&nbsp;&nbsp;ms → index.js | `░░░░░░░░░░░░░░░░░░░░`&nbsp;0.1%&nbsp;·&nbsp;1.6&nbsp;kB |
129
+ | &nbsp;&nbsp;&nbsp;&nbsp;token-types → dist/lib/index.js | `░░░░░░░░░░░░░░░░░░░░`&nbsp;0.1%&nbsp;·&nbsp;1.2&nbsp;kB |
130
+ | &nbsp;&nbsp;&nbsp;&nbsp;uint8array-extras → index.js | `░░░░░░░░░░░░░░░░░░░░`&nbsp;0.1%&nbsp;·&nbsp;1.2&nbsp;kB |
131
+ | &nbsp;&nbsp;&nbsp;&nbsp;(bundler output, whitespace & JSON) | `░░░░░░░░░░░░░░░░░░░░`&nbsp;1.6%&nbsp;·&nbsp;20.8&nbsp;kB |
132
+
133
+ Bars show each row's share of its output file.
126
134
 
127
135
  - 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.
128
136
 
@@ -138,36 +146,35 @@ This section is updated each time `npm run document` is run. Settings come from
138
146
 
139
147
  ### Testing
140
148
 
141
- | Check | Status | What it does |
142
- | :------------------- | :----- | :------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ |
143
- | 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`. |
144
- | Property-based tests | ❌ Off | [fast-check](https://fast-check.dev) runs many random inputs per test to find edge cases, alongside the unit tests. |
145
- | 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%. |
149
+ | Check | Status | What it does |
150
+ | :------------------- | :----- | :------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
151
+ | 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`. |
152
+ | Property-based tests | ❌ Off | [fast-check](https://fast-check.dev) runs many random inputs per test to find edge cases, alongside the unit tests. |
153
+ | Test coverage | ✅ On | [Vitest's V8 coverage](https://vitest.dev/guide/coverage) measures the share of source lines the unit tests run. |
146
154
 
147
155
  ### Code Quality
148
156
 
149
- | Check | Status | What it does |
150
- | :------------ | :----- | :--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
151
- | Code analysis | ❌ Off | [SonarCloud](https://sonarcloud.io) checks every push for bugs, code smells and vulnerabilities. |
152
- | Linting | ✅ On | [ESLint](https://eslint.org) checks the code for errors and style problems. 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`. |
157
+ | Check | Status | What it does |
158
+ | :------------ | :----- | :------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
159
+ | Linting | ✅ On | [ESLint](https://eslint.org) checks the code for errors and style problems, and the [TypeScript](https://www.typescriptlang.org/) compiler type-checks the whole project. 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`. |
160
+ | Code analysis | ❌ Off | [SonarCloud](https://sonarcloud.io) checks every push for bugs, code smells and vulnerabilities. |
153
161
 
154
162
  ### Security Analysis
155
163
 
156
- | Check | Status | What it does |
157
- | :-------------- | :----- | :------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
158
- | Push protection | ✅ On | [GitHub push protection](https://docs.github.com/en/code-security/secret-scanning/push-protection-for-repositories-and-organizations) blocks pushes that contain credentials. |
159
- | Static analysis | ✅ On | [![CodeQL](https://github.com/dpuse/dpuse-tool-file-previewer/actions/workflows/codeql.yml/badge.svg)](https://github.com/dpuse/dpuse-tool-file-previewer/security/code-scanning) [CodeQL](https://codeql.github.com) scans GitHub Actions and JavaScript/TypeScript for security vulnerabilities, using the extended security queries, on every push and pull request to `main` and weekly. |
160
- | Secret scanning | ✅ On | [GitHub secret scanning](https://docs.github.com/en/code-security/secret-scanning) detects credentials, such as API keys and tokens, committed to the repository. |
164
+ | Check | Status | What it does |
165
+ | :-------------- | :----- | :---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
166
+ | Push protection | ✅ On | [GitHub push protection](https://docs.github.com/en/code-security/secret-scanning/push-protection-for-repositories-and-organizations) blocks pushes that contain credentials. |
167
+ | Static analysis | ✅ On | [GitHub CodeQL](https://codeql.github.com) scans GitHub Actions and JavaScript/TypeScript for security vulnerabilities, using the extended security queries, on every push and pull request to `main` and weekly. |
168
+ | Secret scanning | ✅ On | [GitHub secret scanning](https://docs.github.com/en/code-security/secret-scanning) detects credentials, such as API keys and tokens, committed to the repository. |
161
169
 
162
170
  ### Dependencies
163
171
 
164
172
  | Check | Status | What it does |
165
173
  | :------------------ | :----- | :------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
166
174
  | Vulnerability audit | ✅ On | [npm audit](https://docs.npmjs.com/cli/commands/npm-audit) fails when a shipped dependency has any known vulnerability, or a development dependency has a high or critical one. 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`. |
167
- | Supply chain risk | ✅ On | [Socket](https://socket.dev) flags malicious packages, typosquatting and suspicious behaviour that may not yet have a CVE. |
168
- | Security alerts | ✅ On | [Dependabot](https://docs.github.com/en/code-security/dependabot) alerts when a dependency has a known vulnerability, using the GitHub Advisory Database. |
169
- | Security updates | ❌ Off | [Dependabot](https://docs.github.com/en/code-security/dependabot) opens pull requests that update vulnerable dependencies. These are handled manually. |
170
- | Version updates | ❌ Off | [Dependabot](https://docs.github.com/en/code-security/dependabot) opens pull requests for new dependency versions. These are handled manually. |
175
+ | Supply chain risk | ✅ On | [Socket.dev](https://socket.dev) flags malicious packages, typosquatting and suspicious behaviour that may not yet have a CVE. |
176
+ | Security alerts | ✅ On | [GitHub Dependabot](https://docs.github.com/en/code-security/dependabot) alerts when a dependency has a known vulnerability, using the GitHub Advisory Database. |
177
+ | Dependency updates | ❌ Off | [GitHub Dependabot](https://docs.github.com/en/code-security/dependabot) can open pull requests for new and vulnerable dependency versions. Dependencies are updated by hand with `npm run check` instead. |
171
178
 
172
179
  ### OpenSSF 🚧
173
180
 
@@ -185,7 +192,7 @@ Please do not open public GitHub issues for security vulnerabilities. Use [GitHu
185
192
 
186
193
  ## Contributing
187
194
 
188
- This repository is maintained solely by its owner and does not, at present, accept external contributions into the canonical repo. Its source is published openly under the MIT License — every DPUse project is fully open source except DPUse Engine, which remains closed and proprietary.
195
+ This repository is maintained solely by its owner and does not, at present, accept external contributions.
189
196
 
190
197
  For security vulnerabilities, see [Reporting Vulnerabilities](#reporting-vulnerabilities). For bugs, inconsistencies, or other feedback, [open a GitHub issue](https://github.com/dpuse/dpuse-tool-file-previewer/issues) — feedback is read, but responses and fixes are at the maintainer's discretion.
191
198