vitest 0.0.98 → 0.0.99

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.
@@ -0,0 +1,19 @@
1
+ import { g as globalApis } from './constants-3cbd9066.js';
2
+ import { i as index } from './index-af51d171.js';
3
+ import 'url';
4
+ import './utils-b780070b.js';
5
+ import 'tty';
6
+ import 'local-pkg';
7
+ import 'path';
8
+ import './index-aa25bceb.js';
9
+ import './index-9e71c815.js';
10
+ import './_commonjsHelpers-bdec4bbd.js';
11
+ import 'tinyspy';
12
+
13
+ function registerApiGlobally() {
14
+ globalApis.forEach((api) => {
15
+ globalThis[api] = index[api];
16
+ });
17
+ }
18
+
19
+ export { registerApiGlobally };
@@ -2,7 +2,8 @@ import path$5 from 'path';
2
2
  import fs$5 from 'fs';
3
3
  import require$$0 from 'util';
4
4
  import require$$0$1 from 'child_process';
5
- import { c as commonjsGlobal, a as signalExit, b as onetime$1 } from './index-5cc247ff.js';
5
+ import { c as commonjsGlobal } from './_commonjsHelpers-bdec4bbd.js';
6
+ import { a as signalExit, b as onetime$1 } from './index-825cb54c.js';
6
7
  import require$$0$2 from 'os';
7
8
  import require$$0$4 from 'buffer';
8
9
  import require$$0$3 from 'stream';
@@ -1,8 +1,7 @@
1
+ import { c as commonjsGlobal } from './_commonjsHelpers-bdec4bbd.js';
1
2
  import assert$1 from 'assert';
2
3
  import require$$2 from 'events';
3
4
 
4
- var commonjsGlobal = typeof globalThis !== 'undefined' ? globalThis : typeof window !== 'undefined' ? window : typeof global !== 'undefined' ? global : typeof self !== 'undefined' ? self : {};
5
-
6
5
  var onetime$2 = {exports: {}};
7
6
 
8
7
  var mimicFn$2 = {exports: {}};
@@ -328,4 +327,4 @@ if (!processOk(process$1)) {
328
327
 
329
328
  var signalExit = signalExit$1.exports;
330
329
 
331
- export { signalExit$1 as a, onetime$2 as b, commonjsGlobal as c, onetime$1 as o, signalExit as s };
330
+ export { signalExit$1 as a, onetime$2 as b, onetime$1 as o, signalExit as s };