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
@@ -2,50 +2,47 @@ import {
2
2
  UniversalStore,
3
3
  parse,
4
4
  stringify
5
- } from "../_browser-chunks/chunk-UD6FQLAF.js";
5
+ } from "../_browser-chunks/chunk-JK6U3MQW.js";
6
6
  import {
7
7
  StatusTypeIdMismatchError
8
- } from "../_browser-chunks/chunk-GFY5R5EY.js";
8
+ } from "../_browser-chunks/chunk-V5NV5R37.js";
9
9
  import {
10
10
  StatusTypeIdMismatchError as StatusTypeIdMismatchError2
11
- } from "../_browser-chunks/chunk-2XZMBGTA.js";
11
+ } from "../_browser-chunks/chunk-POMIZRJL.js";
12
12
  import {
13
13
  StorybookError
14
- } from "../_browser-chunks/chunk-FQ7SLVLR.js";
14
+ } from "../_browser-chunks/chunk-JVRDBUUP.js";
15
15
  import {
16
16
  countBy,
17
17
  dequal,
18
18
  partition
19
- } from "../_browser-chunks/chunk-XJNX76GA.js";
20
- import {
21
- require_picocolors_browser
22
- } from "../_browser-chunks/chunk-EZSQOHRI.js";
19
+ } from "../_browser-chunks/chunk-NQJGOFZV.js";
23
20
  import {
24
21
  isEqual
25
- } from "../_browser-chunks/chunk-3IAH5M2U.js";
26
- import "../_browser-chunks/chunk-QKODTO7K.js";
22
+ } from "../_browser-chunks/chunk-IYCKG66Y.js";
23
+ import "../_browser-chunks/chunk-NZMVUW5T.js";
27
24
  import {
28
25
  mapValues,
29
26
  mergeWith,
30
27
  pick,
31
28
  toMerged
32
- } from "../_browser-chunks/chunk-AIOS4NGK.js";
33
- import "../_browser-chunks/chunk-GFLS4VP3.js";
29
+ } from "../_browser-chunks/chunk-SWJP5COI.js";
30
+ import "../_browser-chunks/chunk-LCHBOIHN.js";
34
31
  import {
35
32
  require_memoizerific
36
- } from "../_browser-chunks/chunk-WJYERY3R.js";
33
+ } from "../_browser-chunks/chunk-ZCFV7BZB.js";
37
34
  import {
38
35
  dedent
39
- } from "../_browser-chunks/chunk-JP7NCOJX.js";
36
+ } from "../_browser-chunks/chunk-3LY4VQVK.js";
40
37
  import {
41
38
  __commonJS,
42
39
  __export,
43
40
  __toESM
44
41
  } from "../_browser-chunks/chunk-A242L54C.js";
45
42
 
46
- // ../node_modules/toggle-selection/index.js
43
+ // ../../node_modules/toggle-selection/index.js
47
44
  var require_toggle_selection = __commonJS({
48
- "../node_modules/toggle-selection/index.js"(exports, module) {
45
+ "../../node_modules/toggle-selection/index.js"(exports, module) {
49
46
  module.exports = function() {
50
47
  var selection = document.getSelection();
51
48
  if (!selection.rangeCount)
@@ -72,9 +69,9 @@ var require_toggle_selection = __commonJS({
72
69
  }
73
70
  });
74
71
 
75
- // ../node_modules/copy-to-clipboard/index.js
72
+ // ../../node_modules/copy-to-clipboard/index.js
76
73
  var require_copy_to_clipboard = __commonJS({
77
- "../node_modules/copy-to-clipboard/index.js"(exports, module) {
74
+ "../../node_modules/copy-to-clipboard/index.js"(exports, module) {
78
75
  "use strict";
79
76
  var deselectCurrent = require_toggle_selection(), clipboardToIE11Formatting = {
80
77
  "text/plain": "Text",
@@ -119,9 +116,20 @@ var require_copy_to_clipboard = __commonJS({
119
116
  }
120
117
  });
121
118
 
122
- // ../node_modules/store2/dist/store2.js
119
+ // ../../node_modules/picocolors/picocolors.browser.js
120
+ var require_picocolors_browser = __commonJS({
121
+ "../../node_modules/picocolors/picocolors.browser.js"(exports, module) {
122
+ var x = String, create2 = function() {
123
+ return { isColorSupported: !1, reset: x, bold: x, dim: x, italic: x, underline: x, inverse: x, hidden: x, strikethrough: x, black: x, red: x, green: x, yellow: x, blue: x, magenta: x, cyan: x, white: x, gray: x, bgBlack: x, bgRed: x, bgGreen: x, bgYellow: x, bgBlue: x, bgMagenta: x, bgCyan: x, bgWhite: x, blackBright: x, redBright: x, greenBright: x, yellowBright: x, blueBright: x, magentaBright: x, cyanBright: x, whiteBright: x, bgBlackBright: x, bgRedBright: x, bgGreenBright: x, bgYellowBright: x, bgBlueBright: x, bgMagentaBright: x, bgCyanBright: x, bgWhiteBright: x };
124
+ };
125
+ module.exports = create2();
126
+ module.exports.createColors = create2;
127
+ }
128
+ });
129
+
130
+ // ../../node_modules/store2/dist/store2.js
123
131
  var require_store2 = __commonJS({
124
- "../node_modules/store2/dist/store2.js"(exports, module) {
132
+ "../../node_modules/store2/dist/store2.js"(exports, module) {
125
133
  (function(window2, define) {
126
134
  var _ = {
127
135
  version: "2.14.4",
@@ -2033,19 +2041,19 @@ var init11 = ({
2033
2041
  updateStory: async (storyId, update2, ref) => {
2034
2042
  if (ref) {
2035
2043
  let { id: refId, index, filteredIndex } = ref;
2036
- index[storyId] = {
2044
+ index && index[storyId] && (index[storyId] = {
2037
2045
  ...index[storyId],
2038
2046
  ...update2
2039
- }, filteredIndex[storyId] = {
2047
+ }), filteredIndex && filteredIndex[storyId] && (filteredIndex[storyId] = {
2040
2048
  ...filteredIndex[storyId],
2041
2049
  ...update2
2042
- }, await fullAPI.updateRef(refId, { index, filteredIndex });
2050
+ }), await fullAPI.updateRef(refId, { index, filteredIndex });
2043
2051
  } else {
2044
2052
  let { index, filteredIndex } = store2.getState();
2045
- index && (index[storyId] = {
2053
+ index && index[storyId] && (index[storyId] = {
2046
2054
  ...index[storyId],
2047
2055
  ...update2
2048
- }), filteredIndex && (filteredIndex[storyId] = {
2056
+ }), filteredIndex && filteredIndex[storyId] && (filteredIndex[storyId] = {
2049
2057
  ...filteredIndex[storyId],
2050
2058
  ...update2
2051
2059
  }), (index || filteredIndex) && await store2.setState({ index, filteredIndex });
@@ -2329,7 +2337,7 @@ import { global as global8 } from "@storybook/global";
2329
2337
  import semver from "semver";
2330
2338
 
2331
2339
  // src/manager-api/version.ts
2332
- var version = "10.2.0-alpha.1";
2340
+ var version = "10.2.0-alpha.11";
2333
2341
 
2334
2342
  // src/manager-api/modules/versions.ts
2335
2343
  var { VERSIONCHECK } = global8, getVersionCheckData = (0, import_memoizerific2.default)(1)(() => {
@@ -570,6 +570,25 @@ declare abstract class StorybookError extends Error {
570
570
  /** Overrides the default `Error.name` property in the format: SB_<CATEGORY>_<CODE>. */
571
571
  get name(): string;
572
572
  set name(name: string);
573
+ /**
574
+ * A collection of sub errors which relate to a parent error.
575
+ *
576
+ * Sub-errors are used to represent multiple related errors that occurred together. When a
577
+ * StorybookError with sub-errors is sent to telemetry, both the parent error and each sub-error
578
+ * are sent as separate telemetry events. This allows for better error tracking and debugging.
579
+ *
580
+ * @example
581
+ *
582
+ * ```ts
583
+ * const error1 = new SomeError();
584
+ * const error2 = new AnotherError();
585
+ * const parentError = new ParentError({
586
+ * // ... other props
587
+ * subErrors: [error1, error2],
588
+ * });
589
+ * ```
590
+ */
591
+ subErrors: StorybookError[];
573
592
  constructor(props: {
574
593
  category: string;
575
594
  code: number;
@@ -577,6 +596,11 @@ declare abstract class StorybookError extends Error {
577
596
  documentation?: boolean | string | string[];
578
597
  isHandledError?: boolean;
579
598
  name: string;
599
+ /**
600
+ * Optional array of sub-errors that are related to this error. When this error is sent to
601
+ * telemetry, each sub-error will be sent as a separate event.
602
+ */
603
+ subErrors?: StorybookError[];
580
604
  });
581
605
  /** Generates the error message along with additional documentation link (if applicable). */
582
606
  static getFullMessage({ documentation, code, category, message, }: ConstructorParameters<typeof StorybookError>[0]): string;
@@ -3,8 +3,8 @@ import {
3
3
  ProviderDoesNotExtendBaseProviderError,
4
4
  StatusTypeIdMismatchError,
5
5
  UncaughtManagerError
6
- } from "./_browser-chunks/chunk-GFY5R5EY.js";
7
- import "./_browser-chunks/chunk-FQ7SLVLR.js";
6
+ } from "./_browser-chunks/chunk-V5NV5R37.js";
7
+ import "./_browser-chunks/chunk-JVRDBUUP.js";
8
8
  import "./_browser-chunks/chunk-A242L54C.js";
9
9
  export {
10
10
  Category,
@@ -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
@@ -16,10 +16,10 @@ import {
16
16
  join,
17
17
  normalize,
18
18
  resolve
19
- } from "../_node-chunks/chunk-PGFQADZC.js";
20
- import "../_node-chunks/chunk-5NWCBUGD.js";
19
+ } from "../_node-chunks/chunk-MAQAZSXK.js";
20
+ import "../_node-chunks/chunk-FWVZUHZX.js";
21
21
 
22
- // ../node_modules/@jridgewell/sourcemap-codec/dist/sourcemap-codec.mjs
22
+ // ../../node_modules/@jridgewell/sourcemap-codec/dist/sourcemap-codec.mjs
23
23
  var comma = 44, semicolon = 59, chars = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/", intToChar = new Uint8Array(64), charToInt = new Uint8Array(128);
24
24
  for (let i = 0; i < chars.length; i++) {
25
25
  let c = chars.charCodeAt(i);
@@ -72,7 +72,7 @@ function encode(decoded) {
72
72
  return writer.flush();
73
73
  }
74
74
 
75
- // ../node_modules/magic-string/dist/magic-string.es.mjs
75
+ // ../../node_modules/magic-string/dist/magic-string.es.mjs
76
76
  var BitSet = class _BitSet {
77
77
  constructor(arg) {
78
78
  this.bits = arg instanceof _BitSet ? arg.bits.slice() : [];
@@ -670,7 +670,7 @@ var wordRegex = /\w/, Mappings = class {
670
670
  }
671
671
  };
672
672
 
673
- // ../node_modules/estree-walker/src/walker.js
673
+ // ../../node_modules/estree-walker/src/walker.js
674
674
  var WalkerBase = class {
675
675
  constructor() {
676
676
  this.should_skip = !1, this.should_remove = !1, this.replacement = null, this.context = {
@@ -700,7 +700,7 @@ var WalkerBase = class {
700
700
  }
701
701
  };
702
702
 
703
- // ../node_modules/estree-walker/src/sync.js
703
+ // ../../node_modules/estree-walker/src/sync.js
704
704
  var SyncWalker = class extends WalkerBase {
705
705
  /**
706
706
  *
@@ -760,7 +760,7 @@ function isNode(value) {
760
760
  return value !== null && typeof value == "object" && "type" in value && typeof value.type == "string";
761
761
  }
762
762
 
763
- // ../node_modules/estree-walker/src/index.js
763
+ // ../../node_modules/estree-walker/src/index.js
764
764
  function walk(ast, { enter, leave }) {
765
765
  return new SyncWalker(enter, leave).visit(ast, null);
766
766
  }
@@ -958,7 +958,7 @@ import { transformSync } from "esbuild";
958
958
  import { readFileSync, realpathSync } from "node:fs";
959
959
  import { createRequire } from "node:module";
960
960
 
961
- // ../node_modules/resolve.exports/dist/index.mjs
961
+ // ../../node_modules/resolve.exports/dist/index.mjs
962
962
  function e(e2, n3, r2) {
963
963
  throw new Error(r2 ? `No known conditions for "${n3}" specifier in "${e2}" package` : `Missing "${n3}" specifier in "${e2}" package`);
964
964
  }