@bymax-one/nest-storage 1.0.5 → 1.1.0
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/CHANGELOG.md +54 -2
- package/README.md +4 -2
- package/package.json +4 -3
package/CHANGELOG.md
CHANGED
|
@@ -8,6 +8,56 @@ The format follows [Keep a Changelog 1.1.0](https://keepachangelog.com/en/1.1.0/
|
|
|
8
8
|
|
|
9
9
|
## [Unreleased]
|
|
10
10
|
|
|
11
|
+
## [1.1.0] - 2026-08-11
|
|
12
|
+
|
|
13
|
+
Coordinated ecosystem release aligning every `@bymax-one/*` package after the ioredis 6 /
|
|
14
|
+
bullmq 6 migration. **No source, runtime, or public-API change in this package** — the
|
|
15
|
+
published `dist/` is byte-identical to `1.0.6`; the changes below are development
|
|
16
|
+
and CI tooling only.
|
|
17
|
+
|
|
18
|
+
### Changed
|
|
19
|
+
|
|
20
|
+
- Bumped the `dev-dependencies` group with 6 updates. None of these reaches the published bundle.
|
|
21
|
+
- Bumped the pinned `google/osv-scanner-action` CI action from 2.3.8 to 2.5.0.
|
|
22
|
+
- Bumped the pinned `step-security/harden-runner` CI action from 2.20.0 to 2.20.1.
|
|
23
|
+
- Bumped the pinned `pnpm/action-setup` CI action from 6.0.9 to 6.0.10.
|
|
24
|
+
- Bumped the pinned `github/codeql-action/upload-sarif` CI action from 4.37.4 to 4.37.6 in the
|
|
25
|
+
codeql group.
|
|
26
|
+
- Reworked the mutation workflow to run incrementally on each push and to measure cold once a week.
|
|
27
|
+
|
|
28
|
+
## [1.0.6] - 2026-08-06
|
|
29
|
+
|
|
30
|
+
**Documentation and tooling, not behaviour.** `dist/` differs from `1.0.5` only in the text
|
|
31
|
+
of five comments; no runtime code changed.
|
|
32
|
+
|
|
33
|
+
### Fixed
|
|
34
|
+
|
|
35
|
+
- **Five of the six suppression reasons never reached the mutation report.** Stryker captures
|
|
36
|
+
a directive's reason only after the colon and only to the end of that comment line. Five
|
|
37
|
+
directives wrapped their reason onto following `//` lines, so the report kept a truncated
|
|
38
|
+
half-sentence — and for the one on `storage.service.ts` it kept nothing, falling back to
|
|
39
|
+
`Ignored using a comment`. `docs/mutation_testing_results.md` had specified the right shape
|
|
40
|
+
(`<Mutator>: <reason>`) all along; the source did not follow it. Each reason is now on its
|
|
41
|
+
directive line.
|
|
42
|
+
- The README counted **five** `// Stryker disable` comments where the source carries six.
|
|
43
|
+
|
|
44
|
+
### Security
|
|
45
|
+
|
|
46
|
+
- **`js-yaml` is patched to the fixed release** (GHSA-5p4m-2wfm-xmqj, CVSS 7.5). It reaches
|
|
47
|
+
this repo only through `jest` -> `babel-plugin-istanbul` -> `@istanbuljs/load-nyc-config`,
|
|
48
|
+
and `dependencies` is empty, so nothing here ships it and no consumer was exposed. Fixed
|
|
49
|
+
with a `pnpm-workspace.yaml` override to `3.15.1` / `4.3.1` — a patch bump within each
|
|
50
|
+
major — rather than by telling the scanner to ignore dev dependencies, which would leave it
|
|
51
|
+
blind after this advisory is gone. `dist/` is unaffected.
|
|
52
|
+
|
|
53
|
+
### Added
|
|
54
|
+
|
|
55
|
+
- `check:mutants` gate (`scripts/check-mutation-directives.mjs`) — validates every
|
|
56
|
+
`// Stryker` comment against the parser's own regular expression, rejecting a reason
|
|
57
|
+
wrapped onto a second line, a reason written after `--` instead of a colon, and a mutator
|
|
58
|
+
name Stryker does not know, which would silence nothing. Wired into CI and
|
|
59
|
+
`prepublishOnly`.
|
|
60
|
+
|
|
11
61
|
## [1.0.5] - 2026-08-06
|
|
12
62
|
|
|
13
63
|
**Published-artifact change, not a behavioural one.** `dist/` differs from `1.0.4` — this
|
|
@@ -221,6 +271,8 @@ have regressed from. They are kept because the reasoning is worth having.
|
|
|
221
271
|
[1.0.1]: https://github.com/bymaxone/nest-storage/compare/v1.0.0...v1.0.1
|
|
222
272
|
[1.0.2]: https://github.com/bymaxone/nest-storage/compare/v1.0.1...v1.0.2
|
|
223
273
|
[1.0.3]: https://github.com/bymaxone/nest-storage/compare/v1.0.2...v1.0.3
|
|
224
|
-
[1.0.5]: https://github.com/bymaxone/nest-storage/compare/v1.0.4...v1.0.5
|
|
225
274
|
[1.0.4]: https://github.com/bymaxone/nest-storage/compare/v1.0.3...v1.0.4
|
|
226
|
-
[
|
|
275
|
+
[1.0.5]: https://github.com/bymaxone/nest-storage/compare/v1.0.4...v1.0.5
|
|
276
|
+
[1.0.6]: https://github.com/bymaxone/nest-storage/compare/v1.0.5...v1.0.6
|
|
277
|
+
[1.1.0]: https://github.com/bymaxone/nest-storage/compare/v1.0.6...v1.1.0
|
|
278
|
+
[Unreleased]: https://github.com/bymaxone/nest-storage/compare/v1.1.0...HEAD
|
package/README.md
CHANGED
|
@@ -838,9 +838,11 @@ place stays there — so the suite is held to a bar beyond "the tests pass".
|
|
|
838
838
|
- ✅ **Published-artifact gates** — `check:exports` resolves the types the way each module
|
|
839
839
|
system does, `check:runtime` loads every subpath from the packed tarball in ESM and
|
|
840
840
|
CommonJS, and `check:published` compiles this README's snippets against `dist/`
|
|
841
|
-
- ✅ **Every suppression is justified** — no coverage directives anywhere; the
|
|
841
|
+
- ✅ **Every suppression is justified** — no coverage directives anywhere; the six
|
|
842
842
|
`// Stryker disable` comments in the production source each name why the mutant they
|
|
843
|
-
silence is provably equivalent, and
|
|
843
|
+
silence is provably equivalent, and `check:mutants` proves each reason is written in the
|
|
844
|
+
grammar Stryker parses, so the mutation report carries it in full rather than the
|
|
845
|
+
`Ignored using a comment` fallback
|
|
844
846
|
|
|
845
847
|
```bash
|
|
846
848
|
pnpm test # unit tests (Jest)
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@bymax-one/nest-storage",
|
|
3
|
-
"version": "1.0
|
|
3
|
+
"version": "1.1.0",
|
|
4
4
|
"description": "Provider-agnostic S3-compatible object storage for NestJS. Works with AWS S3, DigitalOcean Spaces, Cloudflare R2, Backblaze B2, MinIO, Wasabi.",
|
|
5
5
|
"author": "Bymax One <support@bymax.one>",
|
|
6
6
|
"license": "MIT",
|
|
@@ -46,15 +46,16 @@
|
|
|
46
46
|
"scripts": {
|
|
47
47
|
"build": "pnpm clean && tsup",
|
|
48
48
|
"check:exports": "attw --pack . --profile strict",
|
|
49
|
+
"check:mutants": "node scripts/check-mutation-directives.mjs",
|
|
49
50
|
"check:published": "node scripts/check-published-surface.mjs",
|
|
50
51
|
"check:runtime": "node scripts/check-consumer-runtime.mjs",
|
|
51
52
|
"clean": "rm -rf dist coverage",
|
|
52
53
|
"lint": "eslint src",
|
|
53
54
|
"lint:fix": "eslint src --fix",
|
|
54
55
|
"mutation": "stryker run",
|
|
56
|
+
"mutation:full": "node -e \"require('node:fs').rmSync('reports/stryker-incremental.json',{force:true,recursive:true})\" && stryker run",
|
|
55
57
|
"mutation:dry-run": "stryker run --dryRunOnly",
|
|
56
|
-
"
|
|
57
|
-
"prepublishOnly": "pnpm clean && pnpm typecheck && pnpm lint && pnpm test:cov:all && pnpm build && pnpm size && pnpm check:published",
|
|
58
|
+
"prepublishOnly": "pnpm clean && pnpm typecheck && pnpm lint && pnpm check:mutants && pnpm test:cov:all && pnpm build && pnpm size && pnpm check:published",
|
|
58
59
|
"release": "npm publish --provenance --access public",
|
|
59
60
|
"size": "node scripts/check-size.mjs",
|
|
60
61
|
"test": "jest",
|