storybook 10.2.0-alpha.1 → 10.2.0-alpha.11

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.
Files changed (121) hide show
  1. package/dist/_browser-chunks/{Color-TNPFN3FC.js → Color-XESOIGZP.js} +9 -568
  2. package/dist/_browser-chunks/{WithTooltip-IO6J4KBT.js → WithTooltip-65CFNBJE.js} +70 -70
  3. package/dist/_browser-chunks/{chunk-45UGUKRX.js → chunk-242VQQM5.js} +1 -1
  4. package/dist/_browser-chunks/{chunk-JP7NCOJX.js → chunk-3LY4VQVK.js} +1 -1
  5. package/dist/_browser-chunks/{chunk-VYJQ7RU5.js → chunk-G4M6MXF4.js} +31 -27
  6. package/dist/_browser-chunks/{chunk-BRX2HXH7.js → chunk-IH6QJILI.js} +1 -1
  7. package/dist/_browser-chunks/{chunk-AS2HQEYC.js → chunk-IWQGIXJS.js} +1 -1
  8. package/dist/_browser-chunks/{chunk-3IAH5M2U.js → chunk-IYCKG66Y.js} +5 -5
  9. package/dist/_browser-chunks/{chunk-UD6FQLAF.js → chunk-JK6U3MQW.js} +3 -3
  10. package/dist/_browser-chunks/{chunk-FQ7SLVLR.js → chunk-JVRDBUUP.js} +20 -1
  11. package/dist/_browser-chunks/{chunk-GFLS4VP3.js → chunk-LCHBOIHN.js} +6 -6
  12. package/dist/_browser-chunks/{chunk-CHUV5WSW.js → chunk-LE2LTDW3.js} +1 -1
  13. package/dist/_browser-chunks/{chunk-IPA5A322.js → chunk-MEXTPDJG.js} +1 -1
  14. package/dist/_browser-chunks/{chunk-XJNX76GA.js → chunk-NQJGOFZV.js} +4 -4
  15. package/dist/_browser-chunks/chunk-NZMVUW5T.js +7 -0
  16. package/dist/_browser-chunks/{chunk-2XZMBGTA.js → chunk-POMIZRJL.js} +3 -3
  17. package/dist/_browser-chunks/{chunk-RP5RXKFU.js → chunk-Q5RYDXT3.js} +38 -30
  18. package/dist/_browser-chunks/{chunk-SS2NHR7W.js → chunk-RBABWY22.js} +18 -18
  19. package/dist/_browser-chunks/{chunk-AXG2BOBL.js → chunk-S6TK43XQ.js} +10 -10
  20. package/dist/_browser-chunks/{chunk-AIOS4NGK.js → chunk-SWJP5COI.js} +11 -11
  21. package/dist/_browser-chunks/{chunk-H6XK3RSC.js → chunk-UAYGIC3L.js} +6 -6
  22. package/dist/_browser-chunks/{chunk-YKE5S47A.js → chunk-V2VKKSMQ.js} +18 -18
  23. package/dist/_browser-chunks/{chunk-GFY5R5EY.js → chunk-V5NV5R37.js} +1 -1
  24. package/dist/_browser-chunks/chunk-VIJ7SQRO.js +568 -0
  25. package/dist/_browser-chunks/{chunk-3OXGAGBE.js → chunk-XLJZ7AOP.js} +14 -14
  26. package/dist/_browser-chunks/{chunk-P4F4UVXX.js → chunk-YKABRMAI.js} +15 -15
  27. package/dist/_browser-chunks/{chunk-WJYERY3R.js → chunk-ZCFV7BZB.js} +2 -2
  28. package/dist/_browser-chunks/{formatter-QJ4M4OGQ.js → formatter-EIJCOSYU.js} +2 -2
  29. package/dist/_browser-chunks/{syntaxhighlighter-IQDEPFLK.js → syntaxhighlighter-ED5Y7EFY.js} +119 -119
  30. package/dist/_node-chunks/{builder-manager-LXL5N6M5.js → builder-manager-MNAUTRWW.js} +23 -22
  31. package/dist/_node-chunks/camelcase-6H4Z5R35.js +62 -0
  32. package/dist/_node-chunks/chunk-2CGMTALY.js +61 -0
  33. package/dist/_node-chunks/{chunk-ZI2RAI3I.js → chunk-2DZGIXSN.js} +26 -7
  34. package/dist/_node-chunks/{chunk-4BQMSZKI.js → chunk-5L22ATN3.js} +165 -191
  35. package/dist/_node-chunks/{chunk-77APSTTM.js → chunk-7FH4U6XC.js} +8 -9
  36. package/dist/_node-chunks/chunk-CMQYFTBQ.js +126 -0
  37. package/dist/_node-chunks/{chunk-GOOBGRAV.js → chunk-F3OHO2BC.js} +34 -24
  38. package/dist/_node-chunks/{chunk-5NWCBUGD.js → chunk-FWVZUHZX.js} +6 -6
  39. package/dist/_node-chunks/{chunk-KXDU466E.js → chunk-GRH5JFTX.js} +31 -31
  40. package/dist/_node-chunks/{chunk-CLNMK7MP.js → chunk-HXFHXVEW.js} +5434 -1625
  41. package/dist/_node-chunks/{chunk-VFTNRF5X.js → chunk-KAIK7772.js} +17 -17
  42. package/dist/_node-chunks/{chunk-FTR6MHOX.js → chunk-KU4SWNDM.js} +59 -147
  43. package/dist/_node-chunks/chunk-KX7OAVXY.js +18 -0
  44. package/dist/_node-chunks/{chunk-TP6ICLTL.js → chunk-L22DGLKT.js} +6 -6
  45. package/dist/_node-chunks/{chunk-5GNBLJKS.js → chunk-MAMDH2R3.js} +8 -8
  46. package/dist/_node-chunks/{chunk-PGFQADZC.js → chunk-MAQAZSXK.js} +7 -7
  47. package/dist/_node-chunks/{chunk-JYMZJCZ7.js → chunk-O7O53MP7.js} +62 -124
  48. package/dist/_node-chunks/chunk-P663SP7U.js +20 -0
  49. package/dist/_node-chunks/chunk-RI4IBKXZ.js +23 -0
  50. package/dist/_node-chunks/{chunk-SR5ZYD7K.js → chunk-RJY225Z5.js} +8 -8
  51. package/dist/_node-chunks/{chunk-KMTK5W6O.js → chunk-TFY6QV57.js} +48 -26
  52. package/dist/_node-chunks/{chunk-ET4VMMZG.js → chunk-TOMGRF4A.js} +77 -16
  53. package/dist/_node-chunks/{chunk-R3WYNAT5.js → chunk-UNUWAUGG.js} +6 -6
  54. package/dist/_node-chunks/{chunk-LEDV47V2.js → chunk-UOHDPKIW.js} +15 -15
  55. package/dist/_node-chunks/{chunk-AJUO2ZU3.js → chunk-URWJMVZI.js} +9 -9
  56. package/dist/_node-chunks/{chunk-TX77W2KY.js → chunk-UYMZAYR4.js} +597 -593
  57. package/dist/_node-chunks/{chunk-F7377GT2.js → chunk-WHIAK7AH.js} +111 -38
  58. package/dist/_node-chunks/{chunk-GYZQMMTN.js → chunk-WQ4WQYSZ.js} +9 -9
  59. package/dist/_node-chunks/{dist-HGQ5R6JU.js → dist-ZOBQQCBA.js} +10 -10
  60. package/dist/_node-chunks/{globby-5XJTXKUJ.js → globby-WNZSV3ZO.js} +155 -164
  61. package/dist/_node-chunks/{lib-XNLTS2RI.js → lib-YUWKNDR2.js} +16 -16
  62. package/dist/_node-chunks/{mdx-N42X6CFJ-7WF3QWVO.js → mdx-N42X6CFJ-K5BCUPEA.js} +11 -11
  63. package/dist/_node-chunks/{p-limit-RBKYTJKF.js → p-limit-ROJSQI7F.js} +19 -15
  64. package/dist/babel/index.js +10 -10
  65. package/dist/bin/core.js +40 -34
  66. package/dist/bin/dispatcher.js +11 -11
  67. package/dist/bin/loader.js +14 -11
  68. package/dist/channels/index.js +3 -3
  69. package/dist/cli/index.d.ts +1330 -250
  70. package/dist/cli/index.js +18 -18
  71. package/dist/common/index.d.ts +1344 -289
  72. package/dist/common/index.js +22 -22
  73. package/dist/components/index.d.ts +9 -2
  74. package/dist/components/index.js +339 -317
  75. package/dist/core-events/index.d.ts +4 -2
  76. package/dist/core-events/index.js +4 -2
  77. package/dist/core-server/index.d.ts +71 -2
  78. package/dist/core-server/index.js +3381 -3529
  79. package/dist/core-server/presets/common-manager.css +2 -2
  80. package/dist/core-server/presets/common-manager.js +93 -65
  81. package/dist/core-server/presets/common-override-preset.js +9 -9
  82. package/dist/core-server/presets/common-preset.js +86 -118
  83. package/dist/csf/index.d.ts +41 -11
  84. package/dist/csf/index.js +46 -39
  85. package/dist/csf-tools/index.js +9 -9
  86. package/dist/docs-tools/index.js +5 -5
  87. package/dist/instrumenter/index.js +1 -1
  88. package/dist/manager/globals-runtime.js +9402 -7204
  89. package/dist/manager/runtime.js +195 -153
  90. package/dist/manager-api/index.js +34 -26
  91. package/dist/manager-errors.d.ts +24 -0
  92. package/dist/manager-errors.js +2 -2
  93. package/dist/mocking-utils/index.js +14 -14
  94. package/dist/node-logger/index.d.ts +1456 -111
  95. package/dist/node-logger/index.js +9 -9
  96. package/dist/preview/runtime.js +4608 -2436
  97. package/dist/preview-api/index.d.ts +67 -68
  98. package/dist/preview-api/index.js +12 -12
  99. package/dist/preview-errors.d.ts +24 -0
  100. package/dist/preview-errors.js +3 -3
  101. package/dist/router/index.js +11 -11
  102. package/dist/server-errors.d.ts +59 -3
  103. package/dist/server-errors.js +22 -11
  104. package/dist/telemetry/index.d.ts +10 -3
  105. package/dist/telemetry/index.js +27 -25
  106. package/dist/test/index.js +3237 -1653
  107. package/dist/theming/create.js +3 -3
  108. package/dist/theming/index.d.ts +5 -5
  109. package/dist/theming/index.js +38 -38
  110. package/dist/types/index.d.ts +12 -6
  111. package/dist/viewport/index.d.ts +3 -3
  112. package/package.json +27 -33
  113. package/dist/_browser-chunks/chunk-EZSQOHRI.js +0 -18
  114. package/dist/_browser-chunks/chunk-QKODTO7K.js +0 -7
  115. package/dist/_node-chunks/camelcase-64II7H4U.js +0 -37
  116. package/dist/_node-chunks/chunk-4EZYJUAC.js +0 -70
  117. package/dist/_node-chunks/chunk-COQ27OZ3.js +0 -61
  118. package/dist/_node-chunks/chunk-MC2R4DSD.js +0 -20
  119. package/dist/_node-chunks/chunk-NEENMS4J.js +0 -18
  120. package/dist/_node-chunks/chunk-VR5LMO3F.js +0 -72
  121. package/dist/_node-chunks/chunk-XEPVDCRL.js +0 -23
@@ -1,24 +1,24 @@
1
- import CJS_COMPAT_NODE_URL_2297kyafub from 'node:url';
2
- import CJS_COMPAT_NODE_PATH_2297kyafub from 'node:path';
3
- import CJS_COMPAT_NODE_MODULE_2297kyafub from "node:module";
1
+ import CJS_COMPAT_NODE_URL_aucdos01fk5 from 'node:url';
2
+ import CJS_COMPAT_NODE_PATH_aucdos01fk5 from 'node:path';
3
+ import CJS_COMPAT_NODE_MODULE_aucdos01fk5 from "node:module";
4
4
 
5
- var __filename = CJS_COMPAT_NODE_URL_2297kyafub.fileURLToPath(import.meta.url);
6
- var __dirname = CJS_COMPAT_NODE_PATH_2297kyafub.dirname(__filename);
7
- var require = CJS_COMPAT_NODE_MODULE_2297kyafub.createRequire(import.meta.url);
5
+ var __filename = CJS_COMPAT_NODE_URL_aucdos01fk5.fileURLToPath(import.meta.url);
6
+ var __dirname = CJS_COMPAT_NODE_PATH_aucdos01fk5.dirname(__filename);
7
+ var require = CJS_COMPAT_NODE_MODULE_aucdos01fk5.createRequire(import.meta.url);
8
8
 
9
9
  // ------------------------------------------------------------
10
10
  // end of CJS compatibility banner, injected by Storybook's esbuild configuration
11
11
  // ------------------------------------------------------------
12
12
  import {
13
13
  invariant
14
- } from "./chunk-TP6ICLTL.js";
14
+ } from "./chunk-L22DGLKT.js";
15
15
  import {
16
16
  require_dist
17
- } from "./chunk-AJUO2ZU3.js";
17
+ } from "./chunk-URWJMVZI.js";
18
18
  import {
19
19
  __export,
20
20
  __toESM
21
- } from "./chunk-5NWCBUGD.js";
21
+ } from "./chunk-FWVZUHZX.js";
22
22
 
23
23
  // src/cli/globalSettings.ts
24
24
  var import_ts_dedent = __toESM(require_dist(), 1);
@@ -26,7 +26,7 @@ import fs from "node:fs/promises";
26
26
  import { homedir } from "node:os";
27
27
  import { dirname, join } from "node:path";
28
28
 
29
- // ../node_modules/zod/v3/external.js
29
+ // ../../node_modules/zod/v3/external.js
30
30
  var external_exports = {};
31
31
  __export(external_exports, {
32
32
  BRAND: () => BRAND,
@@ -138,7 +138,7 @@ __export(external_exports, {
138
138
  void: () => voidType
139
139
  });
140
140
 
141
- // ../node_modules/zod/v3/helpers/util.js
141
+ // ../../node_modules/zod/v3/helpers/util.js
142
142
  var util;
143
143
  (function(util2) {
144
144
  util2.assertEqual = (_) => {
@@ -228,7 +228,7 @@ var ZodParsedType = util.arrayToEnum([
228
228
  }
229
229
  };
230
230
 
231
- // ../node_modules/zod/v3/ZodError.js
231
+ // ../../node_modules/zod/v3/ZodError.js
232
232
  var ZodIssueCode = util.arrayToEnum([
233
233
  "invalid_type",
234
234
  "invalid_literal",
@@ -311,7 +311,7 @@ var ZodIssueCode = util.arrayToEnum([
311
311
  };
312
312
  ZodError.create = (issues) => new ZodError(issues);
313
313
 
314
- // ../node_modules/zod/v3/locales/en.js
314
+ // ../../node_modules/zod/v3/locales/en.js
315
315
  var errorMap = (issue, _ctx) => {
316
316
  let message;
317
317
  switch (issue.code) {
@@ -369,7 +369,7 @@ var errorMap = (issue, _ctx) => {
369
369
  return { message };
370
370
  }, en_default = errorMap;
371
371
 
372
- // ../node_modules/zod/v3/errors.js
372
+ // ../../node_modules/zod/v3/errors.js
373
373
  var overrideErrorMap = en_default;
374
374
  function setErrorMap(map) {
375
375
  overrideErrorMap = map;
@@ -378,7 +378,7 @@ function getErrorMap() {
378
378
  return overrideErrorMap;
379
379
  }
380
380
 
381
- // ../node_modules/zod/v3/helpers/parseUtil.js
381
+ // ../../node_modules/zod/v3/helpers/parseUtil.js
382
382
  var makeIssue = (params) => {
383
383
  let { data, path, errorMaps, issueData } = params, fullPath = [...path, ...issueData.path || []], fullIssue = {
384
384
  ...issueData,
@@ -461,13 +461,13 @@ var ParseStatus = class _ParseStatus {
461
461
  status: "aborted"
462
462
  }), DIRTY = (value) => ({ status: "dirty", value }), OK = (value) => ({ status: "valid", value }), isAborted = (x) => x.status === "aborted", isDirty = (x) => x.status === "dirty", isValid = (x) => x.status === "valid", isAsync = (x) => typeof Promise < "u" && x instanceof Promise;
463
463
 
464
- // ../node_modules/zod/v3/helpers/errorUtil.js
464
+ // ../../node_modules/zod/v3/helpers/errorUtil.js
465
465
  var errorUtil;
466
466
  (function(errorUtil2) {
467
467
  errorUtil2.errToObj = (message) => typeof message == "string" ? { message } : message || {}, errorUtil2.toString = (message) => typeof message == "string" ? message : message?.message;
468
468
  })(errorUtil || (errorUtil = {}));
469
469
 
470
- // ../node_modules/zod/v3/types.js
470
+ // ../../node_modules/zod/v3/types.js
471
471
  var ParseInputLazyPath = class {
472
472
  constructor(parent, value, path, key) {
473
473
  this._cachedPath = [], this.parent = parent, this.data = value, this._path = path, this._key = key;
@@ -1,10 +1,10 @@
1
- import CJS_COMPAT_NODE_URL_2297kyafub from 'node:url';
2
- import CJS_COMPAT_NODE_PATH_2297kyafub from 'node:path';
3
- import CJS_COMPAT_NODE_MODULE_2297kyafub from "node:module";
1
+ import CJS_COMPAT_NODE_URL_aucdos01fk5 from 'node:url';
2
+ import CJS_COMPAT_NODE_PATH_aucdos01fk5 from 'node:path';
3
+ import CJS_COMPAT_NODE_MODULE_aucdos01fk5 from "node:module";
4
4
 
5
- var __filename = CJS_COMPAT_NODE_URL_2297kyafub.fileURLToPath(import.meta.url);
6
- var __dirname = CJS_COMPAT_NODE_PATH_2297kyafub.dirname(__filename);
7
- var require = CJS_COMPAT_NODE_MODULE_2297kyafub.createRequire(import.meta.url);
5
+ var __filename = CJS_COMPAT_NODE_URL_aucdos01fk5.fileURLToPath(import.meta.url);
6
+ var __dirname = CJS_COMPAT_NODE_PATH_aucdos01fk5.dirname(__filename);
7
+ var require = CJS_COMPAT_NODE_MODULE_aucdos01fk5.createRequire(import.meta.url);
8
8
 
9
9
  // ------------------------------------------------------------
10
10
  // end of CJS compatibility banner, injected by Storybook's esbuild configuration
@@ -12,11 +12,11 @@ var require = CJS_COMPAT_NODE_MODULE_2297kyafub.createRequire(import.meta.url);
12
12
  import {
13
13
  __commonJS,
14
14
  __toESM
15
- } from "./chunk-5NWCBUGD.js";
15
+ } from "./chunk-FWVZUHZX.js";
16
16
 
17
- // ../node_modules/balanced-match/index.js
17
+ // ../../node_modules/balanced-match/index.js
18
18
  var require_balanced_match = __commonJS({
19
- "../node_modules/balanced-match/index.js"(exports, module) {
19
+ "../../node_modules/balanced-match/index.js"(exports, module) {
20
20
  "use strict";
21
21
  module.exports = balanced;
22
22
  function balanced(a, b, str) {
@@ -49,9 +49,9 @@ var require_balanced_match = __commonJS({
49
49
  }
50
50
  });
51
51
 
52
- // ../node_modules/brace-expansion/index.js
52
+ // ../../node_modules/brace-expansion/index.js
53
53
  var require_brace_expansion = __commonJS({
54
- "../node_modules/brace-expansion/index.js"(exports, module) {
54
+ "../../node_modules/brace-expansion/index.js"(exports, module) {
55
55
  var balanced = require_balanced_match();
56
56
  module.exports = expandTop;
57
57
  var escSlash = "\0SLASH" + Math.random() + "\0", escOpen = "\0OPEN" + Math.random() + "\0", escClose = "\0CLOSE" + Math.random() + "\0", escComma = "\0COMMA" + Math.random() + "\0", escPeriod = "\0PERIOD" + Math.random() + "\0";
@@ -102,7 +102,7 @@ var require_brace_expansion = __commonJS({
102
102
  else {
103
103
  var isNumericSequence = /^-?\d+\.\.-?\d+(?:\.\.-?\d+)?$/.test(m.body), isAlphaSequence = /^[a-zA-Z]\.\.[a-zA-Z](?:\.\.-?\d+)?$/.test(m.body), isSequence = isNumericSequence || isAlphaSequence, isOptions = m.body.indexOf(",") >= 0;
104
104
  if (!isSequence && !isOptions)
105
- return m.post.match(/,(?!,).*\}/) ? (str = m.pre + "{" + m.body + escClose + m.post, expand2(str)) : [str];
105
+ return m.post.match(/,.*\}/) ? (str = m.pre + "{" + m.body + escClose + m.post, expand2(str)) : [str];
106
106
  var n;
107
107
  if (isSequence)
108
108
  n = m.body.split(/\.\./);
@@ -145,10 +145,10 @@ var require_brace_expansion = __commonJS({
145
145
  }
146
146
  });
147
147
 
148
- // ../node_modules/glob/node_modules/minimatch/dist/esm/index.js
148
+ // ../../node_modules/glob/node_modules/minimatch/dist/esm/index.js
149
149
  var import_brace_expansion = __toESM(require_brace_expansion(), 1);
150
150
 
151
- // ../node_modules/glob/node_modules/minimatch/dist/esm/assert-valid-pattern.js
151
+ // ../../node_modules/glob/node_modules/minimatch/dist/esm/assert-valid-pattern.js
152
152
  var assertValidPattern = (pattern) => {
153
153
  if (typeof pattern != "string")
154
154
  throw new TypeError("invalid pattern");
@@ -156,7 +156,7 @@ var assertValidPattern = (pattern) => {
156
156
  throw new TypeError("pattern is too long");
157
157
  };
158
158
 
159
- // ../node_modules/glob/node_modules/minimatch/dist/esm/brace-expressions.js
159
+ // ../../node_modules/glob/node_modules/minimatch/dist/esm/brace-expressions.js
160
160
  var posixClasses = {
161
161
  "[:alnum:]": ["\\p{L}\\p{Nl}\\p{Nd}", !0],
162
162
  "[:alpha:]": ["\\p{L}\\p{Nl}", !0],
@@ -226,10 +226,10 @@ var posixClasses = {
226
226
  return [ranges.length && negs.length ? "(" + sranges + "|" + snegs + ")" : ranges.length ? sranges : snegs, uflag, endPos - pos, !0];
227
227
  };
228
228
 
229
- // ../node_modules/glob/node_modules/minimatch/dist/esm/unescape.js
229
+ // ../../node_modules/glob/node_modules/minimatch/dist/esm/unescape.js
230
230
  var unescape = (s, { windowsPathsNoEscape = !1 } = {}) => windowsPathsNoEscape ? s.replace(/\[([^\/\\])\]/g, "$1") : s.replace(/((?!\\).|^)\[([^\/\\])\]/g, "$1$2").replace(/\\([^\/])/g, "$1");
231
231
 
232
- // ../node_modules/glob/node_modules/minimatch/dist/esm/ast.js
232
+ // ../../node_modules/glob/node_modules/minimatch/dist/esm/ast.js
233
233
  var types = /* @__PURE__ */ new Set(["!", "?", "+", "*", "@"]), isExtglobType = (c) => types.has(c), startNoTraversal = "(?!(?:^|/)\\.\\.?(?:$|/))", startNoDot = "(?!\\.)", addPatternStart = /* @__PURE__ */ new Set(["[", "."]), justDots = /* @__PURE__ */ new Set(["..", "."]), reSpecials = new Set("().*{}+?[]^$\\!"), regExpEscape = (s) => s.replace(/[-[\]{}()*+?.,\\^$|#\s]/g, "\\$&"), qmark = "[^/]", star = qmark + "*?", starNoEmpty = qmark + "+?", AST = class _AST {
234
234
  type;
235
235
  #root;
@@ -565,10 +565,10 @@ var types = /* @__PURE__ */ new Set(["!", "?", "+", "*", "@"]), isExtglobType =
565
565
  }
566
566
  };
567
567
 
568
- // ../node_modules/glob/node_modules/minimatch/dist/esm/escape.js
568
+ // ../../node_modules/glob/node_modules/minimatch/dist/esm/escape.js
569
569
  var escape = (s, { windowsPathsNoEscape = !1 } = {}) => windowsPathsNoEscape ? s.replace(/[?*()[\]]/g, "[$&]") : s.replace(/[?*()[\]\\]/g, "\\$&");
570
570
 
571
- // ../node_modules/glob/node_modules/minimatch/dist/esm/index.js
571
+ // ../../node_modules/glob/node_modules/minimatch/dist/esm/index.js
572
572
  var minimatch = (p, pattern, options = {}) => (assertValidPattern(pattern), !options.nocomment && pattern.charAt(0) === "#" ? !1 : new Minimatch(pattern, options).match(p)), starDotExtRE = /^\*+([^+@!?\*\[\(]*)$/, starDotExtTest = (ext2) => (f) => !f.startsWith(".") && f.endsWith(ext2), starDotExtTestDot = (ext2) => (f) => f.endsWith(ext2), starDotExtTestNocase = (ext2) => (ext2 = ext2.toLowerCase(), (f) => !f.startsWith(".") && f.toLowerCase().endsWith(ext2)), starDotExtTestNocaseDot = (ext2) => (ext2 = ext2.toLowerCase(), (f) => f.toLowerCase().endsWith(ext2)), starDotStarRE = /^\*+\.\*+$/, starDotStarTest = (f) => !f.startsWith(".") && f.includes("."), starDotStarTestDot = (f) => f !== "." && f !== ".." && f.includes("."), dotStarRE = /^\.\*+$/, dotStarTest = (f) => f !== "." && f !== ".." && f.startsWith("."), starRE = /^\*+$/, starTest = (f) => f.length !== 0 && !f.startsWith("."), starTestDot = (f) => f.length !== 0 && f !== "." && f !== "..", qmarksRE = /^\?+([^+@!?\*\[\(]*)?$/, qmarksTestNocase = ([$0, ext2 = ""]) => {
573
573
  let noext = qmarksTestNoExt([$0]);
574
574
  return ext2 ? (ext2 = ext2.toLowerCase(), (f) => noext(f) && f.toLowerCase().endsWith(ext2)) : noext;
@@ -990,10 +990,10 @@ minimatch.Minimatch = Minimatch;
990
990
  minimatch.escape = escape;
991
991
  minimatch.unescape = unescape;
992
992
 
993
- // ../node_modules/glob/dist/esm/glob.js
993
+ // ../../node_modules/glob/dist/esm/glob.js
994
994
  import { fileURLToPath as fileURLToPath2 } from "node:url";
995
995
 
996
- // ../node_modules/glob/node_modules/lru-cache/dist/esm/index.js
996
+ // ../../node_modules/lru-cache/dist/esm/index.js
997
997
  var perf = typeof performance == "object" && performance && typeof performance.now == "function" ? performance : Date, warned = /* @__PURE__ */ new Set(), PROCESS = typeof process == "object" && process ? process : {}, emitWarning = (msg, type, code, fn) => {
998
998
  typeof PROCESS.emitWarning == "function" ? PROCESS.emitWarning(msg, type, code, fn) : console.error(`[${code}] ${type}: ${msg}`);
999
999
  }, AC = globalThis.AbortController, AS = globalThis.AbortSignal;
@@ -1053,13 +1053,14 @@ var shouldWarn = (code) => !warned.has(code), TYPE = Symbol("type"), isPosInt =
1053
1053
  return this.heap[--this.length];
1054
1054
  }
1055
1055
  }, LRUCache = class _LRUCache {
1056
- // options that cannot be changed without disaster
1056
+ // properties coming in from the options of these, only max and maxSize
1057
+ // really *need* to be protected. The rest can be modified, as they just
1058
+ // set defaults for various methods.
1057
1059
  #max;
1058
1060
  #maxSize;
1059
1061
  #dispose;
1060
1062
  #disposeAfter;
1061
1063
  #fetchMethod;
1062
- #memoMethod;
1063
1064
  /**
1064
1065
  * {@link LRUCache.OptionsBase.ttl}
1065
1066
  */
@@ -1205,9 +1206,6 @@ var shouldWarn = (code) => !warned.has(code), TYPE = Symbol("type"), isPosInt =
1205
1206
  get fetchMethod() {
1206
1207
  return this.#fetchMethod;
1207
1208
  }
1208
- get memoMethod() {
1209
- return this.#memoMethod;
1210
- }
1211
1209
  /**
1212
1210
  * {@link LRUCache.OptionsBase.dispose} (read-only)
1213
1211
  */
@@ -1221,7 +1219,7 @@ var shouldWarn = (code) => !warned.has(code), TYPE = Symbol("type"), isPosInt =
1221
1219
  return this.#disposeAfter;
1222
1220
  }
1223
1221
  constructor(options) {
1224
- let { max = 0, ttl, ttlResolution = 1, ttlAutopurge, updateAgeOnGet, updateAgeOnHas, allowStale, dispose, disposeAfter, noDisposeOnSet, noUpdateTTL, maxSize = 0, maxEntrySize = 0, sizeCalculation, fetchMethod, memoMethod, noDeleteOnFetchRejection, noDeleteOnStaleGet, allowStaleOnFetchRejection, allowStaleOnFetchAbort, ignoreFetchAbort } = options;
1222
+ let { max = 0, ttl, ttlResolution = 1, ttlAutopurge, updateAgeOnGet, updateAgeOnHas, allowStale, dispose, disposeAfter, noDisposeOnSet, noUpdateTTL, maxSize = 0, maxEntrySize = 0, sizeCalculation, fetchMethod, noDeleteOnFetchRejection, noDeleteOnStaleGet, allowStaleOnFetchRejection, allowStaleOnFetchAbort, ignoreFetchAbort } = options;
1225
1223
  if (max !== 0 && !isPosInt(max))
1226
1224
  throw new TypeError("max option must be a nonnegative integer");
1227
1225
  let UintArray = max ? getUintArray(max) : Array;
@@ -1233,9 +1231,7 @@ var shouldWarn = (code) => !warned.has(code), TYPE = Symbol("type"), isPosInt =
1233
1231
  if (typeof this.sizeCalculation != "function")
1234
1232
  throw new TypeError("sizeCalculation set to non-function");
1235
1233
  }
1236
- if (memoMethod !== void 0 && typeof memoMethod != "function")
1237
- throw new TypeError("memoMethod must be a function if defined");
1238
- if (this.#memoMethod = memoMethod, fetchMethod !== void 0 && typeof fetchMethod != "function")
1234
+ if (fetchMethod !== void 0 && typeof fetchMethod != "function")
1239
1235
  throw new TypeError("fetchMethod must be a function if specified");
1240
1236
  if (this.#fetchMethod = fetchMethod, this.#hasFetchMethod = !!fetchMethod, this.#keyMap = /* @__PURE__ */ new Map(), this.#keyList = new Array(max).fill(void 0), this.#valList = new Array(max).fill(void 0), this.#next = new UintArray(max), this.#prev = new UintArray(max), this.#head = 0, this.#tail = 0, this.#free = Stack.create(max), this.#size = 0, this.#calculatedSize = 0, typeof dispose == "function" && (this.#dispose = dispose), typeof disposeAfter == "function" ? (this.#disposeAfter = disposeAfter, this.#disposed = []) : (this.#disposeAfter = void 0, this.#disposed = void 0), this.#hasDispose = !!this.#dispose, this.#hasDisposeAfter = !!this.#disposeAfter, this.noDisposeOnSet = !!noDisposeOnSet, this.noUpdateTTL = !!noUpdateTTL, this.noDeleteOnFetchRejection = !!noDeleteOnFetchRejection, this.allowStaleOnFetchRejection = !!allowStaleOnFetchRejection, this.allowStaleOnFetchAbort = !!allowStaleOnFetchAbort, this.ignoreFetchAbort = !!ignoreFetchAbort, this.maxEntrySize !== 0) {
1241
1237
  if (this.#maxSize !== 0 && !isPosInt(this.#maxSize))
@@ -1257,8 +1253,7 @@ var shouldWarn = (code) => !warned.has(code), TYPE = Symbol("type"), isPosInt =
1257
1253
  }
1258
1254
  }
1259
1255
  /**
1260
- * Return the number of ms left in the item's TTL. If item is not in cache,
1261
- * returns `0`. Returns `Infinity` if item is in cache without a defined TTL.
1256
+ * Return the remaining TTL time for a given entry key
1262
1257
  */
1263
1258
  getRemainingTTL(key) {
1264
1259
  return this.#keyMap.has(key) ? 1 / 0 : 0;
@@ -1268,7 +1263,7 @@ var shouldWarn = (code) => !warned.has(code), TYPE = Symbol("type"), isPosInt =
1268
1263
  this.#ttls = ttls, this.#starts = starts, this.#setItemTTL = (index, ttl, start = perf.now()) => {
1269
1264
  if (starts[index] = ttl !== 0 ? start : 0, ttls[index] = ttl, ttl !== 0 && this.ttlAutopurge) {
1270
1265
  let t = setTimeout(() => {
1271
- this.#isStale(index) && this.#delete(this.#keyList[index], "expire");
1266
+ this.#isStale(index) && this.delete(this.#keyList[index]);
1272
1267
  }, ttl + 1);
1273
1268
  t.unref && t.unref();
1274
1269
  }
@@ -1429,14 +1424,13 @@ var shouldWarn = (code) => !warned.has(code), TYPE = Symbol("type"), isPosInt =
1429
1424
  return this.entries();
1430
1425
  }
1431
1426
  /**
1432
- * A String value that is used in the creation of the default string
1433
- * description of an object. Called by the built-in method
1434
- * `Object.prototype.toString`.
1427
+ * A String value that is used in the creation of the default string description of an object.
1428
+ * Called by the built-in method Object.prototype.toString.
1435
1429
  */
1436
1430
  [Symbol.toStringTag] = "LRUCache";
1437
1431
  /**
1438
1432
  * Find a value for which the supplied fn method returns a truthy value,
1439
- * similar to `Array.find()`. fn is called as `fn(value, key, cache)`.
1433
+ * similar to Array.find(). fn is called as fn(value, key, cache).
1440
1434
  */
1441
1435
  find(fn, getOptions = {}) {
1442
1436
  for (let i of this.#indexes()) {
@@ -1446,15 +1440,10 @@ var shouldWarn = (code) => !warned.has(code), TYPE = Symbol("type"), isPosInt =
1446
1440
  }
1447
1441
  }
1448
1442
  /**
1449
- * Call the supplied function on each item in the cache, in order from most
1450
- * recently used to least recently used.
1451
- *
1452
- * `fn` is called as `fn(value, key, cache)`.
1453
- *
1454
- * If `thisp` is provided, function will be called in the `this`-context of
1455
- * the provided object, or the cache if no `thisp` object is provided.
1456
- *
1457
- * Does not update age or recenty of use, or iterate over stale values.
1443
+ * Call the supplied function on each item in the cache, in order from
1444
+ * most recently used to least recently used. fn is called as
1445
+ * fn(value, key, cache). Does not update age or recenty of use.
1446
+ * Does not iterate over stale values.
1458
1447
  */
1459
1448
  forEach(fn, thisp = this) {
1460
1449
  for (let i of this.#indexes()) {
@@ -1479,20 +1468,14 @@ var shouldWarn = (code) => !warned.has(code), TYPE = Symbol("type"), isPosInt =
1479
1468
  purgeStale() {
1480
1469
  let deleted = !1;
1481
1470
  for (let i of this.#rindexes({ allowStale: !0 }))
1482
- this.#isStale(i) && (this.#delete(this.#keyList[i], "expire"), deleted = !0);
1471
+ this.#isStale(i) && (this.delete(this.#keyList[i]), deleted = !0);
1483
1472
  return deleted;
1484
1473
  }
1485
1474
  /**
1486
1475
  * Get the extended info about a given entry, to get its value, size, and
1487
- * TTL info simultaneously. Returns `undefined` if the key is not present.
1488
- *
1489
- * Unlike {@link LRUCache#dump}, which is designed to be portable and survive
1490
- * serialization, the `start` value is always the current timestamp, and the
1491
- * `ttl` is a calculated remaining time to live (negative if expired).
1492
- *
1493
- * Always returns stale values, if their info is found in the cache, so be
1494
- * sure to check for expirations (ie, a negative {@link LRUCache.Entry#ttl})
1495
- * if relevant.
1476
+ * TTL info simultaneously. Like {@link LRUCache#dump}, but just for a
1477
+ * single key. Always returns stale values, if their info is found in the
1478
+ * cache, so be sure to check for expired TTLs if relevant.
1496
1479
  */
1497
1480
  info(key) {
1498
1481
  let i = this.#keyMap.get(key);
@@ -1513,16 +1496,7 @@ var shouldWarn = (code) => !warned.has(code), TYPE = Symbol("type"), isPosInt =
1513
1496
  }
1514
1497
  /**
1515
1498
  * Return an array of [key, {@link LRUCache.Entry}] tuples which can be
1516
- * passed to {@link LRLUCache#load}.
1517
- *
1518
- * The `start` fields are calculated relative to a portable `Date.now()`
1519
- * timestamp, even if `performance.now()` is available.
1520
- *
1521
- * Stale entries are always included in the `dump`, even if
1522
- * {@link LRUCache.OptionsBase.allowStale} is false.
1523
- *
1524
- * Note: this returns an actual array, not a generator, so it can be more
1525
- * easily passed around.
1499
+ * passed to cache.load()
1526
1500
  */
1527
1501
  dump() {
1528
1502
  let arr = [];
@@ -1542,12 +1516,8 @@ var shouldWarn = (code) => !warned.has(code), TYPE = Symbol("type"), isPosInt =
1542
1516
  }
1543
1517
  /**
1544
1518
  * Reset the cache and load in the items in entries in the order listed.
1545
- *
1546
- * The shape of the resulting cache may be different if the same options are
1547
- * not used in both caches.
1548
- *
1549
- * The `start` fields are assumed to be calculated relative to a portable
1550
- * `Date.now()` timestamp, even if `performance.now()` is available.
1519
+ * Note that the shape of the resulting cache may be different if the
1520
+ * same options are not used in both caches.
1551
1521
  */
1552
1522
  load(arr) {
1553
1523
  this.clear();
@@ -1564,37 +1534,13 @@ var shouldWarn = (code) => !warned.has(code), TYPE = Symbol("type"), isPosInt =
1564
1534
  *
1565
1535
  * Note: if `undefined` is specified as a value, this is an alias for
1566
1536
  * {@link LRUCache#delete}
1567
- *
1568
- * Fields on the {@link LRUCache.SetOptions} options param will override
1569
- * their corresponding values in the constructor options for the scope
1570
- * of this single `set()` operation.
1571
- *
1572
- * If `start` is provided, then that will set the effective start
1573
- * time for the TTL calculation. Note that this must be a previous
1574
- * value of `performance.now()` if supported, or a previous value of
1575
- * `Date.now()` if not.
1576
- *
1577
- * Options object may also include `size`, which will prevent
1578
- * calling the `sizeCalculation` function and just use the specified
1579
- * number if it is a positive integer, and `noDisposeOnSet` which
1580
- * will prevent calling a `dispose` function in the case of
1581
- * overwrites.
1582
- *
1583
- * If the `size` (or return value of `sizeCalculation`) for a given
1584
- * entry is greater than `maxEntrySize`, then the item will not be
1585
- * added to the cache.
1586
- *
1587
- * Will update the recency of the entry.
1588
- *
1589
- * If the value is `undefined`, then this is an alias for
1590
- * `cache.delete(key)`. `undefined` is never stored in the cache.
1591
1537
  */
1592
1538
  set(k, v, setOptions = {}) {
1593
1539
  if (v === void 0)
1594
1540
  return this.delete(k), this;
1595
1541
  let { ttl = this.ttl, start, noDisposeOnSet = this.noDisposeOnSet, sizeCalculation = this.sizeCalculation, status } = setOptions, { noUpdateTTL = this.noUpdateTTL } = setOptions, size = this.#requireSize(k, v, setOptions.size || 0, sizeCalculation);
1596
1542
  if (this.maxEntrySize && size > this.maxEntrySize)
1597
- return status && (status.set = "miss", status.maxEntrySizeExceeded = !0), this.#delete(k, "set"), this;
1543
+ return status && (status.set = "miss", status.maxEntrySizeExceeded = !0), this.delete(k), this;
1598
1544
  let index = this.#size === 0 ? void 0 : this.#keyMap.get(k);
1599
1545
  if (index === void 0)
1600
1546
  index = this.#size === 0 ? this.#tail : this.#free.length !== 0 ? this.#free.pop() : this.#size === this.#max ? this.#evict(!1) : this.#size, this.#keyList[index] = k, this.#valList[index] = v, this.#keyMap.set(k, index), this.#next[this.#tail] = index, this.#prev[index] = this.#tail, this.#tail = index, this.#size++, this.#addItemSize(index, size, status), status && (status.set = "add"), noUpdateTTL = !1;
@@ -1652,14 +1598,6 @@ var shouldWarn = (code) => !warned.has(code), TYPE = Symbol("type"), isPosInt =
1652
1598
  * Will return false if the item is stale, even though it is technically
1653
1599
  * in the cache.
1654
1600
  *
1655
- * Check if a key is in the cache, without updating the recency of
1656
- * use. Age is updated if {@link LRUCache.OptionsBase.updateAgeOnHas} is set
1657
- * to `true` in either the options or the constructor.
1658
- *
1659
- * Will return `false` if the item is stale, even though it is technically in
1660
- * the cache. The difference can be determined (if it matters) by using a
1661
- * `status` argument, and inspecting the `has` field.
1662
- *
1663
1601
  * Will not update item age unless
1664
1602
  * {@link LRUCache.OptionsBase.updateAgeOnHas} is set.
1665
1603
  */
@@ -1706,10 +1644,10 @@ var shouldWarn = (code) => !warned.has(code), TYPE = Symbol("type"), isPosInt =
1706
1644
  if (options.status && (aborted && !updateCache ? (options.status.fetchAborted = !0, options.status.fetchError = ac.signal.reason, ignoreAbort && (options.status.fetchAbortIgnored = !0)) : options.status.fetchResolved = !0), aborted && !ignoreAbort && !updateCache)
1707
1645
  return fetchFail(ac.signal.reason);
1708
1646
  let bf2 = p;
1709
- return this.#valList[index] === p && (v2 === void 0 ? bf2.__staleWhileFetching ? this.#valList[index] = bf2.__staleWhileFetching : this.#delete(k, "fetch") : (options.status && (options.status.fetchUpdated = !0), this.set(k, v2, fetchOpts.options))), v2;
1647
+ return this.#valList[index] === p && (v2 === void 0 ? bf2.__staleWhileFetching ? this.#valList[index] = bf2.__staleWhileFetching : this.delete(k) : (options.status && (options.status.fetchUpdated = !0), this.set(k, v2, fetchOpts.options))), v2;
1710
1648
  }, eb = (er) => (options.status && (options.status.fetchRejected = !0, options.status.fetchError = er), fetchFail(er)), fetchFail = (er) => {
1711
1649
  let { aborted } = ac.signal, allowStaleAborted = aborted && options.allowStaleOnFetchAbort, allowStale = allowStaleAborted || options.allowStaleOnFetchRejection, noDelete = allowStale || options.noDeleteOnFetchRejection, bf2 = p;
1712
- if (this.#valList[index] === p && (!noDelete || bf2.__staleWhileFetching === void 0 ? this.#delete(k, "fetch") : allowStaleAborted || (this.#valList[index] = bf2.__staleWhileFetching)), allowStale)
1650
+ if (this.#valList[index] === p && (!noDelete || bf2.__staleWhileFetching === void 0 ? this.delete(k) : allowStaleAborted || (this.#valList[index] = bf2.__staleWhileFetching)), allowStale)
1713
1651
  return options.status && bf2.__staleWhileFetching !== void 0 && (options.status.returnedStale = !0), bf2.__staleWhileFetching;
1714
1652
  if (bf2.__returned === bf2)
1715
1653
  throw er;
@@ -1795,25 +1733,6 @@ var shouldWarn = (code) => !warned.has(code), TYPE = Symbol("type"), isPosInt =
1795
1733
  return status && (status.fetch = isStale ? "stale" : "refresh", staleVal && isStale && (status.returnedStale = !0)), staleVal ? p.__staleWhileFetching : p.__returned = p;
1796
1734
  }
1797
1735
  }
1798
- async forceFetch(k, fetchOptions = {}) {
1799
- let v = await this.fetch(k, fetchOptions);
1800
- if (v === void 0)
1801
- throw new Error("fetch() returned undefined");
1802
- return v;
1803
- }
1804
- memo(k, memoOptions = {}) {
1805
- let memoMethod = this.#memoMethod;
1806
- if (!memoMethod)
1807
- throw new Error("no memoMethod provided to constructor");
1808
- let { context, forceRefresh, ...options } = memoOptions, v = this.get(k, options);
1809
- if (!forceRefresh && v !== void 0)
1810
- return v;
1811
- let vv = memoMethod(k, v, {
1812
- options,
1813
- context
1814
- });
1815
- return this.set(k, vv, options), vv;
1816
- }
1817
1736
  /**
1818
1737
  * Return a value from the cache. Will update the recency of the cache
1819
1738
  * entry found.
@@ -1824,7 +1743,7 @@ var shouldWarn = (code) => !warned.has(code), TYPE = Symbol("type"), isPosInt =
1824
1743
  let { allowStale = this.allowStale, updateAgeOnGet = this.updateAgeOnGet, noDeleteOnStaleGet = this.noDeleteOnStaleGet, status } = getOptions, index = this.#keyMap.get(k);
1825
1744
  if (index !== void 0) {
1826
1745
  let value = this.#valList[index], fetching = this.#isBackgroundFetch(value);
1827
- return status && this.#statusTTL(status, index), this.#isStale(index) ? (status && (status.get = "stale"), fetching ? (status && allowStale && value.__staleWhileFetching !== void 0 && (status.returnedStale = !0), allowStale ? value.__staleWhileFetching : void 0) : (noDeleteOnStaleGet || this.#delete(k, "expire"), status && allowStale && (status.returnedStale = !0), allowStale ? value : void 0)) : (status && (status.get = "hit"), fetching ? value.__staleWhileFetching : (this.#moveToTail(index), updateAgeOnGet && this.#updateItemAge(index), value));
1746
+ return status && this.#statusTTL(status, index), this.#isStale(index) ? (status && (status.get = "stale"), fetching ? (status && allowStale && value.__staleWhileFetching !== void 0 && (status.returnedStale = !0), allowStale ? value.__staleWhileFetching : void 0) : (noDeleteOnStaleGet || this.delete(k), status && allowStale && (status.returnedStale = !0), allowStale ? value : void 0)) : (status && (status.get = "hit"), fetching ? value.__staleWhileFetching : (this.#moveToTail(index), updateAgeOnGet && this.#updateItemAge(index), value));
1828
1747
  } else status && (status.get = "miss");
1829
1748
  }
1830
1749
  #connect(p, n) {
@@ -1835,23 +1754,19 @@ var shouldWarn = (code) => !warned.has(code), TYPE = Symbol("type"), isPosInt =
1835
1754
  }
1836
1755
  /**
1837
1756
  * Deletes a key out of the cache.
1838
- *
1839
1757
  * Returns true if the key was deleted, false otherwise.
1840
1758
  */
1841
1759
  delete(k) {
1842
- return this.#delete(k, "delete");
1843
- }
1844
- #delete(k, reason) {
1845
1760
  let deleted = !1;
1846
1761
  if (this.#size !== 0) {
1847
1762
  let index = this.#keyMap.get(k);
1848
1763
  if (index !== void 0)
1849
1764
  if (deleted = !0, this.#size === 1)
1850
- this.#clear(reason);
1765
+ this.clear();
1851
1766
  else {
1852
1767
  this.#removeItemSize(index);
1853
1768
  let v = this.#valList[index];
1854
- if (this.#isBackgroundFetch(v) ? v.__abortController.abort(new Error("deleted")) : (this.#hasDispose || this.#hasDisposeAfter) && (this.#hasDispose && this.#dispose?.(v, k, reason), this.#hasDisposeAfter && this.#disposed?.push([v, k, reason])), this.#keyMap.delete(k), this.#keyList[index] = void 0, this.#valList[index] = void 0, index === this.#tail)
1769
+ if (this.#isBackgroundFetch(v) ? v.__abortController.abort(new Error("deleted")) : (this.#hasDispose || this.#hasDisposeAfter) && (this.#hasDispose && this.#dispose?.(v, k, "delete"), this.#hasDisposeAfter && this.#disposed?.push([v, k, "delete"])), this.#keyMap.delete(k), this.#keyList[index] = void 0, this.#valList[index] = void 0, index === this.#tail)
1855
1770
  this.#tail = this.#prev[index];
1856
1771
  else if (index === this.#head)
1857
1772
  this.#head = this.#next[index];
@@ -1875,16 +1790,13 @@ var shouldWarn = (code) => !warned.has(code), TYPE = Symbol("type"), isPosInt =
1875
1790
  * Clear the cache entirely, throwing away all values.
1876
1791
  */
1877
1792
  clear() {
1878
- return this.#clear("delete");
1879
- }
1880
- #clear(reason) {
1881
1793
  for (let index of this.#rindexes({ allowStale: !0 })) {
1882
1794
  let v = this.#valList[index];
1883
1795
  if (this.#isBackgroundFetch(v))
1884
1796
  v.__abortController.abort(new Error("deleted"));
1885
1797
  else {
1886
1798
  let k = this.#keyList[index];
1887
- this.#hasDispose && this.#dispose?.(v, k, reason), this.#hasDisposeAfter && this.#disposed?.push([v, k, reason]);
1799
+ this.#hasDispose && this.#dispose?.(v, k, "delete"), this.#hasDisposeAfter && this.#disposed?.push([v, k, "delete"]);
1888
1800
  }
1889
1801
  }
1890
1802
  if (this.#keyMap.clear(), this.#valList.fill(void 0), this.#keyList.fill(void 0), this.#ttls && this.#starts && (this.#ttls.fill(0), this.#starts.fill(0)), this.#sizes && this.#sizes.fill(0), this.#head = 0, this.#tail = 0, this.#free.length = 0, this.#calculatedSize = 0, this.#size = 0, this.#hasDisposeAfter && this.#disposed) {
@@ -1895,14 +1807,14 @@ var shouldWarn = (code) => !warned.has(code), TYPE = Symbol("type"), isPosInt =
1895
1807
  }
1896
1808
  };
1897
1809
 
1898
- // ../node_modules/glob/node_modules/path-scurry/dist/esm/index.js
1810
+ // ../../node_modules/glob/node_modules/path-scurry/dist/esm/index.js
1899
1811
  import { posix, win32 } from "node:path";
1900
1812
  import { fileURLToPath } from "node:url";
1901
1813
  import { lstatSync, readdir as readdirCB, readdirSync, readlinkSync, realpathSync as rps } from "fs";
1902
1814
  import * as actualFS from "node:fs";
1903
1815
  import { lstat, readdir, readlink, realpath } from "node:fs/promises";
1904
1816
 
1905
- // ../node_modules/minipass/dist/esm/index.js
1817
+ // ../../node_modules/minipass/dist/esm/index.js
1906
1818
  import { EventEmitter } from "node:events";
1907
1819
  import Stream from "node:stream";
1908
1820
  import { StringDecoder } from "node:string_decoder";
@@ -2461,7 +2373,7 @@ s.pipe !== Stream.Writable.prototype.pipe, isWritable = (s) => !!s && typeof s =
2461
2373
  }
2462
2374
  };
2463
2375
 
2464
- // ../node_modules/glob/node_modules/path-scurry/dist/esm/index.js
2376
+ // ../../node_modules/glob/node_modules/path-scurry/dist/esm/index.js
2465
2377
  var realpathSync = rps.native, defaultFS = {
2466
2378
  lstatSync,
2467
2379
  readdir: readdirCB,
@@ -3755,7 +3667,7 @@ var realpathSync = rps.native, defaultFS = {
3755
3667
  }
3756
3668
  }, Path = process.platform === "win32" ? PathWin32 : PathPosix, PathScurry = process.platform === "win32" ? PathScurryWin32 : process.platform === "darwin" ? PathScurryDarwin : PathScurryPosix;
3757
3669
 
3758
- // ../node_modules/glob/dist/esm/pattern.js
3670
+ // ../../node_modules/glob/dist/esm/pattern.js
3759
3671
  var isPatternList = (pl) => pl.length >= 1, isGlobList = (gl) => gl.length >= 1, Pattern = class _Pattern {
3760
3672
  #patternList;
3761
3673
  #globList;
@@ -3884,7 +3796,7 @@ var isPatternList = (pl) => pl.length >= 1, isGlobList = (gl) => gl.length >= 1,
3884
3796
  }
3885
3797
  };
3886
3798
 
3887
- // ../node_modules/glob/dist/esm/ignore.js
3799
+ // ../../node_modules/glob/dist/esm/ignore.js
3888
3800
  var defaultPlatform2 = typeof process == "object" && process && typeof process.platform == "string" ? process.platform : "linux", Ignore = class {
3889
3801
  relative;
3890
3802
  relativeChildren;
@@ -3941,7 +3853,7 @@ var defaultPlatform2 = typeof process == "object" && process && typeof process.p
3941
3853
  }
3942
3854
  };
3943
3855
 
3944
- // ../node_modules/glob/dist/esm/processor.js
3856
+ // ../../node_modules/glob/dist/esm/processor.js
3945
3857
  var HasWalkedCache = class _HasWalkedCache {
3946
3858
  store;
3947
3859
  constructor(store = /* @__PURE__ */ new Map()) {
@@ -4084,7 +3996,7 @@ var HasWalkedCache = class _HasWalkedCache {
4084
3996
  }
4085
3997
  };
4086
3998
 
4087
- // ../node_modules/glob/dist/esm/walker.js
3999
+ // ../../node_modules/glob/dist/esm/walker.js
4088
4000
  var makeIgnore = (ignore, opts) => typeof ignore == "string" ? new Ignore([ignore], opts) : Array.isArray(ignore) ? new Ignore(ignore, opts) : ignore, GlobUtil = class {
4089
4001
  path;
4090
4002
  patterns;
@@ -4312,7 +4224,7 @@ var makeIgnore = (ignore, opts) => typeof ignore == "string" ? new Ignore([ignor
4312
4224
  }
4313
4225
  };
4314
4226
 
4315
- // ../node_modules/glob/dist/esm/glob.js
4227
+ // ../../node_modules/glob/dist/esm/glob.js
4316
4228
  var defaultPlatform3 = typeof process == "object" && process && typeof process.platform == "string" ? process.platform : "linux", Glob = class {
4317
4229
  absolute;
4318
4230
  cwd;
@@ -4465,7 +4377,7 @@ var defaultPlatform3 = typeof process == "object" && process && typeof process.p
4465
4377
  }
4466
4378
  };
4467
4379
 
4468
- // ../node_modules/glob/dist/esm/has-magic.js
4380
+ // ../../node_modules/glob/dist/esm/has-magic.js
4469
4381
  var hasMagic = (pattern, options = {}) => {
4470
4382
  Array.isArray(pattern) || (pattern = [pattern]);
4471
4383
  for (let p of pattern)
@@ -4474,7 +4386,7 @@ var hasMagic = (pattern, options = {}) => {
4474
4386
  return !1;
4475
4387
  };
4476
4388
 
4477
- // ../node_modules/glob/dist/esm/index.js
4389
+ // ../../node_modules/glob/dist/esm/index.js
4478
4390
  function globStreamSync(pattern, options = {}) {
4479
4391
  return new Glob(pattern, options).streamSync();
4480
4392
  }
@@ -0,0 +1,18 @@
1
+ import CJS_COMPAT_NODE_URL_aucdos01fk5 from 'node:url';
2
+ import CJS_COMPAT_NODE_PATH_aucdos01fk5 from 'node:path';
3
+ import CJS_COMPAT_NODE_MODULE_aucdos01fk5 from "node:module";
4
+
5
+ var __filename = CJS_COMPAT_NODE_URL_aucdos01fk5.fileURLToPath(import.meta.url);
6
+ var __dirname = CJS_COMPAT_NODE_PATH_aucdos01fk5.dirname(__filename);
7
+ var require = CJS_COMPAT_NODE_MODULE_aucdos01fk5.createRequire(import.meta.url);
8
+
9
+ // ------------------------------------------------------------
10
+ // end of CJS compatibility banner, injected by Storybook's esbuild configuration
11
+ // ------------------------------------------------------------
12
+
13
+ // package.json
14
+ var version = "10.2.0-alpha.11";
15
+
16
+ export {
17
+ version
18
+ };
@@ -1,10 +1,10 @@
1
- import CJS_COMPAT_NODE_URL_2297kyafub from 'node:url';
2
- import CJS_COMPAT_NODE_PATH_2297kyafub from 'node:path';
3
- import CJS_COMPAT_NODE_MODULE_2297kyafub from "node:module";
1
+ import CJS_COMPAT_NODE_URL_aucdos01fk5 from 'node:url';
2
+ import CJS_COMPAT_NODE_PATH_aucdos01fk5 from 'node:path';
3
+ import CJS_COMPAT_NODE_MODULE_aucdos01fk5 from "node:module";
4
4
 
5
- var __filename = CJS_COMPAT_NODE_URL_2297kyafub.fileURLToPath(import.meta.url);
6
- var __dirname = CJS_COMPAT_NODE_PATH_2297kyafub.dirname(__filename);
7
- var require = CJS_COMPAT_NODE_MODULE_2297kyafub.createRequire(import.meta.url);
5
+ var __filename = CJS_COMPAT_NODE_URL_aucdos01fk5.fileURLToPath(import.meta.url);
6
+ var __dirname = CJS_COMPAT_NODE_PATH_aucdos01fk5.dirname(__filename);
7
+ var require = CJS_COMPAT_NODE_MODULE_aucdos01fk5.createRequire(import.meta.url);
8
8
 
9
9
  // ------------------------------------------------------------
10
10
  // end of CJS compatibility banner, injected by Storybook's esbuild configuration