This patch release includes a non-breaking feature for the experimental Browser Mode that doesn't follow SemVer. If you want to avoid picking up releases like this, make sure to pin the Vitest version in your package.json. See npm's documentation about semver for more information.
This release includes a complete rewrite into TypeScript by @dirkluijk, the removal of the cross-fetch polyfill dependency, and a minor change to the API when using a function that returned a mock response.
Note there is no longer an init property. Now, headers, status, etc are included alongside the body. This applies to all methods which can accept a ResponseProvider parameter. (Previously the parameter was called MockResponseInitFunction and headers could be specified inside or outside of init, and it was unclear which would take precedence.)
Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.
Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR:
- `@dependabot rebase` will rebase this PR
- `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it
- `@dependabot merge` will merge this PR after your CI passes on it
- `@dependabot squash and merge` will squash and merge this PR after your CI passes on it
- `@dependabot cancel merge` will cancel a previously requested merge and block automerging
- `@dependabot reopen` will reopen this PR if it is closed
- `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
- `@dependabot show ignore conditions` will show all of the ignore conditions of the specified dependency
- `@dependabot ignore major version` will close this group update PR and stop Dependabot creating any more for the specific dependency's major version (unless you unignore this specific dependency's major version or upgrade to it yourself)
- `@dependabot ignore minor version` will close this group update PR and stop Dependabot creating any more for the specific dependency's minor version (unless you unignore this specific dependency's minor version or upgrade to it yourself)
- `@dependabot ignore ` will close this group update PR and stop Dependabot creating any more for the specific dependency (unless you unignore this specific dependency or upgrade to it yourself)
- `@dependabot unignore ` will remove all of the ignore conditions of the specified dependency
- `@dependabot unignore ` will remove the ignore condition of the specified dependency and ignore conditions
Bumps the npm-development group with 7 updates in the /web directory:
1.2.1
1.2.2
9.13.0
9.14.0
22.7.9
22.8.6
8.11.0
8.12.2
9.13.0
9.14.0
2.1.3
2.1.4
0.3.0
0.4.1
Updates
@eslint/compat
from 1.2.1 to 1.2.2Release notes
Sourced from
@eslint/compat
's releases.Commits
0dc78d3
chore: release main (#125)ffa176f
feat: Add rule types (#110)2241c64
ci: add Node.js v23 (#126)16f08d6
docs: Update README sponsorsf93aa4c
fix!: correctly detect if file is outside base path on Windows (#59)Updates
@eslint/js
from 9.13.0 to 9.14.0Release notes
Sourced from
@eslint/js
's releases.Changelog
Sourced from
@eslint/js
's changelog.Commits
28be447
chore: package.json update for@eslint/js
releaseb0faee3
feat: add types for the@eslint/js
package (#19010)Updates
@types/node
from 22.7.9 to 22.8.6Commits
Updates
@typescript-eslint/parser
from 8.11.0 to 8.12.2Release notes
Sourced from
@typescript-eslint/parser
's releases.Changelog
Sourced from
@typescript-eslint/parser
's changelog.Commits
4af866a
chore(release): publish 8.12.21edec1d
chore(release): publish 8.12.13413a2d
chore(release): publish 8.12.0Updates
eslint
from 9.13.0 to 9.14.0Release notes
Sourced from eslint's releases.
Changelog
Sourced from eslint's changelog.
Commits
db0b844
9.14.020b0da1
Build: changelog update for 9.14.0f36cb16
chore: upgrade@eslint/js
@9
.14.0 (#19086)28be447
chore: package.json update for@eslint/js
release24d0172
fix: enable retry concurrency limit for readFile() (#19077)3fa009f
feat: add support for Import Attributes and RegExp Modifiers (#19076)b0faee3
feat: add types for the@eslint/js
package (#19010)151c965
docs: updatecontext.languageOptions.parser
description (#19084)dc34f94
docs: Update READMEf48a2a0
test: addno-invalid-regexp
tests with RegExp Modifiers (#19075)Updates
vitest
from 2.1.3 to 2.1.4Release notes
Sourced from vitest's releases.
Commits
0df44c0
chore: release v2.1.42444ff2
fix(browser): initiate MSW in the same frame as tests (#6772)39041ee
fix(vitest): silence import analysis warning (#6785)b28cd2e
fix: don't normalize drive case letter in root (#6792)df6d750
fix(vitest): don't fail if the working directory starts with a lowercase driv...169028f
feat(browser): allow custom HTML path, respect pluginstransformIndexHtml
(...5df7414
chore(deps): update all non-major dependencies (#6750)de74785
chore(deps): update@antfu/eslint-config
v3.8.0 (#6751)121b161
fix(vitest): print warnings form Vite plugins (#6724)a939779
fix(browser): increment browser port automatically if there are several proje...Updates
vitest-fetch-mock
from 0.3.0 to 0.4.1Release notes
Sourced from vitest-fetch-mock's releases.
Commits
66aeefd
0.4.183816e5
feat: allow passing null or undefined as response body (#27)46bbb06
feat: allow more types of overloads of mockResponse (#26)17f9f68
fix: make fetchMock globally available again (#29)6b4ba2e
0.4.01503596
Update readme820015b
feat!: decouple from cross-fetch (#24)Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting
@dependabot rebase
.Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR: - `@dependabot rebase` will rebase this PR - `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it - `@dependabot merge` will merge this PR after your CI passes on it - `@dependabot squash and merge` will squash and merge this PR after your CI passes on it - `@dependabot cancel merge` will cancel a previously requested merge and block automerging - `@dependabot reopen` will reopen this PR if it is closed - `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually - `@dependabot show