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

helmet

Package Overview
Dependencies
Maintainers
0
Versions
132
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

helmet - npm Package Compare versions

Comparing version 7.2.0 to 8.0.0

13

CHANGELOG.md
# Changelog
## 8.0.0
### Changed
- **Breaking:** `Strict-Transport-Security` now has a max-age of 365 days, up from 180
- **Breaking:** `Content-Security-Policy` middleware now throws an error if a directive should have quotes but does not, such as `self` instead of `'self'`. See [#454](https://github.com/helmetjs/helmet/issues/454)
- **Breaking:** `Content-Security-Policy`'s `getDefaultDirectives` now returns a deep copy. This only affects users who were mutating the result
- **Breaking:** `Strict-Transport-Security` now throws an error when "includeSubDomains" option is misspelled. This was previously a warning
### Removed
- **Breaking:** Drop support for Node 16 and 17. Node 18+ is now required
## 7.2.0 - 2024-09-28

@@ -4,0 +17,0 @@

4

package.json
{
"name": "helmet",
"description": "help secure Express/Connect apps with various HTTP headers",
"version": "7.2.0",
"version": "8.0.0",
"author": "Adam Baldwin <adam@npmjs.com> (https://evilpacket.net)",

@@ -40,3 +40,3 @@ "contributors": [

"engines": {
"node": ">=16.0.0"
"node": ">=18.0.0"
},

@@ -43,0 +43,0 @@ "exports": {

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

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