express-csp-header
Advanced tools
Comparing version 1.2.0 to 1.2.1
@@ -9,2 +9,3 @@ var cspHeader = require('csp-header'); | ||
var policies, | ||
extend, | ||
reportUri, | ||
@@ -11,0 +12,0 @@ reportOnly; |
{ | ||
"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 |
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
10392
186
130