@bymax-one/nest-notification 1.0.0 → 1.0.1
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 +35 -1
- package/package.json +17 -16
package/CHANGELOG.md
CHANGED
|
@@ -7,6 +7,39 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
|
|
|
7
7
|
|
|
8
8
|
## [Unreleased]
|
|
9
9
|
|
|
10
|
+
## [1.0.1] - 2026-08-01
|
|
11
|
+
|
|
12
|
+
### Security
|
|
13
|
+
|
|
14
|
+
- **`@nestjs/common` peer floor raised to `^11.0.16`.** The declared `^11.0.0`
|
|
15
|
+
admitted 11.0.0–11.0.15, which carry
|
|
16
|
+
[GHSA-cj7v-w2c7-cp7c](https://github.com/advisories/GHSA-cj7v-w2c7-cp7c) —
|
|
17
|
+
remote code execution via the `Content-Type` header, first patched in 11.0.16.
|
|
18
|
+
|
|
19
|
+
`@nestjs/core` already sat at `^11.1.18` and needed no change. This gap is worth
|
|
20
|
+
recording precisely: the ranges here were audited and clean when `1.0.0` was cut,
|
|
21
|
+
and stopped being clean when the advisory was published, with no commit and no
|
|
22
|
+
alert in between. Dependabot does not catch it — it looks at what is _installed_
|
|
23
|
+
in this repository, never at what the package _declares it supports_.
|
|
24
|
+
|
|
25
|
+
- **`handlebars` peer floor raised to `^4.7.9`.** The declared `^4.7.7` admitted
|
|
26
|
+
4.7.7 and 4.7.8, which carry eight advisories, the worst of them **critical**:
|
|
27
|
+
[GHSA-2w6w-674q-4c4q](https://github.com/advisories/GHSA-2w6w-674q-4c4q)
|
|
28
|
+
(JavaScript injection via AST type confusion), alongside four further injection
|
|
29
|
+
and denial-of-service findings, all first patched in 4.7.9.
|
|
30
|
+
|
|
31
|
+
`handlebars` is an _optional_ peer — the library never imports it, and the
|
|
32
|
+
Handlebars renderer is an adapter example under `docs/templates/`. Optional
|
|
33
|
+
does not make the range harmless: it is still the version this package tells
|
|
34
|
+
anyone who opts in that it supports, and a consumer wiring that renderer
|
|
35
|
+
resolves it against exactly this floor.
|
|
36
|
+
|
|
37
|
+
Found by the scheduled `peer-advisory-drift` check on its first run, not by
|
|
38
|
+
the manual sweep that raised the NestJS floor — that sweep went looking for
|
|
39
|
+
NestJS specifically and never asked the question of the other eleven peers.
|
|
40
|
+
|
|
41
|
+
Shipped as a patch, which is where a security fix belongs.
|
|
42
|
+
|
|
10
43
|
## [1.0.0] - 2026-07-30
|
|
11
44
|
|
|
12
45
|
First public release. Email + OTP channels, multi-tenant by design, pluggable
|
|
@@ -66,5 +99,6 @@ rejected at startup rather than failing on the first send.
|
|
|
66
99
|
- **`forRootAsync` `useClass` / `useExisting`** — only `useFactory` is wired.
|
|
67
100
|
- **Multi-provider failover and routing.**
|
|
68
101
|
|
|
69
|
-
[Unreleased]: https://github.com/bymaxone/nest-notification/compare/v1.0.
|
|
102
|
+
[Unreleased]: https://github.com/bymaxone/nest-notification/compare/v1.0.1...HEAD
|
|
103
|
+
[1.0.1]: https://github.com/bymaxone/nest-notification/compare/v1.0.0...v1.0.1
|
|
70
104
|
[1.0.0]: https://github.com/bymaxone/nest-notification/releases/tag/v1.0.0
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@bymax-one/nest-notification",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.1",
|
|
4
4
|
"description": "Multi-channel notification library for NestJS — email, OTP, SMS, push — with pluggable providers and storage, multi-tenant by design, zero runtime dependencies.",
|
|
5
5
|
"author": "Bymax One <support@bymax.one>",
|
|
6
6
|
"license": "MIT",
|
|
@@ -68,7 +68,7 @@
|
|
|
68
68
|
},
|
|
69
69
|
"dependencies": {},
|
|
70
70
|
"peerDependencies": {
|
|
71
|
-
"@nestjs/common": "^11.0.
|
|
71
|
+
"@nestjs/common": "^11.0.16",
|
|
72
72
|
"@nestjs/core": "^11.1.18",
|
|
73
73
|
"reflect-metadata": "^0.2.0",
|
|
74
74
|
"rxjs": "^7.8.0",
|
|
@@ -82,7 +82,7 @@
|
|
|
82
82
|
"twilio": "^5.0.0 || ^6.0.0",
|
|
83
83
|
"firebase-admin": "^13.0.0 || ^14.0.0",
|
|
84
84
|
"@aws-sdk/client-dynamodb": "^3.0.0",
|
|
85
|
-
"handlebars": "^4.7.
|
|
85
|
+
"handlebars": "^4.7.9",
|
|
86
86
|
"@react-email/render": "^1.0.0 || ^2.0.0",
|
|
87
87
|
"mjml": "^5.0.0",
|
|
88
88
|
"class-validator": "^0.14.0 || ^0.15.0",
|
|
@@ -221,24 +221,25 @@
|
|
|
221
221
|
},
|
|
222
222
|
"scripts": {
|
|
223
223
|
"build": "pnpm clean && tsup",
|
|
224
|
+
"check:exports": "attw --pack .",
|
|
225
|
+
"check:no-prisma": "grep -rq '@prisma/client' src; s=$?; [ $s -eq 1 ] && exit 0; [ $s -eq 0 ] && { echo check:no-prisma: found @prisma/client import in src/; exit 1; }; echo check:no-prisma: grep failed with exit $s; exit $s",
|
|
226
|
+
"check:published": "node scripts/check-published-surface.mjs",
|
|
227
|
+
"clean": "rm -rf dist coverage",
|
|
224
228
|
"lint": "eslint src scripts test",
|
|
225
229
|
"lint:fix": "eslint src scripts test --fix",
|
|
226
|
-
"test": "jest",
|
|
227
|
-
"test:cov": "jest --coverage",
|
|
228
|
-
"test:watch": "jest --watch",
|
|
229
|
-
"test:e2e": "jest --config jest.e2e.config.ts --runInBand",
|
|
230
|
-
"test:all": "pnpm test && pnpm test:e2e",
|
|
231
|
-
"test:cov:all": "jest --config jest.coverage.config.ts --coverage",
|
|
232
230
|
"mutation": "stryker run",
|
|
233
|
-
"mutation:incremental": "stryker run --incremental",
|
|
234
231
|
"mutation:dry-run": "stryker run --dryRunOnly",
|
|
235
|
-
"
|
|
236
|
-
"
|
|
232
|
+
"mutation:incremental": "stryker run --incremental",
|
|
233
|
+
"release": "pnpm publish --provenance",
|
|
237
234
|
"size": "node scripts/check-size.mjs",
|
|
238
235
|
"smoke": "node scripts/dogfood-smoke-test.mjs",
|
|
239
|
-
"
|
|
240
|
-
"
|
|
241
|
-
"
|
|
242
|
-
"
|
|
236
|
+
"test": "jest",
|
|
237
|
+
"test:all": "pnpm test && pnpm test:e2e",
|
|
238
|
+
"test:cov": "jest --coverage",
|
|
239
|
+
"test:cov:all": "jest --config jest.coverage.config.ts --coverage",
|
|
240
|
+
"test:e2e": "jest --config jest.e2e.config.ts --runInBand",
|
|
241
|
+
"test:types": "tsc --noEmit -p tsconfig.typetest.json",
|
|
242
|
+
"test:watch": "jest --watch",
|
|
243
|
+
"typecheck": "tsc --noEmit && tsc --noEmit -p tsconfig.server.json"
|
|
243
244
|
}
|
|
244
245
|
}
|