-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
156 lines (156 loc) · 5.21 KB
/
package.json
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
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
{
"_from": "dompurify@^2.2.9",
"_id": "dompurify@2.3.8",
"_inBundle": false,
"_integrity": "sha512-eVhaWoVibIzqdGYjwsBWodIQIaXFSB+cKDf4cfxLMsK0xiud6SE+/WCVx/Xw/UwQsa4cS3T2eITcdtmTg2UKcw==",
"_location": "/linter-ui-default/dompurify",
"_phantomChildren": {},
"_requested": {
"type": "range",
"registry": true,
"raw": "dompurify@^2.2.9",
"name": "dompurify",
"escapedName": "dompurify",
"rawSpec": "^2.2.9",
"saveSpec": null,
"fetchSpec": "^2.2.9"
},
"_requiredBy": [
"/linter-ui-default/atom-ide-base",
"/linter-ui-default/atom-ide-markdown-service"
],
"_resolved": "https://registry.npmjs.org/dompurify/-/dompurify-2.3.8.tgz",
"_shasum": "224fe9ae57d7ebd9a1ae1ac18c1c1ca3f532226f",
"_spec": "dompurify@^2.2.9",
"_where": "C:\\Users\\cmunger\\AppData\\Local\\Temp\\apm-install-dir-2022528-12584-1u7i9uu.65kf\\node_modules\\linter-ui-default\\node_modules\\atom-ide-base",
"author": {
"name": "Mario Heiderich",
"email": "mario@cure53.de",
"url": "https://cure53.de/"
},
"browser": "dist/purify.js",
"bugs": {
"url": "https://github.com/cure53/DOMPurify/issues"
},
"bundleDependencies": false,
"deprecated": false,
"description": "DOMPurify is a DOM-only, super-fast, uber-tolerant XSS sanitizer for HTML, MathML and SVG. It's written in JavaScript and works in all modern browsers (Safari, Opera (15+), Internet Explorer (10+), Firefox and Chrome - as well as almost anything else using Blink or WebKit). DOMPurify is written by security people who have vast background in web attacks and XSS. Fear not.",
"devDependencies": {
"@babel/core": "^7.17.8",
"@babel/preset-env": "^7.16.11",
"@rollup/plugin-babel": "^5.3.1",
"@rollup/plugin-commonjs": "^21.0.3",
"@rollup/plugin-node-resolve": "^13.1.3",
"@rollup/plugin-replace": "^4.0.0",
"cross-env": "^7.0.3",
"eslint-config-prettier": "^8.5.0",
"eslint-plugin-prettier": "^4.0.0",
"jquery": "^3.6.0",
"jsdom": "^19.0.0",
"karma": "^6.3.17",
"karma-browserstack-launcher": "^1.5.1",
"karma-chrome-launcher": "^3.1.0",
"karma-firefox-launcher": "^2.1.2",
"karma-qunit": "^4.1.2",
"karma-rollup-preprocessor": "^7.0.8",
"lodash.sample": "^4.2.1",
"minimist": "^1.2.6",
"npm-run-all": "^4.1.5",
"pre-commit": "^1.2.2",
"prettier": "^2.5.1",
"qunit": "^2.4.1",
"qunit-tap": "^1.5.0",
"rimraf": "^3.0.2",
"rollup": "^2.70.1",
"rollup-plugin-includepaths": "^0.2.3",
"rollup-plugin-terser": "^7.0.2",
"xo": "^0.48.0"
},
"directories": {
"test": "test"
},
"files": [
"dist"
],
"homepage": "https://github.com/cure53/DOMPurify",
"keywords": [
"dom",
"xss",
"html",
"svg",
"mathml",
"security",
"secure",
"sanitizer",
"sanitize",
"filter",
"purify"
],
"license": "(MPL-2.0 OR Apache-2.0)",
"main": "dist/purify.cjs.js",
"module": "dist/purify.es.js",
"name": "dompurify",
"pre-commit": [
"lint",
"build",
"commit-amend-build"
],
"repository": {
"type": "git",
"url": "git://github.com/cure53/DOMPurify.git"
},
"resolutions": {
"natives": "1.1.6"
},
"scripts": {
"build": "cross-env run-p build:umd build:umd:min build:es build:cjs",
"build:cjs": "cross-env NODE_ENV=development BABEL_ENV=rollup rollup -c -f cjs -o dist/purify.cjs.js",
"build:es": "cross-env NODE_ENV=development BABEL_ENV=rollup rollup -c -f es -o dist/purify.es.js",
"build:umd": "cross-env NODE_ENV=development BABEL_ENV=rollup rollup -c -f umd -o dist/purify.js",
"build:umd:min": "cross-env NODE_ENV=production BABEL_ENV=rollup rollup -c -f umd -o dist/purify.min.js",
"commit-amend-build": "scripts/commit-amend-build.sh",
"dev": "cross-env NODE_ENV=development BABEL_ENV=rollup rollup -w -c -o dist/purify.js",
"format": "npm run format:js && npm run format:md",
"format:js": "prettier --write '{src,demos,scripts,test,website}/*.js'",
"format:md": "prettier --write --parser markdown '**/*.md'",
"lint": "xo src/*.js",
"prebuild": "rimraf dist/**",
"test": "cross-env NODE_ENV=test BABEL_ENV=rollup npm run lint && npm run test:jsdom && npm run test:karma -- --browsers Chrome",
"test:ci": "cross-env NODE_ENV=test BABEL_ENV=rollup npm run test:jsdom && npm run test:karma -- --log-level error --reporters dots --single-run --shouldTestOnBrowserStack=\"${TEST_BROWSERSTACK}\" --shouldProbeOnly=\"${TEST_PROBE_ONLY}\"",
"test:jsdom": "cross-env NODE_ENV=test BABEL_ENV=rollup node test/jsdom-node-runner --dot",
"test:karma": "cross-env NODE_ENV=test BABEL_ENV=rollup karma start test/karma.conf.js --log-level warn "
},
"version": "2.3.8",
"xo": {
"semicolon": true,
"space": 2,
"extends": [
"prettier"
],
"plugins": [
"prettier"
],
"rules": {
"import/no-useless-path-segments": 0,
"unicorn/prefer-optional-catch-binding": 0,
"unicorn/prefer-node-remove": 0,
"prettier/prettier": [
"error",
{
"trailingComma": "es5",
"singleQuote": true
}
],
"camelcase": [
"error",
{
"properties": "never"
}
]
},
"globals": [
"window",
"VERSION"
]
}
}