@forsakringskassan/docs-generator 3.0.2 → 3.0.4

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.mjs CHANGED
@@ -2,8 +2,8 @@ import { createRequire as $createRequire } from "node:module";
2
2
 
3
3
  const require = $createRequire(import.meta.url);
4
4
 
5
- export { S as SoftError, c as createMarkdownRenderer } from './create-markdown-renderer-C-rQVf_R.mjs';
6
- import './vendor-CyiP4ufo.mjs';
5
+ export { S as SoftError, c as createMarkdownRenderer } from './create-markdown-renderer-cnbxjnoS.mjs';
6
+ import './vendor-s-84ehgc.mjs';
7
7
  import 'node:url';
8
8
  import 'node:path';
9
9
  import 'fs';
@@ -1005,6 +1005,7 @@ var require_range = __commonJS({
1005
1005
  return this.range;
1006
1006
  }
1007
1007
  parseRange(range) {
1008
+ range = range.replace(BUILDSTRIPRE, "");
1008
1009
  const memoOpts = (this.options.includePrerelease && FLAG_INCLUDE_PRERELEASE) | (this.options.loose && FLAG_LOOSE);
1009
1010
  const memoKey = memoOpts + ":" + range;
1010
1011
  const cached = cache.get(memoKey);
@@ -1087,12 +1088,14 @@ var require_range = __commonJS({
1087
1088
  var SemVer = require_semver();
1088
1089
  var {
1089
1090
  safeRe: re,
1091
+ src,
1090
1092
  t,
1091
1093
  comparatorTrimReplace,
1092
1094
  tildeTrimReplace,
1093
1095
  caretTrimReplace
1094
1096
  } = require_re();
1095
1097
  var { FLAG_INCLUDE_PRERELEASE, FLAG_LOOSE } = require_constants();
1098
+ var BUILDSTRIPRE = new RegExp(src[t.BUILD], "g");
1096
1099
  var isNullSet = (c) => c.value === "<0.0.0-0";
1097
1100
  var isAny = (c) => c.value === "";
1098
1101
  var isSatisfiable = (comparators, options) => {
@@ -1848,7 +1851,7 @@ var require_subset = __commonJS({
1848
1851
  if (higher === c && higher !== gt) {
1849
1852
  return false;
1850
1853
  }
1851
- } else if (gt.operator === ">=" && !satisfies(gt.semver, String(c), options)) {
1854
+ } else if (gt.operator === ">=" && !c.test(gt.semver)) {
1852
1855
  return false;
1853
1856
  }
1854
1857
  }
@@ -1863,7 +1866,7 @@ var require_subset = __commonJS({
1863
1866
  if (lower === c && lower !== lt) {
1864
1867
  return false;
1865
1868
  }
1866
- } else if (lt.operator === "<=" && !satisfies(lt.semver, String(c), options)) {
1869
+ } else if (lt.operator === "<=" && !c.test(lt.semver)) {
1867
1870
  return false;
1868
1871
  }
1869
1872
  }
package/dist/runtime.mjs CHANGED
@@ -82342,7 +82342,7 @@ var init_cytoscape_esm = __esm({
82342
82342
  }
82343
82343
  return style4;
82344
82344
  };
82345
- version2 = "3.33.3";
82345
+ version2 = "3.33.4";
82346
82346
  cytoscape2 = function cytoscape3(options2) {
82347
82347
  if (options2 === void 0) {
82348
82348
  options2 = {};
@@ -606,7 +606,7 @@ main {
606
606
  background: var(--docs-navigation-hover-color);
607
607
  border-color: var(--docs-navigation-highlight-color);
608
608
  }
609
- .navigation summary .icon {
609
+ .navigation summary .docs-icon {
610
610
  transform: translateY(3px);
611
611
  transition: all 200ms cubic-bezier(0.46, 0.03, 0.52, 0.96) 0s;
612
612
  display: inline;
@@ -614,7 +614,7 @@ main {
614
614
  .navigation details[open] > summary {
615
615
  font-weight: 700;
616
616
  }
617
- .navigation details[open] > summary .icon {
617
+ .navigation details[open] > summary .docs-icon {
618
618
  transform: rotate(180deg) translateY(-5px);
619
619
  }
620
620
  .navigation details > ol {
@@ -631,7 +631,7 @@ main {
631
631
  #outline summary {
632
632
  display: flex;
633
633
  }
634
- #outline summary .icon {
634
+ #outline summary .docs-icon {
635
635
  display: none;
636
636
  }
637
637
  @media (width >= 1280px) {
@@ -654,13 +654,13 @@ main {
654
654
  width: fit-content;
655
655
  cursor: pointer;
656
656
  }
657
- #outline summary .icon {
657
+ #outline summary .docs-icon {
658
658
  display: block;
659
659
  transform: translateY(3px);
660
660
  transition: all 200ms cubic-bezier(0.46, 0.03, 0.52, 0.96) 0s;
661
661
  margin-left: 0.5rem;
662
662
  }
663
- #outline[open] > summary .icon {
663
+ #outline[open] > summary .docs-icon {
664
664
  transform: rotate(180deg) translateY(-5px);
665
665
  }
666
666
  }
@@ -606,7 +606,7 @@ main {
606
606
  background: var(--docs-navigation-hover-color);
607
607
  border-color: var(--docs-navigation-highlight-color);
608
608
  }
609
- .navigation summary .icon {
609
+ .navigation summary .docs-icon {
610
610
  transform: translateY(3px);
611
611
  transition: all 200ms cubic-bezier(0.46, 0.03, 0.52, 0.96) 0s;
612
612
  display: inline;
@@ -614,7 +614,7 @@ main {
614
614
  .navigation details[open] > summary {
615
615
  font-weight: 700;
616
616
  }
617
- .navigation details[open] > summary .icon {
617
+ .navigation details[open] > summary .docs-icon {
618
618
  transform: rotate(180deg) translateY(-5px);
619
619
  }
620
620
  .navigation details > ol {
@@ -631,7 +631,7 @@ main {
631
631
  #outline summary {
632
632
  display: flex;
633
633
  }
634
- #outline summary .icon {
634
+ #outline summary .docs-icon {
635
635
  display: none;
636
636
  }
637
637
  @media (width >= 1280px) {
@@ -654,13 +654,13 @@ main {
654
654
  width: fit-content;
655
655
  cursor: pointer;
656
656
  }
657
- #outline summary .icon {
657
+ #outline summary .docs-icon {
658
658
  display: block;
659
659
  transform: translateY(3px);
660
660
  transition: all 200ms cubic-bezier(0.46, 0.03, 0.52, 0.96) 0s;
661
661
  margin-left: 0.5rem;
662
662
  }
663
- #outline[open] > summary .icon {
663
+ #outline[open] > summary .docs-icon {
664
664
  transform: rotate(180deg) translateY(-5px);
665
665
  }
666
666
  }
@@ -1492,8 +1492,8 @@ textarea {
1492
1492
  margin: 0 0.4rem 0 0;
1493
1493
  width: 1.5rem;
1494
1494
  }
1495
- .docs-motd__icon .icon,
1496
- .docs-motd__icon .icon-stack {
1495
+ .docs-motd__icon .docs-icon,
1496
+ .docs-motd__icon .docs-icon-stack {
1497
1497
  height: 1.5rem;
1498
1498
  width: 1.5rem;
1499
1499
  }
@@ -314,8 +314,8 @@ textarea {
314
314
  margin: 0 0.4rem 0 0;
315
315
  width: 1.5rem;
316
316
  }
317
- .docs-motd__icon .icon,
318
- .docs-motd__icon .icon-stack {
317
+ .docs-motd__icon .docs-icon,
318
+ .docs-motd__icon .docs-icon-stack {
319
319
  height: 1.5rem;
320
320
  width: 1.5rem;
321
321
  }