@storybook/addon-vitest 10.0.6 → 10.0.8
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/_node-chunks/{chunk-3RFBFDLW.js → chunk-2NOXRFBQ.js} +9 -9
- package/dist/_node-chunks/{chunk-PFODGD2W.js → chunk-A47EHGD3.js} +7 -7
- package/dist/_node-chunks/{chunk-2ZGGPVLS.js → chunk-BM6TFQ6X.js} +6 -6
- package/dist/_node-chunks/{chunk-N4CCUPRK.js → chunk-I3RGDGG2.js} +6 -6
- package/dist/_node-chunks/{chunk-PA6NR3Y5.js → chunk-MU5R4QJA.js} +98 -190
- package/dist/_node-chunks/{chunk-5TVZE265.js → chunk-MYTTGGG2.js} +7 -7
- package/dist/_node-chunks/{chunk-IVRXXK7E.js → chunk-NYSDXFJX.js} +29 -8
- package/dist/_node-chunks/{chunk-IKCVZAFN.js → chunk-TBLBCKKK.js} +7 -7
- package/dist/node/coverage-reporter.js +8 -8
- package/dist/node/vitest.js +13 -13
- package/dist/postinstall.js +13 -12
- package/dist/preset.js +12 -12
- package/dist/vitest-plugin/global-setup.js +7 -7
- package/dist/vitest-plugin/index.js +9 -9
- package/package.json +2 -2
|
@@ -1,24 +1,24 @@
|
|
|
1
|
-
import
|
|
2
|
-
import
|
|
3
|
-
import
|
|
1
|
+
import CJS_COMPAT_NODE_URL_vppyn5e0su from 'node:url';
|
|
2
|
+
import CJS_COMPAT_NODE_PATH_vppyn5e0su from 'node:path';
|
|
3
|
+
import CJS_COMPAT_NODE_MODULE_vppyn5e0su from "node:module";
|
|
4
4
|
|
|
5
|
-
var __filename =
|
|
6
|
-
var __dirname =
|
|
7
|
-
var require =
|
|
5
|
+
var __filename = CJS_COMPAT_NODE_URL_vppyn5e0su.fileURLToPath(import.meta.url);
|
|
6
|
+
var __dirname = CJS_COMPAT_NODE_PATH_vppyn5e0su.dirname(__filename);
|
|
7
|
+
var require = CJS_COMPAT_NODE_MODULE_vppyn5e0su.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_ID
|
|
14
|
-
} from "./chunk-
|
|
14
|
+
} from "./chunk-BM6TFQ6X.js";
|
|
15
15
|
import {
|
|
16
16
|
require_picocolors
|
|
17
|
-
} from "./chunk-
|
|
17
|
+
} from "./chunk-MYTTGGG2.js";
|
|
18
18
|
import {
|
|
19
19
|
__name,
|
|
20
20
|
__toESM
|
|
21
|
-
} from "./chunk-
|
|
21
|
+
} from "./chunk-I3RGDGG2.js";
|
|
22
22
|
|
|
23
23
|
// src/logger.ts
|
|
24
24
|
var import_picocolors = __toESM(require_picocolors(), 1);
|
|
@@ -1,17 +1,17 @@
|
|
|
1
|
-
import
|
|
2
|
-
import
|
|
3
|
-
import
|
|
1
|
+
import CJS_COMPAT_NODE_URL_vppyn5e0su from 'node:url';
|
|
2
|
+
import CJS_COMPAT_NODE_PATH_vppyn5e0su from 'node:path';
|
|
3
|
+
import CJS_COMPAT_NODE_MODULE_vppyn5e0su from "node:module";
|
|
4
4
|
|
|
5
|
-
var __filename =
|
|
6
|
-
var __dirname =
|
|
7
|
-
var require =
|
|
5
|
+
var __filename = CJS_COMPAT_NODE_URL_vppyn5e0su.fileURLToPath(import.meta.url);
|
|
6
|
+
var __dirname = CJS_COMPAT_NODE_PATH_vppyn5e0su.dirname(__filename);
|
|
7
|
+
var require = CJS_COMPAT_NODE_MODULE_vppyn5e0su.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
|
__name
|
|
14
|
-
} from "./chunk-
|
|
14
|
+
} from "./chunk-I3RGDGG2.js";
|
|
15
15
|
|
|
16
16
|
// src/utils.ts
|
|
17
17
|
function getAddonNames(mainConfig) {
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import
|
|
2
|
-
import
|
|
3
|
-
import
|
|
1
|
+
import CJS_COMPAT_NODE_URL_vppyn5e0su from 'node:url';
|
|
2
|
+
import CJS_COMPAT_NODE_PATH_vppyn5e0su from 'node:path';
|
|
3
|
+
import CJS_COMPAT_NODE_MODULE_vppyn5e0su from "node:module";
|
|
4
4
|
|
|
5
|
-
var __filename =
|
|
6
|
-
var __dirname =
|
|
7
|
-
var require =
|
|
5
|
+
var __filename = CJS_COMPAT_NODE_URL_vppyn5e0su.fileURLToPath(import.meta.url);
|
|
6
|
+
var __dirname = CJS_COMPAT_NODE_PATH_vppyn5e0su.dirname(__filename);
|
|
7
|
+
var require = CJS_COMPAT_NODE_MODULE_vppyn5e0su.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
|
|
2
|
-
import
|
|
3
|
-
import
|
|
1
|
+
import CJS_COMPAT_NODE_URL_vppyn5e0su from 'node:url';
|
|
2
|
+
import CJS_COMPAT_NODE_PATH_vppyn5e0su from 'node:path';
|
|
3
|
+
import CJS_COMPAT_NODE_MODULE_vppyn5e0su from "node:module";
|
|
4
4
|
|
|
5
|
-
var __filename =
|
|
6
|
-
var __dirname =
|
|
7
|
-
var require =
|
|
5
|
+
var __filename = CJS_COMPAT_NODE_URL_vppyn5e0su.fileURLToPath(import.meta.url);
|
|
6
|
+
var __dirname = CJS_COMPAT_NODE_PATH_vppyn5e0su.dirname(__filename);
|
|
7
|
+
var require = CJS_COMPAT_NODE_MODULE_vppyn5e0su.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
|
|
2
|
-
import
|
|
3
|
-
import
|
|
1
|
+
import CJS_COMPAT_NODE_URL_vppyn5e0su from 'node:url';
|
|
2
|
+
import CJS_COMPAT_NODE_PATH_vppyn5e0su from 'node:path';
|
|
3
|
+
import CJS_COMPAT_NODE_MODULE_vppyn5e0su from "node:module";
|
|
4
4
|
|
|
5
|
-
var __filename =
|
|
6
|
-
var __dirname =
|
|
7
|
-
var require =
|
|
5
|
+
var __filename = CJS_COMPAT_NODE_URL_vppyn5e0su.fileURLToPath(import.meta.url);
|
|
6
|
+
var __dirname = CJS_COMPAT_NODE_PATH_vppyn5e0su.dirname(__filename);
|
|
7
|
+
var require = CJS_COMPAT_NODE_MODULE_vppyn5e0su.createRequire(import.meta.url);
|
|
8
8
|
|
|
9
9
|
// ------------------------------------------------------------
|
|
10
10
|
// end of CJS compatibility banner, injected by Storybook's esbuild configuration
|
|
@@ -12,13 +12,13 @@ var require = CJS_COMPAT_NODE_MODULE_kqmaurava08.createRequire(import.meta.url);
|
|
|
12
12
|
import {
|
|
13
13
|
dirname,
|
|
14
14
|
join
|
|
15
|
-
} from "./chunk-
|
|
15
|
+
} from "./chunk-TBLBCKKK.js";
|
|
16
16
|
import {
|
|
17
17
|
__commonJS,
|
|
18
18
|
__name,
|
|
19
19
|
__require,
|
|
20
20
|
__toESM
|
|
21
|
-
} from "./chunk-
|
|
21
|
+
} from "./chunk-I3RGDGG2.js";
|
|
22
22
|
|
|
23
23
|
// ../../node_modules/isexe/windows.js
|
|
24
24
|
var require_windows = __commonJS({
|
|
@@ -2255,7 +2255,6 @@ var kTypes = /* @__PURE__ */ new Set([
|
|
|
2255
2255
|
"function",
|
|
2256
2256
|
"number",
|
|
2257
2257
|
"object",
|
|
2258
|
-
// Accept 'Function' and 'Object' as alternative to the lower cased version.
|
|
2259
2258
|
"Function",
|
|
2260
2259
|
"Object",
|
|
2261
2260
|
"boolean",
|
|
@@ -2282,8 +2281,6 @@ function makeNodeErrorWithCode(Base, key) {
|
|
|
2282
2281
|
if (isErrorStackTraceLimitWritable()) Error.stackTraceLimit = limit;
|
|
2283
2282
|
const message = getMessage(key, parameters, error);
|
|
2284
2283
|
Object.defineProperties(error, {
|
|
2285
|
-
// Note: no need to implement `kIsNodeError` symbol, would be hard,
|
|
2286
|
-
// probably.
|
|
2287
2284
|
message: {
|
|
2288
2285
|
value: message,
|
|
2289
2286
|
enumerable: false,
|
|
@@ -2291,7 +2288,6 @@ function makeNodeErrorWithCode(Base, key) {
|
|
|
2291
2288
|
configurable: true
|
|
2292
2289
|
},
|
|
2293
2290
|
toString: {
|
|
2294
|
-
/** @this {Error} */
|
|
2295
2291
|
value() {
|
|
2296
2292
|
return `${this.name} [${key}]: ${this.message}`;
|
|
2297
2293
|
},
|
|
@@ -2308,15 +2304,11 @@ function makeNodeErrorWithCode(Base, key) {
|
|
|
2308
2304
|
__name(makeNodeErrorWithCode, "makeNodeErrorWithCode");
|
|
2309
2305
|
function isErrorStackTraceLimitWritable() {
|
|
2310
2306
|
try {
|
|
2311
|
-
if (v8.startupSnapshot.isBuildingSnapshot())
|
|
2312
|
-
return false;
|
|
2313
|
-
}
|
|
2307
|
+
if (v8.startupSnapshot.isBuildingSnapshot()) return false;
|
|
2314
2308
|
} catch {
|
|
2315
2309
|
}
|
|
2316
2310
|
const desc = Object.getOwnPropertyDescriptor(Error, "stackTraceLimit");
|
|
2317
|
-
if (desc === void 0)
|
|
2318
|
-
return Object.isExtensible(Error);
|
|
2319
|
-
}
|
|
2311
|
+
if (desc === void 0) return Object.isExtensible(Error);
|
|
2320
2312
|
return own$1.call(desc, "writable") && desc.writable !== void 0 ? desc.writable : desc.set !== void 0;
|
|
2321
2313
|
}
|
|
2322
2314
|
__name(isErrorStackTraceLimitWritable, "isErrorStackTraceLimitWritable");
|
|
@@ -2338,219 +2330,135 @@ var captureLargerStackTrace = hideStackFrames(function(error) {
|
|
|
2338
2330
|
});
|
|
2339
2331
|
function getMessage(key, parameters, self) {
|
|
2340
2332
|
const message = messages.get(key);
|
|
2341
|
-
assert(message !== void 0, "expected `message` to be found");
|
|
2333
|
+
assert.ok(message !== void 0, "expected `message` to be found");
|
|
2342
2334
|
if (typeof message === "function") {
|
|
2343
|
-
assert(
|
|
2344
|
-
message.length <= parameters.length,
|
|
2345
|
-
// Default options do not count.
|
|
2346
|
-
`Code: ${key}; The provided arguments length (${parameters.length}) does not match the required ones (${message.length}).`
|
|
2347
|
-
);
|
|
2335
|
+
assert.ok(message.length <= parameters.length, `Code: ${key}; The provided arguments length (${parameters.length}) does not match the required ones (${message.length}).`);
|
|
2348
2336
|
return Reflect.apply(message, self, parameters);
|
|
2349
2337
|
}
|
|
2350
2338
|
const regex = /%[dfijoOs]/g;
|
|
2351
2339
|
let expectedLength = 0;
|
|
2352
2340
|
while (regex.exec(message) !== null) expectedLength++;
|
|
2353
|
-
assert(
|
|
2354
|
-
expectedLength === parameters.length,
|
|
2355
|
-
`Code: ${key}; The provided arguments length (${parameters.length}) does not match the required ones (${expectedLength}).`
|
|
2356
|
-
);
|
|
2341
|
+
assert.ok(expectedLength === parameters.length, `Code: ${key}; The provided arguments length (${parameters.length}) does not match the required ones (${expectedLength}).`);
|
|
2357
2342
|
if (parameters.length === 0) return message;
|
|
2358
2343
|
parameters.unshift(message);
|
|
2359
2344
|
return Reflect.apply(format, null, parameters);
|
|
2360
2345
|
}
|
|
2361
2346
|
__name(getMessage, "getMessage");
|
|
2362
2347
|
function determineSpecificType(value) {
|
|
2363
|
-
if (value === null || value === void 0)
|
|
2364
|
-
|
|
2365
|
-
}
|
|
2366
|
-
if (typeof value === "function" && value.name) {
|
|
2367
|
-
return `function ${value.name}`;
|
|
2368
|
-
}
|
|
2348
|
+
if (value === null || value === void 0) return String(value);
|
|
2349
|
+
if (typeof value === "function" && value.name) return `function ${value.name}`;
|
|
2369
2350
|
if (typeof value === "object") {
|
|
2370
|
-
if (value.constructor && value.constructor.name) {
|
|
2371
|
-
return `an instance of ${value.constructor.name}`;
|
|
2372
|
-
}
|
|
2351
|
+
if (value.constructor && value.constructor.name) return `an instance of ${value.constructor.name}`;
|
|
2373
2352
|
return `${inspect(value, { depth: -1 })}`;
|
|
2374
2353
|
}
|
|
2375
2354
|
let inspected = inspect(value, { colors: false });
|
|
2376
|
-
if (inspected.length > 28) {
|
|
2377
|
-
inspected = `${inspected.slice(0, 25)}...`;
|
|
2378
|
-
}
|
|
2355
|
+
if (inspected.length > 28) inspected = `${inspected.slice(0, 25)}...`;
|
|
2379
2356
|
return `type ${typeof value} (${inspected})`;
|
|
2380
2357
|
}
|
|
2381
2358
|
__name(determineSpecificType, "determineSpecificType");
|
|
2382
|
-
createError(
|
|
2383
|
-
"
|
|
2384
|
-
(
|
|
2385
|
-
|
|
2386
|
-
|
|
2387
|
-
|
|
2388
|
-
|
|
2389
|
-
|
|
2390
|
-
|
|
2391
|
-
|
|
2392
|
-
|
|
2393
|
-
|
|
2394
|
-
|
|
2395
|
-
|
|
2396
|
-
|
|
2397
|
-
|
|
2398
|
-
|
|
2399
|
-
|
|
2400
|
-
|
|
2401
|
-
|
|
2402
|
-
|
|
2403
|
-
|
|
2404
|
-
|
|
2405
|
-
|
|
2406
|
-
|
|
2407
|
-
|
|
2408
|
-
assert(
|
|
2409
|
-
value !== "object",
|
|
2410
|
-
'The value "object" should be written as "Object"'
|
|
2411
|
-
);
|
|
2412
|
-
other.push(value);
|
|
2413
|
-
} else {
|
|
2414
|
-
instances.push(value);
|
|
2415
|
-
}
|
|
2416
|
-
}
|
|
2417
|
-
if (instances.length > 0) {
|
|
2418
|
-
const pos = types.indexOf("object");
|
|
2419
|
-
if (pos !== -1) {
|
|
2420
|
-
types.slice(pos, 1);
|
|
2421
|
-
instances.push("Object");
|
|
2422
|
-
}
|
|
2423
|
-
}
|
|
2424
|
-
if (types.length > 0) {
|
|
2425
|
-
message += `${types.length > 1 ? "one of type" : "of type"} ${formatList(
|
|
2426
|
-
types,
|
|
2427
|
-
"or"
|
|
2428
|
-
)}`;
|
|
2429
|
-
if (instances.length > 0 || other.length > 0) message += " or ";
|
|
2430
|
-
}
|
|
2431
|
-
if (instances.length > 0) {
|
|
2432
|
-
message += `an instance of ${formatList(instances, "or")}`;
|
|
2433
|
-
if (other.length > 0) message += " or ";
|
|
2434
|
-
}
|
|
2435
|
-
if (other.length > 0) {
|
|
2436
|
-
if (other.length > 1) {
|
|
2437
|
-
message += `one of ${formatList(other, "or")}`;
|
|
2438
|
-
} else {
|
|
2439
|
-
if (other[0]?.toLowerCase() !== other[0]) message += "an ";
|
|
2440
|
-
message += `${other[0]}`;
|
|
2441
|
-
}
|
|
2359
|
+
var ERR_INVALID_ARG_TYPE = createError("ERR_INVALID_ARG_TYPE", (name, expected, actual) => {
|
|
2360
|
+
assert.ok(typeof name === "string", "'name' must be a string");
|
|
2361
|
+
if (!Array.isArray(expected)) expected = [expected];
|
|
2362
|
+
let message = "The ";
|
|
2363
|
+
if (name.endsWith(" argument")) message += `${name} `;
|
|
2364
|
+
else {
|
|
2365
|
+
const type = name.includes(".") ? "property" : "argument";
|
|
2366
|
+
message += `"${name}" ${type} `;
|
|
2367
|
+
}
|
|
2368
|
+
message += "must be ";
|
|
2369
|
+
const types = [];
|
|
2370
|
+
const instances = [];
|
|
2371
|
+
const other = [];
|
|
2372
|
+
for (const value of expected) {
|
|
2373
|
+
assert.ok(typeof value === "string", "All expected entries have to be of type string");
|
|
2374
|
+
if (kTypes.has(value)) types.push(value.toLowerCase());
|
|
2375
|
+
else if (classRegExp.exec(value) === null) {
|
|
2376
|
+
assert.ok(value !== "object", 'The value "object" should be written as "Object"');
|
|
2377
|
+
other.push(value);
|
|
2378
|
+
} else instances.push(value);
|
|
2379
|
+
}
|
|
2380
|
+
if (instances.length > 0) {
|
|
2381
|
+
const pos = types.indexOf("object");
|
|
2382
|
+
if (pos !== -1) {
|
|
2383
|
+
types.slice(pos, 1);
|
|
2384
|
+
instances.push("Object");
|
|
2442
2385
|
}
|
|
2443
|
-
|
|
2444
|
-
|
|
2445
|
-
|
|
2446
|
-
|
|
2447
|
-
|
|
2386
|
+
}
|
|
2387
|
+
if (types.length > 0) {
|
|
2388
|
+
message += `${types.length > 1 ? "one of type" : "of type"} ${formatList(types, "or")}`;
|
|
2389
|
+
if (instances.length > 0 || other.length > 0) message += " or ";
|
|
2390
|
+
}
|
|
2391
|
+
if (instances.length > 0) {
|
|
2392
|
+
message += `an instance of ${formatList(instances, "or")}`;
|
|
2393
|
+
if (other.length > 0) message += " or ";
|
|
2394
|
+
}
|
|
2395
|
+
if (other.length > 0) if (other.length > 1) message += `one of ${formatList(other, "or")}`;
|
|
2396
|
+
else {
|
|
2397
|
+
if (other[0]?.toLowerCase() !== other[0]) message += "an ";
|
|
2398
|
+
message += `${other[0]}`;
|
|
2399
|
+
}
|
|
2400
|
+
message += `. Received ${determineSpecificType(actual)}`;
|
|
2401
|
+
return message;
|
|
2402
|
+
}, TypeError);
|
|
2448
2403
|
var ERR_INVALID_MODULE_SPECIFIER = createError(
|
|
2449
2404
|
"ERR_INVALID_MODULE_SPECIFIER",
|
|
2450
2405
|
/**
|
|
2451
|
-
|
|
2452
|
-
|
|
2453
|
-
|
|
2454
|
-
|
|
2406
|
+
* @param {string} request
|
|
2407
|
+
* @param {string} reason
|
|
2408
|
+
* @param {string} [base]
|
|
2409
|
+
*/
|
|
2455
2410
|
(request, reason, base) => {
|
|
2456
2411
|
return `Invalid module "${request}" ${reason}${base ? ` imported from ${base}` : ""}`;
|
|
2457
2412
|
},
|
|
2458
2413
|
TypeError
|
|
2459
2414
|
);
|
|
2460
|
-
var ERR_INVALID_PACKAGE_CONFIG = createError(
|
|
2461
|
-
"
|
|
2462
|
-
|
|
2463
|
-
|
|
2464
|
-
|
|
2465
|
-
|
|
2466
|
-
);
|
|
2467
|
-
|
|
2468
|
-
|
|
2469
|
-
(
|
|
2470
|
-
|
|
2471
|
-
|
|
2472
|
-
|
|
2473
|
-
|
|
2474
|
-
|
|
2475
|
-
|
|
2476
|
-
|
|
2477
|
-
|
|
2478
|
-
},
|
|
2479
|
-
Error
|
|
2480
|
-
);
|
|
2481
|
-
var ERR_MODULE_NOT_FOUND = createError(
|
|
2482
|
-
"ERR_MODULE_NOT_FOUND",
|
|
2483
|
-
(path3, base, exactUrl = false) => {
|
|
2484
|
-
return `Cannot find ${exactUrl ? "module" : "package"} '${path3}' imported from ${base}`;
|
|
2485
|
-
},
|
|
2486
|
-
Error
|
|
2487
|
-
);
|
|
2488
|
-
createError(
|
|
2489
|
-
"ERR_NETWORK_IMPORT_DISALLOWED",
|
|
2490
|
-
"import of '%s' by %s is not supported: %s",
|
|
2491
|
-
Error
|
|
2492
|
-
);
|
|
2493
|
-
var ERR_PACKAGE_IMPORT_NOT_DEFINED = createError(
|
|
2494
|
-
"ERR_PACKAGE_IMPORT_NOT_DEFINED",
|
|
2495
|
-
(specifier, packagePath, base) => {
|
|
2496
|
-
return `Package import specifier "${specifier}" is not defined${packagePath ? ` in package ${packagePath || ""}package.json` : ""} imported from ${base}`;
|
|
2497
|
-
},
|
|
2498
|
-
TypeError
|
|
2499
|
-
);
|
|
2415
|
+
var ERR_INVALID_PACKAGE_CONFIG = createError("ERR_INVALID_PACKAGE_CONFIG", (path$1, base, message) => {
|
|
2416
|
+
return `Invalid package config ${path$1}${base ? ` while importing ${base}` : ""}${message ? `. ${message}` : ""}`;
|
|
2417
|
+
}, Error);
|
|
2418
|
+
var ERR_INVALID_PACKAGE_TARGET = createError("ERR_INVALID_PACKAGE_TARGET", (packagePath, key, target, isImport = false, base) => {
|
|
2419
|
+
const relatedError = typeof target === "string" && !isImport && target.length > 0 && !target.startsWith("./");
|
|
2420
|
+
if (key === ".") {
|
|
2421
|
+
assert.ok(isImport === false);
|
|
2422
|
+
return `Invalid "exports" main target ${JSON.stringify(target)} defined in the package config ${packagePath}package.json${base ? ` imported from ${base}` : ""}${relatedError ? '; targets must start with "./"' : ""}`;
|
|
2423
|
+
}
|
|
2424
|
+
return `Invalid "${isImport ? "imports" : "exports"}" target ${JSON.stringify(target)} defined for '${key}' in the package config ${packagePath}package.json${base ? ` imported from ${base}` : ""}${relatedError ? '; targets must start with "./"' : ""}`;
|
|
2425
|
+
}, Error);
|
|
2426
|
+
var ERR_MODULE_NOT_FOUND = createError("ERR_MODULE_NOT_FOUND", (path$1, base, exactUrl = false) => {
|
|
2427
|
+
return `Cannot find ${exactUrl ? "module" : "package"} '${path$1}' imported from ${base}`;
|
|
2428
|
+
}, Error);
|
|
2429
|
+
var ERR_NETWORK_IMPORT_DISALLOWED = createError("ERR_NETWORK_IMPORT_DISALLOWED", "import of '%s' by %s is not supported: %s", Error);
|
|
2430
|
+
var ERR_PACKAGE_IMPORT_NOT_DEFINED = createError("ERR_PACKAGE_IMPORT_NOT_DEFINED", (specifier, packagePath, base) => {
|
|
2431
|
+
return `Package import specifier "${specifier}" is not defined${packagePath ? ` in package ${packagePath || ""}package.json` : ""} imported from ${base}`;
|
|
2432
|
+
}, TypeError);
|
|
2500
2433
|
var ERR_PACKAGE_PATH_NOT_EXPORTED = createError(
|
|
2501
2434
|
"ERR_PACKAGE_PATH_NOT_EXPORTED",
|
|
2502
2435
|
/**
|
|
2503
|
-
|
|
2504
|
-
|
|
2505
|
-
|
|
2506
|
-
|
|
2436
|
+
* @param {string} packagePath
|
|
2437
|
+
* @param {string} subpath
|
|
2438
|
+
* @param {string} [base]
|
|
2439
|
+
*/
|
|
2507
2440
|
(packagePath, subpath, base) => {
|
|
2508
|
-
if (subpath === ".")
|
|
2509
|
-
return `No "exports" main defined in ${packagePath}package.json${base ? ` imported from ${base}` : ""}`;
|
|
2441
|
+
if (subpath === ".") return `No "exports" main defined in ${packagePath}package.json${base ? ` imported from ${base}` : ""}`;
|
|
2510
2442
|
return `Package subpath '${subpath}' is not defined by "exports" in ${packagePath}package.json${base ? ` imported from ${base}` : ""}`;
|
|
2511
2443
|
},
|
|
2512
2444
|
Error
|
|
2513
2445
|
);
|
|
2514
|
-
var ERR_UNSUPPORTED_DIR_IMPORT = createError(
|
|
2515
|
-
|
|
2516
|
-
|
|
2517
|
-
|
|
2518
|
-
);
|
|
2519
|
-
var
|
|
2520
|
-
|
|
2521
|
-
|
|
2522
|
-
|
|
2523
|
-
);
|
|
2524
|
-
var ERR_UNKNOWN_FILE_EXTENSION = createError(
|
|
2525
|
-
"ERR_UNKNOWN_FILE_EXTENSION",
|
|
2526
|
-
(extension, path3) => {
|
|
2527
|
-
return `Unknown file extension "${extension}" for ${path3}`;
|
|
2528
|
-
},
|
|
2529
|
-
TypeError
|
|
2530
|
-
);
|
|
2531
|
-
createError(
|
|
2532
|
-
"ERR_INVALID_ARG_VALUE",
|
|
2533
|
-
(name, value, reason = "is invalid") => {
|
|
2534
|
-
let inspected = inspect(value);
|
|
2535
|
-
if (inspected.length > 128) {
|
|
2536
|
-
inspected = `${inspected.slice(0, 128)}...`;
|
|
2537
|
-
}
|
|
2538
|
-
const type = name.includes(".") ? "property" : "argument";
|
|
2539
|
-
return `The ${type} '${name}' ${reason}. Received ${inspected}`;
|
|
2540
|
-
},
|
|
2541
|
-
TypeError
|
|
2542
|
-
// Note: extra classes have been shaken out.
|
|
2543
|
-
// , RangeError
|
|
2544
|
-
);
|
|
2446
|
+
var ERR_UNSUPPORTED_DIR_IMPORT = createError("ERR_UNSUPPORTED_DIR_IMPORT", "Directory import '%s' is not supported resolving ES modules imported from %s", Error);
|
|
2447
|
+
var ERR_UNSUPPORTED_RESOLVE_REQUEST = createError("ERR_UNSUPPORTED_RESOLVE_REQUEST", 'Failed to resolve module specifier "%s" from "%s": Invalid relative URL or base scheme is not hierarchical.', TypeError);
|
|
2448
|
+
var ERR_UNKNOWN_FILE_EXTENSION = createError("ERR_UNKNOWN_FILE_EXTENSION", (extension, path$1) => {
|
|
2449
|
+
return `Unknown file extension "${extension}" for ${path$1}`;
|
|
2450
|
+
}, TypeError);
|
|
2451
|
+
var ERR_INVALID_ARG_VALUE = createError("ERR_INVALID_ARG_VALUE", (name, value, reason = "is invalid") => {
|
|
2452
|
+
let inspected = inspect(value);
|
|
2453
|
+
if (inspected.length > 128) inspected = `${inspected.slice(0, 128)}...`;
|
|
2454
|
+
return `The ${name.includes(".") ? "property" : "argument"} '${name}' ${reason}. Received ${inspected}`;
|
|
2455
|
+
}, TypeError);
|
|
2545
2456
|
var hasOwnProperty$1 = {}.hasOwnProperty;
|
|
2546
2457
|
var hasOwnProperty = {}.hasOwnProperty;
|
|
2547
2458
|
var RegExpPrototypeSymbolReplace = RegExp.prototype[Symbol.replace];
|
|
2548
2459
|
var own = {}.hasOwnProperty;
|
|
2549
2460
|
var isWindows = (() => process.platform === "win32")();
|
|
2550
|
-
var globalCache = (() => (
|
|
2551
|
-
// eslint-disable-next-line unicorn/no-unreadable-iife
|
|
2552
|
-
globalThis["__EXSOLVE_CACHE__"] ||= /* @__PURE__ */ new Map()
|
|
2553
|
-
))();
|
|
2461
|
+
var globalCache = (() => globalThis["__EXSOLVE_CACHE__"] ||= /* @__PURE__ */ new Map())();
|
|
2554
2462
|
|
|
2555
2463
|
// ../../core/src/shared/utils/module.ts
|
|
2556
2464
|
var importMetaResolve = /* @__PURE__ */ __name((...args) => {
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import
|
|
2
|
-
import
|
|
3
|
-
import
|
|
1
|
+
import CJS_COMPAT_NODE_URL_vppyn5e0su from 'node:url';
|
|
2
|
+
import CJS_COMPAT_NODE_PATH_vppyn5e0su from 'node:path';
|
|
3
|
+
import CJS_COMPAT_NODE_MODULE_vppyn5e0su from "node:module";
|
|
4
4
|
|
|
5
|
-
var __filename =
|
|
6
|
-
var __dirname =
|
|
7
|
-
var require =
|
|
5
|
+
var __filename = CJS_COMPAT_NODE_URL_vppyn5e0su.fileURLToPath(import.meta.url);
|
|
6
|
+
var __dirname = CJS_COMPAT_NODE_PATH_vppyn5e0su.dirname(__filename);
|
|
7
|
+
var require = CJS_COMPAT_NODE_MODULE_vppyn5e0su.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_kqmaurava08.createRequire(import.meta.url);
|
|
|
12
12
|
import {
|
|
13
13
|
__commonJS,
|
|
14
14
|
__name
|
|
15
|
-
} from "./chunk-
|
|
15
|
+
} from "./chunk-I3RGDGG2.js";
|
|
16
16
|
|
|
17
17
|
// ../../node_modules/picocolors/picocolors.js
|
|
18
18
|
var require_picocolors = __commonJS({
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import
|
|
2
|
-
import
|
|
3
|
-
import
|
|
1
|
+
import CJS_COMPAT_NODE_URL_vppyn5e0su from 'node:url';
|
|
2
|
+
import CJS_COMPAT_NODE_PATH_vppyn5e0su from 'node:path';
|
|
3
|
+
import CJS_COMPAT_NODE_MODULE_vppyn5e0su from "node:module";
|
|
4
4
|
|
|
5
|
-
var __filename =
|
|
6
|
-
var __dirname =
|
|
7
|
-
var require =
|
|
5
|
+
var __filename = CJS_COMPAT_NODE_URL_vppyn5e0su.fileURLToPath(import.meta.url);
|
|
6
|
+
var __dirname = CJS_COMPAT_NODE_PATH_vppyn5e0su.dirname(__filename);
|
|
7
|
+
var require = CJS_COMPAT_NODE_MODULE_vppyn5e0su.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_kqmaurava08.createRequire(import.meta.url);
|
|
|
12
12
|
import {
|
|
13
13
|
__commonJS,
|
|
14
14
|
__name
|
|
15
|
-
} from "./chunk-
|
|
15
|
+
} from "./chunk-I3RGDGG2.js";
|
|
16
16
|
|
|
17
17
|
// ../../node_modules/semver/internal/constants.js
|
|
18
18
|
var require_constants = __commonJS({
|
|
@@ -150,6 +150,9 @@ var require_identifiers = __commonJS({
|
|
|
150
150
|
"use strict";
|
|
151
151
|
var numeric = /^[0-9]+$/;
|
|
152
152
|
var compareIdentifiers = /* @__PURE__ */ __name((a, b) => {
|
|
153
|
+
if (typeof a === "number" && typeof b === "number") {
|
|
154
|
+
return a === b ? 0 : a < b ? -1 : 1;
|
|
155
|
+
}
|
|
153
156
|
const anum = numeric.test(a);
|
|
154
157
|
const bnum = numeric.test(b);
|
|
155
158
|
if (anum && bnum) {
|
|
@@ -278,7 +281,25 @@ var require_semver = __commonJS({
|
|
|
278
281
|
if (!(other instanceof _SemVer)) {
|
|
279
282
|
other = new _SemVer(other, this.options);
|
|
280
283
|
}
|
|
281
|
-
|
|
284
|
+
if (this.major < other.major) {
|
|
285
|
+
return -1;
|
|
286
|
+
}
|
|
287
|
+
if (this.major > other.major) {
|
|
288
|
+
return 1;
|
|
289
|
+
}
|
|
290
|
+
if (this.minor < other.minor) {
|
|
291
|
+
return -1;
|
|
292
|
+
}
|
|
293
|
+
if (this.minor > other.minor) {
|
|
294
|
+
return 1;
|
|
295
|
+
}
|
|
296
|
+
if (this.patch < other.patch) {
|
|
297
|
+
return -1;
|
|
298
|
+
}
|
|
299
|
+
if (this.patch > other.patch) {
|
|
300
|
+
return 1;
|
|
301
|
+
}
|
|
302
|
+
return 0;
|
|
282
303
|
}
|
|
283
304
|
comparePre(other) {
|
|
284
305
|
if (!(other instanceof _SemVer)) {
|
|
@@ -1,17 +1,17 @@
|
|
|
1
|
-
import
|
|
2
|
-
import
|
|
3
|
-
import
|
|
1
|
+
import CJS_COMPAT_NODE_URL_vppyn5e0su from 'node:url';
|
|
2
|
+
import CJS_COMPAT_NODE_PATH_vppyn5e0su from 'node:path';
|
|
3
|
+
import CJS_COMPAT_NODE_MODULE_vppyn5e0su from "node:module";
|
|
4
4
|
|
|
5
|
-
var __filename =
|
|
6
|
-
var __dirname =
|
|
7
|
-
var require =
|
|
5
|
+
var __filename = CJS_COMPAT_NODE_URL_vppyn5e0su.fileURLToPath(import.meta.url);
|
|
6
|
+
var __dirname = CJS_COMPAT_NODE_PATH_vppyn5e0su.dirname(__filename);
|
|
7
|
+
var require = CJS_COMPAT_NODE_MODULE_vppyn5e0su.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
|
__name
|
|
14
|
-
} from "./chunk-
|
|
14
|
+
} from "./chunk-I3RGDGG2.js";
|
|
15
15
|
|
|
16
16
|
// ../../node_modules/pathe/dist/shared/pathe.ff20891b.mjs
|
|
17
17
|
var _DRIVE_LETTER_START_RE = /^[A-Za-z]:\//;
|
|
@@ -1,23 +1,23 @@
|
|
|
1
|
-
import
|
|
2
|
-
import
|
|
3
|
-
import
|
|
1
|
+
import CJS_COMPAT_NODE_URL_vppyn5e0su from 'node:url';
|
|
2
|
+
import CJS_COMPAT_NODE_PATH_vppyn5e0su from 'node:path';
|
|
3
|
+
import CJS_COMPAT_NODE_MODULE_vppyn5e0su from "node:module";
|
|
4
4
|
|
|
5
|
-
var __filename =
|
|
6
|
-
var __dirname =
|
|
7
|
-
var require =
|
|
5
|
+
var __filename = CJS_COMPAT_NODE_URL_vppyn5e0su.fileURLToPath(import.meta.url);
|
|
6
|
+
var __dirname = CJS_COMPAT_NODE_PATH_vppyn5e0su.dirname(__filename);
|
|
7
|
+
var require = CJS_COMPAT_NODE_MODULE_vppyn5e0su.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-
|
|
14
|
+
} from "../_node-chunks/chunk-NYSDXFJX.js";
|
|
15
15
|
import {
|
|
16
16
|
__commonJS,
|
|
17
17
|
__name,
|
|
18
18
|
__require,
|
|
19
19
|
__toESM
|
|
20
|
-
} from "../_node-chunks/chunk-
|
|
20
|
+
} from "../_node-chunks/chunk-I3RGDGG2.js";
|
|
21
21
|
|
|
22
22
|
// ../../node_modules/istanbul-lib-report/node_modules/make-dir/index.js
|
|
23
23
|
var require_make_dir = __commonJS({
|
package/dist/node/vitest.js
CHANGED
|
@@ -1,38 +1,38 @@
|
|
|
1
|
-
import
|
|
2
|
-
import
|
|
3
|
-
import
|
|
1
|
+
import CJS_COMPAT_NODE_URL_vppyn5e0su from 'node:url';
|
|
2
|
+
import CJS_COMPAT_NODE_PATH_vppyn5e0su from 'node:path';
|
|
3
|
+
import CJS_COMPAT_NODE_MODULE_vppyn5e0su from "node:module";
|
|
4
4
|
|
|
5
|
-
var __filename =
|
|
6
|
-
var __dirname =
|
|
7
|
-
var require =
|
|
5
|
+
var __filename = CJS_COMPAT_NODE_URL_vppyn5e0su.fileURLToPath(import.meta.url);
|
|
6
|
+
var __dirname = CJS_COMPAT_NODE_PATH_vppyn5e0su.dirname(__filename);
|
|
7
|
+
var require = CJS_COMPAT_NODE_MODULE_vppyn5e0su.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-
|
|
14
|
+
} from "../_node-chunks/chunk-2NOXRFBQ.js";
|
|
15
15
|
import {
|
|
16
16
|
any,
|
|
17
17
|
errorToErrorLike
|
|
18
|
-
} from "../_node-chunks/chunk-
|
|
18
|
+
} from "../_node-chunks/chunk-A47EHGD3.js";
|
|
19
19
|
import {
|
|
20
20
|
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-
|
|
26
|
-
import "../_node-chunks/chunk-
|
|
25
|
+
} from "../_node-chunks/chunk-BM6TFQ6X.js";
|
|
26
|
+
import "../_node-chunks/chunk-MYTTGGG2.js";
|
|
27
27
|
import {
|
|
28
28
|
dirname,
|
|
29
29
|
join,
|
|
30
30
|
normalize,
|
|
31
31
|
path
|
|
32
|
-
} from "../_node-chunks/chunk-
|
|
32
|
+
} from "../_node-chunks/chunk-TBLBCKKK.js";
|
|
33
33
|
import {
|
|
34
34
|
__name
|
|
35
|
-
} from "../_node-chunks/chunk-
|
|
35
|
+
} from "../_node-chunks/chunk-I3RGDGG2.js";
|
|
36
36
|
|
|
37
37
|
// src/node/vitest.ts
|
|
38
38
|
import process2 from "node:process";
|
|
@@ -166,7 +166,7 @@ function throttle(func, throttleMs, { signal, edges = ["leading", "trailing"] }
|
|
|
166
166
|
debounced.cancel();
|
|
167
167
|
}
|
|
168
168
|
}
|
|
169
|
-
debounced(
|
|
169
|
+
debounced.apply(this, args);
|
|
170
170
|
}, "throttled");
|
|
171
171
|
throttled.cancel = debounced.cancel;
|
|
172
172
|
throttled.flush = debounced.flush;
|
package/dist/postinstall.js
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import
|
|
2
|
-
import
|
|
3
|
-
import
|
|
1
|
+
import CJS_COMPAT_NODE_URL_vppyn5e0su from 'node:url';
|
|
2
|
+
import CJS_COMPAT_NODE_PATH_vppyn5e0su from 'node:path';
|
|
3
|
+
import CJS_COMPAT_NODE_MODULE_vppyn5e0su from "node:module";
|
|
4
4
|
|
|
5
|
-
var __filename =
|
|
6
|
-
var __dirname =
|
|
7
|
-
var require =
|
|
5
|
+
var __filename = CJS_COMPAT_NODE_URL_vppyn5e0su.fileURLToPath(import.meta.url);
|
|
6
|
+
var __dirname = CJS_COMPAT_NODE_PATH_vppyn5e0su.dirname(__filename);
|
|
7
|
+
var require = CJS_COMPAT_NODE_MODULE_vppyn5e0su.createRequire(import.meta.url);
|
|
8
8
|
|
|
9
9
|
// ------------------------------------------------------------
|
|
10
10
|
// end of CJS compatibility banner, injected by Storybook's esbuild configuration
|
|
@@ -12,22 +12,22 @@ var require = CJS_COMPAT_NODE_MODULE_kqmaurava08.createRequire(import.meta.url);
|
|
|
12
12
|
import {
|
|
13
13
|
execa,
|
|
14
14
|
resolvePackageDir
|
|
15
|
-
} from "./_node-chunks/chunk-
|
|
15
|
+
} from "./_node-chunks/chunk-MU5R4QJA.js";
|
|
16
16
|
import {
|
|
17
17
|
any,
|
|
18
18
|
getAddonNames,
|
|
19
19
|
up
|
|
20
|
-
} from "./_node-chunks/chunk-
|
|
20
|
+
} from "./_node-chunks/chunk-A47EHGD3.js";
|
|
21
21
|
import {
|
|
22
22
|
DOCUMENTATION_LINK,
|
|
23
23
|
SUPPORTED_FRAMEWORKS
|
|
24
|
-
} from "./_node-chunks/chunk-
|
|
24
|
+
} from "./_node-chunks/chunk-BM6TFQ6X.js";
|
|
25
25
|
import {
|
|
26
26
|
dirname,
|
|
27
27
|
join,
|
|
28
28
|
relative,
|
|
29
29
|
resolve
|
|
30
|
-
} from "./_node-chunks/chunk-
|
|
30
|
+
} from "./_node-chunks/chunk-TBLBCKKK.js";
|
|
31
31
|
import {
|
|
32
32
|
require_compare,
|
|
33
33
|
require_constants,
|
|
@@ -37,12 +37,12 @@ import {
|
|
|
37
37
|
require_parse_options,
|
|
38
38
|
require_re,
|
|
39
39
|
require_semver
|
|
40
|
-
} from "./_node-chunks/chunk-
|
|
40
|
+
} from "./_node-chunks/chunk-NYSDXFJX.js";
|
|
41
41
|
import {
|
|
42
42
|
__commonJS,
|
|
43
43
|
__name,
|
|
44
44
|
__toESM
|
|
45
|
-
} from "./_node-chunks/chunk-
|
|
45
|
+
} from "./_node-chunks/chunk-I3RGDGG2.js";
|
|
46
46
|
|
|
47
47
|
// ../../node_modules/semver/functions/parse.js
|
|
48
48
|
var require_parse = __commonJS({
|
|
@@ -620,6 +620,7 @@ var require_range = __commonJS({
|
|
|
620
620
|
return result;
|
|
621
621
|
}, "isSatisfiable");
|
|
622
622
|
var parseComparator = /* @__PURE__ */ __name((comp, options) => {
|
|
623
|
+
comp = comp.replace(re[t.BUILD], "");
|
|
623
624
|
debug("comp", comp, options);
|
|
624
625
|
comp = replaceCarets(comp, options);
|
|
625
626
|
debug("caret", comp);
|
package/dist/preset.js
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import
|
|
2
|
-
import
|
|
3
|
-
import
|
|
1
|
+
import CJS_COMPAT_NODE_URL_vppyn5e0su from 'node:url';
|
|
2
|
+
import CJS_COMPAT_NODE_PATH_vppyn5e0su from 'node:path';
|
|
3
|
+
import CJS_COMPAT_NODE_MODULE_vppyn5e0su from "node:module";
|
|
4
4
|
|
|
5
|
-
var __filename =
|
|
6
|
-
var __dirname =
|
|
7
|
-
var require =
|
|
5
|
+
var __filename = CJS_COMPAT_NODE_URL_vppyn5e0su.fileURLToPath(import.meta.url);
|
|
6
|
+
var __dirname = CJS_COMPAT_NODE_PATH_vppyn5e0su.dirname(__filename);
|
|
7
|
+
var require = CJS_COMPAT_NODE_MODULE_vppyn5e0su.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_kqmaurava08.createRequire(import.meta.url);
|
|
|
12
12
|
import {
|
|
13
13
|
log,
|
|
14
14
|
noop
|
|
15
|
-
} from "./_node-chunks/chunk-
|
|
15
|
+
} from "./_node-chunks/chunk-2NOXRFBQ.js";
|
|
16
16
|
import {
|
|
17
17
|
execaNode,
|
|
18
18
|
importMetaResolve
|
|
19
|
-
} from "./_node-chunks/chunk-
|
|
19
|
+
} from "./_node-chunks/chunk-MU5R4QJA.js";
|
|
20
20
|
import {
|
|
21
21
|
ADDON_ID,
|
|
22
22
|
COVERAGE_DIRECTORY,
|
|
@@ -25,17 +25,17 @@ import {
|
|
|
25
25
|
STORYBOOK_ADDON_TEST_CHANNEL,
|
|
26
26
|
TEST_PROVIDER_STORE_CHANNEL_EVENT_NAME,
|
|
27
27
|
storeOptions
|
|
28
|
-
} from "./_node-chunks/chunk-
|
|
28
|
+
} from "./_node-chunks/chunk-BM6TFQ6X.js";
|
|
29
29
|
import {
|
|
30
30
|
require_picocolors
|
|
31
|
-
} from "./_node-chunks/chunk-
|
|
31
|
+
} from "./_node-chunks/chunk-MYTTGGG2.js";
|
|
32
32
|
import {
|
|
33
33
|
normalize
|
|
34
|
-
} from "./_node-chunks/chunk-
|
|
34
|
+
} from "./_node-chunks/chunk-TBLBCKKK.js";
|
|
35
35
|
import {
|
|
36
36
|
__name,
|
|
37
37
|
__toESM
|
|
38
|
-
} from "./_node-chunks/chunk-
|
|
38
|
+
} from "./_node-chunks/chunk-I3RGDGG2.js";
|
|
39
39
|
|
|
40
40
|
// src/preset.ts
|
|
41
41
|
import { mkdir } from "node:fs/promises";
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import
|
|
2
|
-
import
|
|
3
|
-
import
|
|
1
|
+
import CJS_COMPAT_NODE_URL_vppyn5e0su from 'node:url';
|
|
2
|
+
import CJS_COMPAT_NODE_PATH_vppyn5e0su from 'node:path';
|
|
3
|
+
import CJS_COMPAT_NODE_MODULE_vppyn5e0su from "node:module";
|
|
4
4
|
|
|
5
|
-
var __filename =
|
|
6
|
-
var __dirname =
|
|
7
|
-
var require =
|
|
5
|
+
var __filename = CJS_COMPAT_NODE_URL_vppyn5e0su.fileURLToPath(import.meta.url);
|
|
6
|
+
var __dirname = CJS_COMPAT_NODE_PATH_vppyn5e0su.dirname(__filename);
|
|
7
|
+
var require = CJS_COMPAT_NODE_MODULE_vppyn5e0su.createRequire(import.meta.url);
|
|
8
8
|
|
|
9
9
|
// ------------------------------------------------------------
|
|
10
10
|
// end of CJS compatibility banner, injected by Storybook's esbuild configuration
|
|
@@ -14,7 +14,7 @@ import {
|
|
|
14
14
|
__name,
|
|
15
15
|
__require,
|
|
16
16
|
__toESM
|
|
17
|
-
} from "../_node-chunks/chunk-
|
|
17
|
+
} from "../_node-chunks/chunk-I3RGDGG2.js";
|
|
18
18
|
|
|
19
19
|
// ../../node_modules/tree-kill/index.js
|
|
20
20
|
var require_tree_kill = __commonJS({
|
|
@@ -1,30 +1,30 @@
|
|
|
1
|
-
import
|
|
2
|
-
import
|
|
3
|
-
import
|
|
1
|
+
import CJS_COMPAT_NODE_URL_vppyn5e0su from 'node:url';
|
|
2
|
+
import CJS_COMPAT_NODE_PATH_vppyn5e0su from 'node:path';
|
|
3
|
+
import CJS_COMPAT_NODE_MODULE_vppyn5e0su from "node:module";
|
|
4
4
|
|
|
5
|
-
var __filename =
|
|
6
|
-
var __dirname =
|
|
7
|
-
var require =
|
|
5
|
+
var __filename = CJS_COMPAT_NODE_URL_vppyn5e0su.fileURLToPath(import.meta.url);
|
|
6
|
+
var __dirname = CJS_COMPAT_NODE_PATH_vppyn5e0su.dirname(__filename);
|
|
7
|
+
var require = CJS_COMPAT_NODE_MODULE_vppyn5e0su.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-
|
|
14
|
+
} from "../_node-chunks/chunk-MYTTGGG2.js";
|
|
15
15
|
import {
|
|
16
16
|
join,
|
|
17
17
|
normalize,
|
|
18
18
|
relative,
|
|
19
19
|
resolve,
|
|
20
20
|
sep
|
|
21
|
-
} from "../_node-chunks/chunk-
|
|
21
|
+
} from "../_node-chunks/chunk-TBLBCKKK.js";
|
|
22
22
|
import {
|
|
23
23
|
__commonJS,
|
|
24
24
|
__name,
|
|
25
25
|
__require,
|
|
26
26
|
__toESM
|
|
27
|
-
} from "../_node-chunks/chunk-
|
|
27
|
+
} from "../_node-chunks/chunk-I3RGDGG2.js";
|
|
28
28
|
|
|
29
29
|
// ../../node_modules/braces/lib/utils.js
|
|
30
30
|
var require_utils = __commonJS({
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@storybook/addon-vitest",
|
|
3
|
-
"version": "10.0.
|
|
3
|
+
"version": "10.0.8",
|
|
4
4
|
"description": "Storybook Vitest addon: Blazing fast component testing using stories",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"storybook",
|
|
@@ -107,7 +107,7 @@
|
|
|
107
107
|
"@vitest/browser": "^3.0.0 || ^4.0.0",
|
|
108
108
|
"@vitest/browser-playwright": "^4.0.0",
|
|
109
109
|
"@vitest/runner": "^3.0.0 || ^4.0.0",
|
|
110
|
-
"storybook": "^10.0.
|
|
110
|
+
"storybook": "^10.0.8",
|
|
111
111
|
"vitest": "^3.0.0 || ^4.0.0"
|
|
112
112
|
},
|
|
113
113
|
"peerDependenciesMeta": {
|