@nsshunt/stsuxvue 1.0.35 → 1.0.36
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/dist/stsuxvue.mjs
CHANGED
|
@@ -5787,7 +5787,7 @@ function requireAnsi_to_html() {
|
|
|
5787
5787
|
}
|
|
5788
5788
|
var ansi_to_htmlExports = requireAnsi_to_html();
|
|
5789
5789
|
const Convert = /* @__PURE__ */ getDefaultExportFromCjs(ansi_to_htmlExports);
|
|
5790
|
-
/*! @license DOMPurify 3.2.
|
|
5790
|
+
/*! @license DOMPurify 3.2.5 | (c) Cure53 and other contributors | Released under the Apache license 2.0 and Mozilla Public License 2.0 | github.com/cure53/DOMPurify/blob/3.2.5/LICENSE */
|
|
5791
5791
|
const {
|
|
5792
5792
|
entries,
|
|
5793
5793
|
setPrototypeOf,
|
|
@@ -5840,6 +5840,9 @@ const regExpTest = unapply(RegExp.prototype.test);
|
|
|
5840
5840
|
const typeErrorCreate = unconstruct(TypeError);
|
|
5841
5841
|
function unapply(func) {
|
|
5842
5842
|
return function(thisArg) {
|
|
5843
|
+
if (thisArg instanceof RegExp) {
|
|
5844
|
+
thisArg.lastIndex = 0;
|
|
5845
|
+
}
|
|
5843
5846
|
for (var _len = arguments.length, args = new Array(_len > 1 ? _len - 1 : 0), _key = 1; _key < _len; _key++) {
|
|
5844
5847
|
args[_key - 1] = arguments[_key];
|
|
5845
5848
|
}
|
|
@@ -6009,7 +6012,7 @@ const _createHooksMap = function _createHooksMap2() {
|
|
|
6009
6012
|
function createDOMPurify() {
|
|
6010
6013
|
let window2 = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : getGlobal();
|
|
6011
6014
|
const DOMPurify = (root) => createDOMPurify(root);
|
|
6012
|
-
DOMPurify.version = "3.2.
|
|
6015
|
+
DOMPurify.version = "3.2.5";
|
|
6013
6016
|
DOMPurify.removed = [];
|
|
6014
6017
|
if (!window2 || !window2.document || window2.document.nodeType !== NODE_TYPE.document || !window2.Element) {
|
|
6015
6018
|
DOMPurify.isSupported = false;
|
|
@@ -6421,7 +6424,7 @@ function createDOMPurify() {
|
|
|
6421
6424
|
tagName,
|
|
6422
6425
|
allowedTags: ALLOWED_TAGS
|
|
6423
6426
|
});
|
|
6424
|
-
if (currentNode.hasChildNodes() && !_isNode(currentNode.firstElementChild) && regExpTest(/<[/\w]/g, currentNode.innerHTML) && regExpTest(/<[/\w]/g, currentNode.textContent)) {
|
|
6427
|
+
if (currentNode.hasChildNodes() && !_isNode(currentNode.firstElementChild) && regExpTest(/<[/\w!]/g, currentNode.innerHTML) && regExpTest(/<[/\w!]/g, currentNode.textContent)) {
|
|
6425
6428
|
_forceRemove(currentNode);
|
|
6426
6429
|
return true;
|
|
6427
6430
|
}
|