Skip to content

chore(deps): update dependency helmet-csp to v3

Renovate Bot requested to merge renovate/helmet-csp-3.x into master

This MR contains the following updates:

Package Type Update Change
helmet-csp (source) devDependencies major 2.10.0 -> 3.1.0

Release Notes

helmetjs/helmet

v3.1.0

Compare Source

Added
  • csp now allows frame-src directive

v3.0.0

Changed
  • csp will check your directives for common mistakes and throw errors if it finds them. This can be disabled with loose: true.
  • Empty arrays are no longer allowed in csp. For source lists (like script-src or object-src), use the standard scriptSrc: ["'none'"]. The sandbox directive can be sandbox: true to block everything.
  • false can disable a CSP directive. For example, scriptSrc: false is the same as not specifying it.
  • In CSP, reportOnly: true no longer requires a report-uri to be set.
  • hsts's maxAge now defaults to 180 days (instead of 1 day)
  • hsts's maxAge parameter is seconds, not milliseconds
  • hsts includes subdomains by default
  • domain parameter in frameguard cannot be empty
Removed
  • noEtag option no longer present in noCache
  • iOS Chrome connect-src workaround in CSP module

Renovate configuration

📅 Schedule: At any time (no schedule defined).

🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

Rebasing: Whenever MR becomes conflicted, or you tick the rebase/retry checkbox.

🔕 Ignore: Close this MR and you won't be reminded about this update again.


  • If you want to rebase/retry this MR, check this box

This MR has been generated by Renovate Bot.

Edited by Renovate Bot

Merge request reports