Comparing version 0.0.10 to 0.0.11
/* | ||
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": { |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
11796