Comparing version 4.1.0-rc.1 to 4.1.0-rc.2
@@ -10,2 +10,10 @@ # Changelog | ||
### Changed | ||
- Helmet should now play more nicely with TypeScript | ||
### Removed | ||
- The `HelmetOptions` interface is no longer exported. This only affects TypeScript users. | ||
## 4.0.0 - 2020-08-02 | ||
@@ -12,0 +20,0 @@ |
@@ -13,3 +13,3 @@ import { IncomingMessage, ServerResponse } from "http"; | ||
import xXssProtection from "./middlewares/x-xss-protection"; | ||
export interface HelmetOptions { | ||
interface HelmetOptions { | ||
contentSecurityPolicy?: MiddlewareOption<ContentSecurityPolicyOptions>; | ||
@@ -45,2 +45,2 @@ dnsPrefetchControl?: MiddlewareOption<XDnsPrefetchControlOptions>; | ||
} | ||
export default helmet; | ||
export = helmet; |
@@ -5,3 +5,2 @@ "use strict"; | ||
}; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
const content_security_policy_1 = __importDefault(require("./middlewares/content-security-policy")); | ||
@@ -132,2 +131,1 @@ const expect_ct_1 = __importDefault(require("./middlewares/expect-ct")); | ||
module.exports = helmet; | ||
exports.default = helmet; |
@@ -9,3 +9,3 @@ { | ||
"description": "help secure Express/Connect apps with various HTTP headers", | ||
"version": "4.1.0-rc.1", | ||
"version": "4.1.0-rc.2", | ||
"keywords": [ | ||
@@ -12,0 +12,0 @@ "express", |
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
68284
576