Socket
Socket
Sign inDemoInstall

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 Compare versions

Comparing version 0.0.10 to 0.0.11

4

lib/middleware/hsts.js
/*
HTTP Strict Transport Security (HSTS)
http://tools.ietf.org/html/draft-ietf-websec-strict-transport-sec-04
http://tools.ietf.org/html/rfc6797

@@ -10,3 +10,3 @@ */

if (!maxAge) maxAge = '15768000'; // Approximately 6 months
var header = "maxAge=" + maxAge;
var header = "max-age=" + maxAge;

@@ -13,0 +13,0 @@ if (includeSubdomains) header += '; includeSubdomains';

@@ -5,3 +5,3 @@ {

"description": "Security header middleware collection for express",
"version": "0.0.10",
"version": "0.0.11",
"keywords": ["security", "headers", "express", "x-frame-options", "csp", "hsts"],

@@ -8,0 +8,0 @@ "repository": {

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