From a996b48f72a892b6b49ecb439be0de5e4feea31c Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Mon, 5 Sep 2022 09:53:51 +0000 Subject: [PATCH] build(deps): bump @fastify/helmet from 9.1.0 to 10.0.0 (#379) * build(deps): bump @fastify/helmet from 9.1.0 to 10.0.0 Bumps [@fastify/helmet](https://github.com/fastify/fastify-helmet) from 9.1.0 to 10.0.0. - [Release notes](https://github.com/fastify/fastify-helmet/releases) - [Commits](https://github.com/fastify/fastify-helmet/compare/v9.1.0...v10.0.0) --- updated-dependencies: - dependency-name: "@fastify/helmet" dependency-type: direct:production update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] * test(server): remove `expect-ct` as expected res header Signed-off-by: dependabot[bot] Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: Frazer Smith --- package-lock.json | 48 +++++++++++++++++----------------------------- package.json | 2 +- src/server.test.js | 1 - 3 files changed, 19 insertions(+), 32 deletions(-) diff --git a/package-lock.json b/package-lock.json index d3038c24..81e6be48 100644 --- a/package-lock.json +++ b/package-lock.json @@ -15,7 +15,7 @@ "@fastify/bearer-auth": "^8.0.1", "@fastify/compress": "^6.1.1", "@fastify/cors": "^8.1.0", - "@fastify/helmet": "^9.1.0", + "@fastify/helmet": "^10.0.0", "@fastify/rate-limit": "^7.4.0", "@fastify/sensible": "^5.1.1", "@fastify/static": "^6.5.0", @@ -1372,19 +1372,14 @@ } }, "node_modules/@fastify/helmet": { - "version": "9.1.0", - "resolved": "https://registry.npmjs.org/@fastify/helmet/-/helmet-9.1.0.tgz", - "integrity": "sha512-wAtu/38t90vH46GdLM6pVi8tM1HZXb6PRdLTNBo9pudSfSw5i5Ogm8Hq1Nx337WjgSOeU6MefaTd+1avlOlCDQ==", + "version": "10.0.0", + "resolved": "https://registry.npmjs.org/@fastify/helmet/-/helmet-10.0.0.tgz", + "integrity": "sha512-PQI8YXr6Aa1srsMexDBZC+ThD4sCHoDo3T4F1JlfeJ0JfWnl4hoBgsXGJ+jpNcE61Ily6P6p/tTnOXdLRYnEeQ==", "dependencies": { - "fastify-plugin": "^3.0.0", - "helmet": "^5.0.1" + "fastify-plugin": "^4.2.1", + "helmet": "^6.0.0" } }, - "node_modules/@fastify/helmet/node_modules/fastify-plugin": { - "version": "3.0.1", - "resolved": "https://registry.npmjs.org/fastify-plugin/-/fastify-plugin-3.0.1.tgz", - "integrity": "sha512-qKcDXmuZadJqdTm6vlCqioEbyewF60b/0LOFCcYN1B6BIZGlYJumWWOYs70SFYLDAH4YqdE1cxH/RKMG7rFxgA==" - }, "node_modules/@fastify/rate-limit": { "version": "7.4.0", "resolved": "https://registry.npmjs.org/@fastify/rate-limit/-/rate-limit-7.4.0.tgz", @@ -5315,11 +5310,11 @@ "dev": true }, "node_modules/helmet": { - "version": "5.1.1", - "resolved": "https://registry.npmjs.org/helmet/-/helmet-5.1.1.tgz", - "integrity": "sha512-/yX0oVZBggA9cLJh8aw3PPCfedBnbd7J2aowjzsaWwZh7/UFY0nccn/aHAggIgWUFfnykX8GKd3a1pSbrmlcVQ==", + "version": "6.0.0", + "resolved": "https://registry.npmjs.org/helmet/-/helmet-6.0.0.tgz", + "integrity": "sha512-FO9RpR1wNJepH/GbLPQVtkE2eESglXL641p7SdyoT4LngHFJcZheHMoyUcjCZF4qpuMMO1u5q6RK0l9Ux8JBcg==", "engines": { - "node": ">=12.0.0" + "node": ">=14.0.0" } }, "node_modules/help-me": { @@ -12063,19 +12058,12 @@ } }, "@fastify/helmet": { - "version": "9.1.0", - "resolved": "https://registry.npmjs.org/@fastify/helmet/-/helmet-9.1.0.tgz", - "integrity": "sha512-wAtu/38t90vH46GdLM6pVi8tM1HZXb6PRdLTNBo9pudSfSw5i5Ogm8Hq1Nx337WjgSOeU6MefaTd+1avlOlCDQ==", + "version": "10.0.0", + "resolved": "https://registry.npmjs.org/@fastify/helmet/-/helmet-10.0.0.tgz", + "integrity": "sha512-PQI8YXr6Aa1srsMexDBZC+ThD4sCHoDo3T4F1JlfeJ0JfWnl4hoBgsXGJ+jpNcE61Ily6P6p/tTnOXdLRYnEeQ==", "requires": { - "fastify-plugin": "^3.0.0", - "helmet": "^5.0.1" - }, - "dependencies": { - "fastify-plugin": { - "version": "3.0.1", - "resolved": "https://registry.npmjs.org/fastify-plugin/-/fastify-plugin-3.0.1.tgz", - "integrity": "sha512-qKcDXmuZadJqdTm6vlCqioEbyewF60b/0LOFCcYN1B6BIZGlYJumWWOYs70SFYLDAH4YqdE1cxH/RKMG7rFxgA==" - } + "fastify-plugin": "^4.2.1", + "helmet": "^6.0.0" } }, "@fastify/rate-limit": { @@ -15157,9 +15145,9 @@ "dev": true }, "helmet": { - "version": "5.1.1", - "resolved": "https://registry.npmjs.org/helmet/-/helmet-5.1.1.tgz", - "integrity": "sha512-/yX0oVZBggA9cLJh8aw3PPCfedBnbd7J2aowjzsaWwZh7/UFY0nccn/aHAggIgWUFfnykX8GKd3a1pSbrmlcVQ==" + "version": "6.0.0", + "resolved": "https://registry.npmjs.org/helmet/-/helmet-6.0.0.tgz", + "integrity": "sha512-FO9RpR1wNJepH/GbLPQVtkE2eESglXL641p7SdyoT4LngHFJcZheHMoyUcjCZF4qpuMMO1u5q6RK0l9Ux8JBcg==" }, "help-me": { "version": "4.0.1", diff --git a/package.json b/package.json index 99551d3f..524b82d5 100644 --- a/package.json +++ b/package.json @@ -100,7 +100,7 @@ "@fastify/bearer-auth": "^8.0.1", "@fastify/compress": "^6.1.1", "@fastify/cors": "^8.1.0", - "@fastify/helmet": "^9.1.0", + "@fastify/helmet": "^10.0.0", "@fastify/rate-limit": "^7.4.0", "@fastify/sensible": "^5.1.1", "@fastify/static": "^6.5.0", diff --git a/src/server.test.js b/src/server.test.js index e3743fd8..aa4fc8f0 100644 --- a/src/server.test.js +++ b/src/server.test.js @@ -73,7 +73,6 @@ const expResHeaders = { "content-security-policy": "default-src 'self';frame-ancestors 'none'", "content-type": expect.stringContaining("text/plain"), date: expect.any(String), - "expect-ct": "max-age=0", expires: "0", "permissions-policy": "interest-cohort=()", pragma: "no-cache",