2012-09-18 23:31:45 +08:00
|
|
|
{
|
2014-02-19 15:45:00 +08:00
|
|
|
"name": "xss",
|
|
|
|
|
"main": "./lib/index.js",
|
2016-11-06 11:06:22 +08:00
|
|
|
"version": "0.2.17",
|
2016-05-04 11:20:42 +08:00
|
|
|
"description": "Sanitize untrusted HTML (to prevent XSS) with a configuration specified by a Whitelist",
|
2016-10-26 12:18:23 +08:00
|
|
|
"author": "Zongmin Lei <leizongmin@gmail.com> (http://ucdok.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": {
|
2015-11-18 11:00:50 +08:00
|
|
|
"node": ">= 0.10.0"
|
2012-09-18 23:31:45 +08:00
|
|
|
},
|
2014-03-03 18:35:54 +08:00
|
|
|
"dependencies": {
|
2015-11-18 10:28:37 +08:00
|
|
|
"commander": "^2.9.0",
|
2016-10-26 12:20:15 +08:00
|
|
|
"cssfilter": "^0.0.8"
|
2014-03-03 18:35:54 +08:00
|
|
|
},
|
2012-09-18 23:31:45 +08:00
|
|
|
"devDependencies": {
|
2016-06-29 12:30:17 +08:00
|
|
|
"browserify": "^13.0.1",
|
2016-05-05 21:55:11 +08:00
|
|
|
"coveralls": "^2.11.9",
|
2015-12-01 22:07:38 +08:00
|
|
|
"debug": "^2.2.0",
|
2016-05-05 21:55:11 +08:00
|
|
|
"istanbul": "^0.4.3",
|
2016-08-08 16:48:44 +08:00
|
|
|
"mocha": "^3.0.2",
|
2015-11-18 10:28:37 +08:00
|
|
|
"uglify-js": "^2.6.1"
|
2015-05-06 11:09:32 +08:00
|
|
|
},
|
2016-10-12 13:28:22 +08:00
|
|
|
"files": [
|
|
|
|
|
"lib",
|
|
|
|
|
"bin/xss"
|
|
|
|
|
],
|
2014-03-03 18:35:54 +08:00
|
|
|
"bin": {
|
|
|
|
|
"xss": "./bin/xss"
|
|
|
|
|
},
|
2012-09-18 23:31:45 +08:00
|
|
|
"scripts": {
|
2016-05-05 21:55:11 +08:00
|
|
|
"test": "export DEBUG=xss:* && mocha -t 5000",
|
|
|
|
|
"test-cov": "export DEBUG=xss:* && istanbul cover _mocha --report lcovonly -- -t 5000 -R spec && cat ./coverage/lcov.info | ./node_modules/coveralls/bin/coveralls.js && rm -rf ./coverage",
|
2015-12-01 21:54:20 +08:00
|
|
|
"build": "./bin/build",
|
|
|
|
|
"prepublish": "npm run test && npm run build"
|
2014-02-19 15:45:00 +08:00
|
|
|
},
|
2016-10-26 12:18:23 +08:00
|
|
|
"license": "MIT",
|
2014-02-19 15:45:00 +08:00
|
|
|
"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
|
|
|
]
|
2015-04-13 13:24:31 +08:00
|
|
|
}
|