vitest 0.25.2 → 0.25.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.
Files changed (34) hide show
  1. package/LICENSE.md +47 -2
  2. package/dist/browser.d.ts +3 -3
  3. package/dist/browser.js +10 -9
  4. package/dist/{chunk-api-setup.c5a9009c.js → chunk-api-setup.1c8923c4.js} +4 -2
  5. package/dist/{chunk-integrations-globals.06c8d418.js → chunk-integrations-globals.789c69e2.js} +7 -7
  6. package/dist/{chunk-runtime-chain.a0b441dc.js → chunk-runtime-chain.315721df.js} +25 -9
  7. package/dist/{chunk-runtime-error.6287172c.js → chunk-runtime-error.95c286d7.js} +2 -2
  8. package/dist/{chunk-runtime-mocker.a5151f99.js → chunk-runtime-mocker.cdc0ec57.js} +35 -19
  9. package/dist/{chunk-runtime-rpc.1e7530d3.js → chunk-runtime-rpc.b368762d.js} +2 -2
  10. package/dist/chunk-runtime-setup.80b27439.js +659 -0
  11. package/dist/{chunk-runtime-test-state.3cbc4575.js → chunk-runtime-test-state.7c288e2d.js} +78 -39
  12. package/dist/{chunk-typecheck-constants.4891f22f.js → chunk-typecheck-constants.ed987901.js} +12 -2
  13. package/dist/{chunk-utils-source-map.c6dfbbc1.js → chunk-utils-source-map.29ff1088.js} +3 -1
  14. package/dist/{chunk-utils-timers.06f993db.js → chunk-utils-timers.b81cda77.js} +2 -0
  15. package/dist/{chunk-vite-node-externalize.72a4d20b.js → chunk-vite-node-externalize.ddcbafa3.js} +59 -29
  16. package/dist/{chunk-vite-node-client.85cc7113.js → chunk-vite-node-source-map.61c5ea66.js} +37 -11
  17. package/dist/{chunk-vite-node-utils.8f0b4a12.js → chunk-vite-node-utils.abe05c5c.js} +105 -120
  18. package/dist/cli.js +14 -10
  19. package/dist/config.cjs +2 -1
  20. package/dist/config.d.ts +2 -1
  21. package/dist/config.js +2 -1
  22. package/dist/entry.js +9 -8
  23. package/dist/environments.d.ts +1 -1
  24. package/dist/{index-2f5b6168.d.ts → index-81973d31.d.ts} +1 -1
  25. package/dist/index.d.ts +5 -5
  26. package/dist/index.js +7 -7
  27. package/dist/loader.js +2 -2
  28. package/dist/node.d.ts +5 -4
  29. package/dist/node.js +9 -8
  30. package/dist/suite.js +6 -6
  31. package/dist/{types-f302dae9.d.ts → types-1cf24598.d.ts} +71 -24
  32. package/dist/{chunk-runtime-setup.419ccdd8.js → vendor-source-map-support.1ce17397.js} +1 -657
  33. package/dist/worker.js +9 -7
  34. package/package.json +6 -6
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "vitest",
3
3
  "type": "module",
4
- "version": "0.25.2",
4
+ "version": "0.25.4",
5
5
  "description": "A blazing fast unit test framework powered by Vite",
6
6
  "author": "Anthony Fu <anthonyfu117@hotmail.com>",
7
7
  "license": "MIT",
@@ -109,7 +109,7 @@
109
109
  "debug": "^4.3.4",
110
110
  "local-pkg": "^0.4.2",
111
111
  "source-map": "^0.6.1",
112
- "strip-literal": "^0.4.2",
112
+ "strip-literal": "^1.0.0",
113
113
  "tinybench": "^2.3.1",
114
114
  "tinypool": "^0.3.0",
115
115
  "tinyspy": "^1.0.2",
@@ -125,7 +125,7 @@
125
125
  "@types/natural-compare": "^1.4.1",
126
126
  "@types/prompts": "^2.4.1",
127
127
  "@types/sinonjs__fake-timers": "^8.1.2",
128
- "@vitest/ui": "0.25.2",
128
+ "@vitest/ui": "0.25.4",
129
129
  "birpc": "^0.2.3",
130
130
  "cac": "^6.7.14",
131
131
  "chai-subset": "^1.6.0",
@@ -143,7 +143,7 @@
143
143
  "log-update": "^5.0.1",
144
144
  "magic-string": "^0.26.7",
145
145
  "micromatch": "^4.0.5",
146
- "mlly": "^0.5.16",
146
+ "mlly": "^1.0.0",
147
147
  "natural-compare": "^1.4.0",
148
148
  "p-limit": "^4.0.0",
149
149
  "pathe": "^0.2.0",
@@ -154,11 +154,11 @@
154
154
  "rollup": "^2.79.1",
155
155
  "strip-ansi": "^7.0.1",
156
156
  "typescript": "^4.8.4",
157
- "vite-node": "0.25.2",
157
+ "vite-node": "0.25.4",
158
158
  "ws": "^8.11.0"
159
159
  },
160
160
  "scripts": {
161
161
  "build": "rimraf dist && rollup -c",
162
- "dev": "cross-env NODE_OPTIONS=\"--max-old-space-size=8192\" rollup -c --watch -m inline"
162
+ "dev": "NODE_OPTIONS=\"--max-old-space-size=8192\" rollup -c --watch -m inline"
163
163
  }
164
164
  }