vitest 1.5.0 → 1.5.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 (36) hide show
  1. package/dist/browser.d.ts +2 -1
  2. package/dist/browser.js +1 -1
  3. package/dist/chunks/{integrations-globals.2J_Aii2q.js → integrations-globals.k0N5-dd1.js} +2 -2
  4. package/dist/chunks/{runtime-runBaseTests.3fVSWBsC.js → runtime-runBaseTests.-x-nNuJ_.js} +4 -4
  5. package/dist/cli.js +2 -60
  6. package/dist/config.d.ts +2 -1
  7. package/dist/coverage.d.ts +4 -2
  8. package/dist/coverage.js +2 -2
  9. package/dist/environments.d.ts +2 -1
  10. package/dist/execute.d.ts +2 -1
  11. package/dist/index.d.ts +5 -4
  12. package/dist/index.js +3 -3
  13. package/dist/node.d.ts +26 -4
  14. package/dist/node.js +11 -9
  15. package/dist/{reporters-LqC_WI4d.d.ts → reporters-xEmem8D4.d.ts} +88 -41
  16. package/dist/reporters.d.ts +2 -1
  17. package/dist/reporters.js +3 -2
  18. package/dist/runners.d.ts +2 -1
  19. package/dist/runners.js +1 -1
  20. package/dist/{suite-ynYMzeLu.d.ts → suite-HPAKvIxA.d.ts} +1 -1
  21. package/dist/suite.d.ts +3 -2
  22. package/dist/vendor/{base.BjeeYg4o.js → base.gAwDs8Jc.js} +1 -1
  23. package/dist/vendor/cac.8mXc9Oj6.js +1406 -0
  24. package/dist/vendor/{cac.qnW6GNL2.js → cli-api._n4_Wp_j.js} +139 -1542
  25. package/dist/vendor/{index.12jbrDSD.js → index.0RrMQKD8.js} +1 -1
  26. package/dist/vendor/{index.kSaPvGW6.js → index.GlXSU9xI.js} +21 -208
  27. package/dist/vendor/{index.-ITFwqG_.js → index.gHZzsRJQ.js} +1 -1
  28. package/dist/vendor/{setup-common.A1De6efh.js → setup-common.7SXMSI--.js} +5 -2
  29. package/dist/vendor/utils.VYmeMh-u.js +217 -0
  30. package/dist/vendor/{vi.Fxjax7rQ.js → vi.Y_w82WR8.js} +5 -1
  31. package/dist/workers/forks.js +1 -1
  32. package/dist/workers/runVmTests.js +4 -4
  33. package/dist/workers/threads.js +1 -1
  34. package/dist/workers.d.ts +2 -1
  35. package/dist/workers.js +1 -1
  36. package/package.json +9 -9
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "vitest",
3
3
  "type": "module",
4
- "version": "1.5.0",
4
+ "version": "1.5.2",
5
5
  "description": "Next generation testing framework powered by Vite",
6
6
  "author": "Anthony Fu <anthonyfu117@hotmail.com>",
7
7
  "license": "MIT",
@@ -115,8 +115,8 @@
115
115
  "@types/node": "^18.0.0 || >=20.0.0",
116
116
  "happy-dom": "*",
117
117
  "jsdom": "*",
118
- "@vitest/ui": "1.5.0",
119
- "@vitest/browser": "1.5.0"
118
+ "@vitest/browser": "1.5.2",
119
+ "@vitest/ui": "1.5.2"
120
120
  },
121
121
  "peerDependenciesMeta": {
122
122
  "@edge-runtime/vm": {
@@ -153,12 +153,12 @@
153
153
  "tinypool": "^0.8.3",
154
154
  "vite": "^5.0.0",
155
155
  "why-is-node-running": "^2.2.2",
156
- "@vitest/expect": "1.5.0",
157
- "@vitest/snapshot": "1.5.0",
158
- "@vitest/spy": "1.5.0",
159
- "@vitest/utils": "1.5.0",
160
- "vite-node": "1.5.0",
161
- "@vitest/runner": "1.5.0"
156
+ "@vitest/expect": "1.5.2",
157
+ "@vitest/runner": "1.5.2",
158
+ "@vitest/spy": "1.5.2",
159
+ "@vitest/utils": "1.5.2",
160
+ "vite-node": "1.5.2",
161
+ "@vitest/snapshot": "1.5.2"
162
162
  },
163
163
  "devDependencies": {
164
164
  "@ampproject/remapping": "^2.2.1",