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

helmet

Package Overview
Dependencies
Maintainers
2
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 4.1.0-rc.1 to 4.1.0-rc.2

8

CHANGELOG.md

@@ -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 @@

4

dist/index.d.ts

@@ -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",

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