@storybook/addon-vitest 10.3.1 → 10.3.3

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.
@@ -1,17 +1,17 @@
1
- import CJS_COMPAT_NODE_URL_mmp6gog4g1i from 'node:url';
2
- import CJS_COMPAT_NODE_PATH_mmp6gog4g1i from 'node:path';
3
- import CJS_COMPAT_NODE_MODULE_mmp6gog4g1i from "node:module";
1
+ import CJS_COMPAT_NODE_URL_plmkhzyfcj from 'node:url';
2
+ import CJS_COMPAT_NODE_PATH_plmkhzyfcj from 'node:path';
3
+ import CJS_COMPAT_NODE_MODULE_plmkhzyfcj from "node:module";
4
4
 
5
- var __filename = CJS_COMPAT_NODE_URL_mmp6gog4g1i.fileURLToPath(import.meta.url);
6
- var __dirname = CJS_COMPAT_NODE_PATH_mmp6gog4g1i.dirname(__filename);
7
- var require = CJS_COMPAT_NODE_MODULE_mmp6gog4g1i.createRequire(import.meta.url);
5
+ var __filename = CJS_COMPAT_NODE_URL_plmkhzyfcj.fileURLToPath(import.meta.url);
6
+ var __dirname = CJS_COMPAT_NODE_PATH_plmkhzyfcj.dirname(__filename);
7
+ var require = CJS_COMPAT_NODE_MODULE_plmkhzyfcj.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
  __commonJS
14
- } from "./chunk-KNQ56B6U.js";
14
+ } from "./chunk-ZUFKVVHZ.js";
15
15
 
16
16
  // ../../../node_modules/ts-dedent/dist/index.js
17
17
  var require_dist = __commonJS({
@@ -1,23 +1,23 @@
1
- import CJS_COMPAT_NODE_URL_mmp6gog4g1i from 'node:url';
2
- import CJS_COMPAT_NODE_PATH_mmp6gog4g1i from 'node:path';
3
- import CJS_COMPAT_NODE_MODULE_mmp6gog4g1i from "node:module";
1
+ import CJS_COMPAT_NODE_URL_plmkhzyfcj from 'node:url';
2
+ import CJS_COMPAT_NODE_PATH_plmkhzyfcj from 'node:path';
3
+ import CJS_COMPAT_NODE_MODULE_plmkhzyfcj from "node:module";
4
4
 
5
- var __filename = CJS_COMPAT_NODE_URL_mmp6gog4g1i.fileURLToPath(import.meta.url);
6
- var __dirname = CJS_COMPAT_NODE_PATH_mmp6gog4g1i.dirname(__filename);
7
- var require = CJS_COMPAT_NODE_MODULE_mmp6gog4g1i.createRequire(import.meta.url);
5
+ var __filename = CJS_COMPAT_NODE_URL_plmkhzyfcj.fileURLToPath(import.meta.url);
6
+ var __dirname = CJS_COMPAT_NODE_PATH_plmkhzyfcj.dirname(__filename);
7
+ var require = CJS_COMPAT_NODE_MODULE_plmkhzyfcj.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
  ADDON_ID2 as ADDON_ID
14
- } from "./chunk-GIYE3L73.js";
14
+ } from "./chunk-LS3BTHYS.js";
15
15
  import {
16
16
  require_picocolors
17
- } from "./chunk-EJWR3Q47.js";
17
+ } from "./chunk-HQMHJHT7.js";
18
18
  import {
19
19
  __toESM
20
- } from "./chunk-KNQ56B6U.js";
20
+ } from "./chunk-ZUFKVVHZ.js";
21
21
 
22
22
  // src/logger.ts
23
23
  var import_picocolors = __toESM(require_picocolors(), 1);
@@ -1,17 +1,17 @@
1
- import CJS_COMPAT_NODE_URL_mmp6gog4g1i from 'node:url';
2
- import CJS_COMPAT_NODE_PATH_mmp6gog4g1i from 'node:path';
3
- import CJS_COMPAT_NODE_MODULE_mmp6gog4g1i from "node:module";
1
+ import CJS_COMPAT_NODE_URL_plmkhzyfcj from 'node:url';
2
+ import CJS_COMPAT_NODE_PATH_plmkhzyfcj from 'node:path';
3
+ import CJS_COMPAT_NODE_MODULE_plmkhzyfcj from "node:module";
4
4
 
5
- var __filename = CJS_COMPAT_NODE_URL_mmp6gog4g1i.fileURLToPath(import.meta.url);
6
- var __dirname = CJS_COMPAT_NODE_PATH_mmp6gog4g1i.dirname(__filename);
7
- var require = CJS_COMPAT_NODE_MODULE_mmp6gog4g1i.createRequire(import.meta.url);
5
+ var __filename = CJS_COMPAT_NODE_URL_plmkhzyfcj.fileURLToPath(import.meta.url);
6
+ var __dirname = CJS_COMPAT_NODE_PATH_plmkhzyfcj.dirname(__filename);
7
+ var require = CJS_COMPAT_NODE_MODULE_plmkhzyfcj.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
  __commonJS
14
- } from "./chunk-KNQ56B6U.js";
14
+ } from "./chunk-ZUFKVVHZ.js";
15
15
 
16
16
  // ../../../node_modules/picocolors/picocolors.js
17
17
  var require_picocolors = __commonJS({
@@ -1,10 +1,10 @@
1
- import CJS_COMPAT_NODE_URL_mmp6gog4g1i from 'node:url';
2
- import CJS_COMPAT_NODE_PATH_mmp6gog4g1i from 'node:path';
3
- import CJS_COMPAT_NODE_MODULE_mmp6gog4g1i from "node:module";
1
+ import CJS_COMPAT_NODE_URL_plmkhzyfcj from 'node:url';
2
+ import CJS_COMPAT_NODE_PATH_plmkhzyfcj from 'node:path';
3
+ import CJS_COMPAT_NODE_MODULE_plmkhzyfcj from "node:module";
4
4
 
5
- var __filename = CJS_COMPAT_NODE_URL_mmp6gog4g1i.fileURLToPath(import.meta.url);
6
- var __dirname = CJS_COMPAT_NODE_PATH_mmp6gog4g1i.dirname(__filename);
7
- var require = CJS_COMPAT_NODE_MODULE_mmp6gog4g1i.createRequire(import.meta.url);
5
+ var __filename = CJS_COMPAT_NODE_URL_plmkhzyfcj.fileURLToPath(import.meta.url);
6
+ var __dirname = CJS_COMPAT_NODE_PATH_plmkhzyfcj.dirname(__filename);
7
+ var require = CJS_COMPAT_NODE_MODULE_plmkhzyfcj.createRequire(import.meta.url);
8
8
 
9
9
  // ------------------------------------------------------------
10
10
  // end of CJS compatibility banner, injected by Storybook's esbuild configuration
@@ -1,10 +1,10 @@
1
- import CJS_COMPAT_NODE_URL_mmp6gog4g1i from 'node:url';
2
- import CJS_COMPAT_NODE_PATH_mmp6gog4g1i from 'node:path';
3
- import CJS_COMPAT_NODE_MODULE_mmp6gog4g1i from "node:module";
1
+ import CJS_COMPAT_NODE_URL_plmkhzyfcj from 'node:url';
2
+ import CJS_COMPAT_NODE_PATH_plmkhzyfcj from 'node:path';
3
+ import CJS_COMPAT_NODE_MODULE_plmkhzyfcj from "node:module";
4
4
 
5
- var __filename = CJS_COMPAT_NODE_URL_mmp6gog4g1i.fileURLToPath(import.meta.url);
6
- var __dirname = CJS_COMPAT_NODE_PATH_mmp6gog4g1i.dirname(__filename);
7
- var require = CJS_COMPAT_NODE_MODULE_mmp6gog4g1i.createRequire(import.meta.url);
5
+ var __filename = CJS_COMPAT_NODE_URL_plmkhzyfcj.fileURLToPath(import.meta.url);
6
+ var __dirname = CJS_COMPAT_NODE_PATH_plmkhzyfcj.dirname(__filename);
7
+ var require = CJS_COMPAT_NODE_MODULE_plmkhzyfcj.createRequire(import.meta.url);
8
8
 
9
9
  // ------------------------------------------------------------
10
10
  // end of CJS compatibility banner, injected by Storybook's esbuild configuration
@@ -1,10 +1,10 @@
1
- import CJS_COMPAT_NODE_URL_mmp6gog4g1i from 'node:url';
2
- import CJS_COMPAT_NODE_PATH_mmp6gog4g1i from 'node:path';
3
- import CJS_COMPAT_NODE_MODULE_mmp6gog4g1i from "node:module";
1
+ import CJS_COMPAT_NODE_URL_plmkhzyfcj from 'node:url';
2
+ import CJS_COMPAT_NODE_PATH_plmkhzyfcj from 'node:path';
3
+ import CJS_COMPAT_NODE_MODULE_plmkhzyfcj from "node:module";
4
4
 
5
- var __filename = CJS_COMPAT_NODE_URL_mmp6gog4g1i.fileURLToPath(import.meta.url);
6
- var __dirname = CJS_COMPAT_NODE_PATH_mmp6gog4g1i.dirname(__filename);
7
- var require = CJS_COMPAT_NODE_MODULE_mmp6gog4g1i.createRequire(import.meta.url);
5
+ var __filename = CJS_COMPAT_NODE_URL_plmkhzyfcj.fileURLToPath(import.meta.url);
6
+ var __dirname = CJS_COMPAT_NODE_PATH_plmkhzyfcj.dirname(__filename);
7
+ var require = CJS_COMPAT_NODE_MODULE_plmkhzyfcj.createRequire(import.meta.url);
8
8
 
9
9
  // ------------------------------------------------------------
10
10
  // end of CJS compatibility banner, injected by Storybook's esbuild configuration
@@ -1,17 +1,17 @@
1
- import CJS_COMPAT_NODE_URL_mmp6gog4g1i from 'node:url';
2
- import CJS_COMPAT_NODE_PATH_mmp6gog4g1i from 'node:path';
3
- import CJS_COMPAT_NODE_MODULE_mmp6gog4g1i from "node:module";
1
+ import CJS_COMPAT_NODE_URL_plmkhzyfcj from 'node:url';
2
+ import CJS_COMPAT_NODE_PATH_plmkhzyfcj from 'node:path';
3
+ import CJS_COMPAT_NODE_MODULE_plmkhzyfcj from "node:module";
4
4
 
5
- var __filename = CJS_COMPAT_NODE_URL_mmp6gog4g1i.fileURLToPath(import.meta.url);
6
- var __dirname = CJS_COMPAT_NODE_PATH_mmp6gog4g1i.dirname(__filename);
7
- var require = CJS_COMPAT_NODE_MODULE_mmp6gog4g1i.createRequire(import.meta.url);
5
+ var __filename = CJS_COMPAT_NODE_URL_plmkhzyfcj.fileURLToPath(import.meta.url);
6
+ var __dirname = CJS_COMPAT_NODE_PATH_plmkhzyfcj.dirname(__filename);
7
+ var require = CJS_COMPAT_NODE_MODULE_plmkhzyfcj.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
  __commonJS
14
- } from "./chunk-KNQ56B6U.js";
14
+ } from "./chunk-ZUFKVVHZ.js";
15
15
 
16
16
  // ../../../node_modules/semver/internal/constants.js
17
17
  var require_constants = __commonJS({
@@ -1,10 +1,10 @@
1
- import CJS_COMPAT_NODE_URL_mmp6gog4g1i from 'node:url';
2
- import CJS_COMPAT_NODE_PATH_mmp6gog4g1i from 'node:path';
3
- import CJS_COMPAT_NODE_MODULE_mmp6gog4g1i from "node:module";
1
+ import CJS_COMPAT_NODE_URL_plmkhzyfcj from 'node:url';
2
+ import CJS_COMPAT_NODE_PATH_plmkhzyfcj from 'node:path';
3
+ import CJS_COMPAT_NODE_MODULE_plmkhzyfcj from "node:module";
4
4
 
5
- var __filename = CJS_COMPAT_NODE_URL_mmp6gog4g1i.fileURLToPath(import.meta.url);
6
- var __dirname = CJS_COMPAT_NODE_PATH_mmp6gog4g1i.dirname(__filename);
7
- var require = CJS_COMPAT_NODE_MODULE_mmp6gog4g1i.createRequire(import.meta.url);
5
+ var __filename = CJS_COMPAT_NODE_URL_plmkhzyfcj.fileURLToPath(import.meta.url);
6
+ var __dirname = CJS_COMPAT_NODE_PATH_plmkhzyfcj.dirname(__filename);
7
+ var require = CJS_COMPAT_NODE_MODULE_plmkhzyfcj.createRequire(import.meta.url);
8
8
 
9
9
  // ------------------------------------------------------------
10
10
  // end of CJS compatibility banner, injected by Storybook's esbuild configuration
@@ -1,15 +1,15 @@
1
- import CJS_COMPAT_NODE_URL_mmp6gog4g1i from 'node:url';
2
- import CJS_COMPAT_NODE_PATH_mmp6gog4g1i from 'node:path';
3
- import CJS_COMPAT_NODE_MODULE_mmp6gog4g1i from "node:module";
1
+ import CJS_COMPAT_NODE_URL_plmkhzyfcj from 'node:url';
2
+ import CJS_COMPAT_NODE_PATH_plmkhzyfcj from 'node:path';
3
+ import CJS_COMPAT_NODE_MODULE_plmkhzyfcj from "node:module";
4
4
 
5
- var __filename = CJS_COMPAT_NODE_URL_mmp6gog4g1i.fileURLToPath(import.meta.url);
6
- var __dirname = CJS_COMPAT_NODE_PATH_mmp6gog4g1i.dirname(__filename);
7
- var require = CJS_COMPAT_NODE_MODULE_mmp6gog4g1i.createRequire(import.meta.url);
5
+ var __filename = CJS_COMPAT_NODE_URL_plmkhzyfcj.fileURLToPath(import.meta.url);
6
+ var __dirname = CJS_COMPAT_NODE_PATH_plmkhzyfcj.dirname(__filename);
7
+ var require = CJS_COMPAT_NODE_MODULE_plmkhzyfcj.createRequire(import.meta.url);
8
8
 
9
9
  // ------------------------------------------------------------
10
10
  // end of CJS compatibility banner, injected by Storybook's esbuild configuration
11
11
  // ------------------------------------------------------------
12
- import "./chunk-KNQ56B6U.js";
12
+ import "./chunk-ZUFKVVHZ.js";
13
13
 
14
14
  // raw:../templates/vitest.config.template
15
15
  var vitest_config_default = `import path from 'node:path';
@@ -1,15 +1,15 @@
1
- import CJS_COMPAT_NODE_URL_mmp6gog4g1i from 'node:url';
2
- import CJS_COMPAT_NODE_PATH_mmp6gog4g1i from 'node:path';
3
- import CJS_COMPAT_NODE_MODULE_mmp6gog4g1i from "node:module";
1
+ import CJS_COMPAT_NODE_URL_plmkhzyfcj from 'node:url';
2
+ import CJS_COMPAT_NODE_PATH_plmkhzyfcj from 'node:path';
3
+ import CJS_COMPAT_NODE_MODULE_plmkhzyfcj from "node:module";
4
4
 
5
- var __filename = CJS_COMPAT_NODE_URL_mmp6gog4g1i.fileURLToPath(import.meta.url);
6
- var __dirname = CJS_COMPAT_NODE_PATH_mmp6gog4g1i.dirname(__filename);
7
- var require = CJS_COMPAT_NODE_MODULE_mmp6gog4g1i.createRequire(import.meta.url);
5
+ var __filename = CJS_COMPAT_NODE_URL_plmkhzyfcj.fileURLToPath(import.meta.url);
6
+ var __dirname = CJS_COMPAT_NODE_PATH_plmkhzyfcj.dirname(__filename);
7
+ var require = CJS_COMPAT_NODE_MODULE_plmkhzyfcj.createRequire(import.meta.url);
8
8
 
9
9
  // ------------------------------------------------------------
10
10
  // end of CJS compatibility banner, injected by Storybook's esbuild configuration
11
11
  // ------------------------------------------------------------
12
- import "./chunk-KNQ56B6U.js";
12
+ import "./chunk-ZUFKVVHZ.js";
13
13
 
14
14
  // raw:../templates/vitest.config.3.2.template
15
15
  var vitest_config_3_2_default = `import path from 'node:path';
@@ -1,15 +1,15 @@
1
- import CJS_COMPAT_NODE_URL_mmp6gog4g1i from 'node:url';
2
- import CJS_COMPAT_NODE_PATH_mmp6gog4g1i from 'node:path';
3
- import CJS_COMPAT_NODE_MODULE_mmp6gog4g1i from "node:module";
1
+ import CJS_COMPAT_NODE_URL_plmkhzyfcj from 'node:url';
2
+ import CJS_COMPAT_NODE_PATH_plmkhzyfcj from 'node:path';
3
+ import CJS_COMPAT_NODE_MODULE_plmkhzyfcj from "node:module";
4
4
 
5
- var __filename = CJS_COMPAT_NODE_URL_mmp6gog4g1i.fileURLToPath(import.meta.url);
6
- var __dirname = CJS_COMPAT_NODE_PATH_mmp6gog4g1i.dirname(__filename);
7
- var require = CJS_COMPAT_NODE_MODULE_mmp6gog4g1i.createRequire(import.meta.url);
5
+ var __filename = CJS_COMPAT_NODE_URL_plmkhzyfcj.fileURLToPath(import.meta.url);
6
+ var __dirname = CJS_COMPAT_NODE_PATH_plmkhzyfcj.dirname(__filename);
7
+ var require = CJS_COMPAT_NODE_MODULE_plmkhzyfcj.createRequire(import.meta.url);
8
8
 
9
9
  // ------------------------------------------------------------
10
10
  // end of CJS compatibility banner, injected by Storybook's esbuild configuration
11
11
  // ------------------------------------------------------------
12
- import "./chunk-KNQ56B6U.js";
12
+ import "./chunk-ZUFKVVHZ.js";
13
13
 
14
14
  // raw:../templates/vitest.config.4.template
15
15
  var vitest_config_4_default = `import path from 'node:path';
@@ -1,15 +1,15 @@
1
- import CJS_COMPAT_NODE_URL_mmp6gog4g1i from 'node:url';
2
- import CJS_COMPAT_NODE_PATH_mmp6gog4g1i from 'node:path';
3
- import CJS_COMPAT_NODE_MODULE_mmp6gog4g1i from "node:module";
1
+ import CJS_COMPAT_NODE_URL_plmkhzyfcj from 'node:url';
2
+ import CJS_COMPAT_NODE_PATH_plmkhzyfcj from 'node:path';
3
+ import CJS_COMPAT_NODE_MODULE_plmkhzyfcj from "node:module";
4
4
 
5
- var __filename = CJS_COMPAT_NODE_URL_mmp6gog4g1i.fileURLToPath(import.meta.url);
6
- var __dirname = CJS_COMPAT_NODE_PATH_mmp6gog4g1i.dirname(__filename);
7
- var require = CJS_COMPAT_NODE_MODULE_mmp6gog4g1i.createRequire(import.meta.url);
5
+ var __filename = CJS_COMPAT_NODE_URL_plmkhzyfcj.fileURLToPath(import.meta.url);
6
+ var __dirname = CJS_COMPAT_NODE_PATH_plmkhzyfcj.dirname(__filename);
7
+ var require = CJS_COMPAT_NODE_MODULE_plmkhzyfcj.createRequire(import.meta.url);
8
8
 
9
9
  // ------------------------------------------------------------
10
10
  // end of CJS compatibility banner, injected by Storybook's esbuild configuration
11
11
  // ------------------------------------------------------------
12
- import "./chunk-KNQ56B6U.js";
12
+ import "./chunk-ZUFKVVHZ.js";
13
13
 
14
14
  // raw:../templates/vitest.workspace.template
15
15
  var vitest_workspace_default = `import path from 'node:path';
package/dist/constants.js CHANGED
@@ -1,10 +1,10 @@
1
- import CJS_COMPAT_NODE_URL_mmp6gog4g1i from 'node:url';
2
- import CJS_COMPAT_NODE_PATH_mmp6gog4g1i from 'node:path';
3
- import CJS_COMPAT_NODE_MODULE_mmp6gog4g1i from "node:module";
1
+ import CJS_COMPAT_NODE_URL_plmkhzyfcj from 'node:url';
2
+ import CJS_COMPAT_NODE_PATH_plmkhzyfcj from 'node:path';
3
+ import CJS_COMPAT_NODE_MODULE_plmkhzyfcj from "node:module";
4
4
 
5
- var __filename = CJS_COMPAT_NODE_URL_mmp6gog4g1i.fileURLToPath(import.meta.url);
6
- var __dirname = CJS_COMPAT_NODE_PATH_mmp6gog4g1i.dirname(__filename);
7
- var require = CJS_COMPAT_NODE_MODULE_mmp6gog4g1i.createRequire(import.meta.url);
5
+ var __filename = CJS_COMPAT_NODE_URL_plmkhzyfcj.fileURLToPath(import.meta.url);
6
+ var __dirname = CJS_COMPAT_NODE_PATH_plmkhzyfcj.dirname(__filename);
7
+ var require = CJS_COMPAT_NODE_MODULE_plmkhzyfcj.createRequire(import.meta.url);
8
8
 
9
9
  // ------------------------------------------------------------
10
10
  // end of CJS compatibility banner, injected by Storybook's esbuild configuration
@@ -29,8 +29,8 @@ import {
29
29
  TRIGGER_TEST_RUN_RESPONSE,
30
30
  TUTORIAL_VIDEO_LINK,
31
31
  storeOptions
32
- } from "./_node-chunks/chunk-GIYE3L73.js";
33
- import "./_node-chunks/chunk-KNQ56B6U.js";
32
+ } from "./_node-chunks/chunk-LS3BTHYS.js";
33
+ import "./_node-chunks/chunk-ZUFKVVHZ.js";
34
34
  export {
35
35
  ADDON_ID as A11Y_ADDON_ID,
36
36
  PANEL_ID2 as A11Y_PANEL_ID,
@@ -1,22 +1,22 @@
1
- import CJS_COMPAT_NODE_URL_mmp6gog4g1i from 'node:url';
2
- import CJS_COMPAT_NODE_PATH_mmp6gog4g1i from 'node:path';
3
- import CJS_COMPAT_NODE_MODULE_mmp6gog4g1i from "node:module";
1
+ import CJS_COMPAT_NODE_URL_plmkhzyfcj from 'node:url';
2
+ import CJS_COMPAT_NODE_PATH_plmkhzyfcj from 'node:path';
3
+ import CJS_COMPAT_NODE_MODULE_plmkhzyfcj from "node:module";
4
4
 
5
- var __filename = CJS_COMPAT_NODE_URL_mmp6gog4g1i.fileURLToPath(import.meta.url);
6
- var __dirname = CJS_COMPAT_NODE_PATH_mmp6gog4g1i.dirname(__filename);
7
- var require = CJS_COMPAT_NODE_MODULE_mmp6gog4g1i.createRequire(import.meta.url);
5
+ var __filename = CJS_COMPAT_NODE_URL_plmkhzyfcj.fileURLToPath(import.meta.url);
6
+ var __dirname = CJS_COMPAT_NODE_PATH_plmkhzyfcj.dirname(__filename);
7
+ var require = CJS_COMPAT_NODE_MODULE_plmkhzyfcj.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
  require_gte
14
- } from "../_node-chunks/chunk-RFXNPKLO.js";
14
+ } from "../_node-chunks/chunk-SOYYQXDN.js";
15
15
  import {
16
16
  __commonJS,
17
17
  __require,
18
18
  __toESM
19
- } from "../_node-chunks/chunk-KNQ56B6U.js";
19
+ } from "../_node-chunks/chunk-ZUFKVVHZ.js";
20
20
 
21
21
  // ../../../node_modules/istanbul-lib-report/node_modules/make-dir/index.js
22
22
  var require_make_dir = __commonJS({
@@ -1,37 +1,37 @@
1
- import CJS_COMPAT_NODE_URL_mmp6gog4g1i from 'node:url';
2
- import CJS_COMPAT_NODE_PATH_mmp6gog4g1i from 'node:path';
3
- import CJS_COMPAT_NODE_MODULE_mmp6gog4g1i from "node:module";
1
+ import CJS_COMPAT_NODE_URL_plmkhzyfcj from 'node:url';
2
+ import CJS_COMPAT_NODE_PATH_plmkhzyfcj from 'node:path';
3
+ import CJS_COMPAT_NODE_MODULE_plmkhzyfcj from "node:module";
4
4
 
5
- var __filename = CJS_COMPAT_NODE_URL_mmp6gog4g1i.fileURLToPath(import.meta.url);
6
- var __dirname = CJS_COMPAT_NODE_PATH_mmp6gog4g1i.dirname(__filename);
7
- var require = CJS_COMPAT_NODE_MODULE_mmp6gog4g1i.createRequire(import.meta.url);
5
+ var __filename = CJS_COMPAT_NODE_URL_plmkhzyfcj.fileURLToPath(import.meta.url);
6
+ var __dirname = CJS_COMPAT_NODE_PATH_plmkhzyfcj.dirname(__filename);
7
+ var require = CJS_COMPAT_NODE_MODULE_plmkhzyfcj.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
  log
14
- } from "../_node-chunks/chunk-B7K7BQDP.js";
14
+ } from "../_node-chunks/chunk-65GB4V3J.js";
15
15
  import {
16
16
  any,
17
17
  up
18
- } from "../_node-chunks/chunk-KXVI3FC5.js";
18
+ } from "../_node-chunks/chunk-RPXAXMRB.js";
19
19
  import {
20
20
  ADDON_ID2 as ADDON_ID,
21
21
  COVERAGE_DIRECTORY,
22
22
  STATUS_TYPE_ID_A11Y,
23
23
  STATUS_TYPE_ID_COMPONENT_TEST,
24
24
  storeOptions
25
- } from "../_node-chunks/chunk-GIYE3L73.js";
26
- import "../_node-chunks/chunk-EJWR3Q47.js";
25
+ } from "../_node-chunks/chunk-LS3BTHYS.js";
26
+ import "../_node-chunks/chunk-HQMHJHT7.js";
27
27
  import {
28
28
  dirname,
29
29
  join,
30
30
  normalize,
31
31
  path,
32
32
  resolve
33
- } from "../_node-chunks/chunk-DBQR4CQE.js";
34
- import "../_node-chunks/chunk-KNQ56B6U.js";
33
+ } from "../_node-chunks/chunk-OMN5RMAO.js";
34
+ import "../_node-chunks/chunk-ZUFKVVHZ.js";
35
35
 
36
36
  // src/node/vitest.ts
37
37
  import process2 from "node:process";
@@ -1,29 +1,29 @@
1
- import CJS_COMPAT_NODE_URL_mmp6gog4g1i from 'node:url';
2
- import CJS_COMPAT_NODE_PATH_mmp6gog4g1i from 'node:path';
3
- import CJS_COMPAT_NODE_MODULE_mmp6gog4g1i from "node:module";
1
+ import CJS_COMPAT_NODE_URL_plmkhzyfcj from 'node:url';
2
+ import CJS_COMPAT_NODE_PATH_plmkhzyfcj from 'node:path';
3
+ import CJS_COMPAT_NODE_MODULE_plmkhzyfcj from "node:module";
4
4
 
5
- var __filename = CJS_COMPAT_NODE_URL_mmp6gog4g1i.fileURLToPath(import.meta.url);
6
- var __dirname = CJS_COMPAT_NODE_PATH_mmp6gog4g1i.dirname(__filename);
7
- var require = CJS_COMPAT_NODE_MODULE_mmp6gog4g1i.createRequire(import.meta.url);
5
+ var __filename = CJS_COMPAT_NODE_URL_plmkhzyfcj.fileURLToPath(import.meta.url);
6
+ var __dirname = CJS_COMPAT_NODE_PATH_plmkhzyfcj.dirname(__filename);
7
+ var require = CJS_COMPAT_NODE_MODULE_plmkhzyfcj.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
  any
14
- } from "./_node-chunks/chunk-KXVI3FC5.js";
14
+ } from "./_node-chunks/chunk-RPXAXMRB.js";
15
15
  import {
16
16
  DOCUMENTATION_LINK
17
- } from "./_node-chunks/chunk-GIYE3L73.js";
17
+ } from "./_node-chunks/chunk-LS3BTHYS.js";
18
18
  import {
19
19
  require_dist
20
- } from "./_node-chunks/chunk-FWF7SOJI.js";
20
+ } from "./_node-chunks/chunk-2R462NIP.js";
21
21
  import {
22
22
  dirname,
23
23
  normalize,
24
24
  relative,
25
25
  resolve
26
- } from "./_node-chunks/chunk-DBQR4CQE.js";
26
+ } from "./_node-chunks/chunk-OMN5RMAO.js";
27
27
  import {
28
28
  require_compare,
29
29
  require_constants,
@@ -33,11 +33,11 @@ import {
33
33
  require_parse_options,
34
34
  require_re,
35
35
  require_semver
36
- } from "./_node-chunks/chunk-RFXNPKLO.js";
36
+ } from "./_node-chunks/chunk-SOYYQXDN.js";
37
37
  import {
38
38
  __commonJS,
39
39
  __toESM
40
- } from "./_node-chunks/chunk-KNQ56B6U.js";
40
+ } from "./_node-chunks/chunk-ZUFKVVHZ.js";
41
41
 
42
42
  // ../../../node_modules/semver/functions/parse.js
43
43
  var require_parse = __commonJS({
@@ -892,17 +892,23 @@ import { SupportedFramework } from "storybook/internal/types";
892
892
  var import_semver = __toESM(require_semver2(), 1), import_ts_dedent = __toESM(require_dist(), 1);
893
893
 
894
894
  // src/updateVitestFile.ts
895
- import { resolveExpression } from "storybook/internal/babel";
895
+ import {
896
+ getConfigObjectFromMergeArg,
897
+ getEffectiveMergeConfigCall,
898
+ getTargetConfigObject,
899
+ isDefineConfigLike,
900
+ resolveExpression
901
+ } from "storybook/internal/babel";
896
902
  async function getTemplatePath(name) {
897
903
  switch (name) {
898
904
  case "vitest.config.template":
899
- return import("./_node-chunks/vitest.config-HA3CKSXE.js");
905
+ return import("./_node-chunks/vitest.config-ZYJXB2RL.js");
900
906
  case "vitest.config.4.template":
901
- return import("./_node-chunks/vitest.config.4-KSILGSY3.js");
907
+ return import("./_node-chunks/vitest.config.4-HZ2OMWNA.js");
902
908
  case "vitest.config.3.2.template":
903
- return import("./_node-chunks/vitest.config.3.2-ESWWWT6T.js");
909
+ return import("./_node-chunks/vitest.config.3.2-A54WIPT5.js");
904
910
  case "vitest.workspace.template":
905
- return import("./_node-chunks/vitest.workspace-ULKUPAUD.js");
911
+ return import("./_node-chunks/vitest.workspace-RCBHDJAW.js");
906
912
  default:
907
913
  throw new Error(`Unknown template: ${name}`);
908
914
  }
@@ -920,13 +926,6 @@ var loadTemplate = async (name, replacements) => {
920
926
  );
921
927
  targetProp && targetProp.type === "ObjectProperty" ? sourceProp.value.type === "ObjectExpression" && targetProp.value.type === "ObjectExpression" ? mergeProperties(sourceProp.value.properties, targetProp.value.properties) : sourceProp.value.type === "ArrayExpression" && targetProp.value.type === "ArrayExpression" ? targetProp.value.elements.push(...sourceProp.value.elements) : targetProp.value = sourceProp.value : target.push(sourceProp);
922
928
  }
923
- }, isImportedDefineConfigLikeIdentifier = (localName, ast) => ast.program.body.some(
924
- (node) => node.type === "ImportDeclaration" && (node.source.value === "vitest/config" || node.source.value === "vite") && node.specifiers.some(
925
- (specifier) => specifier.type === "ImportSpecifier" && specifier.local.type === "Identifier" && specifier.local.name === localName && specifier.imported.type === "Identifier" && (specifier.imported.name === "defineConfig" || specifier.imported.name === "defineProject")
926
- )
927
- ), isDefineConfigLike = (node, ast) => node.callee.type === "Identifier" && (node.callee.name === "defineConfig" || node.callee.name === "defineProject" || isImportedDefineConfigLikeIdentifier(node.callee.name, ast)), getConfigObjectFromMergeArg = (arg, ast) => {
928
- let resolved = resolveExpression(arg, ast);
929
- return resolved ? resolved.type === "ObjectExpression" ? resolved : resolved.type === "CallExpression" && resolved.arguments[0]?.type === "ObjectExpression" ? resolved.arguments[0] : null : null;
930
929
  }, resolveTestPropValue = (testProp, ast) => {
931
930
  if (testProp.value.type === "ObjectExpression")
932
931
  return testProp.value;
@@ -1046,19 +1045,6 @@ var loadTemplate = async (name, replacements) => {
1046
1045
  }
1047
1046
  }
1048
1047
  mergeProperties(properties, targetConfigObject.properties);
1049
- }, getEffectiveMergeConfigCall = (decl, ast) => {
1050
- let resolved = resolveExpression(decl, ast);
1051
- if (!resolved || resolved.type !== "CallExpression")
1052
- return null;
1053
- if (isDefineConfigLike(resolved, ast) && resolved.arguments.length > 0) {
1054
- let innerArg = resolveExpression(resolved.arguments[0], ast);
1055
- if (innerArg?.type === "CallExpression" && innerArg.callee.type === "Identifier" && innerArg.callee.name === "mergeConfig")
1056
- return innerArg;
1057
- }
1058
- return resolved.callee.type === "Identifier" && resolved.callee.name === "mergeConfig" ? resolved : null;
1059
- }, getTargetConfigObject = (target, exportDefault) => {
1060
- let resolved = resolveExpression(exportDefault.declaration, target);
1061
- return resolved ? resolved.type === "ObjectExpression" ? resolved : resolved.type === "CallExpression" && isDefineConfigLike(resolved, target) && resolved.arguments[0]?.type === "ObjectExpression" ? resolved.arguments[0] : null : null;
1062
1048
  }, updateConfigFile = (source, target) => {
1063
1049
  let updated = !1, sourceExportDefault = source.program.body.find(
1064
1050
  (n) => n.type === "ExportDefaultDeclaration"
package/dist/preset.js CHANGED
@@ -1,10 +1,10 @@
1
- import CJS_COMPAT_NODE_URL_mmp6gog4g1i from 'node:url';
2
- import CJS_COMPAT_NODE_PATH_mmp6gog4g1i from 'node:path';
3
- import CJS_COMPAT_NODE_MODULE_mmp6gog4g1i from "node:module";
1
+ import CJS_COMPAT_NODE_URL_plmkhzyfcj from 'node:url';
2
+ import CJS_COMPAT_NODE_PATH_plmkhzyfcj from 'node:path';
3
+ import CJS_COMPAT_NODE_MODULE_plmkhzyfcj from "node:module";
4
4
 
5
- var __filename = CJS_COMPAT_NODE_URL_mmp6gog4g1i.fileURLToPath(import.meta.url);
6
- var __dirname = CJS_COMPAT_NODE_PATH_mmp6gog4g1i.dirname(__filename);
7
- var require = CJS_COMPAT_NODE_MODULE_mmp6gog4g1i.createRequire(import.meta.url);
5
+ var __filename = CJS_COMPAT_NODE_URL_plmkhzyfcj.fileURLToPath(import.meta.url);
6
+ var __dirname = CJS_COMPAT_NODE_PATH_plmkhzyfcj.dirname(__filename);
7
+ var require = CJS_COMPAT_NODE_MODULE_plmkhzyfcj.createRequire(import.meta.url);
8
8
 
9
9
  // ------------------------------------------------------------
10
10
  // end of CJS compatibility banner, injected by Storybook's esbuild configuration
@@ -12,7 +12,7 @@ var require = CJS_COMPAT_NODE_MODULE_mmp6gog4g1i.createRequire(import.meta.url);
12
12
  import {
13
13
  log,
14
14
  noop
15
- } from "./_node-chunks/chunk-B7K7BQDP.js";
15
+ } from "./_node-chunks/chunk-65GB4V3J.js";
16
16
  import {
17
17
  ADDON_ID2 as ADDON_ID,
18
18
  COVERAGE_DIRECTORY,
@@ -23,19 +23,19 @@ import {
23
23
  TRIGGER_TEST_RUN_REQUEST,
24
24
  TRIGGER_TEST_RUN_RESPONSE,
25
25
  storeOptions
26
- } from "./_node-chunks/chunk-GIYE3L73.js";
26
+ } from "./_node-chunks/chunk-LS3BTHYS.js";
27
27
  import {
28
28
  require_picocolors
29
- } from "./_node-chunks/chunk-EJWR3Q47.js";
29
+ } from "./_node-chunks/chunk-HQMHJHT7.js";
30
30
  import {
31
31
  require_dist
32
- } from "./_node-chunks/chunk-FWF7SOJI.js";
32
+ } from "./_node-chunks/chunk-2R462NIP.js";
33
33
  import {
34
34
  normalize
35
- } from "./_node-chunks/chunk-DBQR4CQE.js";
35
+ } from "./_node-chunks/chunk-OMN5RMAO.js";
36
36
  import {
37
37
  __toESM
38
- } from "./_node-chunks/chunk-KNQ56B6U.js";
38
+ } from "./_node-chunks/chunk-ZUFKVVHZ.js";
39
39
 
40
40
  // src/preset.ts
41
41
  import { mkdir } from "node:fs/promises";
@@ -1,10 +1,10 @@
1
- import CJS_COMPAT_NODE_URL_mmp6gog4g1i from 'node:url';
2
- import CJS_COMPAT_NODE_PATH_mmp6gog4g1i from 'node:path';
3
- import CJS_COMPAT_NODE_MODULE_mmp6gog4g1i from "node:module";
1
+ import CJS_COMPAT_NODE_URL_plmkhzyfcj from 'node:url';
2
+ import CJS_COMPAT_NODE_PATH_plmkhzyfcj from 'node:path';
3
+ import CJS_COMPAT_NODE_MODULE_plmkhzyfcj from "node:module";
4
4
 
5
- var __filename = CJS_COMPAT_NODE_URL_mmp6gog4g1i.fileURLToPath(import.meta.url);
6
- var __dirname = CJS_COMPAT_NODE_PATH_mmp6gog4g1i.dirname(__filename);
7
- var require = CJS_COMPAT_NODE_MODULE_mmp6gog4g1i.createRequire(import.meta.url);
5
+ var __filename = CJS_COMPAT_NODE_URL_plmkhzyfcj.fileURLToPath(import.meta.url);
6
+ var __dirname = CJS_COMPAT_NODE_PATH_plmkhzyfcj.dirname(__filename);
7
+ var require = CJS_COMPAT_NODE_MODULE_plmkhzyfcj.createRequire(import.meta.url);
8
8
 
9
9
  // ------------------------------------------------------------
10
10
  // end of CJS compatibility banner, injected by Storybook's esbuild configuration
@@ -13,7 +13,7 @@ import {
13
13
  __commonJS,
14
14
  __require,
15
15
  __toESM
16
- } from "../_node-chunks/chunk-KNQ56B6U.js";
16
+ } from "../_node-chunks/chunk-ZUFKVVHZ.js";
17
17
 
18
18
  // ../../../node_modules/tree-kill/index.js
19
19
  var require_tree_kill = __commonJS({
@@ -1,20 +1,20 @@
1
- import CJS_COMPAT_NODE_URL_mmp6gog4g1i from 'node:url';
2
- import CJS_COMPAT_NODE_PATH_mmp6gog4g1i from 'node:path';
3
- import CJS_COMPAT_NODE_MODULE_mmp6gog4g1i from "node:module";
1
+ import CJS_COMPAT_NODE_URL_plmkhzyfcj from 'node:url';
2
+ import CJS_COMPAT_NODE_PATH_plmkhzyfcj from 'node:path';
3
+ import CJS_COMPAT_NODE_MODULE_plmkhzyfcj from "node:module";
4
4
 
5
- var __filename = CJS_COMPAT_NODE_URL_mmp6gog4g1i.fileURLToPath(import.meta.url);
6
- var __dirname = CJS_COMPAT_NODE_PATH_mmp6gog4g1i.dirname(__filename);
7
- var require = CJS_COMPAT_NODE_MODULE_mmp6gog4g1i.createRequire(import.meta.url);
5
+ var __filename = CJS_COMPAT_NODE_URL_plmkhzyfcj.fileURLToPath(import.meta.url);
6
+ var __dirname = CJS_COMPAT_NODE_PATH_plmkhzyfcj.dirname(__filename);
7
+ var require = CJS_COMPAT_NODE_MODULE_plmkhzyfcj.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
  require_picocolors
14
- } from "../_node-chunks/chunk-EJWR3Q47.js";
14
+ } from "../_node-chunks/chunk-HQMHJHT7.js";
15
15
  import {
16
16
  require_dist
17
- } from "../_node-chunks/chunk-FWF7SOJI.js";
17
+ } from "../_node-chunks/chunk-2R462NIP.js";
18
18
  import {
19
19
  dirname,
20
20
  join,
@@ -23,12 +23,12 @@ import {
23
23
  relative,
24
24
  resolve,
25
25
  sep
26
- } from "../_node-chunks/chunk-DBQR4CQE.js";
26
+ } from "../_node-chunks/chunk-OMN5RMAO.js";
27
27
  import {
28
28
  __commonJS,
29
29
  __require,
30
30
  __toESM
31
- } from "../_node-chunks/chunk-KNQ56B6U.js";
31
+ } from "../_node-chunks/chunk-ZUFKVVHZ.js";
32
32
 
33
33
  // ../../../node_modules/braces/lib/utils.js
34
34
  var require_utils = __commonJS({
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@storybook/addon-vitest",
3
- "version": "10.3.1",
3
+ "version": "10.3.3",
4
4
  "description": "Storybook Vitest addon: Blazing fast component testing using stories",
5
5
  "keywords": [
6
6
  "storybook",
@@ -80,7 +80,7 @@
80
80
  "@storybook/icons": "^2.0.1"
81
81
  },
82
82
  "devDependencies": {
83
- "@storybook/addon-a11y": "10.3.1",
83
+ "@storybook/addon-a11y": "10.3.3",
84
84
  "@types/istanbul-lib-report": "^3.0.3",
85
85
  "@types/micromatch": "^4.0.0",
86
86
  "@types/node": "^22.19.1",
@@ -108,7 +108,7 @@
108
108
  "@vitest/browser": "^3.0.0 || ^4.0.0",
109
109
  "@vitest/browser-playwright": "^4.0.0",
110
110
  "@vitest/runner": "^3.0.0 || ^4.0.0",
111
- "storybook": "^10.3.1",
111
+ "storybook": "^10.3.3",
112
112
  "vitest": "^3.0.0 || ^4.0.0"
113
113
  },
114
114
  "peerDependenciesMeta": {