Skip to content

Commit 14673a7

Browse files
major(deps): bump helmet from 6.2.0 to 7.0.0 (#220)
1 parent e3dfd32 commit 14673a7

File tree

3 files changed

+1
-22
lines changed

3 files changed

+1
-22
lines changed

README.md

Lines changed: 0 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -68,11 +68,6 @@ fastify.get('/route-with-enabled-helmet', {
6868
dnsPrefetchControl: {
6969
allow: true
7070
},
71-
expectCt: {
72-
maxAge: 1,
73-
enforce: true,
74-
reportUri: 'foo'
75-
},
7671
frameguard: {
7772
action: 'foo'
7873
},
@@ -136,11 +131,6 @@ fastify.get('/route-with-custom-helmet-configuration', {
136131
dnsPrefetchControl: {
137132
allow: true
138133
},
139-
expectCt: {
140-
maxAge: 1,
141-
enforce: true,
142-
reportUri: 'foo'
143-
},
144134
frameguard: {
145135
action: 'foo'
146136
},

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@
4646
},
4747
"dependencies": {
4848
"fastify-plugin": "^4.2.1",
49-
"helmet": "^6.0.0"
49+
"helmet": "^7.0.0"
5050
},
5151
"tsd": {
5252
"directory": "test/types"

types/index.test-d.ts

Lines changed: 0 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,6 @@ const appThree = fastify();
1717
const helmetOptions = {
1818
contentSecurityPolicy: false,
1919
dnsPrefetchControl: false,
20-
expectCt: false,
2120
frameguard: false,
2221
hidePoweredBy: false,
2322
hsts: false,
@@ -43,11 +42,6 @@ appFour.register(fastifyHelmet, {
4342
dnsPrefetchControl: {
4443
allow: true
4544
},
46-
expectCt: {
47-
maxAge: 1,
48-
enforce: true,
49-
reportUri: 'foo'
50-
},
5145
frameguard: {
5246
action: 'deny'
5347
},
@@ -138,11 +132,6 @@ const routeHelmetOptions = {
138132
dnsPrefetchControl: {
139133
allow: true
140134
},
141-
expectCt: {
142-
maxAge: 1,
143-
enforce: true,
144-
reportUri: 'foo'
145-
},
146135
frameguard: {
147136
action: 'deny' as const
148137
},

0 commit comments

Comments
 (0)