2012-09-18 23:31:45 +08:00
|
|
|
{
|
2014-02-19 15:45:00 +08:00
|
|
|
"name": "xss",
|
|
|
|
|
"main": "./lib/index.js",
|
2016-11-17 10:40:38 +08:00
|
|
|
"typings": "./typings/xss.d.ts",
|
2021-05-06 11:32:55 +08:00
|
|
|
"version": "1.0.9",
|
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": {
|
2020-06-08 10:47:45 +08:00
|
|
|
"commander": "^2.20.3",
|
2017-02-01 10:55:22 +08:00
|
|
|
"cssfilter": "0.0.10"
|
2014-03-03 18:35:54 +08:00
|
|
|
},
|
2012-09-18 23:31:45 +08:00
|
|
|
"devDependencies": {
|
2020-06-08 10:47:45 +08:00
|
|
|
"browserify": "^16.5.1",
|
|
|
|
|
"coveralls": "^3.1.0",
|
2019-04-13 11:49:36 +08:00
|
|
|
"debug": "^4.1.1",
|
2020-06-08 10:47:45 +08:00
|
|
|
"mocha": "^6.2.3",
|
2020-06-08 14:46:12 +08:00
|
|
|
"nyc": "^15.1.0",
|
2020-06-08 10:47:45 +08:00
|
|
|
"uglify-js": "^3.9.4"
|
2015-05-06 11:09:32 +08:00
|
|
|
},
|
2016-10-12 13:28:22 +08:00
|
|
|
"files": [
|
|
|
|
|
"lib",
|
2016-11-16 10:59:44 +02:00
|
|
|
"bin/xss",
|
2016-11-17 10:40:38 +08:00
|
|
|
"dist",
|
|
|
|
|
"typings/*.d.ts"
|
2016-10-12 13:28:22 +08:00
|
|
|
],
|
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",
|
2020-06-08 14:46:12 +08:00
|
|
|
"test-cov": "nyc --reporter=lcov mocha --exit \"test/*.js\" && nyc report",
|
|
|
|
|
"coveralls": "cat ./coverage/lcov.info | ./node_modules/coveralls/bin/coveralls.js",
|
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
|
|
|
}
|