Socket
Socket
Sign inDemoInstall

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 6.1.1 to 6.1.2

6

CHANGELOG.md
# 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 @@

4

index.d.ts
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

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