@bymax-one/nest-cache 1.0.2 → 1.0.3
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 +27 -0
- package/package.json +15 -14
package/CHANGELOG.md
CHANGED
|
@@ -6,6 +6,28 @@ project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
|
|
|
6
6
|
|
|
7
7
|
## [Unreleased]
|
|
8
8
|
|
|
9
|
+
## [1.0.3] - 2026-08-01
|
|
10
|
+
|
|
11
|
+
### Security
|
|
12
|
+
|
|
13
|
+
- **Peer floors raised to exclude known-vulnerable NestJS versions.** The declared
|
|
14
|
+
ranges were `@nestjs/common ^11.0.0` and `@nestjs/core ^11.0.0`, and both
|
|
15
|
+
admitted versions carrying published advisories:
|
|
16
|
+
|
|
17
|
+
| Peer | Advisory | Vulnerable | New floor |
|
|
18
|
+
| ---------------- | ------------------------------------------------------------------------------------------------------------------------------------------- | ----------------------------- | ---------- |
|
|
19
|
+
| `@nestjs/common` | [GHSA-cj7v-w2c7-cp7c](https://github.com/advisories/GHSA-cj7v-w2c7-cp7c) — remote code execution via the `Content-Type` header | `>= 11.0.0-next.1, < 11.0.16` | `^11.0.16` |
|
|
20
|
+
| `@nestjs/core` | [GHSA-36xv-jgw5-4q75](https://github.com/advisories/GHSA-36xv-jgw5-4q75) — improper neutralization of special elements in downstream output | `<= 11.1.17` | `^11.1.18` |
|
|
21
|
+
|
|
22
|
+
A peer range is a statement about which versions this library supports. Leaving
|
|
23
|
+
the floor below a published advisory told a consumer that a vulnerable install
|
|
24
|
+
was a supported one, and nothing in their tooling contradicted it — the install
|
|
25
|
+
resolved cleanly and silently.
|
|
26
|
+
|
|
27
|
+
Shipped as a patch, which is where a security fix belongs. A minor would have
|
|
28
|
+
bought nothing: `^1.0.2` accepts `1.1.0` just as readily as `1.0.3`, so the same
|
|
29
|
+
installs are affected either way. No runtime behaviour changed.
|
|
30
|
+
|
|
9
31
|
## [1.0.2] - 2026-07-29
|
|
10
32
|
|
|
11
33
|
### Fixed
|
|
@@ -87,3 +109,8 @@ project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
|
|
|
87
109
|
- E2E suite: `@nestjs/testing` with `ioredis-mock` + Testcontainers (standalone, sentinel, cluster, connection resilience)
|
|
88
110
|
- Published with npm OIDC provenance — no long-lived tokens
|
|
89
111
|
- Zero direct runtime dependencies (`dependencies: {}`) — `ioredis` and NestJS via peer deps
|
|
112
|
+
|
|
113
|
+
[1.0.3]: https://github.com/bymaxone/nest-cache/releases/tag/v1.0.3
|
|
114
|
+
[1.0.2]: https://github.com/bymaxone/nest-cache/releases/tag/v1.0.2
|
|
115
|
+
[1.0.1]: https://github.com/bymaxone/nest-cache/releases/tag/v1.0.1
|
|
116
|
+
[1.0.0]: https://github.com/bymaxone/nest-cache/releases/tag/v1.0.0
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@bymax-one/nest-cache",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.3",
|
|
4
4
|
"description": "Typed Redis cache for NestJS based on ioredis 5, with namespace strategy, Pub/Sub and Lua script management.",
|
|
5
5
|
"author": "Bymax One <support@bymax.one>",
|
|
6
6
|
"license": "MIT",
|
|
@@ -64,8 +64,8 @@
|
|
|
64
64
|
},
|
|
65
65
|
"dependencies": {},
|
|
66
66
|
"peerDependencies": {
|
|
67
|
-
"@nestjs/common": "^11.0.
|
|
68
|
-
"@nestjs/core": "^11.
|
|
67
|
+
"@nestjs/common": "^11.0.16",
|
|
68
|
+
"@nestjs/core": "^11.1.18",
|
|
69
69
|
"ioredis": "^5.0.0",
|
|
70
70
|
"reflect-metadata": "^0.2.0"
|
|
71
71
|
},
|
|
@@ -125,22 +125,23 @@
|
|
|
125
125
|
},
|
|
126
126
|
"scripts": {
|
|
127
127
|
"build": "pnpm clean && tsup",
|
|
128
|
+
"check:exports": "attw --pack .",
|
|
129
|
+
"check:published": "node scripts/check-published-surface.mjs",
|
|
130
|
+
"clean": "rm -rf dist coverage",
|
|
128
131
|
"lint": "eslint src scripts",
|
|
129
132
|
"lint:fix": "eslint src scripts --fix",
|
|
133
|
+
"mutation": "stryker run",
|
|
134
|
+
"mutation:dry-run": "stryker run --dryRunOnly",
|
|
135
|
+
"mutation:incremental": "stryker run --incremental",
|
|
136
|
+
"release": "pnpm publish --provenance",
|
|
137
|
+
"size": "node scripts/check-size.mjs",
|
|
130
138
|
"test": "jest",
|
|
131
|
-
"test:cov": "jest --coverage",
|
|
132
|
-
"test:watch": "jest --watch",
|
|
133
|
-
"test:e2e": "jest --config jest.e2e.config.ts --runInBand",
|
|
134
139
|
"test:all": "pnpm test && pnpm test:e2e",
|
|
140
|
+
"test:cov": "jest --coverage",
|
|
135
141
|
"test:cov:all": "jest --config jest.coverage.config.ts --coverage",
|
|
136
|
-
"
|
|
137
|
-
"mutation:incremental": "stryker run --incremental",
|
|
138
|
-
"mutation:dry-run": "stryker run --dryRunOnly",
|
|
139
|
-
"typecheck": "tsc --noEmit && tsc --noEmit -p tsconfig.server.json",
|
|
142
|
+
"test:e2e": "jest --config jest.e2e.config.ts --runInBand",
|
|
140
143
|
"test:types": "tsc --noEmit -p tsconfig.typetest.json",
|
|
141
|
-
"
|
|
142
|
-
"
|
|
143
|
-
"clean": "rm -rf dist coverage",
|
|
144
|
-
"release": "pnpm publish --provenance"
|
|
144
|
+
"test:watch": "jest --watch",
|
|
145
|
+
"typecheck": "tsc --noEmit && tsc --noEmit -p tsconfig.server.json"
|
|
145
146
|
}
|
|
146
147
|
}
|