Comparing version 6.1.1 to 6.1.2
# Changelog | ||
## 6.1.2 - 2023-04-09 | ||
### Fixed | ||
- Retored `main` to package to help with some build tools | ||
## 6.1.1 - 2023-04-08 | ||
@@ -4,0 +10,0 @@ |
import {IncomingMessage, ServerResponse} from "http" | ||
interface ContentSecurityPolicyDirectiveValueFunction { | ||
(req: IncomingMessage, res: ServerResponse): string | ||
} | ||
type ContentSecurityPolicyDirectiveValueFunction = (req: IncomingMessage, res: ServerResponse) => string | ||
type ContentSecurityPolicyDirectiveValue = string | ContentSecurityPolicyDirectiveValueFunction | ||
@@ -7,0 +5,0 @@ interface ContentSecurityPolicyOptions { |
{ | ||
"name": "helmet", | ||
"description": "help secure Express/Connect apps with various HTTP headers", | ||
"version": "6.1.1", | ||
"version": "6.1.2", | ||
"author": "Adam Baldwin <adam@npmjs.com> (https://evilpacket.net)", | ||
@@ -39,3 +39,4 @@ "contributors": [ | ||
} | ||
} | ||
}, | ||
"main": "./index.cjs" | ||
} |
# Helmet | ||
[![npm version](https://badge.fury.io/js/helmet.svg)](https://badge.fury.io/js/helmet) | ||
[![FOSSA Status](https://app.fossa.io/api/projects/git%2Bhttps%3A%2F%2Fgithub.com%2Fhelmetjs%2Fhelmet.svg?type=shield)](https://app.fossa.io/projects/git%2Bhttps%3A%2F%2Fgithub.com%2Fhelmetjs%2Fhelmet?ref=badge_shield) | ||
Helmet helps you secure your Express apps by setting various HTTP headers. _It's not a silver bullet_, but it can help! | ||
@@ -7,0 +4,0 @@ |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
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
87334
1025
706