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

express-csp-header

Package Overview
Dependencies
Maintainers
1
Versions
25
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

express-csp-header - npm Package Compare versions

Comparing version 1.2.0 to 1.2.1

1

index.js

@@ -9,2 +9,3 @@ var cspHeader = require('csp-header');

var policies,
extend,
reportUri,

@@ -11,0 +12,0 @@ reportOnly;

4

package.json
{
"name": "express-csp-header",
"version": "1.2.0",
"version": "1.2.1",
"description": "Content-Security-Policy middleware for Express",

@@ -10,3 +10,3 @@ "main": "index.js",

"scripts": {
"test": "mocha test"
"test": "mocha test --check-leaks"
},

@@ -13,0 +13,0 @@ "repository": {

@@ -6,3 +6,3 @@ # Content-Security-Policy middleware for Express

```js
var csp = require('express-csp');
var csp = require('express-csp-header');
app.use(csp({

@@ -118,2 +118,5 @@ policies: {

#### v1.1.1
* fix leaking to global scope by [@i-akhmadullin](https://github.com/i-akhmadullin)
#### v1.1.0

@@ -120,0 +123,0 @@ * Policies extending

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