@forsakringskassan/docs-generator 2.19.0 → 2.19.1

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/markdown.js CHANGED
@@ -1,7 +1,7 @@
1
1
  'use strict';
2
2
 
3
- var createMarkdownRenderer = require('./create-markdown-renderer-CbE5KJoX.js');
4
- require('./vendor-BHA4LIog.js');
3
+ var createMarkdownRenderer = require('./create-markdown-renderer-BVgcQwRq.js');
4
+ require('./vendor-BO0JjPoU.js');
5
5
  require('node:url');
6
6
  require('node:path');
7
7
  require('fs');
@@ -37,7 +37,7 @@ require('querystring');
37
37
  require('node:path/posix');
38
38
  require('node:crypto');
39
39
  require('vue');
40
- require('./vue3-BhdC7RZQ.js');
40
+ require('./vue3-BitM0YmN.js');
41
41
 
42
42
 
43
43
 
package/dist/runtime.js CHANGED
@@ -1314,9 +1314,9 @@ function lookupGetter(object3, prop) {
1314
1314
  function createDOMPurify() {
1315
1315
  let window3 = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : getGlobal();
1316
1316
  const DOMPurify = (root4) => createDOMPurify(root4);
1317
- DOMPurify.version = "3.2.2";
1317
+ DOMPurify.version = "3.2.4";
1318
1318
  DOMPurify.removed = [];
1319
- if (!window3 || !window3.document || window3.document.nodeType !== NODE_TYPE.document) {
1319
+ if (!window3 || !window3.document || window3.document.nodeType !== NODE_TYPE.document || !window3.Element) {
1320
1320
  DOMPurify.isSupported = false;
1321
1321
  return DOMPurify;
1322
1322
  }
@@ -1820,7 +1820,7 @@ function createDOMPurify() {
1820
1820
  const {
1821
1821
  attributes
1822
1822
  } = currentNode;
1823
- if (!attributes) {
1823
+ if (!attributes || _isClobbered(currentNode)) {
1824
1824
  return;
1825
1825
  }
1826
1826
  const hookEvent = {
@@ -1911,13 +1911,11 @@ function createDOMPurify() {
1911
1911
  _executeHooks(hooks.beforeSanitizeShadowDOM, fragment, null);
1912
1912
  while (shadowNode = shadowIterator.nextNode()) {
1913
1913
  _executeHooks(hooks.uponSanitizeShadowNode, shadowNode, null);
1914
- if (_sanitizeElements(shadowNode)) {
1915
- continue;
1916
- }
1914
+ _sanitizeElements(shadowNode);
1915
+ _sanitizeAttributes(shadowNode);
1917
1916
  if (shadowNode.content instanceof DocumentFragment2) {
1918
1917
  _sanitizeShadowDOM2(shadowNode.content);
1919
1918
  }
1920
- _sanitizeAttributes(shadowNode);
1921
1919
  }
1922
1920
  _executeHooks(hooks.afterSanitizeShadowDOM, fragment, null);
1923
1921
  };
@@ -1983,13 +1981,11 @@ function createDOMPurify() {
1983
1981
  }
1984
1982
  const nodeIterator = _createNodeIterator(IN_PLACE ? dirty : body);
1985
1983
  while (currentNode = nodeIterator.nextNode()) {
1986
- if (_sanitizeElements(currentNode)) {
1987
- continue;
1988
- }
1984
+ _sanitizeElements(currentNode);
1985
+ _sanitizeAttributes(currentNode);
1989
1986
  if (currentNode.content instanceof DocumentFragment2) {
1990
1987
  _sanitizeShadowDOM(currentNode.content);
1991
1988
  }
1992
- _sanitizeAttributes(currentNode);
1993
1989
  }
1994
1990
  if (IN_PLACE) {
1995
1991
  return dirty;
@@ -2042,7 +2038,11 @@ function createDOMPurify() {
2042
2038
  }
2043
2039
  arrayPush(hooks[entryPoint], hookFunction);
2044
2040
  };
2045
- DOMPurify.removeHook = function(entryPoint) {
2041
+ DOMPurify.removeHook = function(entryPoint, hookFunction) {
2042
+ if (hookFunction !== void 0) {
2043
+ const index = arrayLastIndexOf(hooks[entryPoint], hookFunction);
2044
+ return index === -1 ? void 0 : arraySplice(hooks[entryPoint], index, 1)[0];
2045
+ }
2046
2046
  return arrayPop(hooks[entryPoint]);
2047
2047
  };
2048
2048
  DOMPurify.removeHooks = function(entryPoint) {
@@ -2053,7 +2053,7 @@ function createDOMPurify() {
2053
2053
  };
2054
2054
  return DOMPurify;
2055
2055
  }
2056
- var entries, setPrototypeOf, isFrozen, getPrototypeOf, getOwnPropertyDescriptor, freeze, seal, create, apply, construct, arrayForEach, arrayPop, arrayPush, stringToLowerCase, stringToString, stringMatch, stringReplace, stringIndexOf, stringTrim, objectHasOwnProperty, regExpTest, typeErrorCreate, html$1, svg$1, svgFilters, svgDisallowed, mathMl$1, mathMlDisallowed, text, html, svg, mathMl, xml, MUSTACHE_EXPR, ERB_EXPR, TMPLIT_EXPR, DATA_ATTR, ARIA_ATTR, IS_ALLOWED_URI, IS_SCRIPT_OR_DATA, ATTR_WHITESPACE, DOCTYPE_NAME, CUSTOM_ELEMENT, EXPRESSIONS, NODE_TYPE, getGlobal, _createTrustedTypesPolicy, _createHooksMap, purify;
2056
+ var entries, setPrototypeOf, isFrozen, getPrototypeOf, getOwnPropertyDescriptor, freeze, seal, create, apply, construct, arrayForEach, arrayLastIndexOf, arrayPop, arrayPush, arraySplice, stringToLowerCase, stringToString, stringMatch, stringReplace, stringIndexOf, stringTrim, objectHasOwnProperty, regExpTest, typeErrorCreate, html$1, svg$1, svgFilters, svgDisallowed, mathMl$1, mathMlDisallowed, text, html, svg, mathMl, xml, MUSTACHE_EXPR, ERB_EXPR, TMPLIT_EXPR, DATA_ATTR, ARIA_ATTR, IS_ALLOWED_URI, IS_SCRIPT_OR_DATA, ATTR_WHITESPACE, DOCTYPE_NAME, CUSTOM_ELEMENT, EXPRESSIONS, NODE_TYPE, getGlobal, _createTrustedTypesPolicy, _createHooksMap, purify;
2057
2057
  var init_purify_es = __esm({
2058
2058
  "node_modules/dompurify/dist/purify.es.mjs"() {
2059
2059
  ({
@@ -2093,8 +2093,10 @@ var init_purify_es = __esm({
2093
2093
  };
2094
2094
  }
2095
2095
  arrayForEach = unapply(Array.prototype.forEach);
2096
+ arrayLastIndexOf = unapply(Array.prototype.lastIndexOf);
2096
2097
  arrayPop = unapply(Array.prototype.pop);
2097
2098
  arrayPush = unapply(Array.prototype.push);
2099
+ arraySplice = unapply(Array.prototype.splice);
2098
2100
  stringToLowerCase = unapply(String.prototype.toLowerCase);
2099
2101
  stringToString = unapply(String.prototype.toString);
2100
2102
  stringMatch = unapply(String.prototype.match);
@@ -2117,8 +2119,8 @@ var init_purify_es = __esm({
2117
2119
  xml = freeze(["xlink:href", "xml:id", "xlink:title", "xml:space", "xmlns:xlink"]);
2118
2120
  MUSTACHE_EXPR = seal(/\{\{[\w\W]*|[\w\W]*\}\}/gm);
2119
2121
  ERB_EXPR = seal(/<%[\w\W]*|[\w\W]*%>/gm);
2120
- TMPLIT_EXPR = seal(/\${[\w\W]*}/gm);
2121
- DATA_ATTR = seal(/^data-[\-\w.\u00B7-\uFFFF]/);
2122
+ TMPLIT_EXPR = seal(/\$\{[\w\W]*/gm);
2123
+ DATA_ATTR = seal(/^data-[\-\w.\u00B7-\uFFFF]+$/);
2122
2124
  ARIA_ATTR = seal(/^aria-[\-\w]+$/);
2123
2125
  IS_ALLOWED_URI = seal(
2124
2126
  /^(?:(?:(?:f|ht)tps?|mailto|tel|callto|sms|cid|xmpp):|[^a-z]|[a-z+.\-]+(?:[^a-z+.\-:]|$))/i
@@ -142997,7 +142999,7 @@ window.toggleMarkup = toggleMarkup;
142997
142999
  /*! Bundled license information:
142998
143000
 
142999
143001
  dompurify/dist/purify.es.mjs:
143000
- (*! @license DOMPurify 3.2.2 | (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.2/LICENSE *)
143002
+ (*! @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 *)
143001
143003
 
143002
143004
  mermaid/dist/chunks/mermaid.core/chunk-S3SWNSAA.mjs:
143003
143005
  (*! Bundled license information:
@@ -5,7 +5,7 @@
5
5
  "toolPackages": [
6
6
  {
7
7
  "packageName": "@microsoft/api-extractor",
8
- "packageVersion": "7.49.2"
8
+ "packageVersion": "7.50.0"
9
9
  }
10
10
  ]
11
11
  }
@@ -7332,6 +7332,16 @@ function ucs2decode(string) {
7332
7332
  return output;
7333
7333
  }
7334
7334
 
7335
+ /**
7336
+ * Creates a string based on an array of numeric code points.
7337
+ * @see `punycode.ucs2.decode`
7338
+ * @memberOf punycode.ucs2
7339
+ * @name encode
7340
+ * @param {Array} codePoints The array of numeric code points.
7341
+ * @returns {String} The new Unicode string (UCS-2).
7342
+ */
7343
+ const ucs2encode = codePoints => String.fromCodePoint(...codePoints);
7344
+
7335
7345
  /**
7336
7346
  * Converts a basic code point into a digit/integer.
7337
7347
  * @see `digitToBasic()`
@@ -7617,6 +7627,25 @@ const toASCII = function(input) {
7617
7627
 
7618
7628
  /** Define the public API */
7619
7629
  const punycode = {
7630
+ /**
7631
+ * A string representing the current Punycode.js version number.
7632
+ * @memberOf punycode
7633
+ * @type String
7634
+ */
7635
+ 'version': '2.3.1',
7636
+ /**
7637
+ * An object of methods to convert from JavaScript's internal character
7638
+ * representation (UCS-2) to Unicode code points, and back.
7639
+ * @see <https://mathiasbynens.be/notes/javascript-encoding>
7640
+ * @memberOf punycode
7641
+ * @type Object
7642
+ */
7643
+ 'ucs2': {
7644
+ 'decode': ucs2decode,
7645
+ 'encode': ucs2encode
7646
+ },
7647
+ 'decode': decode,
7648
+ 'encode': encode,
7620
7649
  'toASCII': toASCII,
7621
7650
  'toUnicode': toUnicode
7622
7651
  };
@@ -53287,4 +53316,4 @@ exports.minimatch = minimatch;
53287
53316
  exports.spawn = spawn;
53288
53317
  exports.tinylr = tinylr;
53289
53318
  exports.watch = watch$1;
53290
- //# sourceMappingURL=vendor-BHA4LIog.js.map
53319
+ //# sourceMappingURL=vendor-BO0JjPoU.js.map