vitest 0.6.3 → 0.7.0
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/{chunk-api-setup.1387bc33.js → chunk-api-setup.124ffd49.js} +5 -5
- package/dist/{chunk-constants.15865c75.js → chunk-constants.3c02fa95.js} +2 -2
- package/dist/{chunk-defaults.5e983edd.js → chunk-defaults.00934aae.js} +2 -2
- package/dist/chunk-integrations-globals.f9bdfc7b.js +25 -0
- package/dist/chunk-runtime-chain.4422c0fc.js +7089 -0
- package/dist/chunk-runtime-rpc.d609e403.js +9 -0
- package/dist/chunk-utils-base.7c918096.js +409 -0
- package/dist/chunk-utils-global.7bcfa03c.js +6 -0
- package/dist/chunk-utils-path.f4e6a133.js +267 -0
- package/dist/{chunk-utils-source-map.f852610c.js → chunk-utils-source-map.de9cc412.js} +2 -2
- package/dist/{chunk-vite-node-externalize.3c10a918.js → chunk-vite-node-externalize.7999d177.js} +12 -9
- package/dist/{chunk-vite-node-utils.78bec025.js → chunk-vite-node-utils.42d37fe8.js} +30 -15
- package/dist/cli.js +6 -6
- package/dist/config.d.ts +2 -2
- package/dist/entry.js +18 -15
- package/dist/index.d.ts +13 -3
- package/dist/index.js +6 -5
- package/dist/jest-mock.js +4 -3
- package/dist/node.d.ts +106 -3
- package/dist/node.js +9 -7
- package/dist/worker.js +13 -264
- package/package.json +3 -3
- package/dist/chunk-integrations-globals.f273e501.js +0 -24
- package/dist/chunk-runtime-chain.6e08f23f.js +0 -7088
- package/dist/chunk-runtime-rpc.1832c38c.js +0 -6
- package/dist/chunk-utils-base.4350de31.js +0 -409
package/dist/cli.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { EventEmitter } from 'events';
|
|
2
|
-
import { d as c } from './chunk-utils-base.
|
|
3
|
-
import { v as version, s as startVitest, d as divider } from './chunk-vite-node-externalize.
|
|
2
|
+
import { d as c } from './chunk-utils-base.7c918096.js';
|
|
3
|
+
import { v as version, s as startVitest, d as divider } from './chunk-vite-node-externalize.7999d177.js';
|
|
4
4
|
import 'path';
|
|
5
5
|
import 'tty';
|
|
6
6
|
import 'local-pkg';
|
|
@@ -16,13 +16,13 @@ import 'assert';
|
|
|
16
16
|
import 'url';
|
|
17
17
|
import 'os';
|
|
18
18
|
import 'vite';
|
|
19
|
-
import './chunk-constants.
|
|
20
|
-
import './chunk-vite-node-utils.
|
|
19
|
+
import './chunk-constants.3c02fa95.js';
|
|
20
|
+
import './chunk-vite-node-utils.42d37fe8.js';
|
|
21
21
|
import 'module';
|
|
22
22
|
import 'vm';
|
|
23
|
-
import './chunk-defaults.
|
|
23
|
+
import './chunk-defaults.00934aae.js';
|
|
24
24
|
import 'perf_hooks';
|
|
25
|
-
import './chunk-utils-source-map.
|
|
25
|
+
import './chunk-utils-source-map.de9cc412.js';
|
|
26
26
|
import 'worker_threads';
|
|
27
27
|
import 'tinypool';
|
|
28
28
|
import './chunk-magic-string.d5e0e473.js';
|
package/dist/config.d.ts
CHANGED
|
@@ -92,7 +92,7 @@ interface DepsHandlingOptions {
|
|
|
92
92
|
inline?: (string | RegExp)[];
|
|
93
93
|
/**
|
|
94
94
|
* Try to guess the CJS version of a package when it's invalid ESM
|
|
95
|
-
* @default
|
|
95
|
+
* @default false
|
|
96
96
|
*/
|
|
97
97
|
fallbackCJS?: boolean;
|
|
98
98
|
}
|
|
@@ -665,7 +665,7 @@ interface InlineConfig {
|
|
|
665
665
|
* This will significantly improve the performance in huge repo, but might potentially
|
|
666
666
|
* cause some misalignment if a package have different logic in ESM and CJS mode.
|
|
667
667
|
*
|
|
668
|
-
* @default
|
|
668
|
+
* @default false
|
|
669
669
|
*/
|
|
670
670
|
fallbackCJS?: boolean;
|
|
671
671
|
};
|