dompurify 2.3.2 → 2.3.6
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +73 -31
- package/dist/purify.cjs.js +102 -37
- package/dist/purify.cjs.js.map +1 -1
- package/dist/purify.es.js +102 -37
- package/dist/purify.es.js.map +1 -1
- package/dist/purify.js +102 -37
- package/dist/purify.js.map +1 -1
- package/dist/purify.min.js +2 -2
- package/dist/purify.min.js.map +1 -1
- package/package.json +10 -15
package/package.json
CHANGED
|
@@ -1,8 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"scripts": {
|
|
3
|
-
"build-demo": "node scripts/build-demo.js",
|
|
4
3
|
"lint": "xo src/*.js",
|
|
5
|
-
"format": "
|
|
4
|
+
"format": "npm run format:js && npm run format:md",
|
|
6
5
|
"format:md": "prettier --write --parser markdown '**/*.md'",
|
|
7
6
|
"format:js": "prettier --write '{src,demos,scripts,test,website}/*.js'",
|
|
8
7
|
"commit-amend-build": "scripts/commit-amend-build.sh",
|
|
@@ -63,33 +62,30 @@
|
|
|
63
62
|
},
|
|
64
63
|
"devDependencies": {
|
|
65
64
|
"@babel/plugin-external-helpers": "7.12.13",
|
|
66
|
-
"babel": "^6.23.0",
|
|
67
65
|
"babel-core": "^6.26.3",
|
|
68
66
|
"babel-preset-env": "^1.7.0",
|
|
69
67
|
"cross-env": "^7.0.3",
|
|
70
68
|
"eslint-config-prettier": "^8.3.0",
|
|
71
|
-
"eslint-plugin-prettier": "^
|
|
69
|
+
"eslint-plugin-prettier": "^4.0.0",
|
|
72
70
|
"he": "^1.2.0",
|
|
73
71
|
"jquery": "^3.6.0",
|
|
74
72
|
"jsdom": "16.x.x",
|
|
75
|
-
"karma": "^
|
|
73
|
+
"karma": "^6.3.14",
|
|
76
74
|
"karma-browserstack-launcher": "^1.5.1",
|
|
77
|
-
"karma-chrome-launcher": "^
|
|
78
|
-
"karma-firefox-launcher": "^1.
|
|
75
|
+
"karma-chrome-launcher": "^3.1.0",
|
|
76
|
+
"karma-firefox-launcher": "^2.1.2",
|
|
79
77
|
"karma-fixture": "^0.2.6",
|
|
80
78
|
"karma-html2js-preprocessor": "^1.0.0",
|
|
81
79
|
"karma-json-fixtures-preprocessor": "0.0.6",
|
|
82
|
-
"karma-qunit": "^1.
|
|
80
|
+
"karma-qunit": "^4.1.2",
|
|
83
81
|
"karma-rollup-preprocessor": "^5.0.2",
|
|
84
|
-
"lodash.isarray": "^4.0.0",
|
|
85
82
|
"lodash.sample": "^4.2.1",
|
|
86
83
|
"minimist": "^1.2.5",
|
|
87
84
|
"npm-run-all": "^4.1.5",
|
|
88
85
|
"pre-commit": "^1.2.2",
|
|
89
|
-
"prettier": "^2.
|
|
90
|
-
"qunit-parameterize": "^0.4.0",
|
|
86
|
+
"prettier": "^2.5.1",
|
|
91
87
|
"qunit-tap": "^1.5.0",
|
|
92
|
-
"
|
|
88
|
+
"qunit": "^2.4.1",
|
|
93
89
|
"rimraf": "^3.0.2",
|
|
94
90
|
"rollup": "^0.68.2",
|
|
95
91
|
"rollup-plugin-babel": "^3.0.3",
|
|
@@ -98,15 +94,14 @@
|
|
|
98
94
|
"rollup-plugin-node-resolve": "^3.4.0",
|
|
99
95
|
"rollup-plugin-replace": "^2.2.0",
|
|
100
96
|
"rollup-plugin-terser": "^7.0.2",
|
|
101
|
-
"
|
|
102
|
-
"xo": "^0.40.1"
|
|
97
|
+
"xo": "^0.48.0"
|
|
103
98
|
},
|
|
104
99
|
"resolutions": {
|
|
105
100
|
"natives": "1.1.6"
|
|
106
101
|
},
|
|
107
102
|
"name": "dompurify",
|
|
108
103
|
"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.",
|
|
109
|
-
"version": "2.3.
|
|
104
|
+
"version": "2.3.6",
|
|
110
105
|
"directories": {
|
|
111
106
|
"test": "test"
|
|
112
107
|
},
|