vitest 2.0.2 → 2.0.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/LICENSE.md +21 -0
- package/dist/browser.d.ts +1 -1
- package/dist/browser.js +1 -1
- package/dist/chunks/{integrations-globals.CzYWb38r.js → integrations-globals.nDMtdOcn.js} +3 -3
- package/dist/chunks/{runtime-runBaseTests.DJ9UidQ0.js → runtime-runBaseTests.Dq_sJZq9.js} +20 -10
- package/dist/cli.js +2 -2
- package/dist/config.cjs +0 -1
- package/dist/config.d.ts +1 -1
- package/dist/config.js +0 -1
- package/dist/coverage.d.ts +1 -1
- package/dist/coverage.js +9 -5
- package/dist/environments.d.ts +1 -1
- package/dist/execute.d.ts +4 -4
- package/dist/execute.js +2 -2
- package/dist/index.d.ts +3 -3
- package/dist/index.js +4 -4
- package/dist/node.d.ts +2 -2
- package/dist/node.js +5 -5
- package/dist/{reporters-BECoY4-b.d.ts → reporters-B7ebVMkT.d.ts} +3 -3
- package/dist/reporters.d.ts +1 -1
- package/dist/reporters.js +3 -3
- package/dist/runners.d.ts +1 -1
- package/dist/runners.js +2 -2
- package/dist/{suite-BWgaIsVn.d.ts → suite-CRLAhsm0.d.ts} +1 -1
- package/dist/suite.d.ts +2 -2
- package/dist/vendor/{base.pB8aBRcE.js → base.Csk7BT3h.js} +2 -2
- package/dist/vendor/{base.CTYV4Gnz.js → base.DRHPZCCj.js} +4 -3
- package/dist/vendor/{cac.C2zVnLp0.js → cac.DFtWvZc2.js} +7 -7
- package/dist/vendor/{cli-api.FtQZKvQk.js → cli-api.CTkP2Ier.js} +256 -70
- package/dist/vendor/{execute.Dx503nGn.js → execute.jzOWtys_.js} +2 -2
- package/dist/vendor/{index.CROIsoiT.js → index.CVqMv71L.js} +1 -1
- package/dist/vendor/{index.BCwvoAaf.js → index.CuuL9y4g.js} +3 -5
- package/dist/vendor/{index.Hqvcg1pf.js → index.DI9daj1Q.js} +1 -1
- package/dist/vendor/{inspector.hPQncR7V.js → inspector.-FCQUzqR.js} +2 -1
- package/dist/vendor/{setup-common.yHaxjRhz.js → setup-common.symvFZPh.js} +1 -1
- package/dist/vendor/{utils.DyTe1Nxn.js → utils.BySfPUwy.js} +1 -1
- package/dist/vendor/{vi.DXACdGTu.js → vi.Elqer9-7.js} +1 -1
- package/dist/vendor/{vm.D1T5Rxan.js → vm.img-AOox.js} +1 -1
- package/dist/worker.js +2 -2
- package/dist/workers/forks.js +3 -3
- package/dist/workers/runVmTests.js +20 -10
- package/dist/workers/threads.js +3 -3
- package/dist/workers/vmForks.js +3 -3
- package/dist/workers/vmThreads.js +3 -3
- package/dist/workers.d.ts +1 -1
- package/dist/workers.js +5 -5
- package/package.json +14 -14
package/LICENSE.md
CHANGED
|
@@ -438,6 +438,27 @@ License: MIT
|
|
|
438
438
|
By: Mathias Bynens
|
|
439
439
|
Repository: https://github.com/mathiasbynens/emoji-regex.git
|
|
440
440
|
|
|
441
|
+
> Copyright Mathias Bynens <https://mathiasbynens.be/>
|
|
442
|
+
>
|
|
443
|
+
> Permission is hereby granted, free of charge, to any person obtaining
|
|
444
|
+
> a copy of this software and associated documentation files (the
|
|
445
|
+
> "Software"), to deal in the Software without restriction, including
|
|
446
|
+
> without limitation the rights to use, copy, modify, merge, publish,
|
|
447
|
+
> distribute, sublicense, and/or sell copies of the Software, and to
|
|
448
|
+
> permit persons to whom the Software is furnished to do so, subject to
|
|
449
|
+
> the following conditions:
|
|
450
|
+
>
|
|
451
|
+
> The above copyright notice and this permission notice shall be
|
|
452
|
+
> included in all copies or substantial portions of the Software.
|
|
453
|
+
>
|
|
454
|
+
> THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
|
|
455
|
+
> EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
|
|
456
|
+
> MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
|
|
457
|
+
> NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
|
|
458
|
+
> LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
|
|
459
|
+
> OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
|
|
460
|
+
> WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
|
461
|
+
|
|
441
462
|
---------------------------------------
|
|
442
463
|
|
|
443
464
|
## expect-type
|
package/dist/browser.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
export { collectTests, processError, startTests } from '@vitest/runner';
|
|
2
|
-
import { R as ResolvedConfig, C as CoverageOptions, b as CoverageProvider, c as CoverageProviderModule } from './reporters-
|
|
2
|
+
import { R as ResolvedConfig, C as CoverageOptions, b as CoverageProvider, c as CoverageProviderModule } from './reporters-B7ebVMkT.js';
|
|
3
3
|
import { Formatter } from 'tinyrainbow';
|
|
4
4
|
import { VitestExecutor } from './execute.js';
|
|
5
5
|
import * as spy$1 from '@vitest/spy';
|
package/dist/browser.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
export { collectTests, processError, startTests } from '@vitest/runner';
|
|
2
|
-
export { l as loadDiffConfig, a as loadSnapshotSerializers, s as setupCommonEnv } from './vendor/setup-common.
|
|
2
|
+
export { l as loadDiffConfig, a as loadSnapshotSerializers, s as setupCommonEnv } from './vendor/setup-common.symvFZPh.js';
|
|
3
3
|
export { g as getCoverageProvider, a as startCoverageInsideWorker, s as stopCoverageInsideWorker, t as takeCoverageInsideWorker } from './vendor/coverage.BhYSDdTT.js';
|
|
4
4
|
export { s as SpyModule } from './vendor/spy.Cf_4R5Oe.js';
|
|
5
5
|
import '@vitest/utils';
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { g as globalApis } from '../vendor/constants.CsnA4eRy.js';
|
|
2
|
-
import { V as VitestIndex } from '../vendor/index.
|
|
2
|
+
import { V as VitestIndex } from '../vendor/index.DI9daj1Q.js';
|
|
3
3
|
import '@vitest/runner';
|
|
4
4
|
import '../vendor/benchmark.B6pblCp2.js';
|
|
5
5
|
import '@vitest/runner/utils';
|
|
@@ -10,7 +10,7 @@ import '../vendor/global.7bFbnyXl.js';
|
|
|
10
10
|
import '../vendor/env.2ltrQNq0.js';
|
|
11
11
|
import 'std-env';
|
|
12
12
|
import '../vendor/run-once.Db8Hgq9X.js';
|
|
13
|
-
import '../vendor/vi.
|
|
13
|
+
import '../vendor/vi.Elqer9-7.js';
|
|
14
14
|
import 'chai';
|
|
15
15
|
import '../vendor/_commonjsHelpers.BFTU3MAI.js';
|
|
16
16
|
import '@vitest/expect';
|
|
@@ -18,7 +18,7 @@ import '@vitest/snapshot';
|
|
|
18
18
|
import '@vitest/utils/error';
|
|
19
19
|
import '../vendor/tasks.DhVtQBtW.js';
|
|
20
20
|
import '@vitest/utils/source-map';
|
|
21
|
-
import '../vendor/base.
|
|
21
|
+
import '../vendor/base.DRHPZCCj.js';
|
|
22
22
|
import '../vendor/date.W2xKR2qe.js';
|
|
23
23
|
import '@vitest/spy';
|
|
24
24
|
|
|
@@ -5,16 +5,17 @@ import '@vitest/runner/utils';
|
|
|
5
5
|
import { getSafeTimers } from '@vitest/utils';
|
|
6
6
|
import { g as getWorkerState } from '../vendor/global.7bFbnyXl.js';
|
|
7
7
|
import '../vendor/env.2ltrQNq0.js';
|
|
8
|
-
import { a as globalExpect, r as resetModules, v as vi } from '../vendor/vi.
|
|
8
|
+
import { a as globalExpect, r as resetModules, v as vi } from '../vendor/vi.Elqer9-7.js';
|
|
9
9
|
import { a as startCoverageInsideWorker, s as stopCoverageInsideWorker } from '../vendor/coverage.BhYSDdTT.js';
|
|
10
|
-
import { a as resolveSnapshotEnvironment, s as setupChaiConfig, r as resolveTestRunner } from '../vendor/index.
|
|
10
|
+
import { a as resolveSnapshotEnvironment, s as setupChaiConfig, r as resolveTestRunner } from '../vendor/index.CVqMv71L.js';
|
|
11
11
|
import { createRequire } from 'node:module';
|
|
12
12
|
import util from 'node:util';
|
|
13
13
|
import timers from 'node:timers';
|
|
14
14
|
import { installSourcemapsSupport } from 'vite-node/source-map';
|
|
15
|
-
import {
|
|
16
|
-
import {
|
|
17
|
-
import {
|
|
15
|
+
import { KNOWN_ASSET_TYPES } from 'vite-node/constants';
|
|
16
|
+
import { V as VitestIndex } from '../vendor/index.DI9daj1Q.js';
|
|
17
|
+
import { s as setupCommonEnv } from '../vendor/setup-common.symvFZPh.js';
|
|
18
|
+
import { c as closeInspector } from '../vendor/inspector.-FCQUzqR.js';
|
|
18
19
|
import 'std-env';
|
|
19
20
|
import 'chai';
|
|
20
21
|
import '../vendor/_commonjsHelpers.BFTU3MAI.js';
|
|
@@ -23,7 +24,7 @@ import '@vitest/snapshot';
|
|
|
23
24
|
import '@vitest/utils/error';
|
|
24
25
|
import '../vendor/tasks.DhVtQBtW.js';
|
|
25
26
|
import '@vitest/utils/source-map';
|
|
26
|
-
import '../vendor/base.
|
|
27
|
+
import '../vendor/base.DRHPZCCj.js';
|
|
27
28
|
import '../vendor/date.W2xKR2qe.js';
|
|
28
29
|
import '@vitest/spy';
|
|
29
30
|
import '../path.js';
|
|
@@ -51,10 +52,13 @@ async function setupGlobalEnv(config, { environment }, executor) {
|
|
|
51
52
|
globalSetup = true;
|
|
52
53
|
if (environment.transformMode === "web") {
|
|
53
54
|
const _require = createRequire(import.meta.url);
|
|
54
|
-
_require.extensions[".css"] =
|
|
55
|
-
_require.extensions[".scss"] =
|
|
56
|
-
_require.extensions[".sass"] =
|
|
57
|
-
_require.extensions[".less"] =
|
|
55
|
+
_require.extensions[".css"] = resolveCss;
|
|
56
|
+
_require.extensions[".scss"] = resolveCss;
|
|
57
|
+
_require.extensions[".sass"] = resolveCss;
|
|
58
|
+
_require.extensions[".less"] = resolveCss;
|
|
59
|
+
KNOWN_ASSET_TYPES.forEach((type) => {
|
|
60
|
+
_require.extensions[`.${type}`] = resolveAsset;
|
|
61
|
+
});
|
|
58
62
|
process.env.SSR = "";
|
|
59
63
|
} else {
|
|
60
64
|
process.env.SSR = "1";
|
|
@@ -70,6 +74,12 @@ async function setupGlobalEnv(config, { environment }, executor) {
|
|
|
70
74
|
await setupConsoleLogSpy();
|
|
71
75
|
}
|
|
72
76
|
}
|
|
77
|
+
function resolveCss(mod) {
|
|
78
|
+
mod.exports = "";
|
|
79
|
+
}
|
|
80
|
+
function resolveAsset(mod, url) {
|
|
81
|
+
mod.exports = url;
|
|
82
|
+
}
|
|
73
83
|
async function setupConsoleLogSpy() {
|
|
74
84
|
const { createCustomConsole } = await import('./runtime-console.C2L2zykk.js');
|
|
75
85
|
globalThis.console = createCustomConsole();
|
package/dist/cli.js
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { c as createCLI } from './vendor/cac.
|
|
1
|
+
import { c as createCLI } from './vendor/cac.DFtWvZc2.js';
|
|
2
2
|
import 'pathe';
|
|
3
3
|
import 'events';
|
|
4
4
|
import 'tinyrainbow';
|
|
5
|
-
import './vendor/base.
|
|
5
|
+
import './vendor/base.DRHPZCCj.js';
|
|
6
6
|
import '@vitest/utils';
|
|
7
7
|
import './vendor/constants.CsnA4eRy.js';
|
|
8
8
|
|
package/dist/config.cjs
CHANGED
package/dist/config.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
export { ConfigEnv, Plugin, UserConfig, mergeConfig } from 'vite';
|
|
2
|
-
export { aO as UserConfigExport, aN as UserConfigFn, aL as UserConfigFnObject, aM as UserConfigFnPromise, aQ as UserProjectConfigExport, aP as UserProjectConfigFn, K as UserWorkspaceConfig, aV as configDefaults, aY as coverageConfigDefaults, aU as defaultBrowserPort, aX as defaultExclude, aW as defaultInclude, aR as defineConfig, aS as defineProject, aT as defineWorkspace, aZ as extraInlineDeps } from './reporters-
|
|
2
|
+
export { aO as UserConfigExport, aN as UserConfigFn, aL as UserConfigFnObject, aM as UserConfigFnPromise, aQ as UserProjectConfigExport, aP as UserProjectConfigFn, K as UserWorkspaceConfig, aV as configDefaults, aY as coverageConfigDefaults, aU as defaultBrowserPort, aX as defaultExclude, aW as defaultInclude, aR as defineConfig, aS as defineProject, aT as defineWorkspace, aZ as extraInlineDeps } from './reporters-B7ebVMkT.js';
|
|
3
3
|
import '@vitest/pretty-format';
|
|
4
4
|
import '@vitest/runner';
|
|
5
5
|
import 'vite-node';
|
package/dist/config.js
CHANGED
package/dist/coverage.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { B as BaseCoverageOptions, a as ResolvedCoverageOptions } from './reporters-
|
|
1
|
+
import { B as BaseCoverageOptions, a as ResolvedCoverageOptions } from './reporters-B7ebVMkT.js';
|
|
2
2
|
import 'vite';
|
|
3
3
|
import '@vitest/pretty-format';
|
|
4
4
|
import '@vitest/runner';
|
package/dist/coverage.js
CHANGED
|
@@ -118,7 +118,6 @@ class BaseCoverageProvider {
|
|
|
118
118
|
}) {
|
|
119
119
|
const resolvedThresholds = [];
|
|
120
120
|
const files = coverageMap.files();
|
|
121
|
-
const filesMatchedByGlobs = [];
|
|
122
121
|
const globalCoverageMap = createCoverageMap();
|
|
123
122
|
for (const key of Object.keys(
|
|
124
123
|
thresholds
|
|
@@ -132,7 +131,6 @@ class BaseCoverageProvider {
|
|
|
132
131
|
const matchingFiles = files.filter(
|
|
133
132
|
(file) => mm.isMatch(relative(root, file), glob)
|
|
134
133
|
);
|
|
135
|
-
filesMatchedByGlobs.push(...matchingFiles);
|
|
136
134
|
for (const file of matchingFiles) {
|
|
137
135
|
const fileCoverage = coverageMap.fileCoverageFor(file);
|
|
138
136
|
globCoverageMap.addFileCoverage(fileCoverage);
|
|
@@ -143,9 +141,7 @@ class BaseCoverageProvider {
|
|
|
143
141
|
thresholds: globThresholds
|
|
144
142
|
});
|
|
145
143
|
}
|
|
146
|
-
for (const file of files
|
|
147
|
-
(file2) => !filesMatchedByGlobs.includes(file2)
|
|
148
|
-
)) {
|
|
144
|
+
for (const file of files) {
|
|
149
145
|
const fileCoverage = coverageMap.fileCoverageFor(file);
|
|
150
146
|
globalCoverageMap.addFileCoverage(fileCoverage);
|
|
151
147
|
}
|
|
@@ -201,6 +197,14 @@ function resolveGlobThresholds(thresholds) {
|
|
|
201
197
|
if (!thresholds || typeof thresholds !== "object") {
|
|
202
198
|
return {};
|
|
203
199
|
}
|
|
200
|
+
if (100 in thresholds && thresholds[100] === true) {
|
|
201
|
+
return {
|
|
202
|
+
lines: 100,
|
|
203
|
+
branches: 100,
|
|
204
|
+
functions: 100,
|
|
205
|
+
statements: 100
|
|
206
|
+
};
|
|
207
|
+
}
|
|
204
208
|
return {
|
|
205
209
|
lines: "lines" in thresholds && typeof thresholds.lines === "number" ? thresholds.lines : void 0,
|
|
206
210
|
branches: "branches" in thresholds && typeof thresholds.branches === "number" ? thresholds.branches : void 0,
|
package/dist/environments.d.ts
CHANGED
package/dist/execute.d.ts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import vm from 'node:vm';
|
|
2
2
|
import { ViteNodeRunner } from 'vite-node/client';
|
|
3
3
|
import { ViteNodeRunnerOptions } from 'vite-node';
|
|
4
|
-
import { aI as PendingSuiteMock, aJ as MockFactory, e as RuntimeRPC, W as WorkerGlobalState, aK as MockMap } from './reporters-
|
|
4
|
+
import { aI as PendingSuiteMock, aJ as MockFactory, e as RuntimeRPC, W as WorkerGlobalState, aK as MockMap } from './reporters-B7ebVMkT.js';
|
|
5
5
|
import 'vite';
|
|
6
6
|
import '@vitest/pretty-format';
|
|
7
7
|
import '@vitest/runner';
|
|
@@ -69,7 +69,7 @@ interface ModuleEvaluateOptions {
|
|
|
69
69
|
breakOnSigint?: vm.RunningScriptOptions['breakOnSigint'] | undefined;
|
|
70
70
|
}
|
|
71
71
|
type ModuleLinker = (specifier: string, referencingModule: VMModule, extra: {
|
|
72
|
-
assert:
|
|
72
|
+
assert: object;
|
|
73
73
|
}) => VMModule | Promise<VMModule>;
|
|
74
74
|
type ModuleStatus = 'unlinked' | 'linking' | 'linked' | 'evaluating' | 'evaluated' | 'errored';
|
|
75
75
|
declare class VMModule {
|
|
@@ -77,7 +77,7 @@ declare class VMModule {
|
|
|
77
77
|
error: any;
|
|
78
78
|
identifier: string;
|
|
79
79
|
context: vm.Context;
|
|
80
|
-
namespace:
|
|
80
|
+
namespace: object;
|
|
81
81
|
status: ModuleStatus;
|
|
82
82
|
evaluate(options?: ModuleEvaluateOptions): Promise<void>;
|
|
83
83
|
link(linker: ModuleLinker): Promise<void>;
|
|
@@ -109,7 +109,7 @@ declare class ExternalModulesExecutor {
|
|
|
109
109
|
private fs;
|
|
110
110
|
private resolvers;
|
|
111
111
|
constructor(options: ExternalModulesExecutorOptions);
|
|
112
|
-
import(identifier: string): Promise<
|
|
112
|
+
import(identifier: string): Promise<object>;
|
|
113
113
|
require(identifier: string): any;
|
|
114
114
|
createRequire(identifier: string): NodeRequire;
|
|
115
115
|
importModuleDynamically: (specifier: string, referencer: VMModule) => Promise<VMModule>;
|
package/dist/execute.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export { V as VitestExecutor } from './vendor/execute.
|
|
1
|
+
export { V as VitestExecutor } from './vendor/execute.jzOWtys_.js';
|
|
2
2
|
import 'node:vm';
|
|
3
3
|
import 'node:url';
|
|
4
4
|
import 'node:fs';
|
|
@@ -8,4 +8,4 @@ import 'pathe';
|
|
|
8
8
|
import '@vitest/utils/error';
|
|
9
9
|
import './path.js';
|
|
10
10
|
import '@vitest/utils';
|
|
11
|
-
import './vendor/base.
|
|
11
|
+
import './vendor/base.DRHPZCCj.js';
|
package/dist/index.d.ts
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import { TaskPopulated, File, TaskResultPack } from '@vitest/runner';
|
|
2
2
|
export { CancelReason, Custom, DoneCallback, ExtendedContext, File, HookCleanupCallback, HookListener, OnTestFailedHandler, RunMode, RuntimeContext, SequenceHooks, SequenceSetupFiles, Suite, SuiteAPI, SuiteCollector, SuiteFactory, SuiteHooks, Task, TaskBase, TaskContext, TaskCustomOptions, TaskMeta, TaskResult, TaskResultPack, TaskState, Test, TestAPI, TestContext, TestFunction, TestOptions, afterAll, afterEach, beforeAll, beforeEach, describe, it, onTestFailed, onTestFinished, suite, test } from '@vitest/runner';
|
|
3
|
-
export { b as bench } from './suite-
|
|
3
|
+
export { b as bench } from './suite-CRLAhsm0.js';
|
|
4
4
|
import { ExpectStatic } from '@vitest/expect';
|
|
5
5
|
export { Assertion, AsymmetricMatchersContaining, ExpectPollOptions, ExpectStatic, JestAssertion } from '@vitest/expect';
|
|
6
|
-
import { F as FakeTimerInstallOpts, M as MockFactoryWithHelper, h as RuntimeConfig, i as ProvidedContext, R as ResolvedConfig, j as ModuleGraphData, k as Reporter, l as BirpcReturn } from './reporters-
|
|
7
|
-
export { Y as AfterSuiteRunMeta, A as ApiConfig, a1 as ArgumentsType, a0 as Arrayable, _ as Awaitable, B as BaseCoverageOptions, ah as BenchFunction, af as Benchmark, ai as BenchmarkAPI, ag as BenchmarkResult, ae as BenchmarkUserOptions, G as BrowserConfigOptions, z as BrowserScript, s as BuiltinEnvironment, t as CSSModuleScopeStrategy, n as CollectLineNumbers, o as CollectLines, a3 as Constructable, q as Context, f as ContextRPC, N as ContextTestEnvironment, ab as CoverageIstanbulOptions, C as CoverageOptions, b as CoverageProvider, c as CoverageProviderModule, aa as CoverageReporter, ac as CoverageV8Options, ad as CustomProviderOptions, D as DepsOptimizationOptions, E as Environment, u as EnvironmentOptions, a5 as EnvironmentReturn, H as HappyDOMOptions, I as InlineConfig, J as JSDOMOptions, a4 as ModuleCache, a2 as MutableArray, $ as Nullable, a8 as OnServerRestartHandler, P as Pool, r as PoolOptions, y as ProjectConfig, m as RawErrsMap, a9 as ReportContext, X as ResolveIdFunction, a as ResolvedCoverageOptions, O as ResolvedTestEnvironment, p as RootAndTarget, L as RunnerRPC, e as RuntimeRPC, S as SerializableSpec, w as TransformModePatterns, T as TscErrorInfo, x as TypecheckConfig, U as UserConfig, a7 as UserConsoleLog, K as UserWorkspaceConfig, Q as Vitest, V as VitestEnvironment, v as VitestRunMode, a6 as VmEnvironmentReturn, g as WorkerContext, W as WorkerGlobalState, Z as WorkerRPC } from './reporters-
|
|
6
|
+
import { F as FakeTimerInstallOpts, M as MockFactoryWithHelper, h as RuntimeConfig, i as ProvidedContext, R as ResolvedConfig, j as ModuleGraphData, k as Reporter, l as BirpcReturn } from './reporters-B7ebVMkT.js';
|
|
7
|
+
export { Y as AfterSuiteRunMeta, A as ApiConfig, a1 as ArgumentsType, a0 as Arrayable, _ as Awaitable, B as BaseCoverageOptions, ah as BenchFunction, af as Benchmark, ai as BenchmarkAPI, ag as BenchmarkResult, ae as BenchmarkUserOptions, G as BrowserConfigOptions, z as BrowserScript, s as BuiltinEnvironment, t as CSSModuleScopeStrategy, n as CollectLineNumbers, o as CollectLines, a3 as Constructable, q as Context, f as ContextRPC, N as ContextTestEnvironment, ab as CoverageIstanbulOptions, C as CoverageOptions, b as CoverageProvider, c as CoverageProviderModule, aa as CoverageReporter, ac as CoverageV8Options, ad as CustomProviderOptions, D as DepsOptimizationOptions, E as Environment, u as EnvironmentOptions, a5 as EnvironmentReturn, H as HappyDOMOptions, I as InlineConfig, J as JSDOMOptions, a4 as ModuleCache, a2 as MutableArray, $ as Nullable, a8 as OnServerRestartHandler, P as Pool, r as PoolOptions, y as ProjectConfig, m as RawErrsMap, a9 as ReportContext, X as ResolveIdFunction, a as ResolvedCoverageOptions, O as ResolvedTestEnvironment, p as RootAndTarget, L as RunnerRPC, e as RuntimeRPC, S as SerializableSpec, w as TransformModePatterns, T as TscErrorInfo, x as TypecheckConfig, U as UserConfig, a7 as UserConsoleLog, K as UserWorkspaceConfig, Q as Vitest, V as VitestEnvironment, v as VitestRunMode, a6 as VmEnvironmentReturn, g as WorkerContext, W as WorkerGlobalState, Z as WorkerRPC } from './reporters-B7ebVMkT.js';
|
|
8
8
|
import { spyOn, fn, MaybeMockedDeep, MaybeMocked, MaybePartiallyMocked, MaybePartiallyMockedDeep, MockInstance } from '@vitest/spy';
|
|
9
9
|
export { Mock, MockContext, MockInstance, Mocked, MockedClass, MockedFunction, MockedObject } from '@vitest/spy';
|
|
10
10
|
export { SnapshotData, SnapshotMatchOptions, SnapshotResult, SnapshotSerializer, SnapshotStateOptions, SnapshotSummary, SnapshotUpdateState, UncheckedSnapshot } from '@vitest/snapshot';
|
package/dist/index.js
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
export { afterAll, afterEach, beforeAll, beforeEach, describe, it, onTestFailed, onTestFinished, suite, test } from '@vitest/runner';
|
|
2
2
|
export { b as bench } from './vendor/benchmark.B6pblCp2.js';
|
|
3
3
|
export { i as isFirstRun, a as runOnce } from './vendor/run-once.Db8Hgq9X.js';
|
|
4
|
-
export { c as createExpect, a as expect, v as vi, b as vitest } from './vendor/vi.
|
|
5
|
-
import { d as dist } from './vendor/index.
|
|
6
|
-
export { b as assertType, g as getRunningMode, i as inject, a as isWatchMode } from './vendor/index.
|
|
4
|
+
export { c as createExpect, a as expect, v as vi, b as vitest } from './vendor/vi.Elqer9-7.js';
|
|
5
|
+
import { d as dist } from './vendor/index.DI9daj1Q.js';
|
|
6
|
+
export { b as assertType, g as getRunningMode, i as inject, a as isWatchMode } from './vendor/index.DI9daj1Q.js';
|
|
7
7
|
import * as chai from 'chai';
|
|
8
8
|
export { chai };
|
|
9
9
|
export { assert, should } from 'chai';
|
|
@@ -20,7 +20,7 @@ import '@vitest/snapshot';
|
|
|
20
20
|
import '@vitest/utils/error';
|
|
21
21
|
import './vendor/tasks.DhVtQBtW.js';
|
|
22
22
|
import '@vitest/utils/source-map';
|
|
23
|
-
import './vendor/base.
|
|
23
|
+
import './vendor/base.DRHPZCCj.js';
|
|
24
24
|
import './vendor/date.W2xKR2qe.js';
|
|
25
25
|
import '@vitest/spy';
|
|
26
26
|
|
package/dist/node.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { v as VitestRunMode, U as UserConfig, aj as VitestOptions, Q as Vitest, R as ResolvedConfig, i as ProvidedContext, ak as WorkspaceProject, e as RuntimeRPC, A as ApiConfig, al as Logger, am as TestSequencer, an as WorkspaceSpec } from './reporters-
|
|
2
|
-
export { ay as BrowserBuiltinProvider, az as BrowserCommand, aA as BrowserCommandContext, aE as BrowserOrchestrator, at as BrowserProvider, as as BrowserProviderInitializationOptions, av as BrowserProviderModule, ax as BrowserProviderOptions, z as BrowserScript, aB as BrowserServer, aC as BrowserServerState, aD as BrowserServerStateContext, au as CDPSession, aH as HTMLOptions, aG as JUnitOptions, aF as JsonOptions, ao as ProcessPool, aw as ResolvedBrowserOptions, ar as TestSequencerConstructor, aq as VitestPackageInstaller, ap as getFilePoolName } from './reporters-
|
|
1
|
+
import { v as VitestRunMode, U as UserConfig, aj as VitestOptions, Q as Vitest, R as ResolvedConfig, i as ProvidedContext, ak as WorkspaceProject, e as RuntimeRPC, A as ApiConfig, al as Logger, am as TestSequencer, an as WorkspaceSpec } from './reporters-B7ebVMkT.js';
|
|
2
|
+
export { ay as BrowserBuiltinProvider, az as BrowserCommand, aA as BrowserCommandContext, aE as BrowserOrchestrator, at as BrowserProvider, as as BrowserProviderInitializationOptions, av as BrowserProviderModule, ax as BrowserProviderOptions, z as BrowserScript, aB as BrowserServer, aC as BrowserServerState, aD as BrowserServerStateContext, au as CDPSession, aH as HTMLOptions, aG as JUnitOptions, aF as JsonOptions, ao as ProcessPool, aw as ResolvedBrowserOptions, ar as TestSequencerConstructor, aq as VitestPackageInstaller, ap as getFilePoolName } from './reporters-B7ebVMkT.js';
|
|
3
3
|
import { UserConfig as UserConfig$1, Plugin, ResolvedConfig as ResolvedConfig$1 } from 'vite';
|
|
4
4
|
import * as vite from 'vite';
|
|
5
5
|
export { vite as Vite };
|
package/dist/node.js
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
export { G as GitNotFoundError, F as TestsNotFoundError, b as VitestPackageInstaller, V as VitestPlugin, a as createMethodsRPC, c as createVitest, g as getFilePoolName, r as registerConsoleShortcuts, e as resolveApiServerConfig, f as resolveConfig, d as resolveFsAllow, s as startVitest } from './vendor/cli-api.
|
|
2
|
-
export { p as parseCLI } from './vendor/cac.
|
|
1
|
+
export { G as GitNotFoundError, F as TestsNotFoundError, b as VitestPackageInstaller, V as VitestPlugin, a as createMethodsRPC, c as createVitest, g as getFilePoolName, r as registerConsoleShortcuts, e as resolveApiServerConfig, f as resolveConfig, d as resolveFsAllow, s as startVitest } from './vendor/cli-api.CTkP2Ier.js';
|
|
2
|
+
export { p as parseCLI } from './vendor/cac.DFtWvZc2.js';
|
|
3
3
|
import createDebug from 'debug';
|
|
4
4
|
export { distDir, rootDir } from './path.js';
|
|
5
|
-
export { e as BaseSequencer } from './vendor/index.
|
|
5
|
+
export { e as BaseSequencer } from './vendor/index.CuuL9y4g.js';
|
|
6
6
|
export { createServer, isFileServingAllowed, parseAst, parseAstAsync } from 'vite';
|
|
7
7
|
import 'node:fs';
|
|
8
8
|
import 'pathe';
|
|
@@ -28,7 +28,7 @@ import 'vite-node/client';
|
|
|
28
28
|
import '@vitest/snapshot/manager';
|
|
29
29
|
import 'vite-node/server';
|
|
30
30
|
import '@vitest/runner/utils';
|
|
31
|
-
import './vendor/base.
|
|
31
|
+
import './vendor/base.DRHPZCCj.js';
|
|
32
32
|
import '@vitest/utils';
|
|
33
33
|
import './vendor/env.2ltrQNq0.js';
|
|
34
34
|
import 'std-env';
|
|
@@ -58,7 +58,7 @@ import '@vitest/utils/ast';
|
|
|
58
58
|
import './vendor/index.BJmtb_7W.js';
|
|
59
59
|
import './vendor/global.7bFbnyXl.js';
|
|
60
60
|
import 'node:readline';
|
|
61
|
-
import './vendor/utils.
|
|
61
|
+
import './vendor/utils.BySfPUwy.js';
|
|
62
62
|
import './vendor/tasks.DhVtQBtW.js';
|
|
63
63
|
import 'node:perf_hooks';
|
|
64
64
|
import './chunks/runtime-console.C2L2zykk.js';
|
|
@@ -1489,7 +1489,7 @@ interface CoverageProviderModule {
|
|
|
1489
1489
|
stopCoverage?: () => unknown | Promise<unknown>;
|
|
1490
1490
|
}
|
|
1491
1491
|
type CoverageReporter = keyof ReportOptions | (string & {});
|
|
1492
|
-
type CoverageReporterWithOptions<ReporterName extends CoverageReporter = CoverageReporter> = ReporterName extends keyof ReportOptions ? ReportOptions[ReporterName] extends never ? [ReporterName,
|
|
1492
|
+
type CoverageReporterWithOptions<ReporterName extends CoverageReporter = CoverageReporter> = ReporterName extends keyof ReportOptions ? ReportOptions[ReporterName] extends never ? [ReporterName, object] : [ReporterName, Partial<ReportOptions[ReporterName]>] : [ReporterName, Record<string, unknown>];
|
|
1493
1493
|
type Provider = 'v8' | 'istanbul' | 'custom' | undefined;
|
|
1494
1494
|
type CoverageOptions<T extends Provider = Provider> = T extends 'istanbul' ? {
|
|
1495
1495
|
provider: T;
|
|
@@ -1594,7 +1594,7 @@ interface BaseCoverageOptions {
|
|
|
1594
1594
|
* ```
|
|
1595
1595
|
*/
|
|
1596
1596
|
thresholds?: Thresholds | ({
|
|
1597
|
-
[glob: string]: Pick<Thresholds, 'statements' | 'functions' | 'branches' | 'lines'>;
|
|
1597
|
+
[glob: string]: Pick<Thresholds, 100 | 'statements' | 'functions' | 'branches' | 'lines'>;
|
|
1598
1598
|
} & Thresholds);
|
|
1599
1599
|
/**
|
|
1600
1600
|
* Watermarks for statements, lines, branches and functions.
|
|
@@ -2064,7 +2064,7 @@ interface DepsOptions {
|
|
|
2064
2064
|
}
|
|
2065
2065
|
type InlineReporter = Reporter;
|
|
2066
2066
|
type ReporterName = BuiltinReporters | 'html' | (string & {});
|
|
2067
|
-
type ReporterWithOptions<Name extends ReporterName = ReporterName> = Name extends keyof BuiltinReporterOptions ? BuiltinReporterOptions[Name] extends never ? [Name,
|
|
2067
|
+
type ReporterWithOptions<Name extends ReporterName = ReporterName> = Name extends keyof BuiltinReporterOptions ? BuiltinReporterOptions[Name] extends never ? [Name, object] : [Name, Partial<BuiltinReporterOptions[Name]>] : [Name, Record<string, unknown>];
|
|
2068
2068
|
interface InlineConfig {
|
|
2069
2069
|
/**
|
|
2070
2070
|
* Name of the project. Will be used to display in the reporter.
|
package/dist/reporters.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export { b8 as BaseReporter, a$ as BasicReporter, bg as BenchmarkBuiltinReporters, bf as BenchmarkReportsMap, bb as BuiltinReporterOptions, ba as BuiltinReporters, a_ as DefaultReporter, b0 as DotReporter, b7 as GithubActionsReporter, b6 as HangingProcessReporter, b4 as JUnitReporter, bc as JsonAssertionResult, b1 as JsonReporter, bd as JsonTestResult, be as JsonTestResults, k as Reporter, b9 as ReportersMap, b5 as TapFlatReporter, b3 as TapReporter, b2 as VerboseReporter } from './reporters-
|
|
1
|
+
export { b8 as BaseReporter, a$ as BasicReporter, bg as BenchmarkBuiltinReporters, bf as BenchmarkReportsMap, bb as BuiltinReporterOptions, ba as BuiltinReporters, a_ as DefaultReporter, b0 as DotReporter, b7 as GithubActionsReporter, b6 as HangingProcessReporter, b4 as JUnitReporter, bc as JsonAssertionResult, b1 as JsonReporter, bd as JsonTestResult, be as JsonTestResults, k as Reporter, b9 as ReportersMap, b5 as TapFlatReporter, b3 as TapReporter, b2 as VerboseReporter } from './reporters-B7ebVMkT.js';
|
|
2
2
|
import 'vite';
|
|
3
3
|
import '@vitest/pretty-format';
|
|
4
4
|
import '@vitest/runner';
|
package/dist/reporters.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export { B as BasicReporter, d as BenchmarkReportsMap, D as DefaultReporter, a as DotReporter, G as GithubActionsReporter, H as HangingProcessReporter, b as JUnitReporter, J as JsonReporter, R as ReportersMap, c as TapFlatReporter, T as TapReporter, V as VerboseReporter } from './vendor/index.
|
|
1
|
+
export { B as BasicReporter, d as BenchmarkReportsMap, D as DefaultReporter, a as DotReporter, G as GithubActionsReporter, H as HangingProcessReporter, b as JUnitReporter, J as JsonReporter, R as ReportersMap, c as TapFlatReporter, T as TapReporter, V as VerboseReporter } from './vendor/index.CuuL9y4g.js';
|
|
2
2
|
import 'node:fs';
|
|
3
3
|
import 'tinyrainbow';
|
|
4
4
|
import 'pathe';
|
|
@@ -7,8 +7,8 @@ import '@vitest/runner/utils';
|
|
|
7
7
|
import '@vitest/utils';
|
|
8
8
|
import './vendor/env.2ltrQNq0.js';
|
|
9
9
|
import 'std-env';
|
|
10
|
-
import './vendor/utils.
|
|
11
|
-
import './vendor/base.
|
|
10
|
+
import './vendor/utils.BySfPUwy.js';
|
|
11
|
+
import './vendor/base.DRHPZCCj.js';
|
|
12
12
|
import 'node:perf_hooks';
|
|
13
13
|
import '@vitest/utils/source-map';
|
|
14
14
|
import './vendor/index.BJmtb_7W.js';
|
package/dist/runners.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { R as ResolvedConfig, P as Pool } from './reporters-
|
|
1
|
+
import { R as ResolvedConfig, P as Pool } from './reporters-B7ebVMkT.js';
|
|
2
2
|
import { VitestRunner, VitestRunnerImportSource, File, Suite, Task, CancelReason, Test, Custom, TaskContext, ExtendedContext } from '@vitest/runner';
|
|
3
3
|
import * as tinybench from 'tinybench';
|
|
4
4
|
import 'vite';
|
package/dist/runners.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { setState, GLOBAL_EXPECT, getState } from '@vitest/expect';
|
|
2
|
-
import { g as getSnapshotClient, c as createExpect, v as vi } from './vendor/vi.
|
|
2
|
+
import { g as getSnapshotClient, c as createExpect, v as vi } from './vendor/vi.Elqer9-7.js';
|
|
3
3
|
import 'pathe';
|
|
4
4
|
import { g as getTestName } from './vendor/tasks.DhVtQBtW.js';
|
|
5
5
|
import { createDefer, getSafeTimers } from '@vitest/utils';
|
|
@@ -14,7 +14,7 @@ import './vendor/_commonjsHelpers.BFTU3MAI.js';
|
|
|
14
14
|
import '@vitest/snapshot';
|
|
15
15
|
import '@vitest/utils/error';
|
|
16
16
|
import '@vitest/utils/source-map';
|
|
17
|
-
import './vendor/base.
|
|
17
|
+
import './vendor/base.DRHPZCCj.js';
|
|
18
18
|
import './vendor/date.W2xKR2qe.js';
|
|
19
19
|
import '@vitest/spy';
|
|
20
20
|
import 'std-env';
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { Custom } from '@vitest/runner';
|
|
2
2
|
import '@vitest/runner/utils';
|
|
3
|
-
import { ah as BenchFunction, ai as BenchmarkAPI } from './reporters-
|
|
3
|
+
import { ah as BenchFunction, ai as BenchmarkAPI } from './reporters-B7ebVMkT.js';
|
|
4
4
|
import { Options } from 'tinybench';
|
|
5
5
|
|
|
6
6
|
declare function getBenchOptions(key: Custom): Options;
|
package/dist/suite.d.ts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
export { createTaskCollector, getCurrentSuite, getCurrentTest, getFn, getHooks, setFn, setHooks } from '@vitest/runner';
|
|
2
2
|
export { createChainable } from '@vitest/runner/utils';
|
|
3
|
-
export { g as getBenchFn, a as getBenchOptions } from './suite-
|
|
4
|
-
import './reporters-
|
|
3
|
+
export { g as getBenchFn, a as getBenchOptions } from './suite-CRLAhsm0.js';
|
|
4
|
+
import './reporters-B7ebVMkT.js';
|
|
5
5
|
import 'vite';
|
|
6
6
|
import '@vitest/pretty-format';
|
|
7
7
|
import 'vite-node';
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { ModuleCacheMap } from 'vite-node/client';
|
|
2
2
|
import { p as provideWorkerState } from './global.7bFbnyXl.js';
|
|
3
|
-
import { g as getDefaultRequestStubs, s as startVitestExecutor } from './execute.
|
|
3
|
+
import { g as getDefaultRequestStubs, s as startVitestExecutor } from './execute.jzOWtys_.js';
|
|
4
4
|
|
|
5
5
|
let _viteNode;
|
|
6
6
|
const moduleCache = new ModuleCacheMap();
|
|
@@ -26,7 +26,7 @@ async function runBaseTests(method, state) {
|
|
|
26
26
|
ctx.files.forEach((i) => state.moduleCache.delete(i));
|
|
27
27
|
const [executor, { run }] = await Promise.all([
|
|
28
28
|
startViteNode({ state, requestStubs: getDefaultRequestStubs() }),
|
|
29
|
-
import('../chunks/runtime-runBaseTests.
|
|
29
|
+
import('../chunks/runtime-runBaseTests.Dq_sJZq9.js')
|
|
30
30
|
]);
|
|
31
31
|
await run(
|
|
32
32
|
method,
|
|
@@ -69,13 +69,14 @@ function deepMerge(target, ...sources) {
|
|
|
69
69
|
}
|
|
70
70
|
if (isMergeableObject(target) && isMergeableObject(source)) {
|
|
71
71
|
Object.keys(source).forEach((key) => {
|
|
72
|
-
|
|
72
|
+
const _source = source;
|
|
73
|
+
if (isMergeableObject(_source[key])) {
|
|
73
74
|
if (!target[key]) {
|
|
74
75
|
target[key] = {};
|
|
75
76
|
}
|
|
76
|
-
deepMerge(target[key],
|
|
77
|
+
deepMerge(target[key], _source[key]);
|
|
77
78
|
} else {
|
|
78
|
-
target[key] =
|
|
79
|
+
target[key] = _source[key];
|
|
79
80
|
}
|
|
80
81
|
});
|
|
81
82
|
}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { normalize } from 'pathe';
|
|
2
2
|
import { EventEmitter } from 'events';
|
|
3
3
|
import c from 'tinyrainbow';
|
|
4
|
-
import { t as toArray } from './base.
|
|
4
|
+
import { t as toArray } from './base.DRHPZCCj.js';
|
|
5
5
|
import { d as defaultPort, a as defaultBrowserPort } from './constants.CsnA4eRy.js';
|
|
6
6
|
|
|
7
7
|
function toArr(any) {
|
|
@@ -618,7 +618,7 @@ class CAC extends EventEmitter {
|
|
|
618
618
|
|
|
619
619
|
const cac = (name = "") => new CAC(name);
|
|
620
620
|
|
|
621
|
-
var version = "2.0.
|
|
621
|
+
var version = "2.0.4";
|
|
622
622
|
|
|
623
623
|
const apiConfig = (port) => ({
|
|
624
624
|
port: {
|
|
@@ -772,7 +772,7 @@ const cliOptionsConfig = {
|
|
|
772
772
|
array: true
|
|
773
773
|
},
|
|
774
774
|
extension: {
|
|
775
|
-
description: 'Extension to be included in coverage. May be specified more than once when using multiple extensions (default: `[".js", ".cjs", ".mjs", ".ts", ".mts", ".
|
|
775
|
+
description: 'Extension to be included in coverage. May be specified more than once when using multiple extensions (default: `[".js", ".cjs", ".mjs", ".ts", ".mts", ".tsx", ".jsx", ".vue", ".svelte"]`)',
|
|
776
776
|
argument: "<extension>",
|
|
777
777
|
array: true
|
|
778
778
|
},
|
|
@@ -1498,13 +1498,13 @@ async function start(mode, cliFilters, options) {
|
|
|
1498
1498
|
} catch {
|
|
1499
1499
|
}
|
|
1500
1500
|
try {
|
|
1501
|
-
const { startVitest } = await import('./cli-api.
|
|
1501
|
+
const { startVitest } = await import('./cli-api.CTkP2Ier.js').then(function (n) { return n.h; });
|
|
1502
1502
|
const ctx = await startVitest(mode, cliFilters.map(normalize), normalizeCliOptions(options));
|
|
1503
1503
|
if (!(ctx == null ? void 0 : ctx.shouldKeepServer())) {
|
|
1504
1504
|
await (ctx == null ? void 0 : ctx.exit());
|
|
1505
1505
|
}
|
|
1506
1506
|
} catch (e) {
|
|
1507
|
-
const { divider } = await import('./utils.
|
|
1507
|
+
const { divider } = await import('./utils.BySfPUwy.js').then(function (n) { return n.u; });
|
|
1508
1508
|
console.error(`
|
|
1509
1509
|
${c.red(divider(c.bold(c.inverse(" Startup Error "))))}`);
|
|
1510
1510
|
console.error(e);
|
|
@@ -1529,7 +1529,7 @@ async function collect(mode, cliFilters, options) {
|
|
|
1529
1529
|
} catch {
|
|
1530
1530
|
}
|
|
1531
1531
|
try {
|
|
1532
|
-
const { prepareVitest, processCollected } = await import('./cli-api.
|
|
1532
|
+
const { prepareVitest, processCollected } = await import('./cli-api.CTkP2Ier.js').then(function (n) { return n.h; });
|
|
1533
1533
|
const ctx = await prepareVitest(mode, {
|
|
1534
1534
|
...normalizeCliOptions(options),
|
|
1535
1535
|
watch: false,
|
|
@@ -1546,7 +1546,7 @@ async function collect(mode, cliFilters, options) {
|
|
|
1546
1546
|
processCollected(ctx, tests, options);
|
|
1547
1547
|
await ctx.close();
|
|
1548
1548
|
} catch (e) {
|
|
1549
|
-
const { divider } = await import('./utils.
|
|
1549
|
+
const { divider } = await import('./utils.BySfPUwy.js').then(function (n) { return n.u; });
|
|
1550
1550
|
console.error(`
|
|
1551
1551
|
${c.red(divider(c.bold(c.inverse(" Collect Error "))))}`);
|
|
1552
1552
|
console.error(e);
|