@dpuse/dpuse-shared 0.3.838 → 0.3.849
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 +39 -22
- package/package.json +4 -4
package/README.md
CHANGED
|
@@ -28,8 +28,6 @@ In addition, DPUse provides [Tools](https://www.dpuse.app) used by the applicati
|
|
|
28
28
|
|
|
29
29
|
<!-- OPENING_END -->
|
|
30
30
|
|
|
31
|
-
## Usage
|
|
32
|
-
|
|
33
31
|
<!-- USAGE_START -->
|
|
34
32
|
|
|
35
33
|
This connector is automatically uploaded to the DPUse Engine cloud once released and becomes instantly available to all new browser app instances, with existing instances notified of the update.
|
|
@@ -234,24 +232,42 @@ _Note: Sonda's Vite reports currently exclude CSS files, since Vite does not gen
|
|
|
234
232
|
|
|
235
233
|
## Security & Quality
|
|
236
234
|
|
|
237
|
-
###
|
|
238
|
-
|
|
239
|
-
|
|
240
|
-
|
|
241
|
-
|
|
242
|
-
|
|
243
|
-
[
|
|
244
|
-
|
|
245
|
-
|
|
246
|
-
|
|
247
|
-
|
|
248
|
-
|
|
249
|
-
|
|
250
|
-
|
|
251
|
-
|
|
252
|
-
|
|
253
|
-
|
|
254
|
-
|
|
235
|
+
### Checks & Settings
|
|
236
|
+
|
|
237
|
+
Read from the repository each time this README is generated, so the status is current as of the latest release.
|
|
238
|
+
|
|
239
|
+
|Check or setting|Status|What it does|
|
|
240
|
+
|:-|:-|:-|
|
|
241
|
+
|[CodeQL](https://github.com/dpuse/dpuse-shared/security/code-scanning)|✅ GitHub Actions, JavaScript/TypeScript|Static analysis for security vulnerabilities and coding errors, on every push and pull request to `main` and weekly.|
|
|
242
|
+
|[SonarCloud](https://sonarcloud.io/summary/new_code?id=dpuse_dpuse-shared)|✅ On|Code quality and security analysis on every push: bugs, code smells and vulnerabilities.|
|
|
243
|
+
|Unit tests|✅ On|Run in CI on every push to `main`.|
|
|
244
|
+
|Property-based tests|✅ fast-check|Fuzz testing: many random inputs per test to find edge cases, run with the unit tests.|
|
|
245
|
+
|npm audit|✅ On|Fails CI when any dependency has a known vulnerability.|
|
|
246
|
+
|[Socket.dev](https://socket.dev)|✅ On|Flags supply chain risk in dependencies: malicious packages, typosquatting and suspicious behaviour that may not yet have a CVE.|
|
|
247
|
+
|Dependabot alerts|✅ On|Alerts when a dependency has a known vulnerability, using the GitHub Advisory Database.|
|
|
248
|
+
|Dependabot security updates|❌ Off|Opens pull requests that update vulnerable dependencies.|
|
|
249
|
+
|Dependabot version updates|❌ Off|Opens pull requests for new dependency versions.|
|
|
250
|
+
|Secret scanning|✅ On|Detects credentials, such as API keys and tokens, committed to the repository.|
|
|
251
|
+
|Push protection|✅ On|Blocks pushes that contain credentials.|
|
|
252
|
+
|Private vulnerability reporting|✅ On|Lets anyone report a vulnerability privately. See [Reporting Vulnerabilities](#reporting-vulnerabilities).|
|
|
253
|
+
|
|
254
|
+
### Code Health
|
|
255
|
+
|
|
256
|
+
[](./code-health-reports/fallow/index.md)
|
|
257
|
+
|
|
258
|
+
[Fallow](https://github.com/fallow-rs/fallow) analyses the TypeScript source on each release for unused code, duplication, complexity, and dependency hygiene. See the [full Fallow report](./code-health-reports/fallow/index.md) for every finding.
|
|
259
|
+
|
|
260
|
+
|Measure|Value|
|
|
261
|
+
|:-|-:|
|
|
262
|
+
|Health score|90.0 (A)|
|
|
263
|
+
|Maintainability (average)|93.1|
|
|
264
|
+
|Unused files|0.0%|
|
|
265
|
+
|Unused exports|0.0%|
|
|
266
|
+
|Duplicated code|0.0%|
|
|
267
|
+
|Functions over the complexity limits|0 of 83|
|
|
268
|
+
|Unused dependencies|0|
|
|
269
|
+
|Circular dependencies|0|
|
|
270
|
+
|Hotspots (complex and often changed)|1|
|
|
255
271
|
|
|
256
272
|
### Reporting Vulnerabilities
|
|
257
273
|
|
|
@@ -259,9 +275,10 @@ Please do not open public GitHub issues for security vulnerabilities. Use [GitHu
|
|
|
259
275
|
|
|
260
276
|
### OpenSSF 🚧
|
|
261
277
|
|
|
278
|
+
[](https://www.bestpractices.dev/projects/14952)
|
|
262
279
|
[](https://scorecard.dev/viewer/?uri=github.com/dpuse/dpuse-shared)
|
|
263
280
|
|
|
264
|
-
This project is working towards the [OpenSSF Best Practices](https://www.bestpractices.dev) Passing badge, a self-certification covering security policy, vulnerability reporting, build processes, code quality, and more. Currently the [OpenSSF Scorecard](https://scorecard.dev/viewer/?uri=github.com/dpuse/dpuse-shared) provides an independent automated assessment of the project's security practices and is an ongoing area of improvement.
|
|
281
|
+
This project is working towards the [OpenSSF Best Practices](https://www.bestpractices.dev) Passing badge, a self-certification covering security policy, vulnerability reporting, build processes, code quality, and more. Currently the [OpenSSF Scorecard](https://scorecard.dev/viewer/?uri=github.com/dpuse/dpuse-shared) provides an independent automated assessment of the project's security practices and is an ongoing area of improvement. Apart from the Best Practices badge above, the remaining Scorecard gaps need multi-person review or a pull-request workflow, which this solo-maintained project doesn't use.
|
|
265
282
|
|
|
266
283
|
## Contributing
|
|
267
284
|
|
|
@@ -273,6 +290,6 @@ For security vulnerabilities, see [Reporting Vulnerabilities](#reporting-vulnera
|
|
|
273
290
|
|
|
274
291
|
This project is licensed under the MIT License, permitting free use, modification, and distribution.
|
|
275
292
|
|
|
276
|
-
[MIT](./LICENSE) © 2026
|
|
293
|
+
[MIT](./LICENSE) © 2026 Jonathan Terrell
|
|
277
294
|
|
|
278
295
|
<!-- GOVERNANCE_END -->
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@dpuse/dpuse-shared",
|
|
3
|
-
"version": "0.3.
|
|
3
|
+
"version": "0.3.849",
|
|
4
4
|
"private": false,
|
|
5
5
|
"description": "Common constants, types and utilities used across all DPUse projects.",
|
|
6
6
|
"license": "MIT",
|
|
@@ -170,12 +170,12 @@
|
|
|
170
170
|
"valibot": "^1.5.0"
|
|
171
171
|
},
|
|
172
172
|
"devDependencies": {
|
|
173
|
-
"@dpuse/dpuse-development": "^0.3.
|
|
173
|
+
"@dpuse/dpuse-development": "^0.3.746",
|
|
174
174
|
"@dpuse/eslint-config-dpuse": "^1.0.123",
|
|
175
|
-
"@types/node": "^26.6.
|
|
175
|
+
"@types/node": "^26.6.3",
|
|
176
176
|
"@vitest/coverage-v8": "^5.0.2",
|
|
177
177
|
"eslint": "^10.11.0",
|
|
178
|
-
"fallow": "^3.
|
|
178
|
+
"fallow": "^3.29.0",
|
|
179
179
|
"fast-check": "^4.10.2",
|
|
180
180
|
"prettier": "^3.9.9",
|
|
181
181
|
"sonda": "^0.14.0",
|