isomorphic-dompurify
Advanced tools
+1
-1
@@ -1,1 +0,1 @@ | ||
| module.exports = window.DOMPurify || (window.DOMPurify = require('dompurify').default || require('dompurify')); | ||
| module.exports = self.DOMPurify || (self.DOMPurify = require('dompurify').default || require('dompurify')); |
+1
-1
| { | ||
| "name": "isomorphic-dompurify", | ||
| "version": "2.32.0", | ||
| "version": "2.33.0", | ||
| "description": "Makes it possible to use DOMPurify on server and client in the same way.", | ||
@@ -5,0 +5,0 @@ "keywords": [ |
+5
-0
@@ -58,2 +58,7 @@ # Isomorphic DOMPurify | ||
| ## Web Worker Support | ||
| The `isomorphic-dompurify` library is [compatible with Web Workers](https://github.com/kkomelin/isomorphic-dompurify/pull/242), | ||
| however, `dompurify`, which it depends upon, [is not, at least not yet](https://github.com/cure53/DOMPurify/issues/577). | ||
| ## License | ||
@@ -60,0 +65,0 @@ |
5982
4.73%70
7.69%