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
@@ -35,7 +35,7 @@
|
||||
"npm:esbuild@0.27.2",
|
||||
"npm:eslint@^9.39.5",
|
||||
"npm:express@^5.2.1",
|
||||
"npm:fastify@^5.11.0",
|
||||
"npm:fastify@^5.12.5",
|
||||
"npm:graphql@^16.9.0",
|
||||
"npm:miniflare@^4.20260730.0",
|
||||
"npm:prettier@^3.9.6",
|
||||
@@ -57,7 +57,8 @@
|
||||
}
|
||||
},
|
||||
"undici": "7.29.1",
|
||||
"sharp": "0.35.5"
|
||||
"sharp": "0.35.5",
|
||||
"fastify": "$fastify"
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Generated
+5
-5
@@ -29,7 +29,7 @@
|
||||
"esbuild": "0.27.2",
|
||||
"eslint": "^9.39.5",
|
||||
"express": "^5.2.1",
|
||||
"fastify": "^5.11.0",
|
||||
"fastify": "^5.12.5",
|
||||
"graphql": "^16.9.0",
|
||||
"miniflare": "^4.20260730.0",
|
||||
"prettier": "^3.9.6",
|
||||
@@ -4299,9 +4299,9 @@
|
||||
"license": "BSD-3-Clause"
|
||||
},
|
||||
"node_modules/fastify": {
|
||||
"version": "5.11.3",
|
||||
"resolved": "https://registry.npmjs.org/fastify/-/fastify-5.11.3.tgz",
|
||||
"integrity": "sha512-W6hzDP8s0iSeL7LGwY6Oc/ZxuXWOvFEMs6p2L0Si415YRo27W5pBKdOTXxhemBDeSTAcpYf5evRA9onF2OYhPA==",
|
||||
"version": "5.12.5",
|
||||
"resolved": "https://registry.npmjs.org/fastify/-/fastify-5.12.5.tgz",
|
||||
"integrity": "sha512-OB2k1dlxs5/NAABqeKV2FUHkSD2BbENsCak8yULVcymn3fHIPDVa9TI3SDnJSWYSllZmSYuZXy2gTnsT+Sut1A==",
|
||||
"dev": true,
|
||||
"funding": [
|
||||
{
|
||||
@@ -4325,7 +4325,7 @@
|
||||
"find-my-way": "^9.6.0",
|
||||
"light-my-request": "^6.0.0",
|
||||
"pino": "^9.14.0 || ^10.1.0",
|
||||
"process-warning": "^5.0.0",
|
||||
"process-warning": "^5.1.0",
|
||||
"rfdc": "^1.3.1",
|
||||
"secure-json-parse": "^4.0.0",
|
||||
"semver": "^7.6.0",
|
||||
|
||||
+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