From 6bfcbce92369a9eb3fe739e895642955551f57f5 Mon Sep 17 00:00:00 2001 From: snyk-bot Date: Mon, 1 Jul 2024 06:59:31 +0000 Subject: [PATCH] fix: upgrade @fastify/static from 7.0.0 to 7.0.4 Snyk has created this PR to upgrade @fastify/static from 7.0.0 to 7.0.4. See this package in npm: @fastify/static See this project in Snyk: https://app.snyk.io/org/johanbook/project/6816372a-9c12-4c50-8594-97a8b7623908?utm_source=github&utm_medium=referral&page=upgrade-pr --- services/api/package-lock.json | 13 +++++++------ services/api/package.json | 2 +- 2 files changed, 8 insertions(+), 7 deletions(-) diff --git a/services/api/package-lock.json b/services/api/package-lock.json index 2e847dfe..38335a88 100644 --- a/services/api/package-lock.json +++ b/services/api/package-lock.json @@ -10,7 +10,7 @@ "license": "UNLICENSED", "dependencies": { "@fastify/multipart": "^8.0.0", - "@fastify/static": "^7.0.0", + "@fastify/static": "^7.0.4", "@nestjs/common": "^10.3.9", "@nestjs/core": "^10.3.9", "@nestjs/cqrs": "^10.0.3", @@ -1022,16 +1022,17 @@ } }, "node_modules/@fastify/static": { - "version": "7.0.0", - "resolved": "https://registry.npmjs.org/@fastify/static/-/static-7.0.0.tgz", - "integrity": "sha512-JCuzYMgbIY1Ws5e3dmPFWAZ0MwkKNn4Pmd/gk3RlCOCLDtA6eUq7WZyBz/TpnCi6ae8FOY1s33POo4rioYgWTg==", + "version": "7.0.4", + "resolved": "https://registry.npmjs.org/@fastify/static/-/static-7.0.4.tgz", + "integrity": "sha512-p2uKtaf8BMOZWLs6wu+Ihg7bWNBdjNgCwDza4MJtTqg+5ovKmcbgbR9Xs5/smZ1YISfzKOCNYmZV8LaCj+eJ1Q==", + "license": "MIT", "dependencies": { "@fastify/accept-negotiator": "^1.0.0", "@fastify/send": "^2.0.0", "content-disposition": "^0.5.3", "fastify-plugin": "^4.0.0", - "glob": "^10.3.4", - "p-limit": "^3.1.0" + "fastq": "^1.17.0", + "glob": "^10.3.4" } }, "node_modules/@fastify/static/node_modules/brace-expansion": { diff --git a/services/api/package.json b/services/api/package.json index d6fca862..fe99d142 100644 --- a/services/api/package.json +++ b/services/api/package.json @@ -24,7 +24,7 @@ }, "dependencies": { "@fastify/multipart": "^8.0.0", - "@fastify/static": "^7.0.0", + "@fastify/static": "^7.0.4", "@nestjs/common": "^10.3.9", "@nestjs/core": "^10.3.9", "@nestjs/cqrs": "^10.0.3",