Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

helmet

Package Overview
Dependencies
Maintainers
1
Versions
132
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

helmet - npm Package Versions

13
14

6.1.0

Diff

Changelog

Source

6.1.0 - 2023-04-08

Changed

  • Improve support for various TypeScript setups, including "nodenext". See #405
evanhahn
published 6.0.1 •

Changelog

Source

6.0.1 - 2022-11-29

Fixed

  • crossOriginEmbedderPolicy did not accept options at the top level. See #390
evanhahn
published 6.0.0 •

Changelog

Source

6.0.0 - 2022-08-26

Changed

  • Breaking: helmet.contentSecurityPolicy no longer sets block-all-mixed-content directive by default
  • Breaking: helmet.expectCt is no longer set by default. It can, however, be explicitly enabled. It will be removed in Helmet 7. See #310
  • Breaking: Increase TypeScript strictness around some arguments. Only affects TypeScript users, and may not require any code changes. See #369
  • helmet.frameguard no longer offers a specific error when trying to use ALLOW-FROM; it just says that it is unsupported. Only the error message has changed

Removed

  • Breaking: Dropped support for Node 12 and 13. Node 14+ is now required
evanhahn
published 5.1.1 •

Changelog

Source

5.1.1 - 2022-07-23

Changed

  • Fix TypeScript bug with some TypeScript configurations. See #375 and #359
evanhahn
published 5.1.0 •

Changelog

Source

5.1.0 - 2022-05-17

Added

  • Cross-Origin-Embedder-Policy: support credentialless policy. See #365
  • Documented how to set both Content-Security-Policy and Content-Security-Policy-Report-Only

Changed

  • Cleaned up some documentation around Origin-Agent-Cluster
evanhahn
published 5.0.2 •

Changelog

Source

5.0.2 - 2022-01-22

Changed

  • Improve imports for CommonJS and ECMAScript modules. See #345
  • Fixed some documentation
evanhahn
published 5.0.1 •

Changelog

Source

5.0.1 - 2022-01-03

Changed

  • Fixed some documentation

Removed

  • Removed some unused internal code
evanhahn
published 5.0.0 •

Changelog

Source

5.0.0 - 2022-01-02

Added

  • ECMAScript module imports (i.e., import helmet from "helmet" and import { frameguard } from "helmet"). See #320

Changed

  • Breaking: helmet.contentSecurityPolicy: useDefaults option now defaults to true
  • 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 default
  • Breaking: helmet.originAgentCluster is enabled by default
  • helmet.frameguard: add TypeScript editor autocomplete. See #322
  • Top-level helmet() function is slightly faster

Removed

  • Breaking: Drop support for Node 10 and 11. Node 12+ is now required
evanhahn
published 5.0.0-beta.1 •

evanhahn
published 4.6.0 •

Changelog

Source

4.6.0 - 2021-05-01

Added

  • helmet.contentSecurityPolicy: the useDefaults option, defaulting to false, lets you selectively override defaults more easily
  • Explicitly define TypeScript types in package.json. See #303
SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc