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

helmet

Package Overview
Dependencies
Maintainers
1
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 0.0.1 to 0.0.2

lib/middleware/iexss.js

2

package.json

@@ -5,3 +5,3 @@ {

"description": "Security header middleware collection for express",
"version": "0.0.1",
"version": "0.0.2",
"repository": {

@@ -8,0 +8,0 @@ "url": "git://github.com/andyet/helmet.git"

@@ -7,3 +7,10 @@ Express / Connect middleware that implement various security headers. [with sane defaults where applicable]

- xframe (X-FRAME-OPTIONS)
- iexss (X-XSS-PROTECTION for IE8+)
## Installation
```
npm install helmet
```
## Basic Express Usage

@@ -100,6 +107,14 @@

## X-XSS-PROTECTION
The following example sets the X-XSS-PROTECTION: 1; mode=block header
```javascript
helmet.iexss();
```
## To Be Implemented
- HTTP Strict Transport Security
- X-XSS-Protection for IE
- Warn when self, unsafe-inline or unsafe-eval are not single quoted

@@ -106,0 +121,0 @@ - Warn when unsafe-inline or unsafe-eval are used

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