isomorphic-dompurify 2.26.0 → 2.28.0
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 +1 -1
- package/package.json +4 -4
package/README.md
CHANGED
|
@@ -1,7 +1,6 @@
|
|
|
1
1
|
# Isomorphic DOMPurify
|
|
2
2
|
[](https://badge.fury.io/js/isomorphic-dompurify)
|
|
3
3
|
[](https://github.com/kkomelin/isomorphic-dompurify/actions/workflows/build_test.yml)
|
|
4
|
-
[](https://bundlephobia.com/result?p=isomorphic-dompurify)
|
|
5
4
|
|
|
6
5
|
The library makes it possible to seamlessly use [DOMPurify](https://github.com/cure53/DOMPurify) on server and client in the same way.
|
|
7
6
|
It does nothing by itself except providing an isomorphic/universal wrapper around DOMPurify, so all credits go to DOMPurify authors and contributors.
|
|
@@ -26,6 +25,7 @@ It was inspired by [Isomorphic Unfetch](https://github.com/developit/unfetch/tre
|
|
|
26
25
|
| `>=0.20.0` | `>=14` | Server |
|
|
27
26
|
| `>=1.4.0` | `>=16` | Server |
|
|
28
27
|
| `>=1.10.0` | `>=18` | Server |
|
|
28
|
+
| `>=2.27.0` | `>=20` | Server |
|
|
29
29
|
|
|
30
30
|
## Installation
|
|
31
31
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "isomorphic-dompurify",
|
|
3
|
-
"version": "2.
|
|
3
|
+
"version": "2.28.0",
|
|
4
4
|
"description": "Makes it possible to use DOMPurify on server and client in the same way.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"security",
|
|
@@ -42,11 +42,11 @@
|
|
|
42
42
|
}
|
|
43
43
|
},
|
|
44
44
|
"dependencies": {
|
|
45
|
-
"dompurify": "^3.2.
|
|
46
|
-
"jsdom": "^
|
|
45
|
+
"dompurify": "^3.2.7",
|
|
46
|
+
"jsdom": "^27.0.0"
|
|
47
47
|
},
|
|
48
48
|
"devDependencies": {
|
|
49
|
-
"terser": "^5.
|
|
49
|
+
"terser": "^5.44.0",
|
|
50
50
|
"vitest": "^3.2.4"
|
|
51
51
|
},
|
|
52
52
|
"engines": {
|