Bump helmet from 3.22.0 to 5.0.0 in /backend
Created by: dependabot[bot]
Bumps helmet from 3.22.0 to 5.0.0.
Changelog
Sourced from helmet's changelog.
5.0.0 - ???
Added
- ECMAScript module imports (i.e.,
import helmet from "helmet"
andimport { frameguard } from "helmet"
). See #320Changed
- Breaking:
helmet.contentSecurityPolicy
:useDefaults
option now defaults totrue
- Breaking:
helmet.contentSecurityPolicy
:form-action
directive is now set to'self'
by default- Breaking:
helmet.crossOriginEmbedderPolicy
is enabled by default- Breaking:
helmet.crossOriginOpenerPolicy
is enabled by default- Breaking:
helmet.crossOriginResourcePolicy
is enabled by defaultRemoved
- Breaking: Drop support for Node 10 and 11. Node 12+ is now required
Unreleased
Changed
- Top-level
helmet()
function is slightly fasterhelmet.frameguard
: add TypeScript editor autocomplete. See #3224.6.0 - 2021-05-01
Added
helmet.contentSecurityPolicy
: theuseDefaults
option, defaulting tofalse
, lets you selectively override defaults more easily- Explicitly define TypeScript types in
package.json
. See #3034.5.0 - 2021-04-17
Added
helmet.crossOriginEmbedderPolicy
: a new middleware for theCross-Origin-Embedder-Policy
header, disabled by defaulthelmet.crossOriginOpenerPolicy
: a new middleware for theCross-Origin-Opener-Policy
header, disabled by defaulthelmet.crossOriginResourcePolicy
: a new middleware for theCross-Origin-Resource-Policy
header, disabled by defaultChanged
true
enables a middleware with default options. Previously, this would fail with an error if the middleware was already enabled by default.- Log a warning when passing options to
originAgentCluster
at the top levelFixed
- Incorrect documentation
4.4.1 - 2021-01-18
... (truncated)
Commits
- See full diff in compare view
Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase
.
Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR:
-
@dependabot rebase
will rebase this PR -
@dependabot recreate
will recreate this PR, overwriting any edits that have been made to it -
@dependabot merge
will merge this PR after your CI passes on it -
@dependabot squash and merge
will squash and merge this PR after your CI passes on it -
@dependabot cancel merge
will cancel a previously requested merge and block automerging -
@dependabot reopen
will reopen this PR if it is closed -
@dependabot close
will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually -
@dependabot ignore this major version
will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself) -
@dependabot ignore this minor version
will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself) -
@dependabot ignore this dependency
will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)