mirror of
https://github.com/toeverything/AFFiNE.git
synced 2024-12-26 16:04:46 +03:00
chore: bump up vitest monorepo to v1 (major) (#5217)
[![Mend Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com)
This PR contains the following updates:
| Package | Change | Age | Adoption | Passing | Confidence |
|---|---|---|---|---|---|
| [@vitest/coverage-istanbul](https://togithub.com/vitest-dev/vitest/tree/main/packages/coverage-istanbul#readme) ([source](https://togithub.com/vitest-dev/vitest/tree/HEAD/packages/coverage-istanbul)) | [`0.34.6` -> `1.0.4`](https://renovatebot.com/diffs/npm/@vitest%2fcoverage-istanbul/0.34.6/1.0.4) | [![age](https://developer.mend.io/api/mc/badges/age/npm/@vitest%2fcoverage-istanbul/1.0.4?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/@vitest%2fcoverage-istanbul/1.0.4?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/@vitest%2fcoverage-istanbul/0.34.6/1.0.4?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/@vitest%2fcoverage-istanbul/0.34.6/1.0.4?slim=true)](https://docs.renovatebot.com/merge-confidence/) |
| [@vitest/ui](https://togithub.com/vitest-dev/vitest/tree/main/packages/ui#readme) ([source](https://togithub.com/vitest-dev/vitest/tree/HEAD/packages/ui)) | [`0.34.6` -> `1.0.4`](https://renovatebot.com/diffs/npm/@vitest%2fui/0.34.6/1.0.4) | [![age](https://developer.mend.io/api/mc/badges/age/npm/@vitest%2fui/1.0.4?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/@vitest%2fui/1.0.4?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/@vitest%2fui/0.34.6/1.0.4?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/@vitest%2fui/0.34.6/1.0.4?slim=true)](https://docs.renovatebot.com/merge-confidence/) |
| [vitest](https://togithub.com/vitest-dev/vitest) ([source](https://togithub.com/vitest-dev/vitest/tree/HEAD/packages/vitest)) | [`0.34.6` -> `1.0.4`](https://renovatebot.com/diffs/npm/vitest/0.34.6/1.0.4) | [![age](https://developer.mend.io/api/mc/badges/age/npm/vitest/1.0.4?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/vitest/1.0.4?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/vitest/0.34.6/1.0.4?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/vitest/0.34.6/1.0.4?slim=true)](https://docs.renovatebot.com/merge-confidence/) |
---
### Release Notes
<details>
<summary>vitest-dev/vitest (@​vitest/coverage-istanbul)</summary>
### [`v1.0.4`](https://togithub.com/vitest-dev/vitest/releases/tag/v1.0.4)
[Compare Source](https://togithub.com/vitest-dev/vitest/compare/v1.0.3...v1.0.4)
The previous release was built incorrectly and didn't include the performance fix. This release fixes that.
##### 🐞 Bug Fixes
- **cli**: `--coverage.all=false` resolved incorrectly - by [@​AriPerkkio](https://togithub.com/AriPerkkio) in [https://github.com/vitest-dev/vitest/issues/4697](https://togithub.com/vitest-dev/vitest/issues/4697) [<samp>(a7931)</samp>](https://togithub.com/vitest-dev/vitest/commit/a7931bbf)
##### 🏎 Performance
- **reporters**: Downgrade `log-update` to v5 - by [@​AriPerkkio](https://togithub.com/AriPerkkio) in [https://github.com/vitest-dev/vitest/issues/4711](https://togithub.com/vitest-dev/vitest/issues/4711) [<samp>(13ff9)</samp>](https://togithub.com/vitest-dev/vitest/commit/13ff97a3)
##### [View changes on GitHub](https://togithub.com/vitest-dev/vitest/compare/v1.0.3...v1.0.4)
### [`v1.0.3`](https://togithub.com/vitest-dev/vitest/releases/tag/v1.0.3)
[Compare Source](https://togithub.com/vitest-dev/vitest/compare/v1.0.2...v1.0.3)
##### 🐞 Bug Fixes
- Correct package exports - by [@​userquin](https://togithub.com/userquin) in [https://github.com/vitest-dev/vitest/issues/4707](https://togithub.com/vitest-dev/vitest/issues/4707) [<samp>(37388)</samp>](https://togithub.com/vitest-dev/vitest/commit/37388d69)
- **runner**: Fix async fixture teardown - by [@​hi-ogawa](https://togithub.com/hi-ogawa) in [https://github.com/vitest-dev/vitest/issues/4700](https://togithub.com/vitest-dev/vitest/issues/4700) [<samp>(92afd)</samp>](https://togithub.com/vitest-dev/vitest/commit/92afd54c)
- **vitest**: Correctly filter changed files when Vitest workspace is used - by [@​sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/4693](https://togithub.com/vitest-dev/vitest/issues/4693) [<samp>(34135)</samp>](https://togithub.com/vitest-dev/vitest/commit/3413518b)
##### 🏎 Performance
- **reporters**: Downgrade `log-update` to v5 - by [@​AriPerkkio](https://togithub.com/AriPerkkio) in [https://github.com/vitest-dev/vitest/issues/4711](https://togithub.com/vitest-dev/vitest/issues/4711) [<samp>(13ff9)</samp>](https://togithub.com/vitest-dev/vitest/commit/13ff97a3)
##### [View changes on GitHub](https://togithub.com/vitest-dev/vitest/compare/v1.0.2...v1.0.3)
### [`v1.0.2`](https://togithub.com/vitest-dev/vitest/releases/tag/v1.0.2)
[Compare Source](https://togithub.com/vitest-dev/vitest/compare/v1.0.1...v1.0.2)
##### 🐞 Bug Fixes
- Don't check if vite is installed - by [@​wojtekmaj](https://togithub.com/wojtekmaj) in [https://github.com/vitest-dev/vitest/issues/4659](https://togithub.com/vitest-dev/vitest/issues/4659) [<samp>(775e2)</samp>](https://togithub.com/vitest-dev/vitest/commit/775e2014)
- Fix ensurePackageInstalled on Yarn PnP - by [@​wojtekmaj](https://togithub.com/wojtekmaj) in [https://github.com/vitest-dev/vitest/issues/4657](https://togithub.com/vitest-dev/vitest/issues/4657) [<samp>(574cc)</samp>](https://togithub.com/vitest-dev/vitest/commit/574cc7d0)
- Apply `stripSnapshotIndentation` for thrown snapshot - by [@​hi-ogawa](https://togithub.com/hi-ogawa) in [https://github.com/vitest-dev/vitest/issues/4663](https://togithub.com/vitest-dev/vitest/issues/4663) [<samp>(74820)</samp>](https://togithub.com/vitest-dev/vitest/commit/748205dc)
- **cli**:
- Prompted packages fail to install - by [@​AriPerkkio](https://togithub.com/AriPerkkio) in [https://github.com/vitest-dev/vitest/issues/4593](https://togithub.com/vitest-dev/vitest/issues/4593) [<samp>(a9908)</samp>](https://togithub.com/vitest-dev/vitest/commit/a9908453)
- **expect**:
- Apply `URL` equality check only when `URL` is available - by [@​hi-ogawa](https://togithub.com/hi-ogawa) in [https://github.com/vitest-dev/vitest/issues/4670](https://togithub.com/vitest-dev/vitest/issues/4670) [<samp>(43783)</samp>](https://togithub.com/vitest-dev/vitest/commit/43783cfe)
- **runner**:
- Improve fixture error messages - by [@​sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/4673](https://togithub.com/vitest-dev/vitest/issues/4673) [<samp>(1e4aa)</samp>](https://togithub.com/vitest-dev/vitest/commit/1e4aa8e4)
- Fix fixture cleanup when test times out - by [@​hi-ogawa](https://togithub.com/hi-ogawa) in [https://github.com/vitest-dev/vitest/issues/4679](https://togithub.com/vitest-dev/vitest/issues/4679) [<samp>(e7c5e)</samp>](https://togithub.com/vitest-dev/vitest/commit/e7c5e1f7)
- **vitest**:
- Support new Request('/api') in happy-dom - by [@​sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/4671](https://togithub.com/vitest-dev/vitest/issues/4671) [<samp>(6e6ee)</samp>](https://togithub.com/vitest-dev/vitest/commit/6e6ee10e)
- Skip processing getter in auto-mocked constructor call - by [@​hi-ogawa](https://togithub.com/hi-ogawa) in [https://github.com/vitest-dev/vitest/issues/4677](https://togithub.com/vitest-dev/vitest/issues/4677) [<samp>(cb786)</samp>](https://togithub.com/vitest-dev/vitest/commit/cb7864aa)
##### [View changes on GitHub](https://togithub.com/vitest-dev/vitest/compare/v1.0.1...v1.0.2)
### [`v1.0.1`](https://togithub.com/vitest-dev/vitest/releases/tag/v1.0.1)
[Compare Source](https://togithub.com/vitest-dev/vitest/compare/v1.0.0...v1.0.1)
##### 🐞 Bug Fixes
- Bump vitest packages `peerDependencies` versions - by [@​AriPerkkio](https://togithub.com/AriPerkkio) in [https://github.com/vitest-dev/vitest/issues/4654](https://togithub.com/vitest-dev/vitest/issues/4654) [<samp>(42070)</samp>](https://togithub.com/vitest-dev/vitest/commit/420707fc)
##### [View changes on GitHub](https://togithub.com/vitest-dev/vitest/compare/v1.0.0...v1.0.1)
### [`v1.0.0`](https://togithub.com/vitest-dev/vitest/releases/tag/v1.0.0)
[Compare Source](https://togithub.com/vitest-dev/vitest/compare/v0.34.6...v1.0.0)
Vitest 1.0 is here! This release page lists all changes made to the project during the beta. For the migration guide, please refer to the [documentation](https://vitest.dev/guide/migration.html#migrating-from-vitest-0-34-6).
##### 🚨 Breaking Changes
- Add support for `pool` and `poolOptions`, remove old flags - by [@​AriPerkkio](https://togithub.com/AriPerkkio) in [https://github.com/vitest-dev/vitest/issues/4172](https://togithub.com/vitest-dev/vitest/issues/4172) [<samp>(114a9)</samp>](https://togithub.com/vitest-dev/vitest/commit/114a993c)
- Support multiple parallel `child_process` - by [@​AriPerkkio](https://togithub.com/AriPerkkio) in [https://github.com/vitest-dev/vitest/issues/3925](https://togithub.com/vitest-dev/vitest/issues/3925) [<samp>(8b4a4)</samp>](https://togithub.com/vitest-dev/vitest/commit/8b4a44ad)
- Make snapshots more visually pleasing by [@​sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/pull/3961](https://togithub.com/vitest-dev/vitest/pull/3961)
- Set `vitest` peer dependency range for sub packages - by [@​AriPerkkio](https://togithub.com/AriPerkkio) in [https://github.com/vitest-dev/vitest/issues/4299](https://togithub.com/vitest-dev/vitest/issues/4299) [<samp>(cd03c)</samp>](https://togithub.com/vitest-dev/vitest/commit/cd03cb51)
- Bump minimum node version to 18 and match Vite 5 requirement - by [@​ghiscoding](https://togithub.com/ghiscoding) in [https://github.com/vitest-dev/vitest/issues/4296](https://togithub.com/vitest-dev/vitest/issues/4296) [<samp>(263b7)</samp>](https://togithub.com/vitest-dev/vitest/commit/263b7167)
- Remove deprecated node loader - by [@​sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/4371](https://togithub.com/vitest-dev/vitest/issues/4371) [<samp>(29299)</samp>](https://togithub.com/vitest-dev/vitest/commit/29299f3c)
- Move browser providers to [@​vitest/browser](https://togithub.com/vitest/browser) package - by [@​sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/4364](https://togithub.com/vitest-dev/vitest/issues/4364) [<samp>(5cdeb)</samp>](https://togithub.com/vitest-dev/vitest/commit/5cdeb558)
- Remove EnhancedSpy type, deprecate SpyInstance, improve mocks and vi documentation - by [@​sheremet-va](https://togithub.com/sheremet-va) and [@​dammy001](https://togithub.com/dammy001) in [https://github.com/vitest-dev/vitest/issues/4400](https://togithub.com/vitest-dev/vitest/issues/4400) [<samp>(d40b3)</samp>](https://togithub.com/vitest-dev/vitest/commit/d40b3a58)
- `expect().toContain()` can handle classList, Node.contains, and any array-like structure. This means you cannot use it to check if one object is a subset of another - use `expect().toMatchObject()` in that case - by [@​sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/4239](https://togithub.com/vitest-dev/vitest/issues/4239) [<samp>(ce84f)</samp>](https://togithub.com/vitest-dev/vitest/commit/ce84f069)
- **runner**: Correctly process custom tasks, update runner hooks naming by [@​sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/pull/4076](https://togithub.com/vitest-dev/vitest/pull/4076)
- **coverage**:
- glob based coverage thresholds by [@​AriPerkkio](https://togithub.com/AriPerkkio) in [https://github.com/vitest-dev/vitest/pull/4442](https://togithub.com/vitest-dev/vitest/pull/4442) [<samp>(18300)</samp>](4953410e8d
)
- Use `transformMode` and workspace project based source maps - by [@​AriPerkkio](https://togithub.com/AriPerkkio) in [https://github.com/vitest-dev/vitest/issues/4309](https://togithub.com/vitest-dev/vitest/issues/4309) [<samp>(28109cc)</samp>](https://togithub.com/vitest-dev/vitest/commit/28109cc)
- Enable `coverage.all` by default - by [@​AriPerkkio](https://togithub.com/AriPerkkio) in [https://github.com/vitest-dev/vitest/issues/4265](https://togithub.com/vitest-dev/vitest/issues/4265) [<samp>(5a741)</samp>](https://togithub.com/vitest-dev/vitest/commit/5a741ca2)
##### 🚀 Features
- Add Marko example and include code coverage for Marko files - by [@​DylanPiercey](https://togithub.com/DylanPiercey) in [https://github.com/vitest-dev/vitest/issues/4263](https://togithub.com/vitest-dev/vitest/issues/4263) [<samp>(eac77)</samp>](https://togithub.com/vitest-dev/vitest/commit/eac77765)
- Update magic-string - by [@​bluwy](https://togithub.com/bluwy) in [https://github.com/vitest-dev/vitest/issues/4345](https://togithub.com/vitest-dev/vitest/issues/4345) [<samp>(fde18)</samp>](https://togithub.com/vitest-dev/vitest/commit/fde1843e)
- Implement provide/inject API to transfer data from the main thread - by [@​sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/4422](https://togithub.com/vitest-dev/vitest/issues/4422) [<samp>(a7522)</samp>](https://togithub.com/vitest-dev/vitest/commit/a75228f1)
- Improve expectTypeOf error messages - by [@​mmkal](https://togithub.com/mmkal), **Misha Kaletsky** and [@​sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/4206](https://togithub.com/vitest-dev/vitest/issues/4206) [<samp>(18300)</samp>](https://togithub.com/vitest-dev/vitest/commit/183005e9)
- Add test.sequential() api - by [@​dsyddall](https://togithub.com/dsyddall) in [https://github.com/vitest-dev/vitest/issues/4512](https://togithub.com/vitest-dev/vitest/issues/4512) [<samp>(c3619)</samp>](https://togithub.com/vitest-dev/vitest/commit/c3619c78)
- Allow custom pools - by [@​sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/4417](https://togithub.com/vitest-dev/vitest/issues/4417) [<samp>(a3fd5)</samp>](https://togithub.com/vitest-dev/vitest/commit/a3fd5f85)
- Add --project option to limit what projects are running - by [@​sheremet-va](https://togithub.com/sheremet-va), [@​dammy001](https://togithub.com/dammy001) and [@​AriPerkkio](https://togithub.com/AriPerkkio) in [https://github.com/vitest-dev/vitest/issues/4561](https://togithub.com/vitest-dev/vitest/issues/4561) [<samp>(58ef5)</samp>](https://togithub.com/vitest-dev/vitest/commit/58ef51a9)
- **benchmark**:
- Move importTinybench to runner - by [@​Dunqing](https://togithub.com/Dunqing) in [https://github.com/vitest-dev/vitest/issues/4376](https://togithub.com/vitest-dev/vitest/issues/4376) [<samp>(c36d2)</samp>](https://togithub.com/vitest-dev/vitest/commit/c36d2b97)
- **browser**:
- Support "none" provider and update lit example to use it - by [@​sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/4427](https://togithub.com/vitest-dev/vitest/issues/4427) [<samp>(d03a2)</samp>](https://togithub.com/vitest-dev/vitest/commit/d03a2a21)
- **coverage**:
- Support `/* v8 ignore...` ignore hints - by [@​AriPerkkio](https://togithub.com/AriPerkkio) in [https://github.com/vitest-dev/vitest/issues/4573](https://togithub.com/vitest-dev/vitest/issues/4573) [<samp>(f9e4a)</samp>](https://togithub.com/vitest-dev/vitest/commit/f9e4ad83)
- **expect**:
- Support `expect.closeTo` api - by [@​Dunqing](https://togithub.com/Dunqing) and **golebiowskib** in [https://github.com/vitest-dev/vitest/issues/4260](https://togithub.com/vitest-dev/vitest/issues/4260) [<samp>(7f91c)</samp>](https://togithub.com/vitest-dev/vitest/commit/7f91c6f6)
- Compare URL objects by href - by [@​kleinfreund](https://togithub.com/kleinfreund) and [@​AriPerkkio](https://togithub.com/AriPerkkio) in [https://github.com/vitest-dev/vitest/issues/4615](https://togithub.com/vitest-dev/vitest/issues/4615) [<samp>(f7a73)</samp>](https://togithub.com/vitest-dev/vitest/commit/f7a73338)
- **snapshot**:
- Add option to configure snapshot directory - by [@​d3lm](https://togithub.com/d3lm) in [https://github.com/vitest-dev/vitest/issues/4651](https://togithub.com/vitest-dev/vitest/issues/4651) [<samp>(20b2a)</samp>](https://togithub.com/vitest-dev/vitest/commit/20b2a857)
- **vite-node**:
- Support import.meta.hot.off for vite 5 - by [@​bluwy](https://togithub.com/bluwy) in [https://github.com/vitest-dev/vitest/issues/4315](https://togithub.com/vitest-dev/vitest/issues/4315) [<samp>(01b1c)</samp>](https://togithub.com/vitest-dev/vitest/commit/01b1c55c)
- **vitest**:
- Expose getBenchFn, getBenchOptions - by [@​sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/4208](https://togithub.com/vitest-dev/vitest/issues/4208) [<samp>(8e5e4)</samp>](https://togithub.com/vitest-dev/vitest/commit/8e5e42dc)
- Run typecheck during tests - by [@​sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/4324](https://togithub.com/vitest-dev/vitest/issues/4324) [<samp>(a1aad)</samp>](https://togithub.com/vitest-dev/vitest/commit/a1aadd71)
- Filter stacktraces - by [@​clarkf](https://togithub.com/clarkf) in [https://github.com/vitest-dev/vitest/issues/1999](https://togithub.com/vitest-dev/vitest/issues/1999) and [https://github.com/vitest-dev/vitest/issues/4338](https://togithub.com/vitest-dev/vitest/issues/4338) [<samp>(6b734)</samp>](https://togithub.com/vitest-dev/vitest/commit/6b73473f)
- Expose execArgv to the different pools - by [@​adriencaccia](https://togithub.com/adriencaccia) in [https://github.com/vitest-dev/vitest/issues/4383](https://togithub.com/vitest-dev/vitest/issues/4383) [<samp>(9021e)</samp>](https://togithub.com/vitest-dev/vitest/commit/9021e8b8)
##### 🐞 Bug Fixes
- Add multiple globals in VM+JSDOM - by [@​nstepien](https://togithub.com/nstepien) in [https://github.com/vitest-dev/vitest/issues/4199](https://togithub.com/vitest-dev/vitest/issues/4199) and [https://github.com/vitest-dev/vitest/issues/4202](https://togithub.com/vitest-dev/vitest/issues/4202) [<samp>(fc947)</samp>](https://togithub.com/vitest-dev/vitest/commit/fc947ce6)
- Ignore "plugins" field in snapshotFormat option - by [@​sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/4204](https://togithub.com/vitest-dev/vitest/issues/4204) [<samp>(db1ff)</samp>](https://togithub.com/vitest-dev/vitest/commit/db1ff438)
- `nextTick` mocking error message to mention correct config option - by [@​AriPerkkio](https://togithub.com/AriPerkkio) in [https://github.com/vitest-dev/vitest/issues/4215](https://togithub.com/vitest-dev/vitest/issues/4215) [<samp>(98fe3)</samp>](https://togithub.com/vitest-dev/vitest/commit/98fe3d55)
- Export VitestUtils interface - by [@​fbritoferreira](https://togithub.com/fbritoferreira) in [https://github.com/vitest-dev/vitest/issues/4301](https://togithub.com/vitest-dev/vitest/issues/4301) [<samp>(b1439)</samp>](https://togithub.com/vitest-dev/vitest/commit/b1439852)
- Assertion diff message handle non-writable sub-properties - by [@​bfamchon](https://togithub.com/bfamchon) in [https://github.com/vitest-dev/vitest/issues/4278](https://togithub.com/vitest-dev/vitest/issues/4278) [<samp>(7e1a0)</samp>](https://togithub.com/vitest-dev/vitest/commit/7e1a0f83)
- Don't bundle import from rollup - by [@​sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/4392](https://togithub.com/vitest-dev/vitest/issues/4392) [<samp>(3b584)</samp>](https://togithub.com/vitest-dev/vitest/commit/3b58487b)
- Support accessing fixture at same index of dependency fixture - by [@​dsyddall](https://togithub.com/dsyddall) in [https://github.com/vitest-dev/vitest/issues/4387](https://togithub.com/vitest-dev/vitest/issues/4387) [<samp>(4cd1d)</samp>](https://togithub.com/vitest-dev/vitest/commit/4cd1d3ce)
- Make asynchronous fixtures work concurrently - by [@​dsyddall](https://togithub.com/dsyddall) in [https://github.com/vitest-dev/vitest/issues/4403](https://togithub.com/vitest-dev/vitest/issues/4403) [<samp>(3c9f9)</samp>](https://togithub.com/vitest-dev/vitest/commit/3c9f920a)
- Coverage.100 crash when using as an cli argument - by [@​marcelobotega](https://togithub.com/marcelobotega) in [https://github.com/vitest-dev/vitest/issues/4346](https://togithub.com/vitest-dev/vitest/issues/4346) [<samp>(0db38)</samp>](https://togithub.com/vitest-dev/vitest/commit/0db386dc)
- Support typechecking with Yarn PnP - by [@​sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/4412](https://togithub.com/vitest-dev/vitest/issues/4412) [<samp>(1ecbe)</samp>](https://togithub.com/vitest-dev/vitest/commit/1ecbe74d)
- Support accessing task from test context without accessing fixtures - by [@​dsyddall](https://togithub.com/dsyddall) in [https://github.com/vitest-dev/vitest/issues/4419](https://togithub.com/vitest-dev/vitest/issues/4419) [<samp>(3397f)</samp>](https://togithub.com/vitest-dev/vitest/commit/3397fdc4)
- Copy custom asymmetric matchers to local `expect` - by [@​hi-ogawa](https://togithub.com/hi-ogawa) in [https://github.com/vitest-dev/vitest/issues/4405](https://togithub.com/vitest-dev/vitest/issues/4405) [<samp>(9fe38)</samp>](https://togithub.com/vitest-dev/vitest/commit/9fe38737)
- Apply serializer to `Error` instance for thrown snapshot - by [@​hi-ogawa](https://togithub.com/hi-ogawa) and [@​sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/4396](https://togithub.com/vitest-dev/vitest/issues/4396) [<samp>(ac309)</samp>](https://togithub.com/vitest-dev/vitest/commit/ac309726)
- Throw an error when running "vitest typecheck" - by [@​sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/4439](https://togithub.com/vitest-dev/vitest/issues/4439) [<samp>(7f502)</samp>](https://togithub.com/vitest-dev/vitest/commit/7f502299)
- Don't expand snapshot diff by default - by [@​sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/4430](https://togithub.com/vitest-dev/vitest/issues/4430) [<samp>(8983c)</samp>](https://togithub.com/vitest-dev/vitest/commit/8983cd48)
- Handle errors thrown in fixtures - by [@​dsyddall](https://togithub.com/dsyddall) [<samp>(f6844)</samp>](https://togithub.com/vitest-dev/vitest/commit/f6844ad6)
- Default --open to !process.env.CI - by [@​collinstevens](https://togithub.com/collinstevens) in [https://github.com/vitest-dev/vitest/issues/4477](https://togithub.com/vitest-dev/vitest/issues/4477) [<samp>(088a0)</samp>](https://togithub.com/vitest-dev/vitest/commit/088a047d)
- Disable ESBuild when user config disables it - by [@​Namchee](https://togithub.com/Namchee) in [https://github.com/vitest-dev/vitest/issues/4492](https://togithub.com/vitest-dev/vitest/issues/4492) [<samp>(9abde)</samp>](https://togithub.com/vitest-dev/vitest/commit/9abde204)
- Inherit concurrent/sequential in nested suites - by [@​dsyddall](https://togithub.com/dsyddall) in [https://github.com/vitest-dev/vitest/issues/4482](https://togithub.com/vitest-dev/vitest/issues/4482) [<samp>(ca168)</samp>](https://togithub.com/vitest-dev/vitest/commit/ca168a14)
- Provide customTesters to asymmetric matchers - by [@​sheremet-va](https://togithub.com/sheremet-va) [<samp>(ac665)</samp>](https://togithub.com/vitest-dev/vitest/commit/ac665c96)
- Apply `retry` and `bail` from test config file - by [@​hi-ogawa](https://togithub.com/hi-ogawa) in [https://github.com/vitest-dev/vitest/issues/4530](https://togithub.com/vitest-dev/vitest/issues/4530) [<samp>(94f9a)</samp>](https://togithub.com/vitest-dev/vitest/commit/94f9a3ca)
- Respect trailing slash when filtering by file path - by [@​ibuibu](https://togithub.com/ibuibu) in [https://github.com/vitest-dev/vitest/issues/4538](https://togithub.com/vitest-dev/vitest/issues/4538) [<samp>(f377a)</samp>](https://togithub.com/vitest-dev/vitest/commit/f377a3bf)
- Date prototype when using setSystemTime - by [@​spiroka](https://togithub.com/spiroka) in [https://github.com/vitest-dev/vitest/issues/4584](https://togithub.com/vitest-dev/vitest/issues/4584) [<samp>(3f8c3)</samp>](https://togithub.com/vitest-dev/vitest/commit/3f8c3fb1)
- BrowserTestRunner called incorrect super methods - by [@​samthor](https://togithub.com/samthor) in [https://github.com/vitest-dev/vitest/issues/4632](https://togithub.com/vitest-dev/vitest/issues/4632) [<samp>(8385c)</samp>](https://togithub.com/vitest-dev/vitest/commit/8385c981)
- Set process name for idle workers - by [@​AriPerkkio](https://togithub.com/AriPerkkio) in [https://github.com/vitest-dev/vitest/issues/4641](https://togithub.com/vitest-dev/vitest/issues/4641) [<samp>(eca25)</samp>](https://togithub.com/vitest-dev/vitest/commit/eca25dc9)
- **bench**:
- Extract ChainableBenchmarkAPI type - by [@​dsyddall](https://togithub.com/dsyddall) in [https://github.com/vitest-dev/vitest/issues/4537](https://togithub.com/vitest-dev/vitest/issues/4537) [<samp>(79e9b)</samp>](https://togithub.com/vitest-dev/vitest/commit/79e9bfaa)
- **browser**:
- Improve error handling and don't rely on Node.js builtin modules in browser mode - by [@​sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/4244](https://togithub.com/vitest-dev/vitest/issues/4244) [<samp>(e7e8c)</samp>](https://togithub.com/vitest-dev/vitest/commit/e7e8c3cc)
- Disable hijacking ES modules until vi.mock is implemented - by [@​sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/4414](https://togithub.com/vitest-dev/vitest/issues/4414) [<samp>(ab556)</samp>](https://togithub.com/vitest-dev/vitest/commit/ab556376)
- Add vitest/ imports to entries - by [@​sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/4514](https://togithub.com/vitest-dev/vitest/issues/4514) [<samp>(648bc)</samp>](https://togithub.com/vitest-dev/vitest/commit/648bccb9)
- Wait until vite finishes prebundling of vitest dependencies - by [@​sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/4518](https://togithub.com/vitest-dev/vitest/issues/4518) [<samp>(56ee7)</samp>](https://togithub.com/vitest-dev/vitest/commit/56ee7026)
- Allow for `pretty-format` as a sibling dependency - by [@​nicojs](https://togithub.com/nicojs) in [https://github.com/vitest-dev/vitest/issues/4590](https://togithub.com/vitest-dev/vitest/issues/4590) [<samp>(ed50a)</samp>](https://togithub.com/vitest-dev/vitest/commit/ed50a944)
- Don't go into an infinite reload loop, don't fail if "error" event is caught - by [@​sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/4618](https://togithub.com/vitest-dev/vitest/issues/4618) [<samp>(ec3d6)</samp>](https://togithub.com/vitest-dev/vitest/commit/ec3d6949)
- Respect "server" option in vite config - by [@​sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/4627](https://togithub.com/vitest-dev/vitest/issues/4627) [<samp>(723f6)</samp>](https://togithub.com/vitest-dev/vitest/commit/723f65b9)
- **cli**:
- Do not capture `stdin` when in run mode - by [@​AriPerkkio](https://togithub.com/AriPerkkio) in [https://github.com/vitest-dev/vitest/issues/4310](https://togithub.com/vitest-dev/vitest/issues/4310) [<samp>(fc51a)</samp>](https://togithub.com/vitest-dev/vitest/commit/fc51ad04)
- **config**:
- Type issue of `pool` and `poolMatchGlobs` in defineConfig - by [@​InfiniteXyy](https://togithub.com/InfiniteXyy) in [https://github.com/vitest-dev/vitest/issues/4282](https://togithub.com/vitest-dev/vitest/issues/4282) [<samp>(9112c)</samp>](https://togithub.com/vitest-dev/vitest/commit/9112cc96)
- **coverage**:
- `thresholdAutoUpdate` to detect zero limits - by [@​AriPerkkio](https://togithub.com/AriPerkkio) in [https://github.com/vitest-dev/vitest/issues/4287](https://togithub.com/vitest-dev/vitest/issues/4287) [<samp>(a29fe)</samp>](https://togithub.com/vitest-dev/vitest/commit/a29fecee)
- Exclude files and directories starting with dot by default - by [@​AriPerkkio](https://togithub.com/AriPerkkio) in [https://github.com/vitest-dev/vitest/issues/4428](https://togithub.com/vitest-dev/vitest/issues/4428) [<samp>(b3327)</samp>](https://togithub.com/vitest-dev/vitest/commit/b3327a64)
- Improve memory usage by writing temporary files on file system - by [@​AriPerkkio](https://togithub.com/AriPerkkio) in [https://github.com/vitest-dev/vitest/issues/4603](https://togithub.com/vitest-dev/vitest/issues/4603) [<samp>(4166c)</samp>](https://togithub.com/vitest-dev/vitest/commit/4166c413)
- **deps**:
- Update dependency v8-to-istanbul to ^9.2.0 - by [@​renovate](https://togithub.com/renovate)\[bot] in[https://github.com/vitest-dev/vitest/issues/4583](https://togithub.com/vitest-dev/vitest/issues/4583)3 [<samp>(a70f2)</samp>](https://togithub.com/vitest-dev/vitest/commit/a70f216d)
- Update dependency std-env to ^3.5.0 - by [@​renovate](https://togithub.com/renovate)\[bot] in[https://github.com/vitest-dev/vitest/issues/4582](https://togithub.com/vitest-dev/vitest/issues/4582)2 [<samp>(1fdd6)</samp>](https://togithub.com/vitest-dev/vitest/commit/1fdd6fe2)
- **example**:
- Resolve type error - by [@​jqkk](https://togithub.com/jqkk) in [https://github.com/vitest-dev/vitest/issues/4515](https://togithub.com/vitest-dev/vitest/issues/4515) [<samp>(2d1b4)</samp>](https://togithub.com/vitest-dev/vitest/commit/2d1b4785)
- **expect**:
- Publish types file - by [@​sheremet-va](https://togithub.com/sheremet-va) [<samp>(5996c)</samp>](https://togithub.com/vitest-dev/vitest/commit/5996c8c0)
- `Object.freeze` breaks `toEqual` - by [@​Dunqing](https://togithub.com/Dunqing) in [https://github.com/vitest-dev/vitest/issues/4303](https://togithub.com/vitest-dev/vitest/issues/4303) [<samp>(a4501)</samp>](https://togithub.com/vitest-dev/vitest/commit/a4501d6b)
- Publish semantically correct chai types - by [@​sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/4322](https://togithub.com/vitest-dev/vitest/issues/4322) [<samp>(80a70)</samp>](https://togithub.com/vitest-dev/vitest/commit/80a706a1)
- Print full error if promise is rejected - by [@​sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/4467](https://togithub.com/vitest-dev/vitest/issues/4467) [<samp>(cadb9)</samp>](https://togithub.com/vitest-dev/vitest/commit/cadb9cd3)
- Don't fail when using jest expect - by [@​sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/4517](https://togithub.com/vitest-dev/vitest/issues/4517) [<samp>(60d6d)</samp>](https://togithub.com/vitest-dev/vitest/commit/60d6d173)
- **happy-dom**:
- Don't crash when calling useFakeTimers with empty config - by [@​sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/4214](https://togithub.com/vitest-dev/vitest/issues/4214) [<samp>(2e1a1)</samp>](https://togithub.com/vitest-dev/vitest/commit/2e1a1bd4)
- **jsdom**:
- Don't go into an infinite recusion when calling atob - by [@​sheremet-va](https://togithub.com/sheremet-va) [<samp>(da794)</samp>](https://togithub.com/vitest-dev/vitest/commit/da7949dc)
- **runner**:
- Fixture needs to be initialized for each test - by [@​Dunqing](https://togithub.com/Dunqing) in [https://github.com/vitest-dev/vitest/issues/4250](https://togithub.com/vitest-dev/vitest/issues/4250) [<samp>(76a93)</samp>](https://togithub.com/vitest-dev/vitest/commit/76a93298)
- Nested tests should throw errors - by [@​Dunqing](https://togithub.com/Dunqing) in [https://github.com/vitest-dev/vitest/issues/4262](https://togithub.com/vitest-dev/vitest/issues/4262) [<samp>(8ac9f)</samp>](https://togithub.com/vitest-dev/vitest/commit/8ac9f8b1)
- Removes deprecated `error` option from TaskResult - by [@​Dunqing](https://togithub.com/Dunqing) in [https://github.com/vitest-dev/vitest/issues/4313](https://togithub.com/vitest-dev/vitest/issues/4313) [<samp>(4cee6)</samp>](https://togithub.com/vitest-dev/vitest/commit/4cee6711)
- Preserve fixtures when calling runif and skipif - by [@​dsyddall](https://togithub.com/dsyddall) in [https://github.com/vitest-dev/vitest/issues/4585](https://togithub.com/vitest-dev/vitest/issues/4585) and [https://github.com/vitest-dev/vitest/issues/4591](https://togithub.com/vitest-dev/vitest/issues/4591) [<samp>(515ea)</samp>](https://togithub.com/vitest-dev/vitest/commit/515eadf9)
- PassWithNoTests option not work - by [@​Dunqing](https://togithub.com/Dunqing) in [https://github.com/vitest-dev/vitest/issues/4553](https://togithub.com/vitest-dev/vitest/issues/4553) [<samp>(8d183)</samp>](https://togithub.com/vitest-dev/vitest/commit/8d183da4)
- **vite-node**:
- Have a separate cache for web/ssr transforms - by [@​sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/4221](https://togithub.com/vitest-dev/vitest/issues/4221) [<samp>(ca5db)</samp>](https://togithub.com/vitest-dev/vitest/commit/ca5dbef4)
- Mjs files watch not work - by [@​Dunqing](https://togithub.com/Dunqing) in [https://github.com/vitest-dev/vitest/issues/3982](https://togithub.com/vitest-dev/vitest/issues/3982) [<samp>(77ea9)</samp>](https://togithub.com/vitest-dev/vitest/commit/77ea9326)
- **vitest**:
- Make [@​types/node](https://togithub.com/types/node) optional - by [@​sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/4210](https://togithub.com/vitest-dev/vitest/issues/4210) [<samp>(a5383)</samp>](https://togithub.com/vitest-dev/vitest/commit/a5383c2d)
- Inline chai types instead of using [@​types/chai](https://togithub.com/types/chai) - by [@​sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/4209](https://togithub.com/vitest-dev/vitest/issues/4209) [<samp>(5f477)</samp>](https://togithub.com/vitest-dev/vitest/commit/5f4774fc)
- Don't initialize globalSetup if workspace doesn't run tests - by [@​sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/4213](https://togithub.com/vitest-dev/vitest/issues/4213) [<samp>(06461)</samp>](https://togithub.com/vitest-dev/vitest/commit/0646197e)
- Deduplicate vitest when running globally or in a workspace - by [@​sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/4238](https://togithub.com/vitest-dev/vitest/issues/4238) [<samp>(93504)</samp>](https://togithub.com/vitest-dev/vitest/commit/93504619)
- Print file path instead of "unknown test" when logging - by [@​Dunqing](https://togithub.com/Dunqing) in [https://github.com/vitest-dev/vitest/issues/4146](https://togithub.com/vitest-dev/vitest/issues/4146) [<samp>(ec2e8)</samp>](https://togithub.com/vitest-dev/vitest/commit/ec2e8040)
- Failed to load custom environment from js/ts file - by [@​Dunqing](https://togithub.com/Dunqing) and [@​sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/4255](https://togithub.com/vitest-dev/vitest/issues/4255) [<samp>(da8d0)</samp>](https://togithub.com/vitest-dev/vitest/commit/da8d0570)
- Support assets in new URL in Vite 5 - by [@​sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/4258](https://togithub.com/vitest-dev/vitest/issues/4258) [<samp>(d280f)</samp>](https://togithub.com/vitest-dev/vitest/commit/d280f489)
- Correctly hoist `vi.hoisted` if assigned - by [@​sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/4285](https://togithub.com/vitest-dev/vitest/issues/4285) [<samp>(ff93a)</samp>](https://togithub.com/vitest-dev/vitest/commit/ff93a573)
- Run globalSetup from the root config even if it's not in a workspace - by [@​sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/4325](https://togithub.com/vitest-dev/vitest/issues/4325) [<samp>(4293e)</samp>](https://togithub.com/vitest-dev/vitest/commit/4293e1b1)
- Pass correct mode in vitest config function - by [@​adriencaccia](https://togithub.com/adriencaccia) in [https://github.com/vitest-dev/vitest/issues/4399](https://togithub.com/vitest-dev/vitest/issues/4399) [<samp>(b8ca3)</samp>](https://togithub.com/vitest-dev/vitest/commit/b8ca3873)
- Throw an error if vitest is imported using require() - by [@​sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/4466](https://togithub.com/vitest-dev/vitest/issues/4466) [<samp>(e5cf1)</samp>](https://togithub.com/vitest-dev/vitest/commit/e5cf1418)
- Use correct type for defineProject to allow usage in mergeConfig - by [@​sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/4498](https://togithub.com/vitest-dev/vitest/issues/4498) [<samp>(7dee8)</samp>](https://togithub.com/vitest-dev/vitest/commit/7dee832d)
- Throw an error if Vite wasn't able to resolve aliased path - by [@​sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/4503](https://togithub.com/vitest-dev/vitest/issues/4503) [<samp>(50333)</samp>](https://togithub.com/vitest-dev/vitest/commit/503331d8)
- Improve vi.waitUntil type to excude falsy types - by [@​sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/4572](https://togithub.com/vitest-dev/vitest/issues/4572) [<samp>(23652)</samp>](https://togithub.com/vitest-dev/vitest/commit/23652300)
- Add import-meta.d.ts - by [@​macdaddyaz](https://togithub.com/macdaddyaz) in [https://github.com/vitest-dev/vitest/issues/4571](https://togithub.com/vitest-dev/vitest/issues/4571) [<samp>(dd802)</samp>](https://togithub.com/vitest-dev/vitest/commit/dd80288f)
- Correctly support CSS variable when using happy-dom - by [@​sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/4601](https://togithub.com/vitest-dev/vitest/issues/4601) [<samp>(9fbf3)</samp>](https://togithub.com/vitest-dev/vitest/commit/9fbf39af)
- Pass correct server options in workspace - by [@​hironytic](https://togithub.com/hironytic) in [https://github.com/vitest-dev/vitest/issues/4539](https://togithub.com/vitest-dev/vitest/issues/4539) and [https://github.com/vitest-dev/vitest/issues/4540](https://togithub.com/vitest-dev/vitest/issues/4540) [<samp>(241a8)</samp>](https://togithub.com/vitest-dev/vitest/commit/241a8c13)
- Independently mock each instance's methods for mocked class - by [@​hi-ogawa](https://togithub.com/hi-ogawa) in [https://github.com/vitest-dev/vitest/issues/4564](https://togithub.com/vitest-dev/vitest/issues/4564) [<samp>(05b05)</samp>](https://togithub.com/vitest-dev/vitest/commit/05b0521c)
- **vm**:
- Remove sequencer usage from createVmThreadsPool function - by [@​mhogeveen](https://togithub.com/mhogeveen) in [https://github.com/vitest-dev/vitest/issues/4638](https://togithub.com/vitest-dev/vitest/issues/4638) [<samp>(54d52)</samp>](https://togithub.com/vitest-dev/vitest/commit/54d52d44)
##### 🏎 Performance
- Update `log-update` v9 - by [@​AriPerkkio](https://togithub.com/AriPerkkio) in [https://github.com/vitest-dev/vitest/issues/4390](https://togithub.com/vitest-dev/vitest/issues/4390) [<samp>(ba1df)</samp>](https://togithub.com/vitest-dev/vitest/commit/ba1df849)
- Close pool early in run-mode - by [@​AriPerkkio](https://togithub.com/AriPerkkio) in [https://github.com/vitest-dev/vitest/issues/4623](https://togithub.com/vitest-dev/vitest/issues/4623) [<samp>(e0e20)</samp>](https://togithub.com/vitest-dev/vitest/commit/e0e20176)
- **coverage-istanbul**: `all: true` instruments already instrumented files - by [@​AriPerkkio](https://togithub.com/AriPerkkio) in [https://github.com/vitest-dev/vitest/issues/4552](https://togithub.com/vitest-dev/vitest/issues/4552) [<samp>(d1e1b)</samp>](https://togithub.com/vitest-dev/vitest/commit/d1e1bc90)
##### [View changes on GitHub](https://togithub.com/vitest-dev/vitest/compare/v0.34.7...v1.0.0)
</details>
---
### Configuration
📅 **Schedule**: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).
🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied.
♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
🔕 **Ignore**: Close this PR and you won't be reminded about these updates again.
---
- [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check this box
---
This PR has been generated by [Mend Renovate](https://www.mend.io/free-developer-tools/renovate/). View repository job log [here](https://developer.mend.io/github/toeverything/AFFiNE).
<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNy44MS4zIiwidXBkYXRlZEluVmVyIjoiMzcuOTMuMSIsInRhcmdldEJyYW5jaCI6ImNhbmFyeSJ9-->
This commit is contained in:
parent
cef9e0539d
commit
c7fe42a5b9
@ -78,8 +78,8 @@
|
||||
"@vanilla-extract/vite-plugin": "^3.9.2",
|
||||
"@vanilla-extract/webpack-plugin": "^2.3.1",
|
||||
"@vitejs/plugin-react-swc": "^3.5.0",
|
||||
"@vitest/coverage-istanbul": "0.34.6",
|
||||
"@vitest/ui": "0.34.6",
|
||||
"@vitest/coverage-istanbul": "1.0.4",
|
||||
"@vitest/ui": "1.0.4",
|
||||
"electron": "^27.1.0",
|
||||
"eslint": "^8.54.0",
|
||||
"eslint-config-prettier": "^9.0.0",
|
||||
@ -111,7 +111,7 @@
|
||||
"vite-plugin-istanbul": "^5.0.0",
|
||||
"vite-plugin-static-copy": "^1.0.0",
|
||||
"vite-tsconfig-paths": "^4.2.1",
|
||||
"vitest": "0.34.6",
|
||||
"vitest": "1.0.4",
|
||||
"vitest-fetch-mock": "^0.2.2",
|
||||
"vitest-mock-extended": "^1.3.1"
|
||||
},
|
||||
|
@ -7,7 +7,7 @@
|
||||
},
|
||||
"devDependencies": {
|
||||
"@types/debug": "^4.1.9",
|
||||
"vitest": "0.34.6"
|
||||
"vitest": "1.0.4"
|
||||
},
|
||||
"version": "0.10.3-canary.2"
|
||||
}
|
||||
|
2
packages/common/env/package.json
vendored
2
packages/common/env/package.json
vendored
@ -7,7 +7,7 @@
|
||||
"@blocksuite/store": "0.11.0-nightly-202312150424-f13b992",
|
||||
"react": "18.2.0",
|
||||
"react-dom": "18.2.0",
|
||||
"vitest": "0.34.6",
|
||||
"vitest": "1.0.4",
|
||||
"zod": "^3.22.4"
|
||||
},
|
||||
"exports": {
|
||||
|
@ -78,7 +78,7 @@
|
||||
"rxjs": "^7.8.1",
|
||||
"vite": "^5.0.6",
|
||||
"vite-plugin-dts": "3.6.0",
|
||||
"vitest": "0.34.6",
|
||||
"vitest": "1.0.4",
|
||||
"yjs": "^13.6.10"
|
||||
},
|
||||
"peerDependencies": {
|
||||
|
@ -42,7 +42,7 @@
|
||||
"fake-indexeddb": "^5.0.0",
|
||||
"vite": "^5.0.6",
|
||||
"vite-plugin-dts": "3.6.0",
|
||||
"vitest": "0.34.6",
|
||||
"vitest": "1.0.4",
|
||||
"y-indexeddb": "^9.0.11",
|
||||
"yjs": "^13.6.10"
|
||||
},
|
||||
|
@ -27,7 +27,7 @@
|
||||
"@blocksuite/store": "0.11.0-nightly-202312150424-f13b992",
|
||||
"vite": "^5.0.6",
|
||||
"vite-plugin-dts": "3.6.0",
|
||||
"vitest": "0.34.6",
|
||||
"vitest": "1.0.4",
|
||||
"yjs": "^13.6.10"
|
||||
},
|
||||
"peerDependencies": {
|
||||
|
@ -102,7 +102,7 @@
|
||||
"storybook-dark-mode": "^3.0.1",
|
||||
"typescript": "^5.3.2",
|
||||
"vite": "^5.0.6",
|
||||
"vitest": "0.34.6",
|
||||
"vitest": "1.0.4",
|
||||
"yjs": "^13.6.10"
|
||||
},
|
||||
"version": "0.10.3-canary.2"
|
||||
|
@ -111,7 +111,7 @@
|
||||
"swc-loader": "^0.2.3",
|
||||
"swc-plugin-coverage-instrument": "^0.0.20",
|
||||
"thread-loader": "^4.0.2",
|
||||
"vitest": "0.34.6",
|
||||
"vitest": "1.0.4",
|
||||
"webpack": "^5.89.0",
|
||||
"webpack-cli": "^5.1.4",
|
||||
"webpack-dev-server": "^4.15.1",
|
||||
|
@ -67,7 +67,7 @@
|
||||
"ts-node": "^10.9.1",
|
||||
"undici": "^6.0.0",
|
||||
"uuid": "^9.0.1",
|
||||
"vitest": "0.34.6",
|
||||
"vitest": "1.0.4",
|
||||
"which": "^4.0.0",
|
||||
"zod": "^3.22.4"
|
||||
},
|
||||
|
@ -13,11 +13,15 @@ export default defineConfig({
|
||||
'@affine/electron': resolve(rootDir, 'packages/frontend/electron/src'),
|
||||
},
|
||||
},
|
||||
|
||||
test: {
|
||||
include: ['./test/**/*.spec.ts'],
|
||||
testTimeout: 5000,
|
||||
singleThread: true,
|
||||
threads: false,
|
||||
poolOptions: {
|
||||
threads: {
|
||||
singleThread: true,
|
||||
},
|
||||
},
|
||||
coverage: {
|
||||
provider: 'istanbul', // or 'c8'
|
||||
reporter: ['lcov'],
|
||||
|
@ -18,7 +18,7 @@
|
||||
"lodash": "^4.17.21",
|
||||
"lodash-es": "^4.17.21",
|
||||
"prettier": "^3.0.3",
|
||||
"vitest": "0.34.6"
|
||||
"vitest": "1.0.4"
|
||||
},
|
||||
"scripts": {
|
||||
"postinstall": "gql-gen --errors-only"
|
||||
|
@ -80,7 +80,7 @@ describe('GraphQL fetcher', () => {
|
||||
});
|
||||
|
||||
expect(fetch.mock.lastCall[1].body).toMatchInlineSnapshot(
|
||||
'"{\\"query\\":\\"query { field }\\",\\"variables\\":{\\"a\\":false,\\"b\\":null},\\"operationName\\":\\"query\\"}"'
|
||||
`"{"query":"query { field }","variables":{"a":false,"b":null},"operationName":"query"}"`
|
||||
);
|
||||
|
||||
await gql({
|
||||
@ -91,7 +91,7 @@ describe('GraphQL fetcher', () => {
|
||||
});
|
||||
|
||||
expect(fetch.mock.lastCall[1].body).toMatchInlineSnapshot(
|
||||
'"{\\"query\\":\\"query { field }\\",\\"variables\\":{\\"a\\":false},\\"operationName\\":\\"query\\"}"'
|
||||
`"{"query":"query { field }","variables":{"a":false},"operationName":"query"}"`
|
||||
);
|
||||
});
|
||||
|
||||
|
@ -31,7 +31,7 @@
|
||||
"@types/image-blob-reduce": "^4.1.3",
|
||||
"@types/lodash.debounce": "^4.0.7",
|
||||
"fake-indexeddb": "^5.0.0",
|
||||
"vitest": "0.34.6",
|
||||
"vitest": "1.0.4",
|
||||
"y-provider": "workspace:*"
|
||||
},
|
||||
"peerDependencies": {
|
||||
|
@ -43,7 +43,7 @@
|
||||
"@testing-library/react": "^14.0.0",
|
||||
"@types/ws": "^8.5.7",
|
||||
"fake-indexeddb": "^5.0.0",
|
||||
"vitest": "0.34.6",
|
||||
"vitest": "1.0.4",
|
||||
"ws": "^8.14.2"
|
||||
},
|
||||
"version": "0.10.3-canary.2"
|
||||
|
@ -1,7 +1,5 @@
|
||||
import 'fake-indexeddb/auto';
|
||||
|
||||
import { setTimeout } from 'node:timers/promises';
|
||||
|
||||
import { __unstableSchemas, AffineSchemas } from '@blocksuite/blocks/models';
|
||||
import { Schema, Workspace } from '@blocksuite/store';
|
||||
import { beforeEach, describe, expect, test, vi } from 'vitest';
|
||||
@ -127,46 +125,54 @@ describe('SyncEngine', () => {
|
||||
expect(syncEngine.status.step).toEqual(SyncEngineStep.Stopped);
|
||||
|
||||
syncEngine.start();
|
||||
await setTimeout(100);
|
||||
|
||||
expect(syncEngine.status.step).toEqual(SyncEngineStep.Syncing);
|
||||
expect(syncEngine.status.local?.step).toEqual(SyncPeerStep.LoadingRootDoc);
|
||||
await vi.waitFor(() => {
|
||||
expect(syncEngine.status.step).toEqual(SyncEngineStep.Syncing);
|
||||
expect(syncEngine.status.local?.step).toEqual(
|
||||
SyncPeerStep.LoadingRootDoc
|
||||
);
|
||||
});
|
||||
|
||||
localStorage.resumePull();
|
||||
await setTimeout(100);
|
||||
|
||||
expect(syncEngine.status.step).toEqual(SyncEngineStep.Syncing);
|
||||
expect(syncEngine.status.local?.step).toEqual(SyncPeerStep.Synced);
|
||||
expect(syncEngine.status.remotes[0]?.step).toEqual(
|
||||
SyncPeerStep.LoadingRootDoc
|
||||
);
|
||||
await vi.waitFor(() => {
|
||||
expect(syncEngine.status.step).toEqual(SyncEngineStep.Syncing);
|
||||
expect(syncEngine.status.local?.step).toEqual(SyncPeerStep.Synced);
|
||||
expect(syncEngine.status.remotes[0]?.step).toEqual(
|
||||
SyncPeerStep.LoadingRootDoc
|
||||
);
|
||||
});
|
||||
|
||||
remoteStorage.resumePull();
|
||||
await setTimeout(100);
|
||||
|
||||
expect(syncEngine.status.step).toEqual(SyncEngineStep.Synced);
|
||||
expect(syncEngine.status.local?.step).toEqual(SyncPeerStep.Synced);
|
||||
expect(syncEngine.status.remotes[0]?.step).toEqual(SyncPeerStep.Synced);
|
||||
await vi.waitFor(() => {
|
||||
expect(syncEngine.status.step).toEqual(SyncEngineStep.Synced);
|
||||
expect(syncEngine.status.remotes[0]?.step).toEqual(SyncPeerStep.Synced);
|
||||
expect(syncEngine.status.local?.step).toEqual(SyncPeerStep.Synced);
|
||||
});
|
||||
|
||||
ydoc.getArray('test').insert(0, [1, 2, 3]);
|
||||
await setTimeout(100);
|
||||
|
||||
expect(syncEngine.status.step).toEqual(SyncEngineStep.Syncing);
|
||||
expect(syncEngine.status.local?.step).toEqual(SyncPeerStep.Syncing);
|
||||
expect(syncEngine.status.remotes[0]?.step).toEqual(SyncPeerStep.Syncing);
|
||||
await vi.waitFor(() => {
|
||||
expect(syncEngine.status.step).toEqual(SyncEngineStep.Syncing);
|
||||
expect(syncEngine.status.local?.step).toEqual(SyncPeerStep.Syncing);
|
||||
expect(syncEngine.status.remotes[0]?.step).toEqual(SyncPeerStep.Syncing);
|
||||
});
|
||||
|
||||
localStorage.resumePush();
|
||||
await setTimeout(100);
|
||||
|
||||
expect(syncEngine.status.step).toEqual(SyncEngineStep.Syncing);
|
||||
expect(syncEngine.status.local?.step).toEqual(SyncPeerStep.Synced);
|
||||
expect(syncEngine.status.remotes[0]?.step).toEqual(SyncPeerStep.Syncing);
|
||||
await vi.waitFor(() => {
|
||||
expect(syncEngine.status.step).toEqual(SyncEngineStep.Syncing);
|
||||
expect(syncEngine.status.local?.step).toEqual(SyncPeerStep.Synced);
|
||||
expect(syncEngine.status.remotes[0]?.step).toEqual(SyncPeerStep.Syncing);
|
||||
});
|
||||
|
||||
remoteStorage.resumePush();
|
||||
await setTimeout(100);
|
||||
|
||||
expect(syncEngine.status.step).toEqual(SyncEngineStep.Synced);
|
||||
expect(syncEngine.status.local?.step).toEqual(SyncPeerStep.Synced);
|
||||
expect(syncEngine.status.remotes[0]?.step).toEqual(SyncPeerStep.Synced);
|
||||
await vi.waitFor(() => {
|
||||
expect(syncEngine.status.step).toEqual(SyncEngineStep.Synced);
|
||||
expect(syncEngine.status.local?.step).toEqual(SyncPeerStep.Synced);
|
||||
expect(syncEngine.status.remotes[0]?.step).toEqual(SyncPeerStep.Synced);
|
||||
});
|
||||
});
|
||||
});
|
||||
|
@ -37,6 +37,7 @@ export default defineConfig({
|
||||
],
|
||||
testTimeout: 5000,
|
||||
coverage: {
|
||||
all: false,
|
||||
provider: 'istanbul', // or 'c8'
|
||||
reporter: ['lcov'],
|
||||
reportsDirectory: resolve(rootDir, '.coverage/store'),
|
||||
|
276
yarn.lock
276
yarn.lock
@ -299,7 +299,7 @@ __metadata:
|
||||
typescript: "npm:^5.3.2"
|
||||
uuid: "npm:^9.0.1"
|
||||
vite: "npm:^5.0.6"
|
||||
vitest: "npm:0.34.6"
|
||||
vitest: "npm:1.0.4"
|
||||
yjs: "npm:^13.6.10"
|
||||
peerDependencies:
|
||||
"@blocksuite/blocks": "*"
|
||||
@ -430,7 +430,7 @@ __metadata:
|
||||
thread-loader: "npm:^4.0.2"
|
||||
uuid: "npm:^9.0.1"
|
||||
valtio: "npm:^1.11.2"
|
||||
vitest: "npm:0.34.6"
|
||||
vitest: "npm:1.0.4"
|
||||
webpack: "npm:^5.89.0"
|
||||
webpack-cli: "npm:^5.1.4"
|
||||
webpack-dev-server: "npm:^4.15.1"
|
||||
@ -447,7 +447,7 @@ __metadata:
|
||||
dependencies:
|
||||
"@types/debug": "npm:^4.1.9"
|
||||
debug: "npm:^4.3.4"
|
||||
vitest: "npm:0.34.6"
|
||||
vitest: "npm:1.0.4"
|
||||
languageName: unknown
|
||||
linkType: soft
|
||||
|
||||
@ -504,7 +504,7 @@ __metadata:
|
||||
ts-node: "npm:^10.9.1"
|
||||
undici: "npm:^6.0.0"
|
||||
uuid: "npm:^9.0.1"
|
||||
vitest: "npm:0.34.6"
|
||||
vitest: "npm:1.0.4"
|
||||
which: "npm:^4.0.0"
|
||||
yjs: "npm:^13.6.10"
|
||||
zod: "npm:^3.22.4"
|
||||
@ -522,7 +522,7 @@ __metadata:
|
||||
lit: "npm:^3.0.2"
|
||||
react: "npm:18.2.0"
|
||||
react-dom: "npm:18.2.0"
|
||||
vitest: "npm:0.34.6"
|
||||
vitest: "npm:1.0.4"
|
||||
zod: "npm:^3.22.4"
|
||||
peerDependencies:
|
||||
"@affine/templates": "workspace:*"
|
||||
@ -545,7 +545,7 @@ __metadata:
|
||||
lodash-es: "npm:^4.17.21"
|
||||
nanoid: "npm:^5.0.1"
|
||||
prettier: "npm:^3.0.3"
|
||||
vitest: "npm:0.34.6"
|
||||
vitest: "npm:1.0.4"
|
||||
languageName: unknown
|
||||
linkType: soft
|
||||
|
||||
@ -615,8 +615,8 @@ __metadata:
|
||||
"@vanilla-extract/vite-plugin": "npm:^3.9.2"
|
||||
"@vanilla-extract/webpack-plugin": "npm:^2.3.1"
|
||||
"@vitejs/plugin-react-swc": "npm:^3.5.0"
|
||||
"@vitest/coverage-istanbul": "npm:0.34.6"
|
||||
"@vitest/ui": "npm:0.34.6"
|
||||
"@vitest/coverage-istanbul": "npm:1.0.4"
|
||||
"@vitest/ui": "npm:1.0.4"
|
||||
electron: "npm:^27.1.0"
|
||||
eslint: "npm:^8.54.0"
|
||||
eslint-config-prettier: "npm:^9.0.0"
|
||||
@ -648,7 +648,7 @@ __metadata:
|
||||
vite-plugin-istanbul: "npm:^5.0.0"
|
||||
vite-plugin-static-copy: "npm:^1.0.0"
|
||||
vite-tsconfig-paths: "npm:^4.2.1"
|
||||
vitest: "npm:0.34.6"
|
||||
vitest: "npm:1.0.4"
|
||||
vitest-fetch-mock: "npm:^0.2.2"
|
||||
vitest-mock-extended: "npm:^1.3.1"
|
||||
languageName: unknown
|
||||
@ -940,7 +940,7 @@ __metadata:
|
||||
socket.io-client: "npm:^4.7.2"
|
||||
swr: "npm:2.2.4"
|
||||
valtio: "npm:^1.11.2"
|
||||
vitest: "npm:0.34.6"
|
||||
vitest: "npm:1.0.4"
|
||||
ws: "npm:^8.14.2"
|
||||
y-protocols: "npm:^1.0.6"
|
||||
y-provider: "workspace:*"
|
||||
@ -14133,7 +14133,7 @@ __metadata:
|
||||
rxjs: "npm:^7.8.1"
|
||||
swr: "npm:2.2.4"
|
||||
uuid: "npm:^9.0.1"
|
||||
vitest: "npm:0.34.6"
|
||||
vitest: "npm:1.0.4"
|
||||
y-provider: "workspace:*"
|
||||
peerDependencies:
|
||||
"@blocksuite/block-std": "*"
|
||||
@ -14185,7 +14185,7 @@ __metadata:
|
||||
tinykeys: "npm:^2.1.0"
|
||||
vite: "npm:^5.0.6"
|
||||
vite-plugin-dts: "npm:3.6.0"
|
||||
vitest: "npm:0.34.6"
|
||||
vitest: "npm:1.0.4"
|
||||
yjs: "npm:^13.6.10"
|
||||
zod: "npm:^3.22.4"
|
||||
peerDependencies:
|
||||
@ -14229,7 +14229,7 @@ __metadata:
|
||||
nanoid: "npm:^5.0.3"
|
||||
vite: "npm:^5.0.6"
|
||||
vite-plugin-dts: "npm:3.6.0"
|
||||
vitest: "npm:0.34.6"
|
||||
vitest: "npm:1.0.4"
|
||||
y-indexeddb: "npm:^9.0.11"
|
||||
y-provider: "workspace:*"
|
||||
yjs: "npm:^13.6.10"
|
||||
@ -14433,22 +14433,6 @@ __metadata:
|
||||
languageName: node
|
||||
linkType: hard
|
||||
|
||||
"@types/chai-subset@npm:^1.3.3":
|
||||
version: 1.3.5
|
||||
resolution: "@types/chai-subset@npm:1.3.5"
|
||||
dependencies:
|
||||
"@types/chai": "npm:*"
|
||||
checksum: 715c46d3e90f87482c2769389d560456bb257b225716ff44c275c231bdb62c8a30629f355f412bac0ecab07ebc036c1806d9ed9dde9792254f8ef4f07f76033b
|
||||
languageName: node
|
||||
linkType: hard
|
||||
|
||||
"@types/chai@npm:*, @types/chai@npm:^4.3.5":
|
||||
version: 4.3.11
|
||||
resolution: "@types/chai@npm:4.3.11"
|
||||
checksum: c83a00359684bf06114d5ad0ffa62c78b2fbfe09a985eda56e55cd3c191fe176052aef6e297a8c8a3608efb8ea7a44598cf7e0ae1a3a9311af892417e95b0b28
|
||||
languageName: node
|
||||
linkType: hard
|
||||
|
||||
"@types/connect-history-api-fallback@npm:^1.3.5":
|
||||
version: 1.5.4
|
||||
resolution: "@types/connect-history-api-fallback@npm:1.5.4"
|
||||
@ -15752,90 +15736,92 @@ __metadata:
|
||||
languageName: node
|
||||
linkType: hard
|
||||
|
||||
"@vitest/coverage-istanbul@npm:0.34.6":
|
||||
version: 0.34.6
|
||||
resolution: "@vitest/coverage-istanbul@npm:0.34.6"
|
||||
"@vitest/coverage-istanbul@npm:1.0.4":
|
||||
version: 1.0.4
|
||||
resolution: "@vitest/coverage-istanbul@npm:1.0.4"
|
||||
dependencies:
|
||||
istanbul-lib-coverage: "npm:^3.2.0"
|
||||
istanbul-lib-instrument: "npm:^6.0.0"
|
||||
debug: "npm:^4.3.4"
|
||||
istanbul-lib-coverage: "npm:^3.2.2"
|
||||
istanbul-lib-instrument: "npm:^6.0.1"
|
||||
istanbul-lib-report: "npm:^3.0.1"
|
||||
istanbul-lib-source-maps: "npm:^4.0.1"
|
||||
istanbul-reports: "npm:^3.1.5"
|
||||
istanbul-reports: "npm:^3.1.6"
|
||||
magicast: "npm:^0.3.2"
|
||||
picocolors: "npm:^1.0.0"
|
||||
test-exclude: "npm:^6.0.0"
|
||||
peerDependencies:
|
||||
vitest: ">=0.32.0 <1"
|
||||
checksum: f86ea2b11842a9528e5483683735cc402342e0b98dce00d5cd7ff2bf1da542ec704dc3ba58184f9df96798d8b0c1c6d24d6d11fad4eaac9999487e45d5a3e8b0
|
||||
vitest: ^1.0.0
|
||||
checksum: c97825173509fce69bd4fc9ea16dd7267ebd6e18086dddb6b137642e7ac79f54d717efa8bc9593bd955dfaddb125b06e4d6e768572f0d2028e2864ec28d72598
|
||||
languageName: node
|
||||
linkType: hard
|
||||
|
||||
"@vitest/expect@npm:0.34.6":
|
||||
version: 0.34.6
|
||||
resolution: "@vitest/expect@npm:0.34.6"
|
||||
"@vitest/expect@npm:1.0.4":
|
||||
version: 1.0.4
|
||||
resolution: "@vitest/expect@npm:1.0.4"
|
||||
dependencies:
|
||||
"@vitest/spy": "npm:0.34.6"
|
||||
"@vitest/utils": "npm:0.34.6"
|
||||
"@vitest/spy": "npm:1.0.4"
|
||||
"@vitest/utils": "npm:1.0.4"
|
||||
chai: "npm:^4.3.10"
|
||||
checksum: c5dbd3db4d914857287dcff5dd7084070a2f73ed616197c80acaa54c27e5563cecf7a11e86d6aeef002e38f2ca52626f4b9c765db9b56add736f4e94a7fb0954
|
||||
checksum: 8339b7c7a14c7c8d006053868ddae4aa35b1df7fccd80761828152d61e4e7983d2b9856ac50f6ea57637815a7f283a0b26090f7ddd17a569f531892c4fd59aad
|
||||
languageName: node
|
||||
linkType: hard
|
||||
|
||||
"@vitest/runner@npm:0.34.6":
|
||||
version: 0.34.6
|
||||
resolution: "@vitest/runner@npm:0.34.6"
|
||||
"@vitest/runner@npm:1.0.4":
|
||||
version: 1.0.4
|
||||
resolution: "@vitest/runner@npm:1.0.4"
|
||||
dependencies:
|
||||
"@vitest/utils": "npm:0.34.6"
|
||||
p-limit: "npm:^4.0.0"
|
||||
"@vitest/utils": "npm:1.0.4"
|
||||
p-limit: "npm:^5.0.0"
|
||||
pathe: "npm:^1.1.1"
|
||||
checksum: 3525d8e4f8cd8a8b3f8f43a7b2604cda891fe31cfa1604e179628ced89d21114a55d6bb3bf192c02b4419e760eb15188d490e861cb46ddab2786193f8a999b0e
|
||||
checksum: b5ef63c71c810aaeb53b5366e661fc33674e414b01f6e24d7b2811201f34b7b11584d757f0f7fe652d7ae2a59987f2a74cf4df83a7f5e4d329371b888e1f47c7
|
||||
languageName: node
|
||||
linkType: hard
|
||||
|
||||
"@vitest/snapshot@npm:0.34.6":
|
||||
version: 0.34.6
|
||||
resolution: "@vitest/snapshot@npm:0.34.6"
|
||||
"@vitest/snapshot@npm:1.0.4":
|
||||
version: 1.0.4
|
||||
resolution: "@vitest/snapshot@npm:1.0.4"
|
||||
dependencies:
|
||||
magic-string: "npm:^0.30.1"
|
||||
magic-string: "npm:^0.30.5"
|
||||
pathe: "npm:^1.1.1"
|
||||
pretty-format: "npm:^29.5.0"
|
||||
checksum: a9a321a089b22a383253b8cf3092c3af9b35453bb1c0ba0762760644a6ab0f727a4083872c7fd5a7d18c9a4fc4a798c4392872e337858a7c8ccc25ada6bf4d96
|
||||
pretty-format: "npm:^29.7.0"
|
||||
checksum: 7a95eb6a29d87afd4adfdbde64858d4a9f130b5996fc0e160ce784c61f0555316655b6f98e9ac86ec1622062e9396ea157a7cec61a9e70af5be9c40d94785c6b
|
||||
languageName: node
|
||||
linkType: hard
|
||||
|
||||
"@vitest/spy@npm:0.34.6":
|
||||
version: 0.34.6
|
||||
resolution: "@vitest/spy@npm:0.34.6"
|
||||
"@vitest/spy@npm:1.0.4":
|
||||
version: 1.0.4
|
||||
resolution: "@vitest/spy@npm:1.0.4"
|
||||
dependencies:
|
||||
tinyspy: "npm:^2.1.1"
|
||||
checksum: 9de152ac928c31e21bb4d8e1262b70db50dd11479efe8babce6bd993cc89957b974a584414a99d66ca188775b50baea1b934fdfb8d0d53c66fc2feb6dc2e348d
|
||||
tinyspy: "npm:^2.2.0"
|
||||
checksum: 4b8da875369199c23611b3287ff8e1f86ad5b0596ff52c0bf85fba33a35c46b092d9e9f5274dabe60b83be016042594ceab6e3bfe61bd401dca6dd4bef6296c8
|
||||
languageName: node
|
||||
linkType: hard
|
||||
|
||||
"@vitest/ui@npm:0.34.6":
|
||||
version: 0.34.6
|
||||
resolution: "@vitest/ui@npm:0.34.6"
|
||||
"@vitest/ui@npm:1.0.4":
|
||||
version: 1.0.4
|
||||
resolution: "@vitest/ui@npm:1.0.4"
|
||||
dependencies:
|
||||
"@vitest/utils": "npm:0.34.6"
|
||||
fast-glob: "npm:^3.3.0"
|
||||
fflate: "npm:^0.8.0"
|
||||
flatted: "npm:^3.2.7"
|
||||
"@vitest/utils": "npm:1.0.4"
|
||||
fast-glob: "npm:^3.3.2"
|
||||
fflate: "npm:^0.8.1"
|
||||
flatted: "npm:^3.2.9"
|
||||
pathe: "npm:^1.1.1"
|
||||
picocolors: "npm:^1.0.0"
|
||||
sirv: "npm:^2.0.3"
|
||||
peerDependencies:
|
||||
vitest: ">=0.30.1 <1"
|
||||
checksum: 4e4132aa462308d760924b5dd87c331b42caf09d1619a0f9b48eb2a531ed92ebb88471ef05a9cba301554d1e04cbbc94aa0971d79d5795818a0fcc9469dd327e
|
||||
vitest: ^1.0.0
|
||||
checksum: c611f2196ed7eba851680f132b26103b1577a5cdba111d4194681eb2dfa9cb32c6cbb4aafd24e665b777f25679091aad4b3b7c8118b682bf4a21e40e083787b3
|
||||
languageName: node
|
||||
linkType: hard
|
||||
|
||||
"@vitest/utils@npm:0.34.6":
|
||||
version: 0.34.6
|
||||
resolution: "@vitest/utils@npm:0.34.6"
|
||||
"@vitest/utils@npm:1.0.4":
|
||||
version: 1.0.4
|
||||
resolution: "@vitest/utils@npm:1.0.4"
|
||||
dependencies:
|
||||
diff-sequences: "npm:^29.4.3"
|
||||
loupe: "npm:^2.3.6"
|
||||
pretty-format: "npm:^29.5.0"
|
||||
checksum: 09a1b2122ceb5541b4f3d64410088e363a36d6e4addf208b6458615ac856adf36c1c9b5431a45ea13a78c30e6a7dcb0696854abe69a710089ffa229356a5202b
|
||||
diff-sequences: "npm:^29.6.3"
|
||||
loupe: "npm:^2.3.7"
|
||||
pretty-format: "npm:^29.7.0"
|
||||
checksum: a02779f57979e00afda71f42aa2c029c9857bcc2e9e33a7ae6560dc0a13fd748a9d088321c61061649dcd5de466811275f4c6c9a1725564c6ae3b3c886edfa90
|
||||
languageName: node
|
||||
linkType: hard
|
||||
|
||||
@ -20093,7 +20079,7 @@ __metadata:
|
||||
languageName: node
|
||||
linkType: hard
|
||||
|
||||
"diff-sequences@npm:^29.4.3, diff-sequences@npm:^29.6.3":
|
||||
"diff-sequences@npm:^29.6.3":
|
||||
version: 29.6.3
|
||||
resolution: "diff-sequences@npm:29.6.3"
|
||||
checksum: 179daf9d2f9af5c57ad66d97cb902a538bcf8ed64963fa7aa0c329b3de3665ce2eb6ffdc2f69f29d445fa4af2517e5e55e5b6e00c00a9ae4f43645f97f7078cb
|
||||
@ -21685,7 +21671,7 @@ __metadata:
|
||||
languageName: node
|
||||
linkType: hard
|
||||
|
||||
"execa@npm:8.0.1":
|
||||
"execa@npm:8.0.1, execa@npm:^8.0.1":
|
||||
version: 8.0.1
|
||||
resolution: "execa@npm:8.0.1"
|
||||
dependencies:
|
||||
@ -22108,7 +22094,7 @@ __metadata:
|
||||
languageName: node
|
||||
linkType: hard
|
||||
|
||||
"fflate@npm:^0.8.0":
|
||||
"fflate@npm:^0.8.1":
|
||||
version: 0.8.1
|
||||
resolution: "fflate@npm:0.8.1"
|
||||
checksum: bb66551c98799caaeae678fd0772f725f45cdbd1e2d1ec1027eb916f6f8547668b68aced6684bcdbd9f92766b23245da8a227bf387d2c87f74befc58fbdca13b
|
||||
@ -22375,7 +22361,7 @@ __metadata:
|
||||
languageName: node
|
||||
linkType: hard
|
||||
|
||||
"flatted@npm:^3.2.7, flatted@npm:^3.2.9":
|
||||
"flatted@npm:^3.2.9":
|
||||
version: 3.2.9
|
||||
resolution: "flatted@npm:3.2.9"
|
||||
checksum: dc2b89e46a2ebde487199de5a4fcb79e8c46f984043fea5c41dbf4661eb881fefac1c939b5bdcd8a09d7f960ec364f516970c7ec44e58ff451239c07fd3d419b
|
||||
@ -25083,7 +25069,7 @@ __metadata:
|
||||
languageName: node
|
||||
linkType: hard
|
||||
|
||||
"istanbul-lib-coverage@npm:^3.0.0, istanbul-lib-coverage@npm:^3.2.0":
|
||||
"istanbul-lib-coverage@npm:^3.0.0, istanbul-lib-coverage@npm:^3.2.0, istanbul-lib-coverage@npm:^3.2.2":
|
||||
version: 3.2.2
|
||||
resolution: "istanbul-lib-coverage@npm:3.2.2"
|
||||
checksum: 40bbdd1e937dfd8c830fa286d0f665e81b7a78bdabcd4565f6d5667c99828bda3db7fb7ac6b96a3e2e8a2461ddbc5452d9f8bc7d00cb00075fa6a3e99f5b6a81
|
||||
@ -25124,7 +25110,7 @@ __metadata:
|
||||
languageName: node
|
||||
linkType: hard
|
||||
|
||||
"istanbul-lib-instrument@npm:^6.0.0":
|
||||
"istanbul-lib-instrument@npm:^6.0.0, istanbul-lib-instrument@npm:^6.0.1":
|
||||
version: 6.0.1
|
||||
resolution: "istanbul-lib-instrument@npm:6.0.1"
|
||||
dependencies:
|
||||
@ -25173,7 +25159,7 @@ __metadata:
|
||||
languageName: node
|
||||
linkType: hard
|
||||
|
||||
"istanbul-reports@npm:^3.0.2, istanbul-reports@npm:^3.1.3, istanbul-reports@npm:^3.1.5, istanbul-reports@npm:^3.1.6":
|
||||
"istanbul-reports@npm:^3.0.2, istanbul-reports@npm:^3.1.3, istanbul-reports@npm:^3.1.6":
|
||||
version: 3.1.6
|
||||
resolution: "istanbul-reports@npm:3.1.6"
|
||||
dependencies:
|
||||
@ -26871,10 +26857,13 @@ __metadata:
|
||||
languageName: node
|
||||
linkType: hard
|
||||
|
||||
"local-pkg@npm:^0.4.3":
|
||||
version: 0.4.3
|
||||
resolution: "local-pkg@npm:0.4.3"
|
||||
checksum: 48f38c12721881370bca50ed3b5e3cc6fef741cfb4de7e48666f6ded07c1aaea53cf770cfef84a89bed286c17631111bf99a86241ddf6f679408c79c56f29560
|
||||
"local-pkg@npm:^0.5.0":
|
||||
version: 0.5.0
|
||||
resolution: "local-pkg@npm:0.5.0"
|
||||
dependencies:
|
||||
mlly: "npm:^1.4.2"
|
||||
pkg-types: "npm:^1.0.3"
|
||||
checksum: 20f4caba50dc6fb00ffcc1a78bc94b5acb33995e0aadf4d4edcdeab257e891aa08f50afddf02f3240b2c3d02432bc2078f2a916a280ed716b64753a3d250db70
|
||||
languageName: node
|
||||
linkType: hard
|
||||
|
||||
@ -27223,7 +27212,7 @@ __metadata:
|
||||
languageName: node
|
||||
linkType: hard
|
||||
|
||||
"loupe@npm:^2.3.6":
|
||||
"loupe@npm:^2.3.6, loupe@npm:^2.3.7":
|
||||
version: 2.3.7
|
||||
resolution: "loupe@npm:2.3.7"
|
||||
dependencies:
|
||||
@ -27340,7 +27329,7 @@ __metadata:
|
||||
languageName: node
|
||||
linkType: hard
|
||||
|
||||
"magic-string@npm:^0.30.0, magic-string@npm:^0.30.1, magic-string@npm:^0.30.5":
|
||||
"magic-string@npm:^0.30.0, magic-string@npm:^0.30.5":
|
||||
version: 0.30.5
|
||||
resolution: "magic-string@npm:0.30.5"
|
||||
dependencies:
|
||||
@ -27349,6 +27338,17 @@ __metadata:
|
||||
languageName: node
|
||||
linkType: hard
|
||||
|
||||
"magicast@npm:^0.3.2":
|
||||
version: 0.3.2
|
||||
resolution: "magicast@npm:0.3.2"
|
||||
dependencies:
|
||||
"@babel/parser": "npm:^7.23.3"
|
||||
"@babel/types": "npm:^7.23.3"
|
||||
source-map-js: "npm:^1.0.2"
|
||||
checksum: 763444b18b32fb4b41e1ea92c8bae60f594000d338cbf2cfa1f4be1f11fb40212fc03068b7e4a918e177fc370eb153c95235992fbce8b80b658fd778f7b6aea7
|
||||
languageName: node
|
||||
linkType: hard
|
||||
|
||||
"make-dir@npm:^2.0.0, make-dir@npm:^2.1.0":
|
||||
version: 2.1.0
|
||||
resolution: "make-dir@npm:2.1.0"
|
||||
@ -29017,7 +29017,7 @@ __metadata:
|
||||
languageName: node
|
||||
linkType: hard
|
||||
|
||||
"mlly@npm:^1.1.0, mlly@npm:^1.2.0, mlly@npm:^1.4.0":
|
||||
"mlly@npm:^1.1.0, mlly@npm:^1.2.0, mlly@npm:^1.4.2":
|
||||
version: 1.4.2
|
||||
resolution: "mlly@npm:1.4.2"
|
||||
dependencies:
|
||||
@ -30293,12 +30293,12 @@ __metadata:
|
||||
languageName: node
|
||||
linkType: hard
|
||||
|
||||
"p-limit@npm:^4.0.0":
|
||||
version: 4.0.0
|
||||
resolution: "p-limit@npm:4.0.0"
|
||||
"p-limit@npm:^5.0.0":
|
||||
version: 5.0.0
|
||||
resolution: "p-limit@npm:5.0.0"
|
||||
dependencies:
|
||||
yocto-queue: "npm:^1.0.0"
|
||||
checksum: 01d9d70695187788f984226e16c903475ec6a947ee7b21948d6f597bed788e3112cc7ec2e171c1d37125057a5f45f3da21d8653e04a3a793589e12e9e80e756b
|
||||
checksum: 87bf5837dee6942f0dbeff318436179931d9a97848d1b07dbd86140a477a5d2e6b90d9701b210b4e21fe7beaea2979dfde366e4f576fa644a59bd4d6a6371da7
|
||||
languageName: node
|
||||
linkType: hard
|
||||
|
||||
@ -31479,7 +31479,7 @@ __metadata:
|
||||
languageName: node
|
||||
linkType: hard
|
||||
|
||||
"pretty-format@npm:^29.5.0, pretty-format@npm:^29.7.0":
|
||||
"pretty-format@npm:^29.7.0":
|
||||
version: 29.7.0
|
||||
resolution: "pretty-format@npm:29.7.0"
|
||||
dependencies:
|
||||
@ -34234,7 +34234,7 @@ __metadata:
|
||||
languageName: node
|
||||
linkType: hard
|
||||
|
||||
"std-env@npm:^3.3.3":
|
||||
"std-env@npm:^3.5.0":
|
||||
version: 3.6.0
|
||||
resolution: "std-env@npm:3.6.0"
|
||||
checksum: ab1c2d000bfedb6338ac49810dc8a032d472ec0bc3fd7566254a7bef7f6a79a30392282e229ee46223bb7e4b707ac2a24978add8211b65ae96ef9652994071ac
|
||||
@ -34548,7 +34548,7 @@ __metadata:
|
||||
languageName: node
|
||||
linkType: hard
|
||||
|
||||
"strip-literal@npm:^1.0.1":
|
||||
"strip-literal@npm:^1.3.0":
|
||||
version: 1.3.0
|
||||
resolution: "strip-literal@npm:1.3.0"
|
||||
dependencies:
|
||||
@ -35134,7 +35134,7 @@ __metadata:
|
||||
languageName: node
|
||||
linkType: hard
|
||||
|
||||
"tinybench@npm:^2.5.0":
|
||||
"tinybench@npm:^2.5.1":
|
||||
version: 2.5.1
|
||||
resolution: "tinybench@npm:2.5.1"
|
||||
checksum: f64ea142e048edc5010027eca36aff5aef74cd849ab9c6ba6e39475f911309694cb5a7ff894d47216ab4a3abcf4291e4bdc7a57796e96bf5b06e67452b5ac54d
|
||||
@ -35148,14 +35148,14 @@ __metadata:
|
||||
languageName: node
|
||||
linkType: hard
|
||||
|
||||
"tinypool@npm:^0.7.0":
|
||||
version: 0.7.0
|
||||
resolution: "tinypool@npm:0.7.0"
|
||||
checksum: e1fb1f430647525c6bb0bac71acc4c1594c7687fe8e4f08c8f389d9a672fb69746869e9d9818b55f1ab85ea6308d42f92cbc32a9847088abf6bc55a8700be390
|
||||
"tinypool@npm:^0.8.1":
|
||||
version: 0.8.1
|
||||
resolution: "tinypool@npm:0.8.1"
|
||||
checksum: 3fae8acc22b7d0364eb202b64f61f0d8b10dcead6bef9b8fab1836857dcecd0e34fadc47ab309754ead2cb29bfa4b3467a9fc0daae23669b19ff403ae1364b5c
|
||||
languageName: node
|
||||
linkType: hard
|
||||
|
||||
"tinyspy@npm:^2.1.1":
|
||||
"tinyspy@npm:^2.2.0":
|
||||
version: 2.2.0
|
||||
resolution: "tinyspy@npm:2.2.0"
|
||||
checksum: bcc5a08c2dc7574d32e6dcc2e760ad95a3cf30249c22799815b6389179427c95573d27d2d965ebc5fca2b6d338c46678cd7337ea2a9cebacee3dc662176b07cb
|
||||
@ -36392,19 +36392,18 @@ __metadata:
|
||||
languageName: node
|
||||
linkType: hard
|
||||
|
||||
"vite-node@npm:0.34.6":
|
||||
version: 0.34.6
|
||||
resolution: "vite-node@npm:0.34.6"
|
||||
"vite-node@npm:1.0.4":
|
||||
version: 1.0.4
|
||||
resolution: "vite-node@npm:1.0.4"
|
||||
dependencies:
|
||||
cac: "npm:^6.7.14"
|
||||
debug: "npm:^4.3.4"
|
||||
mlly: "npm:^1.4.0"
|
||||
pathe: "npm:^1.1.1"
|
||||
picocolors: "npm:^1.0.0"
|
||||
vite: "npm:^3.0.0 || ^4.0.0 || ^5.0.0-0"
|
||||
vite: "npm:^5.0.0"
|
||||
bin:
|
||||
vite-node: vite-node.mjs
|
||||
checksum: ae49fd24874162196dd41477afe51dd8dc0bd1e8cb4ae885455d1d5569e14f628941f9867044bff263620536446e17d7e2c0828c9ea84b6308b9eb5711e80991
|
||||
checksum: 0dd5b84322395296b5b85b9897460dcd9deb456fb7bef67ae2ddd120411080152d013cffe5e47d0a1098f75d2132e3d8726d033d459ddc7968e53c813e58507f
|
||||
languageName: node
|
||||
linkType: hard
|
||||
|
||||
@ -36554,46 +36553,43 @@ __metadata:
|
||||
languageName: node
|
||||
linkType: hard
|
||||
|
||||
"vitest@npm:0.34.6":
|
||||
version: 0.34.6
|
||||
resolution: "vitest@npm:0.34.6"
|
||||
"vitest@npm:1.0.4":
|
||||
version: 1.0.4
|
||||
resolution: "vitest@npm:1.0.4"
|
||||
dependencies:
|
||||
"@types/chai": "npm:^4.3.5"
|
||||
"@types/chai-subset": "npm:^1.3.3"
|
||||
"@types/node": "npm:*"
|
||||
"@vitest/expect": "npm:0.34.6"
|
||||
"@vitest/runner": "npm:0.34.6"
|
||||
"@vitest/snapshot": "npm:0.34.6"
|
||||
"@vitest/spy": "npm:0.34.6"
|
||||
"@vitest/utils": "npm:0.34.6"
|
||||
acorn: "npm:^8.9.0"
|
||||
acorn-walk: "npm:^8.2.0"
|
||||
"@vitest/expect": "npm:1.0.4"
|
||||
"@vitest/runner": "npm:1.0.4"
|
||||
"@vitest/snapshot": "npm:1.0.4"
|
||||
"@vitest/spy": "npm:1.0.4"
|
||||
"@vitest/utils": "npm:1.0.4"
|
||||
acorn-walk: "npm:^8.3.0"
|
||||
cac: "npm:^6.7.14"
|
||||
chai: "npm:^4.3.10"
|
||||
debug: "npm:^4.3.4"
|
||||
local-pkg: "npm:^0.4.3"
|
||||
magic-string: "npm:^0.30.1"
|
||||
execa: "npm:^8.0.1"
|
||||
local-pkg: "npm:^0.5.0"
|
||||
magic-string: "npm:^0.30.5"
|
||||
pathe: "npm:^1.1.1"
|
||||
picocolors: "npm:^1.0.0"
|
||||
std-env: "npm:^3.3.3"
|
||||
strip-literal: "npm:^1.0.1"
|
||||
tinybench: "npm:^2.5.0"
|
||||
tinypool: "npm:^0.7.0"
|
||||
vite: "npm:^3.1.0 || ^4.0.0 || ^5.0.0-0"
|
||||
vite-node: "npm:0.34.6"
|
||||
std-env: "npm:^3.5.0"
|
||||
strip-literal: "npm:^1.3.0"
|
||||
tinybench: "npm:^2.5.1"
|
||||
tinypool: "npm:^0.8.1"
|
||||
vite: "npm:^5.0.0"
|
||||
vite-node: "npm:1.0.4"
|
||||
why-is-node-running: "npm:^2.2.2"
|
||||
peerDependencies:
|
||||
"@edge-runtime/vm": "*"
|
||||
"@vitest/browser": "*"
|
||||
"@vitest/ui": "*"
|
||||
"@types/node": ^18.0.0 || >=20.0.0
|
||||
"@vitest/browser": ^1.0.0
|
||||
"@vitest/ui": ^1.0.0
|
||||
happy-dom: "*"
|
||||
jsdom: "*"
|
||||
playwright: "*"
|
||||
safaridriver: "*"
|
||||
webdriverio: "*"
|
||||
peerDependenciesMeta:
|
||||
"@edge-runtime/vm":
|
||||
optional: true
|
||||
"@types/node":
|
||||
optional: true
|
||||
"@vitest/browser":
|
||||
optional: true
|
||||
"@vitest/ui":
|
||||
@ -36602,15 +36598,9 @@ __metadata:
|
||||
optional: true
|
||||
jsdom:
|
||||
optional: true
|
||||
playwright:
|
||||
optional: true
|
||||
safaridriver:
|
||||
optional: true
|
||||
webdriverio:
|
||||
optional: true
|
||||
bin:
|
||||
vitest: vitest.mjs
|
||||
checksum: 0191422ab979823803aac64e657e288f1b84bb518a2b653fe9928b4f1c931b04efde14990d263ff76a18dc6c35ab34652db3ae7cbecea771cfa36abe547dd705
|
||||
checksum: 3c86578f5bd47f4a6a208018cbb09623a400ccf328408804e2a20312b278f1ebc34f2ceabb05480a18226f2fede677c825290e0cce6db9fa99eac6b530dc3b41
|
||||
languageName: node
|
||||
linkType: hard
|
||||
|
||||
@ -37481,7 +37471,7 @@ __metadata:
|
||||
"@blocksuite/store": "npm:0.11.0-nightly-202312150424-f13b992"
|
||||
vite: "npm:^5.0.6"
|
||||
vite-plugin-dts: "npm:3.6.0"
|
||||
vitest: "npm:0.34.6"
|
||||
vitest: "npm:1.0.4"
|
||||
yjs: "npm:^13.6.10"
|
||||
peerDependencies:
|
||||
yjs: ^13
|
||||
|
Loading…
Reference in New Issue
Block a user