dompurify 3.3.0 → 3.3.2
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 +9 -6
- package/dist/purify.cjs.d.ts +6 -2
- package/dist/purify.cjs.js +21 -4
- package/dist/purify.cjs.js.map +1 -1
- package/dist/purify.es.d.mts +6 -2
- package/dist/purify.es.mjs +21 -4
- package/dist/purify.es.mjs.map +1 -1
- package/dist/purify.js +21 -4
- 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 +6 -5
package/package.json
CHANGED
|
@@ -7,7 +7,7 @@
|
|
|
7
7
|
"commit-amend-build": "scripts/commit-amend-build.sh",
|
|
8
8
|
"prebuild": "rimraf dist/**",
|
|
9
9
|
"dev": "cross-env NODE_ENV=development BABEL_ENV=rollup rollup -w -c -o dist/purify.js",
|
|
10
|
-
"build": "run
|
|
10
|
+
"build": "npm run build:types && npm run build:rollup && npm run build:fix-types && npm run build:cleanup",
|
|
11
11
|
"build:types": "tsc --outDir dist/types --declaration --emitDeclarationOnly",
|
|
12
12
|
"build:rollup": "rollup -c",
|
|
13
13
|
"build:fix-types": "node ./scripts/fix-types.js",
|
|
@@ -97,6 +97,9 @@
|
|
|
97
97
|
"VERSION"
|
|
98
98
|
]
|
|
99
99
|
},
|
|
100
|
+
"engines": {
|
|
101
|
+
"node": ">=20"
|
|
102
|
+
},
|
|
100
103
|
"optionalDependencies": {
|
|
101
104
|
"@types/trusted-types": "^2.0.7"
|
|
102
105
|
},
|
|
@@ -120,15 +123,13 @@
|
|
|
120
123
|
"karma-firefox-launcher": "^2.1.2",
|
|
121
124
|
"karma-qunit": "^4.1.2",
|
|
122
125
|
"karma-rollup-preprocessor": "^7.0.8",
|
|
123
|
-
"lodash.sample": "^4.2.1",
|
|
124
126
|
"minimist": "^1.2.6",
|
|
125
|
-
"npm-run-all": "^4.1.5",
|
|
126
127
|
"pre-commit": "^1.2.2",
|
|
127
128
|
"prettier": "^2.5.1",
|
|
128
129
|
"qunit": "^2.4.1",
|
|
129
130
|
"qunit-tap": "^1.5.0",
|
|
130
131
|
"rimraf": "^3.0.2",
|
|
131
|
-
"rollup": "^3.
|
|
132
|
+
"rollup": "^3.30.0",
|
|
132
133
|
"rollup-plugin-dts": "^6.1.1",
|
|
133
134
|
"rollup-plugin-includepaths": "^0.2.4",
|
|
134
135
|
"rollup-plugin-typescript2": "^0.36.0",
|
|
@@ -141,7 +142,7 @@
|
|
|
141
142
|
},
|
|
142
143
|
"name": "dompurify",
|
|
143
144
|
"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.",
|
|
144
|
-
"version": "3.3.
|
|
145
|
+
"version": "3.3.2",
|
|
145
146
|
"directories": {
|
|
146
147
|
"test": "test"
|
|
147
148
|
},
|