1 | {
|
---|
2 | "_from": "dompurify@2.5.8",
|
---|
3 | "_id": "dompurify@2.5.8",
|
---|
4 | "_inBundle": false,
|
---|
5 | "_integrity": "sha512-o1vSNgrmYMQObbSSvF/1brBYEQPHhV1+gsmrusO7/GXtp1T9rCS8cXFqVxK/9crT1jA6Ccv+5MTSjBNqr7Sovw==",
|
---|
6 | "_location": "/dompurify",
|
---|
7 | "_phantomChildren": {},
|
---|
8 | "_requested": {
|
---|
9 | "type": "version",
|
---|
10 | "registry": true,
|
---|
11 | "raw": "dompurify@2.5.8",
|
---|
12 | "name": "dompurify",
|
---|
13 | "escapedName": "dompurify",
|
---|
14 | "rawSpec": "2.5.8",
|
---|
15 | "saveSpec": null,
|
---|
16 | "fetchSpec": "2.5.8"
|
---|
17 | },
|
---|
18 | "_requiredBy": [
|
---|
19 | "/jspdf"
|
---|
20 | ],
|
---|
21 | "_resolved": "https://registry.npmjs.org/dompurify/-/dompurify-2.5.8.tgz",
|
---|
22 | "_shasum": "2809d89d7e528dc7a071dea440d7376df676f824",
|
---|
23 | "_spec": "dompurify@2.5.8",
|
---|
24 | "_where": "/home/stevetosak/Proekt/IMaps/imaps-frontend/node_modules/jspdf",
|
---|
25 | "author": {
|
---|
26 | "name": "Mario Heiderich",
|
---|
27 | "email": "mario@cure53.de",
|
---|
28 | "url": "https://cure53.de/"
|
---|
29 | },
|
---|
30 | "browser": "dist/purify.js",
|
---|
31 | "bugs": {
|
---|
32 | "url": "https://github.com/cure53/DOMPurify/issues"
|
---|
33 | },
|
---|
34 | "bundleDependencies": false,
|
---|
35 | "deprecated": false,
|
---|
36 | "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.",
|
---|
37 | "devDependencies": {
|
---|
38 | "@babel/core": "^7.17.8",
|
---|
39 | "@babel/preset-env": "^7.16.11",
|
---|
40 | "@rollup/plugin-babel": "^5.3.1",
|
---|
41 | "@rollup/plugin-commonjs": "^21.0.3",
|
---|
42 | "@rollup/plugin-node-resolve": "^13.1.3",
|
---|
43 | "@rollup/plugin-replace": "^4.0.0",
|
---|
44 | "@types/dompurify": "^2.3.3",
|
---|
45 | "@types/estree": "^1.0.0",
|
---|
46 | "cross-env": "^7.0.3",
|
---|
47 | "eslint-config-prettier": "^8.5.0",
|
---|
48 | "eslint-plugin-prettier": "^4.0.0",
|
---|
49 | "jquery": "^3.6.0",
|
---|
50 | "jsdom": "^20.0.0",
|
---|
51 | "karma": "^6.3.17",
|
---|
52 | "karma-browserstack-launcher": "^1.5.1",
|
---|
53 | "karma-chrome-launcher": "^3.1.0",
|
---|
54 | "karma-firefox-launcher": "^2.1.2",
|
---|
55 | "karma-qunit": "^4.1.2",
|
---|
56 | "karma-rollup-preprocessor": "^7.0.8",
|
---|
57 | "lodash.sample": "^4.2.1",
|
---|
58 | "minimist": "^1.2.6",
|
---|
59 | "npm-run-all": "^4.1.5",
|
---|
60 | "pre-commit": "^1.2.2",
|
---|
61 | "prettier": "^2.5.1",
|
---|
62 | "qunit": "^2.4.1",
|
---|
63 | "qunit-tap": "^1.5.0",
|
---|
64 | "rimraf": "^3.0.2",
|
---|
65 | "rollup": "^2.70.1",
|
---|
66 | "rollup-plugin-includepaths": "^0.2.3",
|
---|
67 | "rollup-plugin-terser": "^7.0.2",
|
---|
68 | "xo": "^0.48.0"
|
---|
69 | },
|
---|
70 | "directories": {
|
---|
71 | "test": "test"
|
---|
72 | },
|
---|
73 | "files": [
|
---|
74 | "dist"
|
---|
75 | ],
|
---|
76 | "homepage": "https://github.com/cure53/DOMPurify",
|
---|
77 | "keywords": [
|
---|
78 | "dom",
|
---|
79 | "xss",
|
---|
80 | "html",
|
---|
81 | "svg",
|
---|
82 | "mathml",
|
---|
83 | "security",
|
---|
84 | "secure",
|
---|
85 | "sanitizer",
|
---|
86 | "sanitize",
|
---|
87 | "filter",
|
---|
88 | "purify"
|
---|
89 | ],
|
---|
90 | "license": "(MPL-2.0 OR Apache-2.0)",
|
---|
91 | "main": "dist/purify.cjs.js",
|
---|
92 | "module": "dist/purify.es.js",
|
---|
93 | "name": "dompurify",
|
---|
94 | "pre-commit": [
|
---|
95 | "lint",
|
---|
96 | "build",
|
---|
97 | "commit-amend-build"
|
---|
98 | ],
|
---|
99 | "repository": {
|
---|
100 | "type": "git",
|
---|
101 | "url": "git://github.com/cure53/DOMPurify.git"
|
---|
102 | },
|
---|
103 | "resolutions": {
|
---|
104 | "natives": "1.1.6"
|
---|
105 | },
|
---|
106 | "scripts": {
|
---|
107 | "build": "cross-env run-p build:umd build:umd:min build:es build:cjs",
|
---|
108 | "build:cjs": "cross-env NODE_ENV=development BABEL_ENV=rollup rollup -c -f cjs -o dist/purify.cjs.js",
|
---|
109 | "build:es": "cross-env NODE_ENV=development BABEL_ENV=rollup rollup -c -f es -o dist/purify.es.js",
|
---|
110 | "build:umd": "cross-env NODE_ENV=development BABEL_ENV=rollup rollup -c -f umd -o dist/purify.js",
|
---|
111 | "build:umd:min": "cross-env NODE_ENV=production BABEL_ENV=rollup rollup -c -f umd -o dist/purify.min.js",
|
---|
112 | "commit-amend-build": "scripts/commit-amend-build.sh",
|
---|
113 | "dev": "cross-env NODE_ENV=development BABEL_ENV=rollup rollup -w -c -o dist/purify.js",
|
---|
114 | "format": "npm run format:js && npm run format:md",
|
---|
115 | "format:js": "prettier --write '{src,demos,scripts,test,website}/*.js'",
|
---|
116 | "format:md": "prettier --write --parser markdown '**/*.md'",
|
---|
117 | "lint": "xo src/*.js",
|
---|
118 | "prebuild": "rimraf dist/**",
|
---|
119 | "test": "cross-env NODE_ENV=test BABEL_ENV=rollup npm run lint && npm run test:jsdom && npm run test:karma -- --browsers Chrome",
|
---|
120 | "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}\"",
|
---|
121 | "test:jsdom": "cross-env NODE_ENV=test BABEL_ENV=rollup node test/jsdom-node-runner --dot",
|
---|
122 | "test:karma": "cross-env NODE_ENV=test BABEL_ENV=rollup karma start test/karma.conf.js --log-level warn "
|
---|
123 | },
|
---|
124 | "version": "2.5.8",
|
---|
125 | "xo": {
|
---|
126 | "semicolon": true,
|
---|
127 | "space": 2,
|
---|
128 | "extends": [
|
---|
129 | "prettier"
|
---|
130 | ],
|
---|
131 | "plugins": [
|
---|
132 | "prettier"
|
---|
133 | ],
|
---|
134 | "rules": {
|
---|
135 | "import/no-useless-path-segments": 0,
|
---|
136 | "unicorn/prefer-optional-catch-binding": 0,
|
---|
137 | "unicorn/prefer-node-remove": 0,
|
---|
138 | "prettier/prettier": [
|
---|
139 | "error",
|
---|
140 | {
|
---|
141 | "trailingComma": "es5",
|
---|
142 | "singleQuote": true
|
---|
143 | }
|
---|
144 | ],
|
---|
145 | "camelcase": [
|
---|
146 | "error",
|
---|
147 | {
|
---|
148 | "properties": "never"
|
---|
149 | }
|
---|
150 | ]
|
---|
151 | },
|
---|
152 | "globals": [
|
---|
153 | "window",
|
---|
154 | "VERSION"
|
---|
155 | ]
|
---|
156 | }
|
---|
157 | }
|
---|