url-sanitizer 0.9.8 → 0.9.9
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
CHANGED
package/dist/url-sanitizer.js
CHANGED
|
@@ -366,7 +366,7 @@ var require_purify = __commonJS({
|
|
|
366
366
|
var DOMPurify = function DOMPurify2(root) {
|
|
367
367
|
return createDOMPurify(root);
|
|
368
368
|
};
|
|
369
|
-
DOMPurify.version = "3.0.
|
|
369
|
+
DOMPurify.version = "3.0.1";
|
|
370
370
|
DOMPurify.removed = [];
|
|
371
371
|
if (!window2 || !window2.document || window2.document.nodeType !== 9) {
|
|
372
372
|
DOMPurify.isSupported = false;
|
|
@@ -509,6 +509,7 @@ var require_purify = __commonJS({
|
|
|
509
509
|
IN_PLACE = cfg.IN_PLACE || false;
|
|
510
510
|
IS_ALLOWED_URI$1 = cfg.ALLOWED_URI_REGEXP || IS_ALLOWED_URI$1;
|
|
511
511
|
NAMESPACE = cfg.NAMESPACE || HTML_NAMESPACE;
|
|
512
|
+
CUSTOM_ELEMENT_HANDLING = cfg.CUSTOM_ELEMENT_HANDLING || {};
|
|
512
513
|
if (cfg.CUSTOM_ELEMENT_HANDLING && isRegexOrFunction(cfg.CUSTOM_ELEMENT_HANDLING.tagNameCheck)) {
|
|
513
514
|
CUSTOM_ELEMENT_HANDLING.tagNameCheck = cfg.CUSTOM_ELEMENT_HANDLING.tagNameCheck;
|
|
514
515
|
}
|
|
@@ -1669,6 +1670,6 @@ export {
|
|
|
1669
1670
|
/*! Bundled license information:
|
|
1670
1671
|
|
|
1671
1672
|
dompurify/dist/purify.js:
|
|
1672
|
-
(*! @license DOMPurify 3.0.
|
|
1673
|
+
(*! @license DOMPurify 3.0.1 | (c) Cure53 and other contributors | Released under the Apache license 2.0 and Mozilla Public License 2.0 | github.com/cure53/DOMPurify/blob/3.0.1/LICENSE *)
|
|
1673
1674
|
*/
|
|
1674
1675
|
//# sourceMappingURL=url-sanitizer.js.map
|