Skip to content

Commit 207ea9e

Browse files
committed
simplify helmet import
1 parent 43b7b3b commit 207ea9e

File tree

3 files changed

+6
-6
lines changed

3 files changed

+6
-6
lines changed

app/entry.server.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
import { PassThrough } from 'node:stream'
22
import { styleText } from 'node:util'
3-
import { contentSecurity } from '@nichtsam/helmet/rules/content/index'
3+
import { contentSecurity } from '@nichtsam/helmet/content'
44
import { createReadableStreamFromReadable } from '@react-router/node'
55
import * as Sentry from '@sentry/node'
66
import { isbot } from 'isbot'

package-lock.json

Lines changed: 4 additions & 4 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@
5353
"@epic-web/totp": "^3.0.0",
5454
"@mjackson/form-data-parser": "^0.7.0",
5555
"@nasa-gcn/remix-seo": "^2.0.1",
56-
"@nichtsam/helmet": "0.2.0",
56+
"@nichtsam/helmet": "0.3.0",
5757
"@oslojs/crypto": "^1.0.1",
5858
"@oslojs/encoding": "^1.1.0",
5959
"@paralleldrive/cuid2": "^2.2.2",

0 commit comments

Comments
 (0)