content-security-policy
Advanced tools
Comparing version 0.2.0 to 0.2.2
@@ -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" | ||
} | ||
} |
7806