2012-09-18 23:31:45 +08:00
|
|
|
{
|
2014-02-19 15:45:00 +08:00
|
|
|
"name": "xss",
|
|
|
|
|
"main": "./lib/index.js",
|
2014-03-03 10:24:40 +08:00
|
|
|
"version": "0.1.5",
|
2014-02-20 10:50:44 +08:00
|
|
|
"description": "Sanitize untrusted HTML (to prevent XSS) with a configuration specified by a Whitelist. 根据白名单过滤HTML(防止XSS攻击)",
|
2014-02-19 15:45:00 +08:00
|
|
|
"author": "leizongmin <leizongmin@gmail.com> (http://ucdok.com)",
|
|
|
|
|
"contributors": [
|
|
|
|
|
{
|
|
|
|
|
"name": "Zongmin Lei",
|
|
|
|
|
"email": "leizongmin@gmail.com"
|
|
|
|
|
}
|
|
|
|
|
],
|
2012-09-18 23:31:45 +08:00
|
|
|
"repository": {
|
|
|
|
|
"type": "git",
|
2014-02-19 15:45:00 +08:00
|
|
|
"url": "git://github.com/leizongmin/js-xss.git"
|
2012-09-18 23:31:45 +08:00
|
|
|
},
|
|
|
|
|
"engines": {
|
2014-02-19 15:45:00 +08:00
|
|
|
"node": ">= 0.6.0"
|
2012-09-18 23:31:45 +08:00
|
|
|
},
|
|
|
|
|
"devDependencies": {
|
2014-02-19 15:45:00 +08:00
|
|
|
"mocha": "1.8.2",
|
|
|
|
|
"blanket": "1.1.5",
|
|
|
|
|
"browserify": "*",
|
|
|
|
|
"uglify-js": "*"
|
2012-09-18 23:31:45 +08:00
|
|
|
},
|
|
|
|
|
"scripts": {
|
2014-02-19 15:45:00 +08:00
|
|
|
"blanket": {
|
|
|
|
|
"pattern": "xss/lib"
|
|
|
|
|
},
|
|
|
|
|
"test": "mocha --require blanket -R html-cov > coverage.html -t 5000"
|
|
|
|
|
},
|
|
|
|
|
"licenses": [
|
|
|
|
|
{
|
|
|
|
|
"type": "MIT",
|
|
|
|
|
"url": "https://raw.github.com/leizongmin/js-xss/master/MIT-License"
|
|
|
|
|
}
|
|
|
|
|
],
|
|
|
|
|
"bugs": {
|
|
|
|
|
"url": "https://github.com/leizongmin/js-xss/issues"
|
2014-02-19 14:52:16 +08:00
|
|
|
},
|
|
|
|
|
"homepage": "https://github.com/leizongmin/js-xss",
|
|
|
|
|
"keywords": [
|
|
|
|
|
"sanitization",
|
|
|
|
|
"xss",
|
|
|
|
|
"sanitize",
|
|
|
|
|
"sanitisation",
|
|
|
|
|
"input",
|
|
|
|
|
"security",
|
|
|
|
|
"escape",
|
|
|
|
|
"encode",
|
|
|
|
|
"filter",
|
2014-02-20 10:22:51 +08:00
|
|
|
"validator",
|
|
|
|
|
"html",
|
2014-02-20 10:50:44 +08:00
|
|
|
"injection",
|
|
|
|
|
"whitelist"
|
2014-02-19 14:52:16 +08:00
|
|
|
]
|
2014-02-19 15:45:00 +08:00
|
|
|
}
|