333
schangxiang@126.com
2025-09-19 18966e02fb573c7e2bb0c6426ed792b38b910940
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
{
  "_args": [
    [
      "xss@1.0.6",
      "E:\\ximenzi\\wms\\old\\api"
    ]
  ],
  "_from": "xss@1.0.6",
  "_id": "xss@1.0.6",
  "_inBundle": false,
  "_integrity": "sha512-6Q9TPBeNyoTRxgZFk5Ggaepk/4vUOYdOsIUYvLehcsIZTFjaavbVnsuAkLA5lIFuug5hw8zxcB9tm01gsjph2A==",
  "_location": "/xss",
  "_phantomChildren": {},
  "_requested": {
    "type": "version",
    "registry": true,
    "raw": "xss@1.0.6",
    "name": "xss",
    "escapedName": "xss",
    "rawSpec": "1.0.6",
    "saveSpec": null,
    "fetchSpec": "1.0.6"
  },
  "_requiredBy": [
    "/egg-security"
  ],
  "_resolved": "https://registry.npmjs.org/xss/-/xss-1.0.6.tgz",
  "_spec": "1.0.6",
  "_where": "E:\\ximenzi\\wms\\old\\api",
  "author": {
    "name": "Zongmin Lei",
    "email": "leizongmin@gmail.com",
    "url": "http://ucdok.com"
  },
  "bin": {
    "xss": "./bin/xss"
  },
  "bugs": {
    "url": "https://github.com/leizongmin/js-xss/issues"
  },
  "dependencies": {
    "commander": "^2.9.0",
    "cssfilter": "0.0.10"
  },
  "description": "Sanitize untrusted HTML (to prevent XSS) with a configuration specified by a Whitelist",
  "devDependencies": {
    "browserify": "^14.1.0",
    "coveralls": "^3.0.0",
    "debug": "^3.1.0",
    "istanbul": "^0.4.3",
    "mocha": "^4.0.1",
    "uglify-js": "^3.0.14"
  },
  "engines": {
    "node": ">= 0.10.0"
  },
  "files": [
    "lib",
    "bin/xss",
    "dist",
    "typings/*.d.ts"
  ],
  "homepage": "https://github.com/leizongmin/js-xss",
  "keywords": [
    "sanitization",
    "xss",
    "sanitize",
    "sanitisation",
    "input",
    "security",
    "escape",
    "encode",
    "filter",
    "validator",
    "html",
    "injection",
    "whitelist"
  ],
  "license": "MIT",
  "main": "./lib/index.js",
  "name": "xss",
  "repository": {
    "type": "git",
    "url": "git://github.com/leizongmin/js-xss.git"
  },
  "scripts": {
    "build": "./bin/build",
    "prepublish": "npm run test && npm run build",
    "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"
  },
  "typings": "./typings/xss.d.ts",
  "version": "1.0.6"
}