diff --git a/package.json b/package.json index a8624be..047550e 100644 --- a/package.json +++ b/package.json @@ -33,7 +33,7 @@ "expect": "^30.4.1", "fastify": "^3.29.5", "fastify-graceful-shutdown": "^4.0.1", - "fastify-static": "^4.7.0", + "@fastify/static": "^5.0.0", "file-loader": "^6.2.0", "get-port": "^5.1.1", "html-loader": "2.1.2", diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index 9d699ab..8702160 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -8,6 +8,9 @@ importers: .: devDependencies: + '@fastify/static': + specifier: ^5.0.0 + version: 5.0.2 '@rslint/core': specifier: ^0.6.1 version: 0.6.1 @@ -59,9 +62,6 @@ importers: fastify-graceful-shutdown: specifier: ^4.0.1 version: 4.0.1 - fastify-static: - specifier: ^4.7.0 - version: 4.7.0 file-loader: specifier: ^6.2.0 version: 6.2.0(webpack@5.98.0) @@ -938,6 +938,9 @@ packages: '@fastify/error@2.0.0': resolution: {integrity: sha512-wI3fpfDT0t7p8E6dA2eTECzzOd+bZsZCJ2Hcv+Onn2b7ZwK3RwD27uW2QDaMtQhAfWQQP+WNK7nKf0twLsBf9w==} + '@fastify/static@5.0.2': + resolution: {integrity: sha512-HvyXZ5a7hUHoSBRq9jKUuKIUCkHMkCDcmiAeEmixXlGOx8pEWx3NYOIaiivcjWa6/NLvfdUT+t/jzfVQ2PA7Gw==} + '@isaacs/cliui@8.0.2': resolution: {integrity: sha512-O8jcjabXaleOG9DQ0+ARXWZBTfnP4WNAqzuiJK7ll44AmxGKv/J2M4TPjxjY3znBCfvBXFzucm1twdyFybFqEA==} engines: {node: '>=12'} @@ -4350,6 +4353,18 @@ snapshots: '@fastify/error@2.0.0': {} + '@fastify/static@5.0.2': + dependencies: + content-disposition: 0.5.4 + encoding-negotiator: 2.0.1 + fastify-plugin: 3.0.1 + glob: 7.2.3 + p-limit: 3.1.0 + readable-stream: 3.6.2 + send: 0.17.2 + transitivePeerDependencies: + - supports-color + '@isaacs/cliui@8.0.2': dependencies: string-width: 5.1.2