Socket
Socket
Sign inDemoInstall

content-security-policy

Package Overview
Dependencies
0
Maintainers
1
Versions
9
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 0.2.0 to 0.2.2

2

lib/index.js

@@ -64,3 +64,3 @@ /**

/** Allows loading resources via the data scheme (e.g. Base64 encoded images). */
module.exports.SRC_DATA = "data";
module.exports.SRC_DATA = "data:";
/** Wildcard, allows anything. */

@@ -67,0 +67,0 @@ module.exports.SRC_ANY = "*";

{
"name": "content-security-policy",
"description": "Middleware to add Content-Security-Policy header.",
"version": "0.2.0",
"version": "0.2.2",
"author": {
"name": "Samuel Erdtman",
"email": "samuel@erdtman.se"},
"email": "samuel@erdtman.se"
},
"keywords": [

@@ -13,19 +14,29 @@ "express",

"security",
"csp"],
"licenses": [{
"type": "MIT",
"url": "http://www.opensource.org/licenses/MIT"}],
"csp"
],
"licenses": [
{
"type": "MIT",
"url": "http://www.opensource.org/licenses/MIT"
}
],
"readmeFilename": "README.md",
"repository": {
"type": "git",
"url": "git@github.com:samuelerdtman/content-security-policy.git"},
"url": "git@github.com:samuelerdtman/content-security-policy.git"
},
"bugs": {
"url": "https://github.com/samuelerdtman/content-security-policy/issues"},
"url": "https://github.com/samuelerdtman/content-security-policy/issues"
},
"main": "./lib",
"dependencies": {},
"devDependencies": {
"mocha": "1.13.x"},
"mocha": "1.13.x"
},
"scripts": {
"test": "mocha -u tdd"},
"test": "mocha -u tdd"
},
"engines": {
"node": ">= 0.4.0"}}
"node": ">= 0.4.0"
}
}
SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc