chore(deps): move the benchmark's fastify to 5.12.5
fastify <= 5.12.4 carries seven advisories (high), and it reaches us twice, both benchmark-only: as a direct devDependency and through @nestjs/platform-fastify 11.2.7, which pins fastify 5.11.3 exactly. `npm audit fix --force` would move to @nestjs/platform-fastify 12, which is ESM-only and needs @nestjs/core and @nestjs/common 12 as well: a migration of the Nest benchmark servers, not a dependency fix. Raise the direct range to ^5.12.5, a patch inside the major we already use, and point nest's copy at it with `"fastify": "$fastify"` so the tree holds a single, patched fastify. Checked with `BENCH_SMOKE=1 npm run bench`: fastify, nestjs-fastify and nestjs-express all boot and serve every scenario with 0% errors. npm audit: 5 (2 critical, 1 high, 2 moderate) -> 3 (2 critical, 1 moderate), all of them vitest. `npm audit --omit=dev` stays at 0. Signed-off-by: Diego Resendez <diego.resendez@zero-oneit.com>
This commit is contained in:
3 files changed
+11
-9
No files matched your search
+3
-2
@@ -129,7 +129,8 @@
|
||||
}
|
||||
},
|
||||
"undici": "7.29.1",
|
||||
"sharp": "0.35.5"
|
||||
"sharp": "0.35.5",
|
||||
"fastify": "$fastify"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@eslint/js": "^9.39.5",
|
||||
@@ -149,7 +150,7 @@
|
||||
"eslint": "^9.39.5",
|
||||
"esbuild": "0.27.2",
|
||||
"express": "^5.2.1",
|
||||
"fastify": "^5.11.0",
|
||||
"fastify": "^5.12.5",
|
||||
"graphql": "^16.9.0",
|
||||
"miniflare": "^4.20260730.0",
|
||||
"prettier": "^3.9.6",
|
||||
|
||||
Reference in new issue
Block a user