@nsshunt/stsuxvue 1.0.23 → 1.0.24

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.3 | (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.3/LICENSE */
5790
+ /*! @license DOMPurify 3.2.4 | (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.4/LICENSE */
5791
5791
  const {
5792
5792
  entries,
5793
5793
  setPrototypeOf,
@@ -5825,8 +5825,10 @@ if (!construct) {
5825
5825
  };
5826
5826
  }
5827
5827
  const arrayForEach = unapply(Array.prototype.forEach);
5828
+ const arrayLastIndexOf = unapply(Array.prototype.lastIndexOf);
5828
5829
  const arrayPop = unapply(Array.prototype.pop);
5829
5830
  const arrayPush = unapply(Array.prototype.push);
5831
+ const arraySplice = unapply(Array.prototype.splice);
5830
5832
  const stringToLowerCase = unapply(String.prototype.toLowerCase);
5831
5833
  const stringToString = unapply(String.prototype.toString);
5832
5834
  const stringMatch = unapply(String.prototype.match);
@@ -5929,7 +5931,7 @@ const mathMl = freeze(["accent", "accentunder", "align", "bevelled", "close", "c
5929
5931
  const xml = freeze(["xlink:href", "xml:id", "xlink:title", "xml:space", "xmlns:xlink"]);
5930
5932
  const MUSTACHE_EXPR = seal(/\{\{[\w\W]*|[\w\W]*\}\}/gm);
5931
5933
  const ERB_EXPR = seal(/<%[\w\W]*|[\w\W]*%>/gm);
5932
- const TMPLIT_EXPR = seal(/\$\{[\w\W]*}/gm);
5934
+ const TMPLIT_EXPR = seal(/\$\{[\w\W]*/gm);
5933
5935
  const DATA_ATTR = seal(/^data-[\-\w.\u00B7-\uFFFF]+$/);
5934
5936
  const ARIA_ATTR = seal(/^aria-[\-\w]+$/);
5935
5937
  const IS_ALLOWED_URI = seal(
@@ -6016,9 +6018,9 @@ const _createHooksMap = function _createHooksMap2() {
6016
6018
  function createDOMPurify() {
6017
6019
  let window2 = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : getGlobal();
6018
6020
  const DOMPurify = (root) => createDOMPurify(root);
6019
- DOMPurify.version = "3.2.3";
6021
+ DOMPurify.version = "3.2.4";
6020
6022
  DOMPurify.removed = [];
6021
- if (!window2 || !window2.document || window2.document.nodeType !== NODE_TYPE.document) {
6023
+ if (!window2 || !window2.document || window2.document.nodeType !== NODE_TYPE.document || !window2.Element) {
6022
6024
  DOMPurify.isSupported = false;
6023
6025
  return DOMPurify;
6024
6026
  }
@@ -6740,7 +6742,11 @@ function createDOMPurify() {
6740
6742
  }
6741
6743
  arrayPush(hooks[entryPoint], hookFunction);
6742
6744
  };
6743
- DOMPurify.removeHook = function(entryPoint) {
6745
+ DOMPurify.removeHook = function(entryPoint, hookFunction) {
6746
+ if (hookFunction !== void 0) {
6747
+ const index = arrayLastIndexOf(hooks[entryPoint], hookFunction);
6748
+ return index === -1 ? void 0 : arraySplice(hooks[entryPoint], index, 1)[0];
6749
+ }
6744
6750
  return arrayPop(hooks[entryPoint]);
6745
6751
  };
6746
6752
  DOMPurify.removeHooks = function(entryPoint) {