vitest 1.0.0-beta.1 → 1.0.0-beta.2

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.
Files changed (40) hide show
  1. package/dist/browser.d.ts +2 -2
  2. package/dist/browser.js +2 -2
  3. package/dist/child.js +1 -1
  4. package/dist/{chunk-api-setup.0aeabd21.js → chunk-api-setup.5d9a93c7.js} +3 -0
  5. package/dist/{chunk-install-pkg.a430b45e.js → chunk-install-pkg.43d58972.js} +17 -14
  6. package/dist/{chunk-integrations-globals.c3c5e678.js → chunk-integrations-globals.9df12d91.js} +2 -3
  7. package/dist/{chunk-node-git.36288174.js → chunk-node-git.2f1df48f.js} +1 -1
  8. package/dist/{chunk-runtime-console.ea222ffb.js → chunk-runtime-console.f3263f87.js} +19 -4
  9. package/dist/cli-wrapper.js +1 -1
  10. package/dist/cli.js +7 -4
  11. package/dist/config.cjs +2 -1
  12. package/dist/config.d.ts +2 -2
  13. package/dist/config.js +2 -1
  14. package/dist/coverage.d.ts +1 -1
  15. package/dist/entry-vm.js +8 -3
  16. package/dist/entry.js +9 -4
  17. package/dist/environments.d.ts +1 -1
  18. package/dist/environments.js +1 -1
  19. package/dist/execute.d.ts +1 -1
  20. package/dist/index.d.ts +5 -4
  21. package/dist/index.js +3 -4
  22. package/dist/node.d.ts +2 -2
  23. package/dist/node.js +8 -5
  24. package/dist/{reporters-7bd09217.d.ts → reporters-d10f25e1.d.ts} +23 -18
  25. package/dist/reporters.d.ts +1 -1
  26. package/dist/reporters.js +6 -1
  27. package/dist/runners.d.ts +1 -1
  28. package/dist/runners.js +1 -2
  29. package/dist/{suite-543d56bd.d.ts → suite-919dd548.d.ts} +1 -1
  30. package/dist/suite.d.ts +2 -2
  31. package/dist/{vendor-environments.e73c5410.js → vendor-environments.094f240c.js} +2 -0
  32. package/dist/{vendor-index.f7fcd5e8.js → vendor-index.68ecee35.js} +1 -1
  33. package/dist/{vendor-index.85fc950a.js → vendor-index.e006069f.js} +4 -4
  34. package/dist/{vendor-node.bde9fb47.js → vendor-node.e5a35bfe.js} +83 -46
  35. package/dist/{vendor-reporters.f6975b8d.js → vendor-reporters.2953082e.js} +2 -1
  36. package/dist/vendor-vi.d30b47ae.js +3510 -0
  37. package/dist/vm.js +2 -2
  38. package/dist/worker.js +1 -1
  39. package/package.json +9 -9
  40. package/dist/vendor-vi.7f2b988f.js +0 -3491
package/dist/vm.js CHANGED
@@ -7,9 +7,9 @@ import { c as createBirpc } from './vendor-index.1ca68bd5.js';
7
7
  import { resolve } from 'pathe';
8
8
  import { installSourcemapsSupport } from 'vite-node/source-map';
9
9
  import { d as distDir } from './vendor-paths.84fc7a99.js';
10
- import { l as loadEnvironment } from './vendor-environments.e73c5410.js';
10
+ import { l as loadEnvironment } from './vendor-environments.094f240c.js';
11
11
  import { b as startVitestExecutor } from './vendor-execute.07d1a420.js';
12
- import { createCustomConsole } from './chunk-runtime-console.ea222ffb.js';
12
+ import { createCustomConsole } from './chunk-runtime-console.f3263f87.js';
13
13
  import { c as createSafeRpc } from './vendor-rpc.cbd8e972.js';
14
14
  import './vendor-index.0b5b3600.js';
15
15
  import 'acorn';
package/dist/worker.js CHANGED
@@ -2,7 +2,7 @@ import { performance } from 'node:perf_hooks';
2
2
  import { c as createBirpc } from './vendor-index.1ca68bd5.js';
3
3
  import { workerId } from 'tinypool';
4
4
  import { g as getWorkerState } from './vendor-global.97e4527c.js';
5
- import { l as loadEnvironment } from './vendor-environments.e73c5410.js';
5
+ import { l as loadEnvironment } from './vendor-environments.094f240c.js';
6
6
  import { s as startViteNode, m as moduleCache, a as mockMap } from './vendor-execute.07d1a420.js';
7
7
  import { s as setupInspect } from './vendor-inspector.209edf5a.js';
8
8
  import { r as rpcDone, c as createSafeRpc } from './vendor-rpc.cbd8e972.js';
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "vitest",
3
3
  "type": "module",
4
- "version": "1.0.0-beta.1",
4
+ "version": "1.0.0-beta.2",
5
5
  "description": "Next generation testing framework powered by Vite",
6
6
  "author": "Anthony Fu <anthonyfu117@hotmail.com>",
7
7
  "license": "MIT",
@@ -147,7 +147,7 @@
147
147
  "chai": "^4.3.10",
148
148
  "debug": "^4.3.4",
149
149
  "local-pkg": "^0.4.3",
150
- "magic-string": "^0.30.1",
150
+ "magic-string": "^0.30.4",
151
151
  "pathe": "^1.1.1",
152
152
  "picocolors": "^1.0.0",
153
153
  "std-env": "^3.3.3",
@@ -156,18 +156,18 @@
156
156
  "tinypool": "^0.8.1",
157
157
  "vite": "^3.1.0 || ^4.0.0 || ^5.0.0-0",
158
158
  "why-is-node-running": "^2.2.2",
159
- "@vitest/runner": "1.0.0-beta.1",
160
- "@vitest/snapshot": "1.0.0-beta.1",
161
- "@vitest/utils": "1.0.0-beta.1",
162
- "vite-node": "1.0.0-beta.1",
163
- "@vitest/spy": "1.0.0-beta.1",
164
- "@vitest/expect": "1.0.0-beta.1"
159
+ "@vitest/runner": "1.0.0-beta.2",
160
+ "@vitest/snapshot": "1.0.0-beta.2",
161
+ "vite-node": "1.0.0-beta.2",
162
+ "@vitest/utils": "1.0.0-beta.2",
163
+ "@vitest/spy": "1.0.0-beta.2",
164
+ "@vitest/expect": "1.0.0-beta.2"
165
165
  },
166
166
  "devDependencies": {
167
167
  "@ampproject/remapping": "^2.2.1",
168
168
  "@antfu/install-pkg": "^0.1.1",
169
169
  "@edge-runtime/vm": "3.0.3",
170
- "@sinonjs/fake-timers": "^11.0.0",
170
+ "@sinonjs/fake-timers": "11.1.0",
171
171
  "@types/diff": "^5.0.3",
172
172
  "@types/estree": "^1.0.1",
173
173
  "@types/istanbul-lib-coverage": "^2.0.4",