2016-11-10 14:26:24 +01:00
{
2022-08-26 09:25:31 +02:00
"name" : "unleash-frontend-local" ,
"version" : "0.0.0" ,
"private" : true ,
2016-12-23 10:58:33 +01:00
"files" : [
"index.js" ,
2023-04-18 15:44:19 +02:00
"build"
2016-12-23 10:58:33 +01:00
] ,
2016-11-10 14:26:24 +01:00
"engines" : {
2023-04-18 14:42:49 +02:00
"node" : ">=18"
2016-11-10 14:26:24 +01:00
} ,
"scripts" : {
2022-08-30 10:52:30 +02:00
"build" : "vite build" ,
2022-05-05 17:15:22 +02:00
"start" : "vite" ,
2022-12-16 19:09:24 +01:00
"start:prod" : "vite build && vite preview" ,
2022-10-19 14:02:00 +02:00
"start:sandbox" : "UNLEASH_API=https://sandbox.getunleash.io/ospro yarn run start" ,
2023-01-17 13:33:52 +01:00
"start:demo2" : "UNLEASH_API=https://sandbox.getunleash.io/ UNLEASH_BASE_PATH=/demo2/ yarn run start" ,
"start:enterprise" : "UNLEASH_API=https://unleash.herokuapp.com VITE_TEST_REDIRECT=true yarn run start" ,
2023-02-17 12:15:50 +01:00
"start:demo" : "UNLEASH_BASE_PATH=/demo/ UNLEASH_API=https://app.unleash-hosted.com/ yarn run start" ,
2023-04-18 10:35:32 +02:00
"test" : "tsc && NODE_OPTIONS=\"${NODE_OPTIONS} --no-experimental-fetch\" vitest run" ,
"test:snapshot" : "NODE_OPTIONS=\"${NODE_OPTIONS} --no-experimental-fetch\" yarn test -u" ,
"test:watch" : "NODE_OPTIONS=\"${NODE_OPTIONS} --no-experimental-fetch\" vitest watch" ,
2023-01-02 10:46:32 +01:00
"lint" : "eslint --fix ./src" ,
"lint:check" : "eslint ./src" ,
2022-02-18 09:51:10 +01:00
"fmt" : "prettier src --write --loglevel warn" ,
"fmt:check" : "prettier src --check" ,
2022-09-30 13:01:32 +02:00
"ts:check" : "tsc" ,
2023-04-18 10:35:32 +02:00
"e2e" : "NODE_OPTIONS=\"${NODE_OPTIONS} --no-experimental-fetch\" yarn run cypress open --config baseUrl='http://localhost:3000' --env AUTH_USER=admin,AUTH_PASSWORD=unleash4all" ,
"e2e:heroku" : "NODE_OPTIONS=\"${NODE_OPTIONS} --no-experimental-fetch\" yarn run cypress open --config baseUrl='https://unleash.herokuapp.com' --env AUTH_USER=admin,AUTH_PASSWORD=unleash4all" ,
"gen:api" : "NODE_OPTIONS=\"${NODE_OPTIONS} --no-experimental-fetch\" orval --config orval.config.js" ,
"gen:api:demo" : "NODE_OPTIONS=\"${NODE_OPTIONS} --no-experimental-fetch\" UNLEASH_OPENAPI_URL=https://app.unleash-hosted.com/demo/docs/openapi.json yarn run gen:api" ,
"gen:api:sandbox" : "NODE_OPTIONS=\"${NODE_OPTIONS} --no-experimental-fetch\" UNLEASH_OPENAPI_URL=https://sandbox.getunleash.io/demo2/docs/openapi.json yarn run gen:api" ,
2022-08-26 09:25:31 +02:00
"prepare" : "yarn run build"
2016-11-10 14:26:24 +01:00
} ,
2021-04-09 13:38:30 +02:00
"devDependencies" : {
2022-10-26 22:13:52 +02:00
"@codemirror/lang-json" : "6.0.1" ,
2023-05-06 00:47:03 +02:00
"@emotion/react" : "11.10.8" ,
"@emotion/styled" : "11.10.8" ,
chore(deps): update material-ui monorepo (#3174)
[![Mend
Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com)
This PR contains the following updates:
| Package | Change | Age | Adoption | Passing | Confidence |
|---|---|---|---|---|---|
| [@mui/icons-material](https://mui.com/material-ui/material-icons/)
([source](https://togithub.com/mui/material-ui)) | [`5.11.0` ->
`5.11.9`](https://renovatebot.com/diffs/npm/@mui%2ficons-material/5.11.0/5.11.9)
|
[![age](https://badges.renovateapi.com/packages/npm/@mui%2ficons-material/5.11.9/age-slim)](https://docs.renovatebot.com/merge-confidence/)
|
[![adoption](https://badges.renovateapi.com/packages/npm/@mui%2ficons-material/5.11.9/adoption-slim)](https://docs.renovatebot.com/merge-confidence/)
|
[![passing](https://badges.renovateapi.com/packages/npm/@mui%2ficons-material/5.11.9/compatibility-slim/5.11.0)](https://docs.renovatebot.com/merge-confidence/)
|
[![confidence](https://badges.renovateapi.com/packages/npm/@mui%2ficons-material/5.11.9/confidence-slim/5.11.0)](https://docs.renovatebot.com/merge-confidence/)
|
| [@mui/lab](https://mui.com/material-ui/about-the-lab/)
([source](https://togithub.com/mui/material-ui)) | [`5.0.0-alpha.119` ->
`5.0.0-alpha.120`](https://renovatebot.com/diffs/npm/@mui%2flab/5.0.0-alpha.119/5.0.0-alpha.120)
|
[![age](https://badges.renovateapi.com/packages/npm/@mui%2flab/5.0.0-alpha.120/age-slim)](https://docs.renovatebot.com/merge-confidence/)
|
[![adoption](https://badges.renovateapi.com/packages/npm/@mui%2flab/5.0.0-alpha.120/adoption-slim)](https://docs.renovatebot.com/merge-confidence/)
|
[![passing](https://badges.renovateapi.com/packages/npm/@mui%2flab/5.0.0-alpha.120/compatibility-slim/5.0.0-alpha.119)](https://docs.renovatebot.com/merge-confidence/)
|
[![confidence](https://badges.renovateapi.com/packages/npm/@mui%2flab/5.0.0-alpha.120/confidence-slim/5.0.0-alpha.119)](https://docs.renovatebot.com/merge-confidence/)
|
| [@mui/material](https://mui.com/material-ui/getting-started/overview/)
([source](https://togithub.com/mui/material-ui)) | [`5.11.8` ->
`5.11.9`](https://renovatebot.com/diffs/npm/@mui%2fmaterial/5.11.8/5.11.9)
|
[![age](https://badges.renovateapi.com/packages/npm/@mui%2fmaterial/5.11.9/age-slim)](https://docs.renovatebot.com/merge-confidence/)
|
[![adoption](https://badges.renovateapi.com/packages/npm/@mui%2fmaterial/5.11.9/adoption-slim)](https://docs.renovatebot.com/merge-confidence/)
|
[![passing](https://badges.renovateapi.com/packages/npm/@mui%2fmaterial/5.11.9/compatibility-slim/5.11.8)](https://docs.renovatebot.com/merge-confidence/)
|
[![confidence](https://badges.renovateapi.com/packages/npm/@mui%2fmaterial/5.11.9/confidence-slim/5.11.8)](https://docs.renovatebot.com/merge-confidence/)
|
---
### Release Notes
<details>
<summary>mui/material-ui</summary>
###
[`v5.11.9`](https://togithub.com/mui/material-ui/blob/HEAD/CHANGELOG.md#​5119)
[Compare
Source](https://togithub.com/mui/material-ui/compare/v5.11.0...v5.11.9)
<!-- generated comparing v5.11.8..master -->
*Feb 14, 2023*
A big thanks to the 17 contributors who made this release possible. Here
are some highlights ✨:
- 🐛 [@​rangoo94](https://togithub.com/rangoo94),
[@​sai6855](https://togithub.com/sai6855), and
[@​michaldudak](https://togithub.com/michaldudak) fixed a couple
of bugs in the Autocomplete component
([#​36116](https://togithub.com/mui/material-ui/issues/36116),
[#​35640](https://togithub.com/mui/material-ui/issues/35640),
[#​36076](https://togithub.com/mui/material-ui/issues/36076),
[#​36088](https://togithub.com/mui/material-ui/issues/36088))
- many other 🐛 bug fixes and 📚 documentation improvements
##### `@mui/material@5.11.9`
- \[AppBar] Fix joinVars() not handling undefined
([#​36128](https://togithub.com/mui/material-ui/issues/36128))
[@​donaldnevermore](https://togithub.com/donaldnevermore)
- \[Autocomplete] Fix tag removal regression
([#​36116](https://togithub.com/mui/material-ui/issues/36116))
[@​michaldudak](https://togithub.com/michaldudak)
- \[Autocomplete] Correct padding of filled Autocomplete
([#​35640](https://togithub.com/mui/material-ui/issues/35640))
[@​michaldudak](https://togithub.com/michaldudak)
- \[Grid]\[Stack] classNames prefixed with Mui
([#​36167](https://togithub.com/mui/material-ui/issues/36167))
[@​sai6855](https://togithub.com/sai6855)
##### `@mui/styled-engine@5.11.9`
- \[StyledEngineProvider] Fix issue with cache not being defined
([#​36162](https://togithub.com/mui/material-ui/issues/36162))
[@​mnajdova](https://togithub.com/mnajdova)
##### `@mui/joy@5.0.0-alpha.67`
- \[Joy] Add order dashboard template
([#​36081](https://togithub.com/mui/material-ui/issues/36081))
[@​siriwatknp](https://togithub.com/siriwatknp)
- \[Joy] Remove classes prop from the components that have it
([#​36159](https://togithub.com/mui/material-ui/issues/36159))
[@​hbjORbj](https://togithub.com/hbjORbj)
- \[Joy] Miscellaneous fixes
([#​36163](https://togithub.com/mui/material-ui/issues/36163))
[@​siriwatknp](https://togithub.com/siriwatknp)
##### `@mui/base@5.0.0-alpha.118`
- \[base] Override the types of `slotProps` per slot
([#​35964](https://togithub.com/mui/material-ui/issues/35964))
[@​hbjORbj](https://togithub.com/hbjORbj)
- \[Select]\[base] Prevent unnecessary rerendering of Select options
([#​35946](https://togithub.com/mui/material-ui/issues/35946))
[@​michaldudak](https://togithub.com/michaldudak)
- \[Select]\[base] Update the generated docs
([#​36183](https://togithub.com/mui/material-ui/issues/36183))
[@​michaldudak](https://togithub.com/michaldudak)
- \[useAutocomplete] Pass only valid values for the getOptionLabel prop
([#​36088](https://togithub.com/mui/material-ui/issues/36088))
[@​rangoo94](https://togithub.com/rangoo94)
- \[useAutocomplete] Fix `useAutocomplete` disabled prop not disabling
the input
([#​36076](https://togithub.com/mui/material-ui/issues/36076))
[@​sai6855](https://togithub.com/sai6855)
- \[useInput] Add return value interface
([#​36036](https://togithub.com/mui/material-ui/issues/36036))
[@​Shorifpatwary](https://togithub.com/Shorifpatwary)
- \[UseTabPanel] Add explicit return type
([#​36053](https://togithub.com/mui/material-ui/issues/36053))
[@​Shorifpatwary](https://togithub.com/Shorifpatwary)
- \[useTabsList] Add explicit return type
([#​36048](https://togithub.com/mui/material-ui/issues/36048))
[@​sai6855](https://togithub.com/sai6855)
- \[Tab] Add explicit return type to useTab
([#​36046](https://togithub.com/mui/material-ui/issues/36046))
[@​sai6855](https://togithub.com/sai6855)
##### `@mui/material-next@6.0.0-alpha.75`
- \[Material You] Use `md` as a CSS var prefix
([#​36177](https://togithub.com/mui/material-ui/issues/36177))
[@​siriwatknp](https://togithub.com/siriwatknp)
##### Docs
- \[docs] Fix the prop type regression on the API pages
([#​36168](https://togithub.com/mui/material-ui/issues/36168))
[@​mnajdova](https://togithub.com/mnajdova)
- \[docs] Fix virtualized table column resizing
([#​36066](https://togithub.com/mui/material-ui/issues/36066))
[@​petyosi](https://togithub.com/petyosi)
- \[docs] Fix react-spring demos
([#​36023](https://togithub.com/mui/material-ui/issues/36023))
[@​oliviertassinari](https://togithub.com/oliviertassinari)
- \[docs] Fix classname mismatch on Joy docs
([#​36127](https://togithub.com/mui/material-ui/issues/36127))
[@​siriwatknp](https://togithub.com/siriwatknp)
- \[docs] Fix typo in the released version of
[@​mui/styled-engine](https://togithub.com/mui/styled-engine)
([#​36121](https://togithub.com/mui/material-ui/issues/36121))
[@​m4theushw](https://togithub.com/m4theushw)
- \[docs] Fix demos showing TypeScript instead of JavaScript
([#​35850](https://togithub.com/mui/material-ui/issues/35850))
[@​mj12albert](https://togithub.com/mj12albert)
- \[docs] Update release instructions
([#​36113](https://togithub.com/mui/material-ui/issues/36113))
[@​mj12albert](https://togithub.com/mj12albert)
- \[docs] Rename `v6-alpha` to `v6-next` in navigation
([#​36102](https://togithub.com/mui/material-ui/issues/36102))
[@​LukasTy](https://togithub.com/LukasTy)
- \[docs] Revise Joy UI "Input" page
([#​35970](https://togithub.com/mui/material-ui/issues/35970))
[@​LadyBluenotes](https://togithub.com/LadyBluenotes)
- \[docs] Revise Joy UI "Typography" page
([#​35868](https://togithub.com/mui/material-ui/issues/35868))
[@​LadyBluenotes](https://togithub.com/LadyBluenotes)
##### Examples
- \[examples]\[vitejs] Load Roboto font
([#​35678](https://togithub.com/mui/material-ui/issues/35678))
[@​oliv37](https://togithub.com/oliv37)
##### Core
- \[blog] Fix the look and feel of the media description
([#​36069](https://togithub.com/mui/material-ui/issues/36069))
[@​oliviertassinari](https://togithub.com/oliviertassinari)
- \[core] Add default preview url
([#​36118](https://togithub.com/mui/material-ui/issues/36118))
[@​siriwatknp](https://togithub.com/siriwatknp)
- \[core] Migrate all the internals exported by `tests/utils/index.js`
to TypeScript
([#​35382](https://togithub.com/mui/material-ui/issues/35382))
[@​flaviendelangle](https://togithub.com/flaviendelangle)
- \[core] Convert the waterfall module to an internal package
([#​35323](https://togithub.com/mui/material-ui/issues/35323))
[@​michaldudak](https://togithub.com/michaldudak)
- \[website] Fix homepage MD theme demo
([#​36027](https://togithub.com/mui/material-ui/issues/36027))
[@​oliviertassinari](https://togithub.com/oliviertassinari)
- \[website] Revise the Lead Designer role job ad
([#​35912](https://togithub.com/mui/material-ui/issues/35912))
[@​danilo-leal](https://togithub.com/danilo-leal)
- \[POC] Add deploy preview to PR body
([#​35995](https://togithub.com/mui/material-ui/issues/35995))
[@​siriwatknp](https://togithub.com/siriwatknp)
All contributors of this release in alphabetical order:
[@​danilo-leal](https://togithub.com/danilo-leal),
[@​donaldnevermore](https://togithub.com/donaldnevermore),
[@​flaviendelangle](https://togithub.com/flaviendelangle),
[@​hbjORbj](https://togithub.com/hbjORbj),
[@​LadyBluenotes](https://togithub.com/LadyBluenotes),
[@​LukasTy](https://togithub.com/LukasTy),
[@​m4theushw](https://togithub.com/m4theushw),
[@​michaldudak](https://togithub.com/michaldudak),
[@​mj12albert](https://togithub.com/mj12albert),
[@​mnajdova](https://togithub.com/mnajdova),
[@​oliv37](https://togithub.com/oliv37),
[@​oliviertassinari](https://togithub.com/oliviertassinari),
[@​petyosi](https://togithub.com/petyosi),
[@​rangoo94](https://togithub.com/rangoo94),
[@​sai6855](https://togithub.com/sai6855),
[@​Shorifpatwary](https://togithub.com/Shorifpatwary),
[@​siriwatknp](https://togithub.com/siriwatknp)
</details>
---
### Configuration
📅 **Schedule**: Branch creation - At any time (no schedule defined),
Automerge - At any time (no schedule defined).
🚦 **Automerge**: Enabled.
♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the
rebase/retry checkbox.
👻 **Immortal**: This PR will be recreated if closed unmerged. Get
[config help](https://togithub.com/renovatebot/renovate/discussions) if
that's undesired.
---
- [ ] <!-- 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://app.renovatebot.com/dashboard#github/Unleash/unleash).
<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNC4xNDguMCIsInVwZGF0ZWRJblZlciI6IjM0LjE0OC4wIn0=-->
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-02-22 00:53:48 +01:00
"@mui/icons-material" : "5.11.9" ,
"@mui/lab" : "5.0.0-alpha.120" ,
chore(deps): update dependency @mui/material to v5.11.10 (#3207)
[![Mend
Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com)
This PR contains the following updates:
| Package | Change | Age | Adoption | Passing | Confidence |
|---|---|---|---|---|---|
| [@mui/material](https://mui.com/material-ui/getting-started/overview/)
([source](https://togithub.com/mui/material-ui)) | [`5.11.9` ->
`5.11.10`](https://renovatebot.com/diffs/npm/@mui%2fmaterial/5.11.9/5.11.10)
|
[![age](https://badges.renovateapi.com/packages/npm/@mui%2fmaterial/5.11.10/age-slim)](https://docs.renovatebot.com/merge-confidence/)
|
[![adoption](https://badges.renovateapi.com/packages/npm/@mui%2fmaterial/5.11.10/adoption-slim)](https://docs.renovatebot.com/merge-confidence/)
|
[![passing](https://badges.renovateapi.com/packages/npm/@mui%2fmaterial/5.11.10/compatibility-slim/5.11.9)](https://docs.renovatebot.com/merge-confidence/)
|
[![confidence](https://badges.renovateapi.com/packages/npm/@mui%2fmaterial/5.11.10/confidence-slim/5.11.9)](https://docs.renovatebot.com/merge-confidence/)
|
---
### Release Notes
<details>
<summary>mui/material-ui</summary>
###
[`v5.11.10`](https://togithub.com/mui/material-ui/blob/HEAD/CHANGELOG.md#​51110)
[Compare
Source](https://togithub.com/mui/material-ui/compare/v5.11.9...v5.11.10)
<!-- generated comparing v5.11.9..master -->
*Feb 20, 2023*
A big thanks to the 11 contributors who made this release possible.
This release was mostly about 🐛 bug fixes and 📚 documentation
improvements.
##### `@mui/material@5.11.10`
- <!-- 22 -->\[Avatar] Fix ownerState usage with styleOverrides when
fallback is used
([#​36228](https://togithub.com/mui/material-ui/issues/36228))
[@​sai6855](https://togithub.com/sai6855)
- <!-- 21 -->\[Badge]\[material] Replace `BadgeUnstyled` with
`useBadge` hook
([#​36158](https://togithub.com/mui/material-ui/issues/36158))
[@​hbjORbj](https://togithub.com/hbjORbj)
- <!-- 03 -->\[Switch] Fix DOM warning when `type` isn't `checkbox` or
`radio`
([#​36170](https://togithub.com/mui/material-ui/issues/36170))
[@​dani-mp](https://togithub.com/dani-mp)
- <!-- 02 -->\[TextareaAutosize] Convert code to TypeScript
([#​35862](https://togithub.com/mui/material-ui/issues/35862))
[@​sai6855](https://togithub.com/sai6855)
- <!-- 01 -->\[useMediaQuery] Fix behavior of noSsr with React 18
([#​36056](https://togithub.com/mui/material-ui/issues/36056))
[@​oliviertassinari](https://togithub.com/oliviertassinari)
##### `@mui/joy@5.0.0-alpha.68`
- <!-- 05 -->\[Joy] Add `zIndex` to theme
([#​36236](https://togithub.com/mui/material-ui/issues/36236))
[@​siriwatknp](https://togithub.com/siriwatknp)
- <!-- 04 -->\[Joy] Remove transition from all components
([#​35952](https://togithub.com/mui/material-ui/issues/35952))
[@​hbjORbj](https://togithub.com/hbjORbj)
##### Docs
- <!-- 20 -->\[docs]\[base] Fix base Input demos for Safari
([#​36213](https://togithub.com/mui/material-ui/issues/36213))
[@​mj12albert](https://togithub.com/mj12albert)
- <!-- 16 -->\[docs] Fix 301 links
[@​oliviertassinari](https://togithub.com/oliviertassinari)
- <!-- 15 -->\[docs] Fix modal transition demos
([#​36137](https://togithub.com/mui/material-ui/issues/36137))
[@​oliviertassinari](https://togithub.com/oliviertassinari)
- <!-- 14 -->\[docs] Update links to pt examples
([#​36237](https://togithub.com/mui/material-ui/issues/36237))
[@​Aleff13](https://togithub.com/Aleff13)
- <!-- 13 -->\[docs] Update custom Typography variants example
([#​36185](https://togithub.com/mui/material-ui/issues/36185))
[@​mj12albert](https://togithub.com/mj12albert)
- <!-- 12 -->\[docs] Change markdown numbering syntax
([#​36187](https://togithub.com/mui/material-ui/issues/36187))
[@​mj12albert](https://togithub.com/mj12albert)
- <!-- 11 -->\[docs] Fix switch alignment in `Disabled tree items`
section in Tree View docs
([#​36217](https://togithub.com/mui/material-ui/issues/36217))
[@​PunitSoniME](https://togithub.com/PunitSoniME)
- <!-- 10 -->\[docs] Standardize example names
([#​36112](https://togithub.com/mui/material-ui/issues/36112))
[@​samuelsycamore](https://togithub.com/samuelsycamore)
- <!-- 09 -->\[docs] Fix typo
[@​oliviertassinari](https://togithub.com/oliviertassinari)
- <!-- 08 -->\[docs] Fix markdown table alignments
([#​36136](https://togithub.com/mui/material-ui/issues/36136))
[@​oliviertassinari](https://togithub.com/oliviertassinari)
- <!-- 07 -->\[docs] Small color tweaks to the docs search bar
([#​36160](https://togithub.com/mui/material-ui/issues/36160))
[@​danilo-leal](https://togithub.com/danilo-leal)
- <!-- 06 -->\[docs]\[joy] Update class name prefixes in the `Anatomy`
section
([#​36210](https://togithub.com/mui/material-ui/issues/36210))
[@​ZeeshanTamboli](https://togithub.com/ZeeshanTamboli)
##### Core
- <!-- 19 -->\[core] Migrate nprogress to emotion
([#​36181](https://togithub.com/mui/material-ui/issues/36181))
[@​siriwatknp](https://togithub.com/siriwatknp)
- <!-- 18 -->\[core] Enforce namespace import for ReactDOM
([#​36208](https://togithub.com/mui/material-ui/issues/36208))
[@​mj12albert](https://togithub.com/mj12albert)
- <!-- 17 -->\[core] Fix deploy preview links
([#​36203](https://togithub.com/mui/material-ui/issues/36203))
[@​siriwatknp](https://togithub.com/siriwatknp)
All contributors of this release in alphabetical order:
[@​Aleff13](https://togithub.com/Aleff13),
[@​dani-mp](https://togithub.com/dani-mp),
[@​danilo-leal](https://togithub.com/danilo-leal),
[@​hbjORbj](https://togithub.com/hbjORbj),
[@​mj12albert](https://togithub.com/mj12albert),
[@​oliviertassinari](https://togithub.com/oliviertassinari),
[@​PunitSoniME](https://togithub.com/PunitSoniME),
[@​sai6855](https://togithub.com/sai6855),
[@​samuelsycamore](https://togithub.com/samuelsycamore),
[@​siriwatknp](https://togithub.com/siriwatknp),
[@​ZeeshanTamboli](https://togithub.com/ZeeshanTamboli)
</details>
---
### Configuration
📅 **Schedule**: Branch creation - At any time (no schedule defined),
Automerge - At any time (no schedule defined).
🚦 **Automerge**: Enabled.
♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the
rebase/retry checkbox.
🔕 **Ignore**: Close this PR and you won't be reminded about this update
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://app.renovatebot.com/dashboard#github/Unleash/unleash).
<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNC4xNTIuNSIsInVwZGF0ZWRJblZlciI6IjM0LjE1Mi41In0=-->
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-02-28 01:14:49 +01:00
"@mui/material" : "5.11.10" ,
2023-02-15 03:50:32 +01:00
"@testing-library/dom" : "8.20.0" ,
2022-08-19 13:16:00 +02:00
"@testing-library/jest-dom" : "5.16.5" ,
2022-04-17 20:16:53 +02:00
"@testing-library/react" : "12.1.5" ,
2022-08-18 15:56:39 +02:00
"@testing-library/react-hooks" : "7.0.2" ,
2022-08-19 16:07:17 +02:00
"@testing-library/user-event" : "14.4.3" ,
2021-09-29 21:11:52 +02:00
"@types/debounce" : "1.2.1" ,
2022-12-07 17:22:03 +01:00
"@types/deep-diff" : "1.0.2" ,
chore(deps): update jest monorepo (#3694)
[![Mend
Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com)
This PR contains the following updates:
| Package | Change | Age | Adoption | Passing | Confidence |
|---|---|---|---|---|---|
|
[@types/jest](https://togithub.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/jest)
([source](https://togithub.com/DefinitelyTyped/DefinitelyTyped)) |
[`29.4.0` ->
`29.5.1`](https://renovatebot.com/diffs/npm/@types%2fjest/29.4.0/29.5.1)
|
[![age](https://badges.renovateapi.com/packages/npm/@types%2fjest/29.5.1/age-slim)](https://docs.renovatebot.com/merge-confidence/)
|
[![adoption](https://badges.renovateapi.com/packages/npm/@types%2fjest/29.5.1/adoption-slim)](https://docs.renovatebot.com/merge-confidence/)
|
[![passing](https://badges.renovateapi.com/packages/npm/@types%2fjest/29.5.1/compatibility-slim/29.4.0)](https://docs.renovatebot.com/merge-confidence/)
|
[![confidence](https://badges.renovateapi.com/packages/npm/@types%2fjest/29.5.1/confidence-slim/29.4.0)](https://docs.renovatebot.com/merge-confidence/)
|
| [jest](https://jestjs.io/)
([source](https://togithub.com/facebook/jest)) | [`29.4.3` ->
`29.5.0`](https://renovatebot.com/diffs/npm/jest/29.4.3/29.5.0) |
[![age](https://badges.renovateapi.com/packages/npm/jest/29.5.0/age-slim)](https://docs.renovatebot.com/merge-confidence/)
|
[![adoption](https://badges.renovateapi.com/packages/npm/jest/29.5.0/adoption-slim)](https://docs.renovatebot.com/merge-confidence/)
|
[![passing](https://badges.renovateapi.com/packages/npm/jest/29.5.0/compatibility-slim/29.4.3)](https://docs.renovatebot.com/merge-confidence/)
|
[![confidence](https://badges.renovateapi.com/packages/npm/jest/29.5.0/confidence-slim/29.4.3)](https://docs.renovatebot.com/merge-confidence/)
|
---
### Release Notes
<details>
<summary>facebook/jest</summary>
###
[`v29.5.0`](https://togithub.com/facebook/jest/blob/HEAD/CHANGELOG.md#​2950)
[Compare
Source](https://togithub.com/facebook/jest/compare/v29.4.3...v29.5.0)
##### Features
- `[jest-changed-files]` Support Sapling
([#​13941](https://togithub.com/facebook/jest/pull/13941))
- `[jest-circus, @​jest/cli, jest-config]` Add feature to
randomize order of tests via CLI flag or through the config
file([#​12922](https://togithub.com/facebook/jest/pull/12922))
- `[jest-cli, jest-config, @​jest/core, jest-haste-map,
@​jest/reporters, jest-runner, jest-runtime, @​jest/types]`
Add `workerThreads` configuration option to allow using [worker
threads](https://nodejs.org/dist/latest/docs/api/worker_threads.html)
for parallelization
([#​13939](https://togithub.com/facebook/jest/pull/13939))
- `[jest-cli]` Export `yargsOptions`
([#​13970](https://togithub.com/facebook/jest/pull/13970))
- `[jest-config]` Add `openHandlesTimeout` option to configure possible
open handles warning.
([#​13875](https://togithub.com/facebook/jest/pull/13875))
- `[@jest/create-cache-key-function]` Allow passing `length` argument to
`createCacheKey()` function and set its default value to `16` on Windows
([#​13827](https://togithub.com/facebook/jest/pull/13827))
- `[jest-message-util]` Add support for
[AggregateError](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/AggregateError)
([#​13946](https://togithub.com/facebook/jest/pull/13946) &
[#​13947](https://togithub.com/facebook/jest/pull/13947))
- `[jest-message-util]` Add support for [Error
causes](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Error/cause)
in `test` and `it`
([#​13935](https://togithub.com/facebook/jest/pull/13935) &
[#​13966](https://togithub.com/facebook/jest/pull/13966))
- `[jest-reporters]` Add `summaryThreshold` option to summary reporter
to allow overriding the internal threshold that is used to print the
summary of all failed tests when the number of test suites surpasses it
([#​13895](https://togithub.com/facebook/jest/pull/13895))
- `[jest-runtime]` Expose `@sinonjs/fake-timers` async APIs functions
`advanceTimersByTimeAsync(msToRun)` (`tickAsync(msToRun)`),
`advanceTimersToNextTimerAsync(steps)` (`nextAsync`),
`runAllTimersAsync` (`runAllAsync`), and `runOnlyPendingTimersAsync`
(`runToLastAsync`)
([#​13981](https://togithub.com/facebook/jest/pull/13981))
- `[jest-runtime, @​jest/transform]` Allow V8 coverage provider to
collect coverage from files which were not loaded explicitly
([#​13974](https://togithub.com/facebook/jest/pull/13974))
- `[jest-snapshot]` Add support to `cts` and `mts` TypeScript files to
inline snapshots
([#​13975](https://togithub.com/facebook/jest/pull/13975))
- `[jest-worker]` Add `start` method to worker farms
([#​13937](https://togithub.com/facebook/jest/pull/13937))
- `[jest-worker]` Support passing a URL as path to worker
([#​13982](https://togithub.com/facebook/jest/pull/13982))
##### Fixes
- `[babel-plugin-jest-hoist]` Fix unwanted hoisting of nested `jest`
usages ([#​13952](https://togithub.com/facebook/jest/pull/13952))
- `[jest-circus]` Send test case results for `todo` tests
([#​13915](https://togithub.com/facebook/jest/pull/13915))
- `[jest-circus]` Update message printed on test timeout
([#​13830](https://togithub.com/facebook/jest/pull/13830))
- `[jest-circus]` Avoid creating the word "testfalse" when
`takesDoneCallback` is `false` in the message printed on test timeout
AND updated timeouts test
([#​13954](https://togithub.com/facebook/jest/pull/13954))
- `[jest-environment-jsdom]` Stop setting `document` to `null` on
teardown
([#​13972](https://togithub.com/facebook/jest/pull/13972))
- `[@jest/expect-utils]` Update `toStrictEqual()` to be able to check
`jest.fn().mock.calls`
([#​13960](https://togithub.com/facebook/jest/pull/13960))
- `[@jest/test-result]` Allow `TestResultsProcessor` type to return a
Promise ([#​13950](https://togithub.com/facebook/jest/pull/13950))
##### Chore & Maintenance
- `[jest-snapshot]` Remove dependency on `jest-haste-map`
([#​13977](https://togithub.com/facebook/jest/pull/13977))
</details>
---
### Configuration
📅 **Schedule**: Branch creation - At any time (no schedule defined),
Automerge - At any time (no schedule defined).
🚦 **Automerge**: Enabled.
♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the
rebase/retry checkbox.
👻 **Immortal**: This PR will be recreated if closed unmerged. Get
[config help](https://togithub.com/renovatebot/renovate/discussions) if
that's undesired.
---
- [ ] <!-- 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://app.renovatebot.com/dashboard#github/Unleash/unleash).
<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNS43MS40IiwidXBkYXRlZEluVmVyIjoiMzUuNzEuNCIsInRhcmdldEJyYW5jaCI6Im1haW4ifQ==-->
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-05-05 16:19:19 +02:00
"@types/jest" : "29.5.1" ,
2022-04-28 16:57:43 +02:00
"@types/lodash.clonedeep" : "4.5.7" ,
2022-12-02 10:39:20 +01:00
"@types/lodash.omit" : "4.5.7" ,
2022-02-25 10:55:39 +01:00
"@types/node" : "17.0.18" ,
2023-04-20 21:43:23 +02:00
"@types/react" : "17.0.58" ,
2023-05-03 05:10:53 +02:00
"@types/react-dom" : "17.0.20" ,
2023-04-13 14:48:03 +02:00
"@types/react-linkify" : "1.0.1" ,
2022-05-05 15:34:46 +02:00
"@types/react-router-dom" : "5.3.3" ,
2022-12-31 06:10:56 +01:00
"@types/react-table" : "7.7.14" ,
2022-04-28 21:16:06 +02:00
"@types/react-test-renderer" : "17.0.2" ,
2021-10-08 19:04:55 +02:00
"@types/react-timeago" : "4.1.3" ,
2022-10-27 08:44:24 +02:00
"@types/semver" : "7.3.13" ,
2023-01-27 09:13:57 +01:00
"@types/uuid" : "^9.0.0" ,
2023-04-20 02:20:18 +02:00
"@uiw/codemirror-theme-duotone" : "4.19.16" ,
2023-04-20 17:32:50 +02:00
"@uiw/react-codemirror" : "4.19.16" ,
2023-02-15 06:02:10 +01:00
"@vitejs/plugin-react" : "3.1.0" ,
2022-08-04 16:46:41 +02:00
"chart.js" : "3.9.1" ,
2022-12-28 14:09:19 +01:00
"chartjs-adapter-date-fns" : "3.0.0" ,
2022-10-07 04:41:23 +02:00
"classnames" : "2.3.2" ,
2022-11-14 17:27:49 +01:00
"copy-to-clipboard" : "3.3.3" ,
2023-04-18 11:56:15 +02:00
"countries-and-timezones" : "^3.4.0" ,
2022-08-01 11:50:59 +02:00
"cypress" : "9.7.0" ,
2022-10-07 07:12:58 +02:00
"date-fns" : "2.29.3" ,
2023-04-18 11:56:15 +02:00
"date-fns-tz" : "^2.0.0" ,
2021-09-27 09:12:17 +02:00
"debounce" : "1.2.1" ,
2021-11-08 16:02:06 +01:00
"deep-diff" : "1.0.2" ,
2022-10-10 12:18:37 +02:00
"dequal" : "2.0.3" ,
2023-05-03 01:14:55 +02:00
"eslint" : "8.39.0" ,
2022-08-18 15:56:39 +02:00
"eslint-config-react-app" : "7.0.1" ,
2022-03-24 20:06:59 +01:00
"fast-json-patch" : "3.1.1" ,
2022-04-29 01:07:23 +02:00
"http-proxy-middleware" : "2.0.6" ,
2023-04-03 17:42:06 +02:00
"immer" : "9.0.21" ,
2023-03-30 18:17:45 +02:00
"jsdom" : "21.1.1" ,
2021-09-27 09:12:17 +02:00
"lodash.clonedeep" : "4.5.0" ,
2022-12-02 10:39:20 +01:00
"lodash.omit" : "4.5.0" ,
2022-12-16 15:12:36 +01:00
"mermaid" : "^9.3.0" ,
2022-10-12 17:19:37 +02:00
"millify" : "^5.0.1" ,
2023-02-12 17:25:43 +01:00
"msw" : "0.49.3" ,
2022-08-18 15:56:39 +02:00
"pkginfo" : "0.4.1" ,
2022-06-07 17:35:57 +02:00
"plausible-tracker" : "0.3.8" ,
chore(deps): update dependency prettier to v2.8.1 (#2509)
[![Mend
Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com)
This PR contains the following updates:
| Package | Change | Age | Adoption | Passing | Confidence |
|---|---|---|---|---|---|
| [prettier](https://prettier.io)
([source](https://togithub.com/prettier/prettier)) | [`2.7.1` ->
`2.8.1`](https://renovatebot.com/diffs/npm/prettier/2.7.1/2.8.1) |
[![age](https://badges.renovateapi.com/packages/npm/prettier/2.8.1/age-slim)](https://docs.renovatebot.com/merge-confidence/)
|
[![adoption](https://badges.renovateapi.com/packages/npm/prettier/2.8.1/adoption-slim)](https://docs.renovatebot.com/merge-confidence/)
|
[![passing](https://badges.renovateapi.com/packages/npm/prettier/2.8.1/compatibility-slim/2.7.1)](https://docs.renovatebot.com/merge-confidence/)
|
[![confidence](https://badges.renovateapi.com/packages/npm/prettier/2.8.1/confidence-slim/2.7.1)](https://docs.renovatebot.com/merge-confidence/)
|
---
### Release Notes
<details>
<summary>prettier/prettier</summary>
###
[`v2.8.1`](https://togithub.com/prettier/prettier/blob/HEAD/CHANGELOG.md#​281)
[Compare
Source](https://togithub.com/prettier/prettier/compare/2.8.0...2.8.1)
[diff](https://togithub.com/prettier/prettier/compare/2.8.0...2.8.1)
##### Fix SCSS map in arguments
([#​9184](https://togithub.com/prettier/prettier/pull/9184) by
[@​agamkrbit](https://togithub.com/agamkrbit))
<!-- prettier-ignore -->
```scss
// Input
$display-breakpoints: map-deep-merge(
(
"print-only": "only print",
"screen-only": "only screen",
"xs-only": "only screen and (max-width: #{map-get($grid-breakpoints, "sm")-1})",
),
$display-breakpoints
);
// Prettier 2.8.0
$display-breakpoints: map-deep-merge(
(
"print-only": "only print",
"screen-only": "only screen",
"xs-only": "only screen and (max-width: #{map-get($grid-breakpoints, " sm
")-1})",
),
$display-breakpoints
);
// Prettier 2.8.1
$display-breakpoints: map-deep-merge(
(
"print-only": "only print",
"screen-only": "only screen",
"xs-only": "only screen and (max-width: #{map-get($grid-breakpoints, "sm")-1})",
),
$display-breakpoints
);
```
##### Support auto accessors syntax
([#​13919](https://togithub.com/prettier/prettier/pull/13919) by
[@​sosukesuzuki](https://togithub.com/sosukesuzuki))
Support for [Auto Accessors
Syntax](https://devblogs.microsoft.com/typescript/announcing-typescript-4-9/#auto-accessors-in-classes)
landed in TypeScript 4.9.
(Doesn't work well with `babel-ts` parser)
<!-- prettier-ignore -->
```tsx
class Foo {
accessor foo: number = 3;
}
```
###
[`v2.8.0`](https://togithub.com/prettier/prettier/blob/HEAD/CHANGELOG.md#​280)
[Compare
Source](https://togithub.com/prettier/prettier/compare/2.7.1...2.8.0)
[diff](https://togithub.com/prettier/prettier/compare/2.7.1...2.8.0)
🔗 [Release Notes](https://prettier.io/blog/2022/11/23/2.8.0.html)
</details>
---
### Configuration
📅 **Schedule**: Branch creation - At any time (no schedule defined),
Automerge - At any time (no schedule defined).
🚦 **Automerge**: Enabled.
♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the
rebase/retry checkbox.
🔕 **Ignore**: Close this PR and you won't be reminded about this update
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://app.renovatebot.com/dashboard#github/Unleash/unleash).
<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNC4zMC4yIiwidXBkYXRlZEluVmVyIjoiMzQuNjIuMSJ9-->
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Gastón Fournier <gaston@getunleash.ai>
2022-12-27 10:45:43 +01:00
"prettier" : "2.8.1" ,
2022-02-11 01:34:06 +01:00
"prop-types" : "15.8.1" ,
2021-09-27 09:12:17 +02:00
"react" : "17.0.2" ,
2022-08-02 05:44:13 +02:00
"react-chartjs-2" : "4.3.1" ,
2023-04-21 12:48:44 +02:00
"react-confetti" : "^6.1.0" ,
2021-09-27 09:12:17 +02:00
"react-dom" : "17.0.2" ,
2023-01-20 09:50:24 +01:00
"react-dropzone" : "14.2.3" ,
2022-10-10 12:18:37 +02:00
"react-error-boundary" : "3.1.4" ,
2022-12-10 18:26:53 +01:00
"react-hooks-global-state" : "2.1.0" ,
2023-04-18 11:56:15 +02:00
"react-joyride" : "^2.5.3" ,
"react-linkify" : "^1.0.0-alpha" ,
2023-04-21 12:48:44 +02:00
"react-markdown" : "^8.0.4" ,
chore(deps): update react-router monorepo to v6.11.0 (#3703)
[![Mend
Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com)
This PR contains the following updates:
| Package | Change | Age | Adoption | Passing | Confidence |
|---|---|---|---|---|---|
| [react-router](https://togithub.com/remix-run/react-router) | [`6.8.1`
->
`6.11.0`](https://renovatebot.com/diffs/npm/react-router/6.8.1/6.11.0) |
[![age](https://badges.renovateapi.com/packages/npm/react-router/6.11.0/age-slim)](https://docs.renovatebot.com/merge-confidence/)
|
[![adoption](https://badges.renovateapi.com/packages/npm/react-router/6.11.0/adoption-slim)](https://docs.renovatebot.com/merge-confidence/)
|
[![passing](https://badges.renovateapi.com/packages/npm/react-router/6.11.0/compatibility-slim/6.8.1)](https://docs.renovatebot.com/merge-confidence/)
|
[![confidence](https://badges.renovateapi.com/packages/npm/react-router/6.11.0/confidence-slim/6.8.1)](https://docs.renovatebot.com/merge-confidence/)
|
| [react-router-dom](https://togithub.com/remix-run/react-router) |
[`6.8.1` ->
`6.11.0`](https://renovatebot.com/diffs/npm/react-router-dom/6.8.1/6.11.0)
|
[![age](https://badges.renovateapi.com/packages/npm/react-router-dom/6.11.0/age-slim)](https://docs.renovatebot.com/merge-confidence/)
|
[![adoption](https://badges.renovateapi.com/packages/npm/react-router-dom/6.11.0/adoption-slim)](https://docs.renovatebot.com/merge-confidence/)
|
[![passing](https://badges.renovateapi.com/packages/npm/react-router-dom/6.11.0/compatibility-slim/6.8.1)](https://docs.renovatebot.com/merge-confidence/)
|
[![confidence](https://badges.renovateapi.com/packages/npm/react-router-dom/6.11.0/confidence-slim/6.8.1)](https://docs.renovatebot.com/merge-confidence/)
|
---
### Release Notes
<details>
<summary>remix-run/react-router (react-router)</summary>
###
[`v6.11.0`](https://togithub.com/remix-run/react-router/blob/HEAD/packages/react-router/CHANGELOG.md#​6110)
[Compare
Source](https://togithub.com/remix-run/react-router/compare/react-router@6.10.0...react-router@6.11.0)
##### Patch Changes
- Log loader/action errors to the console in dev for easier stack trace
evaluation
([#​10286](https://togithub.com/remix-run/react-router/pull/10286))
- Fix bug preventing rendering of descendant `<Routes>` when
`RouterProvider` errors existed
([#​10374](https://togithub.com/remix-run/react-router/pull/10374))
- Fix inadvertent re-renders when using `Component` instead of `element`
on a route definition
([#​10287](https://togithub.com/remix-run/react-router/pull/10287))
- Fix detection of `useNavigate` in the render cycle by setting the
`activeRef` in a layout effect, allowing the `navigate` function to be
passed to child components and called in a `useEffect` there.
([#​10394](https://togithub.com/remix-run/react-router/pull/10394))
- Switched from `useSyncExternalStore` to `useState` for internal
`@remix-run/router` router state syncing in `<RouterProvider>`. We found
some [subtle
bugs](https://codesandbox.io/s/use-sync-external-store-loop-9g7b81)
where router state updates got propagated *before* other normal
`useState` updates, which could lead to footguns in `useEffect` calls.
([#​10377](https://togithub.com/remix-run/react-router/pull/10377),
[#​10409](https://togithub.com/remix-run/react-router/pull/10409))
- Allow `useRevalidator()` to resolve a loader-driven error boundary
scenario
([#​10369](https://togithub.com/remix-run/react-router/pull/10369))
- Avoid unnecessary unsubscribe/resubscribes on router state changes
([#​10409](https://togithub.com/remix-run/react-router/pull/10409))
- When using a `RouterProvider`,
`useNavigate`/`useSubmit`/`fetcher.submit` are now stable across
location changes, since we can handle relative routing via the
`@remix-run/router` instance and get rid of our dependence on
`useLocation()`. When using `BrowserRouter`, these hooks remain unstable
across location changes because they still rely on `useLocation()`.
([#​10336](https://togithub.com/remix-run/react-router/pull/10336))
- Updated dependencies:
- `@remix-run/router@1.6.0`
###
[`v6.10.0`](https://togithub.com/remix-run/react-router/blob/HEAD/packages/react-router/CHANGELOG.md#​6100)
[Compare
Source](https://togithub.com/remix-run/react-router/compare/react-router@6.9.0...react-router@6.10.0)
##### Minor Changes
- Added support for [**Future
Flags**](https://reactrouter.com/en/main/guides/api-development-strategy)
in React Router. The first flag being introduced is
`future.v7_normalizeFormMethod` which will normalize the exposed
`useNavigation()/useFetcher()` `formMethod` fields as uppercase HTTP
methods to align with the `fetch()` behavior.
([#​10207](https://togithub.com/remix-run/react-router/pull/10207))
- When `future.v7_normalizeFormMethod === false` (default v6 behavior),
- `useNavigation().formMethod` is lowercase
- `useFetcher().formMethod` is lowercase
- When `future.v7_normalizeFormMethod === true`:
- `useNavigation().formMethod` is uppercase
- `useFetcher().formMethod` is uppercase
##### Patch Changes
- Fix route ID generation when using Fragments in
`createRoutesFromElements`
([#​10193](https://togithub.com/remix-run/react-router/pull/10193))
- Updated dependencies:
- `@remix-run/router@1.5.0`
###
[`v6.9.0`](https://togithub.com/remix-run/react-router/blob/HEAD/packages/react-router/CHANGELOG.md#​690)
[Compare
Source](https://togithub.com/remix-run/react-router/compare/react-router@6.8.2...react-router@6.9.0)
##### Minor Changes
- React Router now supports an alternative way to define your route
`element` and `errorElement` fields as React Components instead of React
Elements. You can instead pass a React Component to the new `Component`
and `ErrorBoundary` fields if you choose. There is no functional
difference between the two, so use whichever approach you prefer 😀. You
shouldn't be defining both, but if you do `Component`/`ErrorBoundary`
will "win".
([#​10045](https://togithub.com/remix-run/react-router/pull/10045))
**Example JSON Syntax**
```jsx
// Both of these work the same:
const elementRoutes = [{
path: '/',
element: <Home />,
errorElement: <HomeError />,
}]
const componentRoutes = [{
path: '/',
Component: Home,
ErrorBoundary: HomeError,
}]
function Home() { ... }
function HomeError() { ... }
```
**Example JSX Syntax**
```jsx
// Both of these work the same:
const elementRoutes = createRoutesFromElements(
<Route path='/' element={<Home />} errorElement={<HomeError /> } />
);
const componentRoutes = createRoutesFromElements(
<Route path='/' Component={Home} ErrorBoundary={HomeError} />
);
function Home() { ... }
function HomeError() { ... }
```
- **Introducing Lazy Route Modules!**
([#​10045](https://togithub.com/remix-run/react-router/pull/10045))
In order to keep your application bundles small and support
code-splitting of your routes, we've introduced a new `lazy()` route
property. This is an async function that resolves the non-route-matching
portions of your route definition (`loader`, `action`,
`element`/`Component`, `errorElement`/`ErrorBoundary`,
`shouldRevalidate`, `handle`).
Lazy routes are resolved on initial load and during the `loading` or
`submitting` phase of a navigation or fetcher call. You cannot lazily
define route-matching properties (`path`, `index`, `children`) since we
only execute your lazy route functions after we've matched known routes.
Your `lazy` functions will typically return the result of a dynamic
import.
```jsx
// In this example, we assume most folks land on the homepage so we
include that
// in our critical-path bundle, but then we lazily load modules for /a
and /b so
// they don't load until the user navigates to those routes
let routes = createRoutesFromElements(
<Route path="/" element={<Layout />}>
<Route index element={<Home />} />
<Route path="a" lazy={() => import("./a")} />
<Route path="b" lazy={() => import("./b")} />
</Route>
);
```
Then in your lazy route modules, export the properties you want defined
for the route:
```jsx
export async function loader({ request }) {
let data = await fetchData(request);
return json(data);
}
// Export a `Component` directly instead of needing to create a React
Element from it
export function Component() {
let data = useLoaderData();
return (
<>
<h1>You made it!</h1>
<p>{data}</p>
</>
);
}
// Export an `ErrorBoundary` directly instead of needing to create a
React Element from it
export function ErrorBoundary() {
let error = useRouteError();
return isRouteErrorResponse(error) ? (
<h1>
{error.status} {error.statusText}
</h1>
) : (
<h1>{error.message || error}</h1>
);
}
```
An example of this in action can be found in the
[`examples/lazy-loading-router-provider`](https://togithub.com/remix-run/react-router/tree/main/examples/lazy-loading-router-provider)
directory of the repository.
🙌 Huge thanks to [@​rossipedia](https://togithub.com/rossipedia)
for the [Initial
Proposal](https://togithub.com/remix-run/react-router/discussions/9826)
and [POC
Implementation](https://togithub.com/remix-run/react-router/pull/9830).
- Updated dependencies:
- `@remix-run/router@1.4.0`
##### Patch Changes
- Fix `generatePath` incorrectly applying parameters in some cases
([#​10078](https://togithub.com/remix-run/react-router/pull/10078))
- Improve memoization for context providers to avoid unnecessary
re-renders
([#​9983](https://togithub.com/remix-run/react-router/pull/9983))
###
[`v6.8.2`](https://togithub.com/remix-run/react-router/blob/HEAD/packages/react-router/CHANGELOG.md#​682)
[Compare
Source](https://togithub.com/remix-run/react-router/compare/react-router@6.8.1...react-router@6.8.2)
##### Patch Changes
- Updated dependencies:
- `@remix-run/router@1.3.3`
</details>
<details>
<summary>remix-run/react-router (react-router-dom)</summary>
###
[`v6.11.0`](https://togithub.com/remix-run/react-router/blob/HEAD/packages/react-router-dom/CHANGELOG.md#​6110)
[Compare
Source](https://togithub.com/remix-run/react-router/compare/react-router-dom@6.10.0...react-router-dom@6.11.0)
##### Minor Changes
- Enable `basename` support in `useFetcher`
([#​10336](https://togithub.com/remix-run/react-router/pull/10336))
- If you were previously working around this issue by manually
prepending the `basename` then you will need to remove the manually
prepended `basename` from your `fetcher` calls
(`fetcher.load('/basename/route') -> fetcher.load('/route')`)
##### Patch Changes
- Fix inadvertent re-renders when using `Component` instead of `element`
on a route definition
([#​10287](https://togithub.com/remix-run/react-router/pull/10287))
- Fail gracefully on `<Link to="//">` and other invalid URL values
([#​10367](https://togithub.com/remix-run/react-router/pull/10367))
- Switched from `useSyncExternalStore` to `useState` for internal
`@remix-run/router` router state syncing in `<RouterProvider>`. We found
some [subtle
bugs](https://codesandbox.io/s/use-sync-external-store-loop-9g7b81)
where router state updates got propagated *before* other normal
`useState` updates, which could lead to footguns in `useEffect` calls.
([#​10377](https://togithub.com/remix-run/react-router/pull/10377),
[#​10409](https://togithub.com/remix-run/react-router/pull/10409))
- Add static prop to `StaticRouterProvider`'s internal `Router`
component
([#​10401](https://togithub.com/remix-run/react-router/pull/10401))
- When using a `RouterProvider`,
`useNavigate`/`useSubmit`/`fetcher.submit` are now stable across
location changes, since we can handle relative routing via the
`@remix-run/router` instance and get rid of our dependence on
`useLocation()`. When using `BrowserRouter`, these hooks remain unstable
across location changes because they still rely on `useLocation()`.
([#​10336](https://togithub.com/remix-run/react-router/pull/10336))
- Updated dependencies:
- `react-router@6.11.0`
- `@remix-run/router@1.6.0`
###
[`v6.10.0`](https://togithub.com/remix-run/react-router/blob/HEAD/packages/react-router-dom/CHANGELOG.md#​6100)
[Compare
Source](https://togithub.com/remix-run/react-router/compare/react-router-dom@6.9.0...react-router-dom@6.10.0)
##### Minor Changes
- Added support for [**Future
Flags**](https://reactrouter.com/en/main/guides/api-development-strategy)
in React Router. The first flag being introduced is
`future.v7_normalizeFormMethod` which will normalize the exposed
`useNavigation()/useFetcher()` `formMethod` fields as uppercase HTTP
methods to align with the `fetch()` behavior.
([#​10207](https://togithub.com/remix-run/react-router/pull/10207))
- When `future.v7_normalizeFormMethod === false` (default v6 behavior),
- `useNavigation().formMethod` is lowercase
- `useFetcher().formMethod` is lowercase
- When `future.v7_normalizeFormMethod === true`:
- `useNavigation().formMethod` is uppercase
- `useFetcher().formMethod` is uppercase
##### Patch Changes
- Fix `createStaticHandler` to also check for `ErrorBoundary` on routes
in addition to `errorElement`
([#​10190](https://togithub.com/remix-run/react-router/pull/10190))
- Updated dependencies:
- `@remix-run/router@1.5.0`
- `react-router@6.10.0`
###
[`v6.9.0`](https://togithub.com/remix-run/react-router/blob/HEAD/packages/react-router-dom/CHANGELOG.md#​690)
[Compare
Source](https://togithub.com/remix-run/react-router/compare/react-router-dom@6.8.2...react-router-dom@6.9.0)
##### Minor Changes
- React Router now supports an alternative way to define your route
`element` and `errorElement` fields as React Components instead of React
Elements. You can instead pass a React Component to the new `Component`
and `ErrorBoundary` fields if you choose. There is no functional
difference between the two, so use whichever approach you prefer 😀. You
shouldn't be defining both, but if you do `Component`/`ErrorBoundary`
will "win".
([#​10045](https://togithub.com/remix-run/react-router/pull/10045))
**Example JSON Syntax**
```jsx
// Both of these work the same:
const elementRoutes = [{
path: '/',
element: <Home />,
errorElement: <HomeError />,
}]
const componentRoutes = [{
path: '/',
Component: Home,
ErrorBoundary: HomeError,
}]
function Home() { ... }
function HomeError() { ... }
```
**Example JSX Syntax**
```jsx
// Both of these work the same:
const elementRoutes = createRoutesFromElements(
<Route path='/' element={<Home />} errorElement={<HomeError /> } />
);
const componentRoutes = createRoutesFromElements(
<Route path='/' Component={Home} ErrorBoundary={HomeError} />
);
function Home() { ... }
function HomeError() { ... }
```
- **Introducing Lazy Route Modules!**
([#​10045](https://togithub.com/remix-run/react-router/pull/10045))
In order to keep your application bundles small and support
code-splitting of your routes, we've introduced a new `lazy()` route
property. This is an async function that resolves the non-route-matching
portions of your route definition (`loader`, `action`,
`element`/`Component`, `errorElement`/`ErrorBoundary`,
`shouldRevalidate`, `handle`).
Lazy routes are resolved on initial load and during the `loading` or
`submitting` phase of a navigation or fetcher call. You cannot lazily
define route-matching properties (`path`, `index`, `children`) since we
only execute your lazy route functions after we've matched known routes.
Your `lazy` functions will typically return the result of a dynamic
import.
```jsx
// In this example, we assume most folks land on the homepage so we
include that
// in our critical-path bundle, but then we lazily load modules for /a
and /b so
// they don't load until the user navigates to those routes
let routes = createRoutesFromElements(
<Route path="/" element={<Layout />}>
<Route index element={<Home />} />
<Route path="a" lazy={() => import("./a")} />
<Route path="b" lazy={() => import("./b")} />
</Route>
);
```
Then in your lazy route modules, export the properties you want defined
for the route:
```jsx
export async function loader({ request }) {
let data = await fetchData(request);
return json(data);
}
// Export a `Component` directly instead of needing to create a React
Element from it
export function Component() {
let data = useLoaderData();
return (
<>
<h1>You made it!</h1>
<p>{data}</p>
</>
);
}
// Export an `ErrorBoundary` directly instead of needing to create a
React Element from it
export function ErrorBoundary() {
let error = useRouteError();
return isRouteErrorResponse(error) ? (
<h1>
{error.status} {error.statusText}
</h1>
) : (
<h1>{error.message || error}</h1>
);
}
```
An example of this in action can be found in the
[`examples/lazy-loading-router-provider`](https://togithub.com/remix-run/react-router/tree/main/examples/lazy-loading-router-provider)
directory of the repository.
🙌 Huge thanks to [@​rossipedia](https://togithub.com/rossipedia)
for the [Initial
Proposal](https://togithub.com/remix-run/react-router/discussions/9826)
and [POC
Implementation](https://togithub.com/remix-run/react-router/pull/9830).
- Updated dependencies:
- `react-router@6.9.0`
- `@remix-run/router@1.4.0`
###
[`v6.8.2`](https://togithub.com/remix-run/react-router/blob/HEAD/packages/react-router-dom/CHANGELOG.md#​682)
[Compare
Source](https://togithub.com/remix-run/react-router/compare/react-router-dom@6.8.1...react-router-dom@6.8.2)
##### Patch Changes
- Treat same-origin absolute URLs in `<Link to>` as external if they are
outside of the router `basename`
([#​10135](https://togithub.com/remix-run/react-router/pull/10135))
- Fix `useBlocker` to return `IDLE_BLOCKER` during SSR
([#​10046](https://togithub.com/remix-run/react-router/pull/10046))
- Fix SSR of absolute `<Link to>` urls
([#​10112](https://togithub.com/remix-run/react-router/pull/10112))
- Properly escape HTML characters in `StaticRouterProvider` serialized
hydration data
([#​10068](https://togithub.com/remix-run/react-router/pull/10068))
- Updated dependencies:
- `@remix-run/router@1.3.3`
- `react-router@6.8.2`
</details>
---
### Configuration
📅 **Schedule**: Branch creation - At any time (no schedule defined),
Automerge - At any time (no schedule defined).
🚦 **Automerge**: Enabled.
♻ **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://app.renovatebot.com/dashboard#github/Unleash/unleash).
<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNS43MS40IiwidXBkYXRlZEluVmVyIjoiMzUuNzEuNCIsInRhcmdldEJyYW5jaCI6Im1haW4ifQ==-->
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-05-06 16:21:15 +02:00
"react-router-dom" : "6.11.0" ,
2022-05-17 16:33:12 +02:00
"react-table" : "7.8.0" ,
2022-02-25 10:55:39 +01:00
"react-test-renderer" : "17.0.2" ,
2022-06-13 09:07:14 +02:00
"react-timeago" : "7.1.0" ,
2023-05-03 08:36:20 +02:00
"sass" : "1.62.1" ,
2023-05-03 18:00:07 +02:00
"semver" : "7.5.0" ,
2023-05-04 03:47:40 +02:00
"swr" : "2.1.5" ,
2023-05-04 16:44:56 +02:00
"tss-react" : "4.8.3" ,
2022-10-07 19:54:29 +02:00
"typescript" : "4.8.4" ,
chore(deps): update dependency vite to v4.3.3 (#3680)
[![Mend
Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com)
This PR contains the following updates:
| Package | Change | Age | Adoption | Passing | Confidence |
|---|---|---|---|---|---|
| [vite](https://togithub.com/vitejs/vite/tree/main/#readme)
([source](https://togithub.com/vitejs/vite)) | [`4.1.4` ->
`4.3.3`](https://renovatebot.com/diffs/npm/vite/4.1.4/4.3.3) |
[![age](https://badges.renovateapi.com/packages/npm/vite/4.3.3/age-slim)](https://docs.renovatebot.com/merge-confidence/)
|
[![adoption](https://badges.renovateapi.com/packages/npm/vite/4.3.3/adoption-slim)](https://docs.renovatebot.com/merge-confidence/)
|
[![passing](https://badges.renovateapi.com/packages/npm/vite/4.3.3/compatibility-slim/4.1.4)](https://docs.renovatebot.com/merge-confidence/)
|
[![confidence](https://badges.renovateapi.com/packages/npm/vite/4.3.3/confidence-slim/4.1.4)](https://docs.renovatebot.com/merge-confidence/)
|
---
### Release Notes
<details>
<summary>vitejs/vite</summary>
###
[`v4.3.3`](https://togithub.com/vitejs/vite/blob/HEAD/packages/vite/CHANGELOG.md#small433-2023-04-26-small)
[Compare
Source](https://togithub.com/vitejs/vite/compare/v4.3.2...v4.3.3)
- fix: address file path mismatch when loading Vite config file on
Windows (fix
[#​12923](https://togithub.com/vitejs/vite/issues/12923))
([#​13005](https://togithub.com/vitejs/vite/issues/13005))
([84c4118](https://togithub.com/vitejs/vite/commit/84c4118)), closes
[#​12923](https://togithub.com/vitejs/vite/issues/12923)
[#​13005](https://togithub.com/vitejs/vite/issues/13005)
- fix: undefined document in worker
([#​12988](https://togithub.com/vitejs/vite/issues/12988))
([08c1452](https://togithub.com/vitejs/vite/commit/08c1452)), closes
[#​12988](https://togithub.com/vitejs/vite/issues/12988)
- fix(resolve): deep import resolvedId error
([#​13010](https://togithub.com/vitejs/vite/issues/13010))
([30a41ff](https://togithub.com/vitejs/vite/commit/30a41ff)), closes
[#​13010](https://togithub.com/vitejs/vite/issues/13010)
- feat: optimize deps option to turn off auto discovery
([#​13000](https://togithub.com/vitejs/vite/issues/13000))
([bd86375](https://togithub.com/vitejs/vite/commit/bd86375)), closes
[#​13000](https://togithub.com/vitejs/vite/issues/13000)
- chore(deps): update all non-major dependencies
([#​12805](https://togithub.com/vitejs/vite/issues/12805))
([5731ac9](https://togithub.com/vitejs/vite/commit/5731ac9)), closes
[#​12805](https://togithub.com/vitejs/vite/issues/12805)
###
[`v4.3.2`](https://togithub.com/vitejs/vite/blob/HEAD/packages/vite/CHANGELOG.md#small432-2023-04-25-small)
[Compare
Source](https://togithub.com/vitejs/vite/compare/2a8779c5779ddcf1dd726be39c4547b4851b45cf...v4.3.2)
- fix: status optional in windows network drive regex (fix:
[#​12948](https://togithub.com/vitejs/vite/issues/12948))
([#​12949](https://togithub.com/vitejs/vite/issues/12949))
([f781fc6](https://togithub.com/vitejs/vite/commit/f781fc6)), closes
[#​12948](https://togithub.com/vitejs/vite/issues/12948)
[#​12949](https://togithub.com/vitejs/vite/issues/12949)
- fix: use realpathSync for node <16.18 on windows
([#​12971](https://togithub.com/vitejs/vite/issues/12971))
([965839c](https://togithub.com/vitejs/vite/commit/965839c)), closes
[#​12971](https://togithub.com/vitejs/vite/issues/12971)
- fix(ssr): hoist statements after hashbang
([#​12985](https://togithub.com/vitejs/vite/issues/12985))
([07bd6d1](https://togithub.com/vitejs/vite/commit/07bd6d1)), closes
[#​12985](https://togithub.com/vitejs/vite/issues/12985)
- chore: build time message setting color
([#​12940](https://togithub.com/vitejs/vite/issues/12940))
([ada7cd5](https://togithub.com/vitejs/vite/commit/ada7cd5)), closes
[#​12940](https://togithub.com/vitejs/vite/issues/12940)
- chore: remove extra ) in changelog
([#​12932](https://togithub.com/vitejs/vite/issues/12932))
([e7924d2](https://togithub.com/vitejs/vite/commit/e7924d2)), closes
[#​12932](https://togithub.com/vitejs/vite/issues/12932)
- chore: upgrade rollup
([#​12965](https://togithub.com/vitejs/vite/issues/12965))
([bdb2f25](https://togithub.com/vitejs/vite/commit/bdb2f25)), closes
[#​12965](https://togithub.com/vitejs/vite/issues/12965)
- refactor: resolveExports
([#​10917](https://togithub.com/vitejs/vite/issues/10917))
([ad21ec3](https://togithub.com/vitejs/vite/commit/ad21ec3)), closes
[#​10917](https://togithub.com/vitejs/vite/issues/10917)
###
[`v4.3.1`](https://togithub.com/vitejs/vite/blob/HEAD/packages/vite/CHANGELOG.md#small431-2023-04-20-small)
[Compare
Source](https://togithub.com/vitejs/vite/compare/d6468a3b1fa11f066a0f38515874f71da7b9640e...2a8779c5779ddcf1dd726be39c4547b4851b45cf)
- fix: revert ensure module in graph before transforming
([#​12774](https://togithub.com/vitejs/vite/issues/12774))
([#​12929](https://togithub.com/vitejs/vite/issues/12929))
([9cc93a5](https://togithub.com/vitejs/vite/commit/9cc93a5)), closes
[#​12774](https://togithub.com/vitejs/vite/issues/12774)
[#​12929](https://togithub.com/vitejs/vite/issues/12929)
- docs: 4.3 announcement and release notes
([#​12925](https://togithub.com/vitejs/vite/issues/12925))
([f29c582](https://togithub.com/vitejs/vite/commit/f29c582)), closes
[#​12925](https://togithub.com/vitejs/vite/issues/12925)
- chore: clean up 4.3 changelog
([55ec023](https://togithub.com/vitejs/vite/commit/55ec023))
###
[`v4.3.0`](https://togithub.com/vitejs/vite/blob/HEAD/packages/vite/CHANGELOG.md#​430-2023-04-20)
[Compare
Source](https://togithub.com/vitejs/vite/compare/v4.2.2...d6468a3b1fa11f066a0f38515874f71da7b9640e)
Vite 4.3 is out! Read the [announcement blog post
here](https://vitejs.dev/blog/announcing-vite4-3)
[![Vite 4.3, It's
Fast](https://vitejs.dev/og-image-announcing-vite4-3.png)](https://vitejs.dev/blog/announcing-vite4-3)
In this minor, we focused on improving the dev server performance. The
resolve logic got streamlined, improving hot paths and implementing
smarter caching for finding `package.json`, TS config files, and
resolved URL in general.
You can read a detailed walkthrough of the performance work done in this
blog post by one of Vite Contributors: [How we made Vite 4.3 faaaaster
🚀](https://sun0day.github.io/blog/vite/why-vite4\_3-is-faster.html).
This sprint resulted in speed improvements across the board compared to
Vite 4.2.
These are the performance improvements as measured by
[sapphi-red/performance-compare](https://togithub.com/sapphi-red/performance-compare),
which tests an app with 1000 React Components cold and warm dev server
startup time as well as HMR times for a root and a leaf component:
| **Vite (babel)** | Vite 4.2 | Vite 4.3 | Improvement |
| :----------------- | --------: | -------: | -----------: |
| **dev cold start** | 17249.0ms | 5132.4ms | -70.2% |
| **dev warm start** | 6027.8ms | 4536.1ms | -24.7% |
| **Root HMR** | 46.8ms | 26.7ms | -42.9% |
| **Leaf HMR** | 27.0ms | 12.9ms | -52.2% |
| **Vite (swc)** | Vite 4.2 | Vite 4.3 | Improvement |
| :----------------- | --------: | -------: | -----------: |
| **dev cold start** | 13552.5ms | 3201.0ms | -76.4% |
| **dev warm start** | 4625.5ms | 2834.4ms | -38.7% |
| **Root HMR** | 30.5ms | 24.0ms | -21.3% |
| **Leaf HMR** | 16.9ms | 10.0ms | -40.8% |
You can read more information about the benchmark
[here](https://gist.github.com/sapphi-red/25be97327ee64a3c1dce793444afdf6e)
##### Features
- feat: expose `isFileServingAllowed` as public utility
([#​12894](https://togithub.com/vitejs/vite/issues/12894))
([93e095c](https://togithub.com/vitejs/vite/commit/93e095c)), closes
[#​12894](https://togithub.com/vitejs/vite/issues/12894)
- feat: reuse existing style elements in dev
([#​12678](https://togithub.com/vitejs/vite/issues/12678))
([3a41bd8](https://togithub.com/vitejs/vite/commit/3a41bd8)), closes
[#​12678](https://togithub.com/vitejs/vite/issues/12678)
- feat: skip pinging the server when the tab is not shown
([#​12698](https://togithub.com/vitejs/vite/issues/12698))
([bedcd8f](https://togithub.com/vitejs/vite/commit/bedcd8f)), closes
[#​12698](https://togithub.com/vitejs/vite/issues/12698)
- feat(create-vite): use typescript 5.0 in templates
([#​12481](https://togithub.com/vitejs/vite/issues/12481))
([8582e2d](https://togithub.com/vitejs/vite/commit/8582e2d)), closes
[#​12481](https://togithub.com/vitejs/vite/issues/12481)
- feat: use preview server parameter in preview server hook
([#​11647](https://togithub.com/vitejs/vite/issues/11647))
([4c142ea](https://togithub.com/vitejs/vite/commit/4c142ea)), closes
[#​11647](https://togithub.com/vitejs/vite/issues/11647)
- feat(reporter): show gzip info for all compressible files (fix
[#​11288](https://togithub.com/vitejs/vite/issues/11288))
([#​12485](https://togithub.com/vitejs/vite/issues/12485))
([03502c8](https://togithub.com/vitejs/vite/commit/03502c8)), closes
[#​11288](https://togithub.com/vitejs/vite/issues/11288)
[#​12485](https://togithub.com/vitejs/vite/issues/12485)
- feat(server): allow to import `data:` uris
([#​12645](https://togithub.com/vitejs/vite/issues/12645))
([4886d9f](https://togithub.com/vitejs/vite/commit/4886d9f)), closes
[#​12645](https://togithub.com/vitejs/vite/issues/12645)
- feat: add opus filetype to assets & mime types
([#​12526](https://togithub.com/vitejs/vite/issues/12526))
([63524ba](https://togithub.com/vitejs/vite/commit/63524ba)), closes
[#​12526](https://togithub.com/vitejs/vite/issues/12526)
##### Performance
- perf: parallelize await exportsData from depsInfo
([#​12869](https://togithub.com/vitejs/vite/issues/12869))
([ab3a530](https://togithub.com/vitejs/vite/commit/ab3a530)), closes
[#​12869](https://togithub.com/vitejs/vite/issues/12869)
- perf: avoid side effects resolving in dev and in the optimizer/scanner
([#​12789](https://togithub.com/vitejs/vite/issues/12789))
([fb904f9](https://togithub.com/vitejs/vite/commit/fb904f9)), closes
[#​12789](https://togithub.com/vitejs/vite/issues/12789)
- perf: parallelize imports processing in import analysis plugin
([#​12754](https://togithub.com/vitejs/vite/issues/12754))
([037a6c7](https://togithub.com/vitejs/vite/commit/037a6c7)), closes
[#​12754](https://togithub.com/vitejs/vite/issues/12754)
- perf: unresolvedUrlToModule promise cache
([#​12725](https://togithub.com/vitejs/vite/issues/12725))
([80c526e](https://togithub.com/vitejs/vite/commit/80c526e)), closes
[#​12725](https://togithub.com/vitejs/vite/issues/12725)
- perf(resolve): avoid tryFsResolve for /@​fs/ paths
([#​12450](https://togithub.com/vitejs/vite/issues/12450))
([3ef8aaa](https://togithub.com/vitejs/vite/commit/3ef8aaa)), closes
[#​12450](https://togithub.com/vitejs/vite/issues/12450)
- perf(resolve): reduce vite client path checks
([#​12471](https://togithub.com/vitejs/vite/issues/12471))
([c49af23](https://togithub.com/vitejs/vite/commit/c49af23)), closes
[#​12471](https://togithub.com/vitejs/vite/issues/12471)
- perf: avoid new URL() in hot path
([#​12654](https://togithub.com/vitejs/vite/issues/12654))
([f4e2fdf](https://togithub.com/vitejs/vite/commit/f4e2fdf)), closes
[#​12654](https://togithub.com/vitejs/vite/issues/12654)
- perf: improve isFileReadable performance
([#​12397](https://togithub.com/vitejs/vite/issues/12397))
([acf3a14](https://togithub.com/vitejs/vite/commit/acf3a14)), closes
[#​12397](https://togithub.com/vitejs/vite/issues/12397)
- perf: module graph url shortcuts
([#​12635](https://togithub.com/vitejs/vite/issues/12635))
([c268cfa](https://togithub.com/vitejs/vite/commit/c268cfa)), closes
[#​12635](https://togithub.com/vitejs/vite/issues/12635)
- perf: reduce runOptimizerIfIdleAfterMs time
([#​12614](https://togithub.com/vitejs/vite/issues/12614))
([d026a65](https://togithub.com/vitejs/vite/commit/d026a65)), closes
[#​12614](https://togithub.com/vitejs/vite/issues/12614)
- perf: shorcircuit resolve in ensure entry from url
([#​12655](https://togithub.com/vitejs/vite/issues/12655))
([82137d6](https://togithub.com/vitejs/vite/commit/82137d6)), closes
[#​12655](https://togithub.com/vitejs/vite/issues/12655)
- perf: skip es-module-lexer if have no dynamic imports
([#​12732](https://togithub.com/vitejs/vite/issues/12732))
([5d07d7c](https://togithub.com/vitejs/vite/commit/5d07d7c)), closes
[#​12732](https://togithub.com/vitejs/vite/issues/12732)
- perf: start preprocessing static imports before updating module graph
([#​12723](https://togithub.com/vitejs/vite/issues/12723))
([c90b46e](https://togithub.com/vitejs/vite/commit/c90b46e)), closes
[#​12723](https://togithub.com/vitejs/vite/issues/12723)
- perf: use package cache for one off resolve
([#​12744](https://togithub.com/vitejs/vite/issues/12744))
([77bf4ef](https://togithub.com/vitejs/vite/commit/77bf4ef)), closes
[#​12744](https://togithub.com/vitejs/vite/issues/12744)
- perf(css): cache lazy import
([#​12721](https://togithub.com/vitejs/vite/issues/12721))
([fedb080](https://togithub.com/vitejs/vite/commit/fedb080)), closes
[#​12721](https://togithub.com/vitejs/vite/issues/12721)
- perf(hmr): keep track of already traversed modules when propagating
update ([#​12658](https://togithub.com/vitejs/vite/issues/12658))
([3b912fb](https://togithub.com/vitejs/vite/commit/3b912fb)), closes
[#​12658](https://togithub.com/vitejs/vite/issues/12658)
- perf(moduleGraph): resolve dep urls in parallel
([#​12619](https://togithub.com/vitejs/vite/issues/12619))
([4823fec](https://togithub.com/vitejs/vite/commit/4823fec)), closes
[#​12619](https://togithub.com/vitejs/vite/issues/12619)
- perf(resolve): skip for virtual files
([#​12638](https://togithub.com/vitejs/vite/issues/12638))
([9e13f5f](https://togithub.com/vitejs/vite/commit/9e13f5f)), closes
[#​12638](https://togithub.com/vitejs/vite/issues/12638)
- perf: avoid fsp.unlink if we don't use the promise
([#​12589](https://togithub.com/vitejs/vite/issues/12589))
([19d1980](https://togithub.com/vitejs/vite/commit/19d1980)), closes
[#​12589](https://togithub.com/vitejs/vite/issues/12589)
- perf: back to temporal optimizer dirs
([#​12622](https://togithub.com/vitejs/vite/issues/12622))
([8da0422](https://togithub.com/vitejs/vite/commit/8da0422)), closes
[#​12622](https://togithub.com/vitejs/vite/issues/12622)
- perf: cache `depsCacheDirPrefix` value for `isOptimizedDepFile`
([#​12601](https://togithub.com/vitejs/vite/issues/12601))
([edbd262](https://togithub.com/vitejs/vite/commit/edbd262)), closes
[#​12601](https://togithub.com/vitejs/vite/issues/12601)
- perf: improve cleanUrl util
([#​12573](https://togithub.com/vitejs/vite/issues/12573))
([68d500e](https://togithub.com/vitejs/vite/commit/68d500e)), closes
[#​12573](https://togithub.com/vitejs/vite/issues/12573)
- perf: non-blocking write of optimized dep files
([#​12603](https://togithub.com/vitejs/vite/issues/12603))
([2f5f968](https://togithub.com/vitejs/vite/commit/2f5f968)), closes
[#​12603](https://togithub.com/vitejs/vite/issues/12603)
- perf: try using realpathSync.native in Windows
([#​12580](https://togithub.com/vitejs/vite/issues/12580))
([1cc99f8](https://togithub.com/vitejs/vite/commit/1cc99f8)), closes
[#​12580](https://togithub.com/vitejs/vite/issues/12580)
- perf: use fsp in more cases
([#​12553](https://togithub.com/vitejs/vite/issues/12553))
([e9b92f5](https://togithub.com/vitejs/vite/commit/e9b92f5)), closes
[#​12553](https://togithub.com/vitejs/vite/issues/12553)
- perf(html): apply preTransformRequest for html scripts
([#​12599](https://togithub.com/vitejs/vite/issues/12599))
([420782c](https://togithub.com/vitejs/vite/commit/420782c)), closes
[#​12599](https://togithub.com/vitejs/vite/issues/12599)
- perf(optimizer): bulk optimizer delay
([#​12609](https://togithub.com/vitejs/vite/issues/12609))
([c881971](https://togithub.com/vitejs/vite/commit/c881971)), closes
[#​12609](https://togithub.com/vitejs/vite/issues/12609)
- perf(optimizer): start optimizer early
([#​12593](https://togithub.com/vitejs/vite/issues/12593))
([4f9b8b4](https://togithub.com/vitejs/vite/commit/4f9b8b4)), closes
[#​12593](https://togithub.com/vitejs/vite/issues/12593)
- perf(resolve): avoid isWorkerRequest and clean up .ts imported a .js
([#​12571](https://togithub.com/vitejs/vite/issues/12571))
([8ab1438](https://togithub.com/vitejs/vite/commit/8ab1438)), closes
[#​12571](https://togithub.com/vitejs/vite/issues/12571)
- perf(resolve): findNearestMainPackageData instead of lookupFile
([#​12576](https://togithub.com/vitejs/vite/issues/12576))
([54b376f](https://togithub.com/vitejs/vite/commit/54b376f)), closes
[#​12576](https://togithub.com/vitejs/vite/issues/12576)
- perf(server): only watch .env files in envDir
([#​12587](https://togithub.com/vitejs/vite/issues/12587))
([26d8e72](https://togithub.com/vitejs/vite/commit/26d8e72)), closes
[#​12587](https://togithub.com/vitejs/vite/issues/12587)
- perf: avoid execSync on openBrowser
([#​12510](https://togithub.com/vitejs/vite/issues/12510))
([a2af2f0](https://togithub.com/vitejs/vite/commit/a2af2f0)), closes
[#​12510](https://togithub.com/vitejs/vite/issues/12510)
- perf: extract regex and use Map in data-uri plugin
([#​12500](https://togithub.com/vitejs/vite/issues/12500))
([137e63d](https://togithub.com/vitejs/vite/commit/137e63d)), closes
[#​12500](https://togithub.com/vitejs/vite/issues/12500)
- perf: extract vite:resolve internal functions
([#​12522](https://togithub.com/vitejs/vite/issues/12522))
([6ea4be2](https://togithub.com/vitejs/vite/commit/6ea4be2)), closes
[#​12522](https://togithub.com/vitejs/vite/issues/12522)
- perf: improve package cache usage
([#​12512](https://togithub.com/vitejs/vite/issues/12512))
([abc2b9c](https://togithub.com/vitejs/vite/commit/abc2b9c)), closes
[#​12512](https://togithub.com/vitejs/vite/issues/12512)
- perf: more regex improvements
([#​12520](https://togithub.com/vitejs/vite/issues/12520))
([abf536f](https://togithub.com/vitejs/vite/commit/abf536f)), closes
[#​12520](https://togithub.com/vitejs/vite/issues/12520)
- perf: regex to startsWith/slice in utils
([#​12532](https://togithub.com/vitejs/vite/issues/12532))
([debc6e2](https://togithub.com/vitejs/vite/commit/debc6e2)), closes
[#​12532](https://togithub.com/vitejs/vite/issues/12532)
- perf: remove regex in ImportMetaURL plugins
([#​12502](https://togithub.com/vitejs/vite/issues/12502))
([1030049](https://togithub.com/vitejs/vite/commit/1030049)), closes
[#​12502](https://togithub.com/vitejs/vite/issues/12502)
- perf: replace endsWith with ===
([#​12539](https://togithub.com/vitejs/vite/issues/12539))
([7eb52ec](https://togithub.com/vitejs/vite/commit/7eb52ec)), closes
[#​12539](https://togithub.com/vitejs/vite/issues/12539)
- perf: replace startsWith with ===
([#​12531](https://togithub.com/vitejs/vite/issues/12531))
([9cce026](https://togithub.com/vitejs/vite/commit/9cce026)), closes
[#​12531](https://togithub.com/vitejs/vite/issues/12531)
- perf: reuse regex in plugins
([#​12518](https://togithub.com/vitejs/vite/issues/12518))
([da43936](https://togithub.com/vitejs/vite/commit/da43936)), closes
[#​12518](https://togithub.com/vitejs/vite/issues/12518)
- perf: use `safeRealpath` in `getRealpath`
([#​12551](https://togithub.com/vitejs/vite/issues/12551))
([cec2320](https://togithub.com/vitejs/vite/commit/cec2320)), closes
[#​12551](https://togithub.com/vitejs/vite/issues/12551)
- perf(css): improve postcss config resolve
([#​12484](https://togithub.com/vitejs/vite/issues/12484))
([58e99b6](https://togithub.com/vitejs/vite/commit/58e99b6)), closes
[#​12484](https://togithub.com/vitejs/vite/issues/12484)
- perf(esbuild): make tsconfck non-blocking
([#​12548](https://togithub.com/vitejs/vite/issues/12548))
([e5cdff7](https://togithub.com/vitejs/vite/commit/e5cdff7)), closes
[#​12548](https://togithub.com/vitejs/vite/issues/12548)
- perf(esbuild): update tsconfck to consume faster find-all
implementation
([#​12541](https://togithub.com/vitejs/vite/issues/12541))
([b6ea25a](https://togithub.com/vitejs/vite/commit/b6ea25a)), closes
[#​12541](https://togithub.com/vitejs/vite/issues/12541)
- perf(resolve): fix browser mapping nearest package.json check
([#​12550](https://togithub.com/vitejs/vite/issues/12550))
([eac376e](https://togithub.com/vitejs/vite/commit/eac376e)), closes
[#​12550](https://togithub.com/vitejs/vite/issues/12550)
- perf(resolve): improve package.json resolve speed
([#​12441](https://togithub.com/vitejs/vite/issues/12441))
([1fc8c65](https://togithub.com/vitejs/vite/commit/1fc8c65)), closes
[#​12441](https://togithub.com/vitejs/vite/issues/12441)
- perf(resolve): refactor package.json handling for deep imports
([#​12461](https://togithub.com/vitejs/vite/issues/12461))
([596b661](https://togithub.com/vitejs/vite/commit/596b661)), closes
[#​12461](https://togithub.com/vitejs/vite/issues/12461)
- perf(resolve): refactor tryFsResolve and tryResolveFile
([#​12542](https://togithub.com/vitejs/vite/issues/12542))
([3f70f47](https://togithub.com/vitejs/vite/commit/3f70f47))
- perf(resolve): skip absolute paths in root as url checks
([#​12476](https://togithub.com/vitejs/vite/issues/12476))
([8d2931b](https://togithub.com/vitejs/vite/commit/8d2931b)), closes
[#​12476](https://togithub.com/vitejs/vite/issues/12476)
- perf(resolve): support # in path only for dependencies
([#​12469](https://togithub.com/vitejs/vite/issues/12469))
([6559fc7](https://togithub.com/vitejs/vite/commit/6559fc7)), closes
[#​12469](https://togithub.com/vitejs/vite/issues/12469)
##### Bug Fixes
- fix(build): do not repeatedly output warning message
([#​12910](https://togithub.com/vitejs/vite/issues/12910))
([251d0ab](https://togithub.com/vitejs/vite/commit/251d0ab)), closes
[#​12910](https://togithub.com/vitejs/vite/issues/12910)
- fix: escape msg in render restricted error html
([#​12889](https://togithub.com/vitejs/vite/issues/12889))
([3aa2127](https://togithub.com/vitejs/vite/commit/3aa2127)), closes
[#​12889](https://togithub.com/vitejs/vite/issues/12889)
- fix: yarn pnp considerBuiltins
([#​12903](https://togithub.com/vitejs/vite/issues/12903))
([a0e10d5](https://togithub.com/vitejs/vite/commit/a0e10d5)), closes
[#​12903](https://togithub.com/vitejs/vite/issues/12903)
- fix: broken middleware name
([#​12871](https://togithub.com/vitejs/vite/issues/12871))
([32bef57](https://togithub.com/vitejs/vite/commit/32bef57)), closes
[#​12871](https://togithub.com/vitejs/vite/issues/12871)
- fix: cleanUpStaleCacheDirs once per process
([#​12847](https://togithub.com/vitejs/vite/issues/12847))
([2c58b6e](https://togithub.com/vitejs/vite/commit/2c58b6e)), closes
[#​12847](https://togithub.com/vitejs/vite/issues/12847)
- fix(build): do not warn when URL in CSS is externalized
([#​12873](https://togithub.com/vitejs/vite/issues/12873))
([1510996](https://togithub.com/vitejs/vite/commit/1510996)), closes
[#​12873](https://togithub.com/vitejs/vite/issues/12873)
- fix: build time deps optimization, and ensure single crawl end call
([#​12851](https://togithub.com/vitejs/vite/issues/12851))
([fa30879](https://togithub.com/vitejs/vite/commit/fa30879)), closes
[#​12851](https://togithub.com/vitejs/vite/issues/12851)
- fix: correct vite config temporary name
([#​12833](https://togithub.com/vitejs/vite/issues/12833))
([cdd9c23](https://togithub.com/vitejs/vite/commit/cdd9c23)), closes
[#​12833](https://togithub.com/vitejs/vite/issues/12833)
- fix(importAnalysis): warning on ExportAllDeclaration
([#​12799](https://togithub.com/vitejs/vite/issues/12799))
([5136b9b](https://togithub.com/vitejs/vite/commit/5136b9b)), closes
[#​12799](https://togithub.com/vitejs/vite/issues/12799)
- fix(optimizer): start optimizer after buildStart
([#​12832](https://togithub.com/vitejs/vite/issues/12832))
([cfe75ee](https://togithub.com/vitejs/vite/commit/cfe75ee)), closes
[#​12832](https://togithub.com/vitejs/vite/issues/12832)
- fix: handle try-catch for fs promise when resolve https config
([#​12808](https://togithub.com/vitejs/vite/issues/12808))
([0bba402](https://togithub.com/vitejs/vite/commit/0bba402)), closes
[#​12808](https://togithub.com/vitejs/vite/issues/12808)
- fix(build): correctly handle warning ignore list
([#​12831](https://togithub.com/vitejs/vite/issues/12831))
([8830532](https://togithub.com/vitejs/vite/commit/8830532)), closes
[#​12831](https://togithub.com/vitejs/vite/issues/12831)
- fix(resolve): use different importer check for css imports
([#​12815](https://togithub.com/vitejs/vite/issues/12815))
([d037327](https://togithub.com/vitejs/vite/commit/d037327)), closes
[#​12815](https://togithub.com/vitejs/vite/issues/12815)
- fix: ignore sideEffects for scripts imported from html
([#​12786](https://togithub.com/vitejs/vite/issues/12786))
([f09551f](https://togithub.com/vitejs/vite/commit/f09551f)), closes
[#​12786](https://togithub.com/vitejs/vite/issues/12786)
- fix: warn on build when bundling code that uses nodejs built in module
([#​12616](https://togithub.com/vitejs/vite/issues/12616))
([72050f9](https://togithub.com/vitejs/vite/commit/72050f9)), closes
[#​12616](https://togithub.com/vitejs/vite/issues/12616)
- fix(cli): pass mode to optimize command
([#​12776](https://togithub.com/vitejs/vite/issues/12776))
([da38ad8](https://togithub.com/vitejs/vite/commit/da38ad8)), closes
[#​12776](https://togithub.com/vitejs/vite/issues/12776)
- fix(css): resolve at import from dependency basedir
([#​12796](https://togithub.com/vitejs/vite/issues/12796))
([46bdf7d](https://togithub.com/vitejs/vite/commit/46bdf7d)), closes
[#​12796](https://togithub.com/vitejs/vite/issues/12796)
- fix(worker): asset in iife worker and relative base
([#​12697](https://togithub.com/vitejs/vite/issues/12697))
([ddefc06](https://togithub.com/vitejs/vite/commit/ddefc06)), closes
[#​12697](https://togithub.com/vitejs/vite/issues/12697)
- fix(worker): return null for shouldTransformCachedModule
([#​12797](https://togithub.com/vitejs/vite/issues/12797))
([ea5f6fc](https://togithub.com/vitejs/vite/commit/ea5f6fc)), closes
[#​12797](https://togithub.com/vitejs/vite/issues/12797)
- fix: allow onwarn to override vite default warning handling
([#​12757](https://togithub.com/vitejs/vite/issues/12757))
([f736930](https://togithub.com/vitejs/vite/commit/f736930)), closes
[#​12757](https://togithub.com/vitejs/vite/issues/12757)
- fix: ensure module in graph before transforming
([#​12774](https://togithub.com/vitejs/vite/issues/12774))
([44ad321](https://togithub.com/vitejs/vite/commit/44ad321)), closes
[#​12774](https://togithub.com/vitejs/vite/issues/12774)
- fix: update package cache watcher
([#​12772](https://togithub.com/vitejs/vite/issues/12772))
([a78588f](https://togithub.com/vitejs/vite/commit/a78588f)), closes
[#​12772](https://togithub.com/vitejs/vite/issues/12772)
- fix: avoid clean up while committing deps folder
([#​12722](https://togithub.com/vitejs/vite/issues/12722))
([3f4d109](https://togithub.com/vitejs/vite/commit/3f4d109)), closes
[#​12722](https://togithub.com/vitejs/vite/issues/12722)
- fix: ignore pnp resolve error
([#​12719](https://togithub.com/vitejs/vite/issues/12719))
([2d30ae5](https://togithub.com/vitejs/vite/commit/2d30ae5)), closes
[#​12719](https://togithub.com/vitejs/vite/issues/12719)
- fix: leave fully dynamic import.meta.url asset (fixes
[#​10306](https://togithub.com/vitejs/vite/issues/10306))
([#​10549](https://togithub.com/vitejs/vite/issues/10549))
([56802b1](https://togithub.com/vitejs/vite/commit/56802b1)), closes
[#​10306](https://togithub.com/vitejs/vite/issues/10306)
[#​10549](https://togithub.com/vitejs/vite/issues/10549)
- fix: output combined sourcemap in importAnalysisBuild plugin
([#​12642](https://togithub.com/vitejs/vite/issues/12642))
([d051639](https://togithub.com/vitejs/vite/commit/d051639)), closes
[#​12642](https://togithub.com/vitejs/vite/issues/12642)
- fix: take in relative assets path fixes from rollup
([#​12695](https://togithub.com/vitejs/vite/issues/12695))
([81e44dd](https://togithub.com/vitejs/vite/commit/81e44dd)), closes
[#​12695](https://togithub.com/vitejs/vite/issues/12695)
- fix: throws error when plugin tries to resolve ID to external URL
([#​11731](https://togithub.com/vitejs/vite/issues/11731))
([49674b5](https://togithub.com/vitejs/vite/commit/49674b5)), closes
[#​11731](https://togithub.com/vitejs/vite/issues/11731)
- fix(css): css file emit synchronously
([#​12558](https://togithub.com/vitejs/vite/issues/12558))
([8e30025](https://togithub.com/vitejs/vite/commit/8e30025)), closes
[#​12558](https://togithub.com/vitejs/vite/issues/12558)
- fix(import-analysis): escape quotes correctly
([#​12688](https://togithub.com/vitejs/vite/issues/12688))
([1638ebd](https://togithub.com/vitejs/vite/commit/1638ebd)), closes
[#​12688](https://togithub.com/vitejs/vite/issues/12688)
- fix(optimizer): load the correct lock file
([#​12700](https://togithub.com/vitejs/vite/issues/12700))
([889eebe](https://togithub.com/vitejs/vite/commit/889eebe)), closes
[#​12700](https://togithub.com/vitejs/vite/issues/12700)
- fix(server): delay ws server listen when restart
([#​12734](https://togithub.com/vitejs/vite/issues/12734))
([abe9274](https://togithub.com/vitejs/vite/commit/abe9274)), closes
[#​12734](https://togithub.com/vitejs/vite/issues/12734)
- fix(ssr): load sourcemaps alongside modules
([#​11780](https://togithub.com/vitejs/vite/issues/11780))
([be95050](https://togithub.com/vitejs/vite/commit/be95050)), closes
[#​11780](https://togithub.com/vitejs/vite/issues/11780)
- fix(ssr): show ssr module loader error stack
([#​12651](https://togithub.com/vitejs/vite/issues/12651))
([050c0f9](https://togithub.com/vitejs/vite/commit/050c0f9)), closes
[#​12651](https://togithub.com/vitejs/vite/issues/12651)
- fix(worker): disable manifest plugins in worker build
([#​12661](https://togithub.com/vitejs/vite/issues/12661))
([20b8ef4](https://togithub.com/vitejs/vite/commit/20b8ef4)), closes
[#​12661](https://togithub.com/vitejs/vite/issues/12661)
- fix(worker): worker import.meta.url should not depends on document in
iife mode
([#​12629](https://togithub.com/vitejs/vite/issues/12629))
([65f5ed2](https://togithub.com/vitejs/vite/commit/65f5ed2)), closes
[#​12629](https://togithub.com/vitejs/vite/issues/12629)
- fix: avoid temporal optimize deps dirs
([#​12582](https://togithub.com/vitejs/vite/issues/12582))
([ff92f2f](https://togithub.com/vitejs/vite/commit/ff92f2f)), closes
[#​12582](https://togithub.com/vitejs/vite/issues/12582)
- fix: await `buildStart` before server start
([#​12647](https://togithub.com/vitejs/vite/issues/12647))
([871d353](https://togithub.com/vitejs/vite/commit/871d353)), closes
[#​12647](https://togithub.com/vitejs/vite/issues/12647)
- fix: call `buildStart` only once when using next port
([#​12624](https://togithub.com/vitejs/vite/issues/12624))
([e10c6bd](https://togithub.com/vitejs/vite/commit/e10c6bd)), closes
[#​12624](https://togithub.com/vitejs/vite/issues/12624)
- fix: sourcemapIgnoreList for optimizedDeps
([#​12633](https://togithub.com/vitejs/vite/issues/12633))
([c1d3fc9](https://togithub.com/vitejs/vite/commit/c1d3fc9)), closes
[#​12633](https://togithub.com/vitejs/vite/issues/12633)
- fix: splitFileAndPostfix works as cleanUrl
([#​12572](https://togithub.com/vitejs/vite/issues/12572))
([276725f](https://togithub.com/vitejs/vite/commit/276725f)), closes
[#​12572](https://togithub.com/vitejs/vite/issues/12572)
- fix: throw error on build optimizeDeps issue
([#​12560](https://togithub.com/vitejs/vite/issues/12560))
([02a46d7](https://togithub.com/vitejs/vite/commit/02a46d7)), closes
[#​12560](https://togithub.com/vitejs/vite/issues/12560)
- fix: use nearest pkg to resolved for moduleSideEffects
([#​12628](https://togithub.com/vitejs/vite/issues/12628))
([1dfecc8](https://togithub.com/vitejs/vite/commit/1dfecc8)), closes
[#​12628](https://togithub.com/vitejs/vite/issues/12628)
- fix(css): use `charset: 'utf8'` by default for css
([#​12565](https://togithub.com/vitejs/vite/issues/12565))
([c20a064](https://togithub.com/vitejs/vite/commit/c20a064)), closes
[#​12565](https://togithub.com/vitejs/vite/issues/12565)
- fix(html): dont pretransform public scripts
([#​12650](https://togithub.com/vitejs/vite/issues/12650))
([4f0af3f](https://togithub.com/vitejs/vite/commit/4f0af3f)), closes
[#​12650](https://togithub.com/vitejs/vite/issues/12650)
- fix: avoid crash because of no access permission
([#​12552](https://togithub.com/vitejs/vite/issues/12552))
([eea1682](https://togithub.com/vitejs/vite/commit/eea1682)), closes
[#​12552](https://togithub.com/vitejs/vite/issues/12552)
- fix: esbuild complains with extra fields
([#​12516](https://togithub.com/vitejs/vite/issues/12516))
([7be0ba5](https://togithub.com/vitejs/vite/commit/7be0ba5)), closes
[#​12516](https://togithub.com/vitejs/vite/issues/12516)
- fix: escape replacements in clientInjections
([#​12486](https://togithub.com/vitejs/vite/issues/12486))
([3765067](https://togithub.com/vitejs/vite/commit/3765067)), closes
[#​12486](https://togithub.com/vitejs/vite/issues/12486)
- fix: open browser reuse logic
([#​12535](https://togithub.com/vitejs/vite/issues/12535))
([04d14af](https://togithub.com/vitejs/vite/commit/04d14af)), closes
[#​12535](https://togithub.com/vitejs/vite/issues/12535)
- fix: prevent error on not set location href
([#​12494](https://togithub.com/vitejs/vite/issues/12494))
([2fb8527](https://togithub.com/vitejs/vite/commit/2fb8527)), closes
[#​12494](https://togithub.com/vitejs/vite/issues/12494)
- fix: simplify prettyUrl
([#​12488](https://togithub.com/vitejs/vite/issues/12488))
([ebe5aa5](https://togithub.com/vitejs/vite/commit/ebe5aa5)), closes
[#​12488](https://togithub.com/vitejs/vite/issues/12488)
- fix(config): add random number to temp transpiled file
([#​12150](https://togithub.com/vitejs/vite/issues/12150))
([2b2ba61](https://togithub.com/vitejs/vite/commit/2b2ba61)), closes
[#​12150](https://togithub.com/vitejs/vite/issues/12150)
- fix(deps): update all non-major dependencies
([#​12389](https://togithub.com/vitejs/vite/issues/12389))
([3e60b77](https://togithub.com/vitejs/vite/commit/3e60b77)), closes
[#​12389](https://togithub.com/vitejs/vite/issues/12389)
- fix(html): public asset urls always being treated as paths (fix
[#​11857](https://togithub.com/vitejs/vite/issues/11857))
([#​11870](https://togithub.com/vitejs/vite/issues/11870))
([46d1352](https://togithub.com/vitejs/vite/commit/46d1352)), closes
[#​11857](https://togithub.com/vitejs/vite/issues/11857)
[#​11870](https://togithub.com/vitejs/vite/issues/11870)
- fix(ssr): hoist import statements to the top
([#​12274](https://togithub.com/vitejs/vite/issues/12274))
([33baff5](https://togithub.com/vitejs/vite/commit/33baff5)), closes
[#​12274](https://togithub.com/vitejs/vite/issues/12274)
- fix(ssr): hoist re-exports with imports
([#​12530](https://togithub.com/vitejs/vite/issues/12530))
([45549e4](https://togithub.com/vitejs/vite/commit/45549e4)), closes
[#​12530](https://togithub.com/vitejs/vite/issues/12530)
- fix: should generate Hi-res sourcemap for dev
([#​12501](https://togithub.com/vitejs/vite/issues/12501))
([1502617](https://togithub.com/vitejs/vite/commit/1502617)), closes
[#​12501](https://togithub.com/vitejs/vite/issues/12501)
##### Clean up
- refactor: simplify crawlEndFinder
([#​12868](https://togithub.com/vitejs/vite/issues/12868))
([31f8b51](https://togithub.com/vitejs/vite/commit/31f8b51)), closes
[#​12868](https://togithub.com/vitejs/vite/issues/12868)
- refactor: use simpler resolve for nested optimized deps
([#​12770](https://togithub.com/vitejs/vite/issues/12770))
([d202588](https://togithub.com/vitejs/vite/commit/d202588)), closes
[#​12770](https://togithub.com/vitejs/vite/issues/12770)
- refactor: `import.meta.url` condition from renderChunk hook of worker
plugin ([#​12696](https://togithub.com/vitejs/vite/issues/12696))
([fdef8fd](https://togithub.com/vitejs/vite/commit/fdef8fd)), closes
[#​12696](https://togithub.com/vitejs/vite/issues/12696)
- refactor: clean up preTransformRequest
([#​12672](https://togithub.com/vitejs/vite/issues/12672))
([561227c](https://togithub.com/vitejs/vite/commit/561227c)), closes
[#​12672](https://togithub.com/vitejs/vite/issues/12672)
- refactor: make debugger nullable
([#​12687](https://togithub.com/vitejs/vite/issues/12687))
([89e4977](https://togithub.com/vitejs/vite/commit/89e4977)), closes
[#​12687](https://togithub.com/vitejs/vite/issues/12687)
- refactor: remove `ensureVolumeInPath`
([#​12690](https://togithub.com/vitejs/vite/issues/12690))
([a3150ee](https://togithub.com/vitejs/vite/commit/a3150ee)), closes
[#​12690](https://togithub.com/vitejs/vite/issues/12690)
- refactor: remove unused exports data props
([#​12740](https://togithub.com/vitejs/vite/issues/12740))
([4538bfe](https://togithub.com/vitejs/vite/commit/4538bfe)), closes
[#​12740](https://togithub.com/vitejs/vite/issues/12740)
- refactor: use `resolvePackageData` in
`requireResolveFromRootWithFallback`
([#​12712](https://togithub.com/vitejs/vite/issues/12712))
([1ea38e2](https://togithub.com/vitejs/vite/commit/1ea38e2)), closes
[#​12712](https://togithub.com/vitejs/vite/issues/12712)
- refactor(css): simplify cached import code
([#​12730](https://togithub.com/vitejs/vite/issues/12730))
([0646754](https://togithub.com/vitejs/vite/commit/0646754)), closes
[#​12730](https://togithub.com/vitejs/vite/issues/12730)
- refactor: improve scanner logs
([#​12578](https://togithub.com/vitejs/vite/issues/12578))
([9925a72](https://togithub.com/vitejs/vite/commit/9925a72)), closes
[#​12578](https://togithub.com/vitejs/vite/issues/12578)
- refactor: isInNodeModules util
([#​12588](https://togithub.com/vitejs/vite/issues/12588))
([fb3245a](https://togithub.com/vitejs/vite/commit/fb3245a)), closes
[#​12588](https://togithub.com/vitejs/vite/issues/12588)
- refactor: remove `idToPkgMap`
([#​12564](https://togithub.com/vitejs/vite/issues/12564))
([a326ec8](https://togithub.com/vitejs/vite/commit/a326ec8)), closes
[#​12564](https://togithub.com/vitejs/vite/issues/12564)
- refactor: simplify lookupFile
([#​12585](https://togithub.com/vitejs/vite/issues/12585))
([4215e22](https://togithub.com/vitejs/vite/commit/4215e22)), closes
[#​12585](https://togithub.com/vitejs/vite/issues/12585)
- refactor: tryStatSync as util
([#​12575](https://togithub.com/vitejs/vite/issues/12575))
([92601db](https://togithub.com/vitejs/vite/commit/92601db)), closes
[#​12575](https://togithub.com/vitejs/vite/issues/12575)
- refactor: use findNearestPackageData in more places
([#​12577](https://togithub.com/vitejs/vite/issues/12577))
([35faae9](https://togithub.com/vitejs/vite/commit/35faae9)), closes
[#​12577](https://togithub.com/vitejs/vite/issues/12577)
- refactor: esbuild plugin config logic
([#​12493](https://togithub.com/vitejs/vite/issues/12493))
([45b5b0f](https://togithub.com/vitejs/vite/commit/45b5b0f)), closes
[#​12493](https://togithub.com/vitejs/vite/issues/12493)
##### Previous Changelogs
#####
[4.3.0-beta.8](https://togithub.com/vitejs/vite/compare/v4.3.0-beta.7....v4.3.0-beta.8)
(2023-04-19)
See [4.3.0-beta.8
changelog](https://togithub.com/vitejs/vite/blob/v4.3.0-beta.8/packages/vite/CHANGELOG.md)
#####
[4.3.0-beta.7](https://togithub.com/vitejs/vite/compare/v4.3.0-beta.6....v4.3.0-beta.7)
(2023-04-17)
See [4.3.0-beta.7
changelog](https://togithub.com/vitejs/vite/blob/v4.3.0-beta.7/packages/vite/CHANGELOG.md)
#####
[4.3.0-beta.6](https://togithub.com/vitejs/vite/compare/v4.3.0-beta.5....v4.3.0-beta.6)
(2023-04-14)
See [4.3.0-beta.6
changelog](https://togithub.com/vitejs/vite/blob/v4.3.0-beta.6/packages/vite/CHANGELOG.md)
#####
[4.3.0-beta.5](https://togithub.com/vitejs/vite/compare/v4.3.0-beta.4....v4.3.0-beta.5)
(2023-04-11)
See [4.3.0-beta.5
changelog](https://togithub.com/vitejs/vite/blob/v4.3.0-beta.5/packages/vite/CHANGELOG.md)
#####
[4.3.0-beta.4](https://togithub.com/vitejs/vite/compare/v4.3.0-beta.3....v4.3.0-beta.4)
(2023-04-09)
See [4.3.0-beta.4
changelog](https://togithub.com/vitejs/vite/blob/v4.3.0-beta.4/packages/vite/CHANGELOG.md)
#####
[4.3.0-beta.3](https://togithub.com/vitejs/vite/compare/v4.3.0-beta.2....v4.3.0-beta.3)
(2023-04-07)
See [4.3.0-beta.3
changelog](https://togithub.com/vitejs/vite/blob/v4.3.0-beta.3/packages/vite/CHANGELOG.md)
#####
[4.3.0-beta.2](https://togithub.com/vitejs/vite/compare/v4.3.0-beta.1....v4.3.0-beta.2)
(2023-04-05)
See [4.3.0-beta.2
changelog](https://togithub.com/vitejs/vite/blob/v4.3.0-beta.2/packages/vite/CHANGELOG.md)
#####
[4.3.0-beta.1](https://togithub.com/vitejs/vite/compare/v4.3.0-beta.0....v4.3.0-beta.1)
(2023-03-29)
See [4.3.0-beta.1
changelog](https://togithub.com/vitejs/vite/blob/v4.3.0-beta.1/packages/vite/CHANGELOG.md)
#####
[4.3.0-beta.0](https://togithub.com/vitejs/vite/compare/v4.2.1....v4.3.0-beta.0)
(2023-03-23)
See [4.3.0-beta.0
changelog](https://togithub.com/vitejs/vite/blob/v4.3.0-beta.0/packages/vite/CHANGELOG.md)
###
[`v4.2.2`](https://togithub.com/vitejs/vite/blob/HEAD/packages/vite/CHANGELOG.md#small422-2023-04-18-small)
[Compare
Source](https://togithub.com/vitejs/vite/compare/v4.2.1...v4.2.2)
- fix: escape msg in render restricted error html, backport
[#​12889](https://togithub.com/vitejs/vite/issues/12889)
([8758c5c](https://togithub.com/vitejs/vite/commit/8758c5c)), closes
[#​12889](https://togithub.com/vitejs/vite/issues/12889)
###
[`v4.2.1`](https://togithub.com/vitejs/vite/blob/HEAD/packages/vite/CHANGELOG.md#small421-2023-03-20-small)
[Compare
Source](https://togithub.com/vitejs/vite/compare/9dbb7f7765fd7d255daf82ad44fe867d49f0befd...v4.2.1)
- fix: add `virtual:` to virtual module source map ignore
([#​12444](https://togithub.com/vitejs/vite/issues/12444))
([c4aa28f](https://togithub.com/vitejs/vite/commit/c4aa28f)), closes
[#​12444](https://togithub.com/vitejs/vite/issues/12444)
- fix(css): inject source content conditionally
([#​12449](https://togithub.com/vitejs/vite/issues/12449))
([3e665f6](https://togithub.com/vitejs/vite/commit/3e665f6)), closes
[#​12449](https://togithub.com/vitejs/vite/issues/12449)
- fix(worker): using data URLs for inline shared worker
([#​12014](https://togithub.com/vitejs/vite/issues/12014))
([79a5007](https://togithub.com/vitejs/vite/commit/79a5007)), closes
[#​12014](https://togithub.com/vitejs/vite/issues/12014)
- chore: changelog edits for 4.2
([#​12438](https://togithub.com/vitejs/vite/issues/12438))
([ce047e3](https://togithub.com/vitejs/vite/commit/ce047e3)), closes
[#​12438](https://togithub.com/vitejs/vite/issues/12438)
###
[`v4.2.0`](https://togithub.com/vitejs/vite/blob/HEAD/packages/vite/CHANGELOG.md#​420-2023-03-16)
[Compare
Source](https://togithub.com/vitejs/vite/compare/v4.1.4...9dbb7f7765fd7d255daf82ad44fe867d49f0befd)
Vite 4.2 is out!
##### Support env variables replacement in HTML files
Vite now supports [replacing env variables in HTML
files](https://vitejs.dev/guide/env-and-mode.html#html-env-replacement).
Any properties in `import.meta.env` can be used in HTML files with a
special `%ENV_NAME%` syntax:
```html
<h1>Vite is running in %MODE%</h1>
<p>Using data from %VITE_API_URL%</p>
```
##### Sourcemaps improvements
The Chrome Dev Tools team has been working to improve the DX of Vite and
Vite-powered frameworks in the dev tools. Vite 4.2 brings an [improved
experience](https://twitter.com/bmeurer/status/1631286267823439881) and
tools for framework authors to [hide 3rd party code and build artifacts
from the user](https://twitter.com/bmeurer/status/1631531492462526467)
from console log traces using
[`server.sourcemapIgnoreList`](https://vitejs.dev/config/server-options.html#server-sourcemapignorelist)
and
[`build.rollupOptions.output.sourcemapIgnoreList`](https://rollupjs.org/configuration-options/#output-sourcemapignorelist).
##### ESM subpath imports
Vite 4.2 now supports [subpath
imports](https://nodejs.org/api/packages.html#subpath-imports), thanks
to [@​lukeed05](https://twitter.com/lukeed05)'s
[resolve.exports](https://togithub.com/lukeed/resolve.exports) library.
##### TypeScript 5 support
Vite 4.2 also supports TypeScript 5's `tsconfig` `extends` [array
format](https://devblogs.microsoft.com/typescript/announcing-typescript-5-0-beta/#supporting-multiple-configuration-files-in-extends),
thanks to [tsconfck](https://togithub.com/dominikg/tsconfck).
##### esbuild 0.17
esbuild
[v0.17.0](https://togithub.com/evanw/esbuild/releases/tag/v0.17.0)
improved the design of its incremental, watch, and serve APIs. Check out
[#​11908](https://togithub.com/vitejs/vite/pull/11908) for the
rationale of why we didn't consider the backward-incompatible changes
breaking for our use cases. The updated esbuild design now allows Vite
to properly cancel in-fly builds and improve server restarts.
##### Use Rollup types from the vite package
Expose Rollup types as a namespace. This is helpful to avoid type
conflicts because of different versions of Rollup types in environments
like [vite-ecosystem-ci](https://togithub.com/vitejs/vite-ecosystem-ci)
([#​12316](https://togithub.com/vitejs/vite/issues/12316)).
```ts
import type { Rollup } from 'vite'
```
##### Português Docs Translation
The Vite documentation is now translated to Português at
[pt.vitejs.dev](https://pt.vitejs.dev) thanks to [Nazaré Da
Piedade](https://twitter.com/nazarepiedady) .
##### Features
- feat: add status message for 504 caused by optimizer
([#​12435](https://togithub.com/vitejs/vite/issues/12435))
([5cdd3fa](https://togithub.com/vitejs/vite/commit/5cdd3fa)), closes
[#​12435](https://togithub.com/vitejs/vite/issues/12435)
- feat: update tsconfck to 2.1.0 to add support for typescript 5 config
syntax ([#​12401](https://togithub.com/vitejs/vite/issues/12401))
([3f1c379](https://togithub.com/vitejs/vite/commit/3f1c379)), closes
[#​12401](https://togithub.com/vitejs/vite/issues/12401)
- feat: default esbuild jsxDev based on config.isProduction
([#​12386](https://togithub.com/vitejs/vite/issues/12386))
([f24c2b0](https://togithub.com/vitejs/vite/commit/f24c2b0)), closes
[#​12386](https://togithub.com/vitejs/vite/issues/12386)
- feat(css): add `build.cssMinify`
([#​12207](https://togithub.com/vitejs/vite/issues/12207))
([90431f2](https://togithub.com/vitejs/vite/commit/90431f2)), closes
[#​12207](https://togithub.com/vitejs/vite/issues/12207)
- feat(types): export Rollup namespace
([#​12316](https://togithub.com/vitejs/vite/issues/12316))
([6e49e52](https://togithub.com/vitejs/vite/commit/6e49e52)), closes
[#​12316](https://togithub.com/vitejs/vite/issues/12316)
- feat: add `sourcemapIgnoreList` configuration option
([#​12174](https://togithub.com/vitejs/vite/issues/12174))
([f875580](https://togithub.com/vitejs/vite/commit/f875580)), closes
[#​12174](https://togithub.com/vitejs/vite/issues/12174)
- feat: cancellable scan during optimization
([#​12225](https://togithub.com/vitejs/vite/issues/12225))
([1e1cd3b](https://togithub.com/vitejs/vite/commit/1e1cd3b)), closes
[#​12225](https://togithub.com/vitejs/vite/issues/12225)
- feat: don't override `build.target` if terser is 5.16.0+
([#​12197](https://togithub.com/vitejs/vite/issues/12197))
([9885f6f](https://togithub.com/vitejs/vite/commit/9885f6f)), closes
[#​12197](https://togithub.com/vitejs/vite/issues/12197)
- feat: support ESM subpath imports
([#​7770](https://togithub.com/vitejs/vite/issues/7770))
([cc92da9](https://togithub.com/vitejs/vite/commit/cc92da9)), closes
[#​7770](https://togithub.com/vitejs/vite/issues/7770)
- feat(css): add preprocessor option to define stylus vars & funcs
([#​7227](https://togithub.com/vitejs/vite/issues/7227))
([5968bec](https://togithub.com/vitejs/vite/commit/5968bec)), closes
[#​7227](https://togithub.com/vitejs/vite/issues/7227)
- feat(css): support resolving stylesheets from exports map
([#​7817](https://togithub.com/vitejs/vite/issues/7817))
([108aadf](https://togithub.com/vitejs/vite/commit/108aadf)), closes
[#​7817](https://togithub.com/vitejs/vite/issues/7817)
- feat(html): support env replacement
([#​12202](https://togithub.com/vitejs/vite/issues/12202))
([4f2c49f](https://togithub.com/vitejs/vite/commit/4f2c49f)), closes
[#​12202](https://togithub.com/vitejs/vite/issues/12202)
- refactor: customize ErrorOverlay (part 2)
([#​11830](https://togithub.com/vitejs/vite/issues/11830))
([4159e6f](https://togithub.com/vitejs/vite/commit/4159e6f)), closes
[#​11830](https://togithub.com/vitejs/vite/issues/11830)
- refactor: remove constructed sheet type style injection
([#​11818](https://togithub.com/vitejs/vite/issues/11818))
([1a6a0c2](https://togithub.com/vitejs/vite/commit/1a6a0c2)), closes
[#​11818](https://togithub.com/vitejs/vite/issues/11818)
- refactor(importAnalysis): cache injected env string
([#​12154](https://togithub.com/vitejs/vite/issues/12154))
([2aad552](https://togithub.com/vitejs/vite/commit/2aad552)), closes
[#​12154](https://togithub.com/vitejs/vite/issues/12154)
- feat: esbuild 0.17
([#​11908](https://togithub.com/vitejs/vite/issues/11908))
([9d42f06](https://togithub.com/vitejs/vite/commit/9d42f06)), closes
[#​11908](https://togithub.com/vitejs/vite/issues/11908)
- feat: ignore list client injected sources
([#​12170](https://togithub.com/vitejs/vite/issues/12170))
([8a98aef](https://togithub.com/vitejs/vite/commit/8a98aef)), closes
[#​12170](https://togithub.com/vitejs/vite/issues/12170)
- feat: support rollup plugin `this.load` in plugin container context
([#​11469](https://togithub.com/vitejs/vite/issues/11469))
([abfa804](https://togithub.com/vitejs/vite/commit/abfa804)), closes
[#​11469](https://togithub.com/vitejs/vite/issues/11469)
- feat(cli): allow to specify sourcemap mode via --sourcemap build's
option ([#​11505](https://togithub.com/vitejs/vite/issues/11505))
([ee3b90a](https://togithub.com/vitejs/vite/commit/ee3b90a)), closes
[#​11505](https://togithub.com/vitejs/vite/issues/11505)
- feat(reporter): report built time
([#​12100](https://togithub.com/vitejs/vite/issues/12100))
([f2ad222](https://togithub.com/vitejs/vite/commit/f2ad222)), closes
[#​12100](https://togithub.com/vitejs/vite/issues/12100)
##### Bug Fixes
- fix: html env replacement plugin position
([#​12404](https://togithub.com/vitejs/vite/issues/12404))
([96f36a9](https://togithub.com/vitejs/vite/commit/96f36a9)), closes
[#​12404](https://togithub.com/vitejs/vite/issues/12404)
- fix(optimizer): # symbol in deps id stripped by browser
([#​12415](https://togithub.com/vitejs/vite/issues/12415))
([e23f690](https://togithub.com/vitejs/vite/commit/e23f690)), closes
[#​12415](https://togithub.com/vitejs/vite/issues/12415)
- fix(resolve): rebase sub imports relative path
([#​12373](https://togithub.com/vitejs/vite/issues/12373))
([fe1d61a](https://togithub.com/vitejs/vite/commit/fe1d61a)), closes
[#​12373](https://togithub.com/vitejs/vite/issues/12373)
- fix(server): should close server after create new server
([#​12379](https://togithub.com/vitejs/vite/issues/12379))
([d23605d](https://togithub.com/vitejs/vite/commit/d23605d)), closes
[#​12379](https://togithub.com/vitejs/vite/issues/12379)
- fix(resolve): remove deep import syntax handling
([#​12381](https://togithub.com/vitejs/vite/issues/12381))
([42e0d6a](https://togithub.com/vitejs/vite/commit/42e0d6a)), closes
[#​12381](https://togithub.com/vitejs/vite/issues/12381)
- fix: print urls when dns order change
([#​12261](https://togithub.com/vitejs/vite/issues/12261))
([e57cacf](https://togithub.com/vitejs/vite/commit/e57cacf)), closes
[#​12261](https://togithub.com/vitejs/vite/issues/12261)
- fix: throw ssr import error directly (fix
[#​12322](https://togithub.com/vitejs/vite/issues/12322))
([#​12324](https://togithub.com/vitejs/vite/issues/12324))
([21ffc6a](https://togithub.com/vitejs/vite/commit/21ffc6a)), closes
[#​12322](https://togithub.com/vitejs/vite/issues/12322)
[#​12324](https://togithub.com/vitejs/vite/issues/12324)
- fix(config): watch config even outside of root
([#​12321](https://togithub.com/vitejs/vite/issues/12321))
([7e2fff7](https://togithub.com/vitejs/vite/commit/7e2fff7)), closes
[#​12321](https://togithub.com/vitejs/vite/issues/12321)
- fix(config): watch envDir even outside of root
([#​12349](https://togithub.com/vitejs/vite/issues/12349))
([131f3ee](https://togithub.com/vitejs/vite/commit/131f3ee)), closes
[#​12349](https://togithub.com/vitejs/vite/issues/12349)
- fix(define): correctly replace SSR in dev
([#​12204](https://togithub.com/vitejs/vite/issues/12204))
([0f6de4d](https://togithub.com/vitejs/vite/commit/0f6de4d)), closes
[#​12204](https://togithub.com/vitejs/vite/issues/12204)
- fix(optimizer): suppress esbuild cancel error
([#​12358](https://togithub.com/vitejs/vite/issues/12358))
([86a24e4](https://togithub.com/vitejs/vite/commit/86a24e4)), closes
[#​12358](https://togithub.com/vitejs/vite/issues/12358)
- fix(optimizer): transform css require to import directly
([#​12343](https://togithub.com/vitejs/vite/issues/12343))
([716286e](https://togithub.com/vitejs/vite/commit/716286e)), closes
[#​12343](https://togithub.com/vitejs/vite/issues/12343)
- fix(reporter): build.assetsDir should not impact output when in lib
mode ([#​12108](https://togithub.com/vitejs/vite/issues/12108))
([b12f457](https://togithub.com/vitejs/vite/commit/b12f457)), closes
[#​12108](https://togithub.com/vitejs/vite/issues/12108)
- fix(types): avoid resolve.exports types for bundling
([#​12346](https://togithub.com/vitejs/vite/issues/12346))
([6b40f03](https://togithub.com/vitejs/vite/commit/6b40f03)), closes
[#​12346](https://togithub.com/vitejs/vite/issues/12346)
- fix(worker): force rollup to build worker module under watch mode
([#​11919](https://togithub.com/vitejs/vite/issues/11919))
([d464679](https://togithub.com/vitejs/vite/commit/d464679)), closes
[#​11919](https://togithub.com/vitejs/vite/issues/11919)
- fix: resolve browser mapping using bare imports (fix
[#​11208](https://togithub.com/vitejs/vite/issues/11208))
([#​11219](https://togithub.com/vitejs/vite/issues/11219))
([22de84f](https://togithub.com/vitejs/vite/commit/22de84f)), closes
[#​11208](https://togithub.com/vitejs/vite/issues/11208)
[#​11219](https://togithub.com/vitejs/vite/issues/11219)
- fix: avoid null sourcePath in `server.sourcemapIgnoreList`
([#​12251](https://togithub.com/vitejs/vite/issues/12251))
([209c3bd](https://togithub.com/vitejs/vite/commit/209c3bd)), closes
[#​12251](https://togithub.com/vitejs/vite/issues/12251)
- fix: configure proxy before subscribing to error events
([#​12263](https://togithub.com/vitejs/vite/issues/12263))
([c35e100](https://togithub.com/vitejs/vite/commit/c35e100)), closes
[#​12263](https://togithub.com/vitejs/vite/issues/12263)
- fix: enforce absolute path for server.sourcemapIgnoreList
([#​12309](https://togithub.com/vitejs/vite/issues/12309))
([ab6ae07](https://togithub.com/vitejs/vite/commit/ab6ae07)), closes
[#​12309](https://togithub.com/vitejs/vite/issues/12309)
- fix: handle error without line and column in loc
([#​12312](https://togithub.com/vitejs/vite/issues/12312))
([ce18eba](https://togithub.com/vitejs/vite/commit/ce18eba)), closes
[#​12312](https://togithub.com/vitejs/vite/issues/12312)
- fix: properly clean up optimization temp folder
([#​12237](https://togithub.com/vitejs/vite/issues/12237))
([fbbf8fe](https://togithub.com/vitejs/vite/commit/fbbf8fe)), closes
[#​12237](https://togithub.com/vitejs/vite/issues/12237)
- fix: unique dep optimizer temp folders
([#​12252](https://togithub.com/vitejs/vite/issues/12252))
([38ce81c](https://togithub.com/vitejs/vite/commit/38ce81c)), closes
[#​12252](https://togithub.com/vitejs/vite/issues/12252)
- fix(build-import-analysis): should not append ?used when css request
has ?url or ?raw
([#​11910](https://togithub.com/vitejs/vite/issues/11910))
([e3f725f](https://togithub.com/vitejs/vite/commit/e3f725f)), closes
[#​11910](https://togithub.com/vitejs/vite/issues/11910)
- fix(optimizer): don not call context.rebuild after cancel
([#​12264](https://togithub.com/vitejs/vite/issues/12264))
([520d84e](https://togithub.com/vitejs/vite/commit/520d84e)), closes
[#​12264](https://togithub.com/vitejs/vite/issues/12264)
- fix(resolve): update `resolve.exports` to `2.0.1` to fix `*`
resolution issue
([#​12314](https://togithub.com/vitejs/vite/issues/12314))
([523d6f7](https://togithub.com/vitejs/vite/commit/523d6f7)), closes
[#​12314](https://togithub.com/vitejs/vite/issues/12314)
- fix: use relative paths in `sources` for transformed source maps
([#​12079](https://togithub.com/vitejs/vite/issues/12079))
([bcbc582](https://togithub.com/vitejs/vite/commit/bcbc582)), closes
[#​1
</details>
---
### Configuration
📅 **Schedule**: Branch creation - At any time (no schedule defined),
Automerge - At any time (no schedule defined).
🚦 **Automerge**: Enabled.
♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the
rebase/retry checkbox.
🔕 **Ignore**: Close this PR and you won't be reminded about this update
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://app.renovatebot.com/dashboard#github/Unleash/unleash).
<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNS42OS4zIiwidXBkYXRlZEluVmVyIjoiMzUuNjkuMyIsInRhcmdldEJyYW5jaCI6Im1haW4ifQ==-->
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-05-04 20:06:22 +02:00
"vite" : "4.3.3" ,
2022-08-18 15:56:39 +02:00
"vite-plugin-env-compatible" : "1.1.1" ,
2022-12-28 14:06:52 +01:00
"vite-plugin-svgr" : "2.4.0" ,
2023-05-05 02:43:07 +02:00
"vite-tsconfig-paths" : "4.2.0" ,
chore(deps): update dependency vitest to v0.30.1 (#3692)
[![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](https://togithub.com/vitest-dev/vitest) | [`0.28.5` ->
`0.30.1`](https://renovatebot.com/diffs/npm/vitest/0.28.5/0.30.1) |
[![age](https://badges.renovateapi.com/packages/npm/vitest/0.30.1/age-slim)](https://docs.renovatebot.com/merge-confidence/)
|
[![adoption](https://badges.renovateapi.com/packages/npm/vitest/0.30.1/adoption-slim)](https://docs.renovatebot.com/merge-confidence/)
|
[![passing](https://badges.renovateapi.com/packages/npm/vitest/0.30.1/compatibility-slim/0.28.5)](https://docs.renovatebot.com/merge-confidence/)
|
[![confidence](https://badges.renovateapi.com/packages/npm/vitest/0.30.1/confidence-slim/0.28.5)](https://docs.renovatebot.com/merge-confidence/)
|
---
### Release Notes
<details>
<summary>vitest-dev/vitest</summary>
###
[`v0.30.1`](https://togithub.com/vitest-dev/vitest/releases/tag/v0.30.1)
[Compare
Source](https://togithub.com/vitest-dev/vitest/compare/v0.30.0...v0.30.1)
##### 🐞 Bug Fixes
- Do not rely on global `performance` and `AggregateError` - by
[@​sheremet-va](https://togithub.com/sheremet-va) in
[https://github.com/vitest-dev/vitest/issues/3171](https://togithub.com/vitest-dev/vitest/issues/3171)
[<samp>(cce45)</samp>](https://togithub.com/vitest-dev/vitest/commit/cce45496)
- Allow workspace without a config in the root - by
[@​sheremet-va](https://togithub.com/sheremet-va) in
[https://github.com/vitest-dev/vitest/issues/3173](https://togithub.com/vitest-dev/vitest/issues/3173)
[<samp>(06852)</samp>](https://togithub.com/vitest-dev/vitest/commit/06852f18)
- `test.each` respects `chaiConfig` - by
[@​sheremet-va](https://togithub.com/sheremet-va)
[<samp>(4f6c1)</samp>](https://togithub.com/vitest-dev/vitest/commit/4f6c1340)
- Use relative paths in source map's "sources" field - by
[@​sheremet-va](https://togithub.com/sheremet-va) in
[https://github.com/vitest-dev/vitest/issues/3177](https://togithub.com/vitest-dev/vitest/issues/3177)
[<samp>(6b1b4)</samp>](https://togithub.com/vitest-dev/vitest/commit/6b1b4e68)
- **types**:
- Allow augmenting jest namespace for custom assertions - by
[@​sheremet-va](https://togithub.com/sheremet-va) in
[https://github.com/vitest-dev/vitest/issues/3169](https://togithub.com/vitest-dev/vitest/issues/3169)
[<samp>(905ec)</samp>](https://togithub.com/vitest-dev/vitest/commit/905ec05a)
- Publish utils and snapshot .d.ts files for typescript - by
[@​sheremet-va](https://togithub.com/sheremet-va) in
[https://github.com/vitest-dev/vitest/issues/3172](https://togithub.com/vitest-dev/vitest/issues/3172)
[<samp>(7af64)</samp>](https://togithub.com/vitest-dev/vitest/commit/7af64444)
- **snapshot**:
- `toMatchFileSnapshot` ensure dir exists - by
[@​antfu](https://togithub.com/antfu) in
[https://github.com/vitest-dev/vitest/issues/3155](https://togithub.com/vitest-dev/vitest/issues/3155)
[<samp>(31168)</samp>](https://togithub.com/vitest-dev/vitest/commit/311682a8)
- Improve `skipWriting` check - by
[@​antfu](https://togithub.com/antfu)
[<samp>(5436c)</samp>](https://togithub.com/vitest-dev/vitest/commit/5436c736)
- Normalize EOL for `toMatchFileSnapshot` - by
[@​antfu](https://togithub.com/antfu) in
[https://github.com/vitest-dev/vitest/issues/3164](https://togithub.com/vitest-dev/vitest/issues/3164)
[<samp>(df3f2)</samp>](https://togithub.com/vitest-dev/vitest/commit/df3f2b50)
##### [View changes on
GitHub](https://togithub.com/vitest-dev/vitest/compare/v0.30.0...v0.30.1)
###
[`v0.30.0`](https://togithub.com/vitest-dev/vitest/releases/tag/v0.30.0)
[Compare
Source](https://togithub.com/vitest-dev/vitest/compare/v0.29.8...v0.30.0)
##### 🚨 Breaking Changes
- Remove tinyspy internal properties on Vitest spies - by
[@​sheremet-va](https://togithub.com/sheremet-va) in
[https://github.com/vitest-dev/vitest/issues/3069](https://togithub.com/vitest-dev/vitest/issues/3069)
[<samp>(2f1dc)</samp>](https://togithub.com/vitest-dev/vitest/commit/2f1dc5ce)
- Only support Node.js 14.18.0 or newer - by
[@​danez](https://togithub.com/danez) in
[https://github.com/vitest-dev/vitest/issues/2985](https://togithub.com/vitest-dev/vitest/issues/2985)
[<samp>(287dc)</samp>](https://togithub.com/vitest-dev/vitest/commit/287dc205)
- Use "concordance" package to display diff instead of using custom diff
- by [@​sheremet-va](https://togithub.com/sheremet-va) in
[https://github.com/vitest-dev/vitest/issues/2828](https://togithub.com/vitest-dev/vitest/issues/2828)
[<samp>(44630)</samp>](https://togithub.com/vitest-dev/vitest/commit/446308da)
- Move snapshot implementation into
[@​vitest/snapshot](https://togithub.com/vitest/snapshot) - by
[@​sheremet-va](https://togithub.com/sheremet-va) in
[https://github.com/vitest-dev/vitest/issues/3032](https://togithub.com/vitest-dev/vitest/issues/3032)
[<samp>(6aff0)</samp>](https://togithub.com/vitest-dev/vitest/commit/6aff0176)
- Bump coverage packages vitest peer dependency - by
[@​AriPerkkio](https://togithub.com/AriPerkkio) in
[https://github.com/vitest-dev/vitest/issues/3126](https://togithub.com/vitest-dev/vitest/issues/3126)
[<samp>(be1bf)</samp>](https://togithub.com/vitest-dev/vitest/commit/be1bf08d)
- Add workspace support - by
[@​sheremet-va](https://togithub.com/sheremet-va) in
[https://github.com/vitest-dev/vitest/issues/3103](https://togithub.com/vitest-dev/vitest/issues/3103)
[<samp>(b9d1a)</samp>](https://togithub.com/vitest-dev/vitest/commit/b9d1a975)
- Experimental optimizer introduced in 0.29.0 is temporarily disabled.
##### 🚀 Features
- Gzip html reporter's metadata - by
[@​7rulnik](https://togithub.com/7rulnik) in
[https://github.com/vitest-dev/vitest/issues/3113](https://togithub.com/vitest-dev/vitest/issues/3113)
[<samp>(7856e)</samp>](https://togithub.com/vitest-dev/vitest/commit/7856ec12)
- Add chai config - by [@​btea](https://togithub.com/btea) in
[https://github.com/vitest-dev/vitest/issues/3066](https://togithub.com/vitest-dev/vitest/issues/3066)
[<samp>(6fcba)</samp>](https://togithub.com/vitest-dev/vitest/commit/6fcba9ba)
- **snapshot**: Introduce `toMatchFileSnapshot` and auto queuing expect
promise - by [@​antfu](https://togithub.com/antfu) in
[https://github.com/vitest-dev/vitest/issues/3116](https://togithub.com/vitest-dev/vitest/issues/3116)
[<samp>(bdc06)</samp>](https://togithub.com/vitest-dev/vitest/commit/bdc06dcb)
##### 🐞 Bug Fixes
- Resolve reporters passed down to the CLI relative to the running
directory - by [@​sheremet-va](https://togithub.com/sheremet-va)
in
[https://github.com/vitest-dev/vitest/issues/3097](https://togithub.com/vitest-dev/vitest/issues/3097)
[<samp>(93c7e)</samp>](https://togithub.com/vitest-dev/vitest/commit/93c7e39d)
- Don't show "diff" in "serialized error" section - by
[@​sheremet-va](https://togithub.com/sheremet-va)
[<samp>(326b2)</samp>](https://togithub.com/vitest-dev/vitest/commit/326b242d)
- Convert '--single-thread' and '--inspect' cli args to boolean - by
[@​AriPerkkio](https://togithub.com/AriPerkkio) in
[https://github.com/vitest-dev/vitest/issues/3111](https://togithub.com/vitest-dev/vitest/issues/3111)
[<samp>(83a9a)</samp>](https://togithub.com/vitest-dev/vitest/commit/83a9aa74)
- Stack trace point to incorrect file - by
[@​ChenKS12138](https://togithub.com/ChenKS12138) and
[@​sheremet-va](https://togithub.com/sheremet-va) in
[https://github.com/vitest-dev/vitest/issues/3004](https://togithub.com/vitest-dev/vitest/issues/3004)
and
[https://github.com/vitest-dev/vitest/issues/3115](https://togithub.com/vitest-dev/vitest/issues/3115)
[<samp>(5cee4)</samp>](https://togithub.com/vitest-dev/vitest/commit/5cee4fbf)
- Run benchmarks sequentially - by
[@​thecodrr](https://togithub.com/thecodrr) in
[https://github.com/vitest-dev/vitest/issues/2004](https://togithub.com/vitest-dev/vitest/issues/2004)
and
[https://github.com/vitest-dev/vitest/issues/3151](https://togithub.com/vitest-dev/vitest/issues/3151)
[<samp>(430b4)</samp>](https://togithub.com/vitest-dev/vitest/commit/430b4ecb)
##### [View changes on
GitHub](https://togithub.com/vitest-dev/vitest/compare/v0.29.8...v0.30.0)
###
[`v0.29.8`](https://togithub.com/vitest-dev/vitest/releases/tag/v0.29.8)
[Compare
Source](https://togithub.com/vitest-dev/vitest/compare/v0.29.7...v0.29.8)
##### 🚀 Features
- Allow accessing "vi" methods without context, don't fail when mocker
is not available - by
[@​sheremet-va](https://togithub.com/sheremet-va) in
[https://github.com/vitest-dev/vitest/issues/3047](https://togithub.com/vitest-dev/vitest/issues/3047)
[<samp>(1531c)</samp>](https://togithub.com/vitest-dev/vitest/commit/1531c420)
- Show browser console in the terminal - by
[@​sheremet-va](https://togithub.com/sheremet-va) in
[https://github.com/vitest-dev/vitest/issues/3048](https://togithub.com/vitest-dev/vitest/issues/3048)
[<samp>(ee6f5)</samp>](https://togithub.com/vitest-dev/vitest/commit/ee6f590d)
- Playwright as browser provider - by
[@​Aslemammad](https://togithub.com/Aslemammad) and
[@​sheremet-va](https://togithub.com/sheremet-va) in
[https://github.com/vitest-dev/vitest/issues/3079](https://togithub.com/vitest-dev/vitest/issues/3079)
[<samp>(9dc69)</samp>](https://togithub.com/vitest-dev/vitest/commit/9dc69293)
- Implement `istanbul` coverage support for browser testing - by
[@​sheremet-va](https://togithub.com/sheremet-va) and
[@​AriPerkkio](https://togithub.com/AriPerkkio) in
[https://github.com/vitest-dev/vitest/issues/3040](https://togithub.com/vitest-dev/vitest/issues/3040)
[<samp>(0f44d)</samp>](https://togithub.com/vitest-dev/vitest/commit/0f44d2c8)
##### 🐞 Bug Fixes
- Add generic to expect.objectContaining type - by
[@​ArtyMaury](https://togithub.com/ArtyMaury) in
[https://github.com/vitest-dev/vitest/issues/3053](https://togithub.com/vitest-dev/vitest/issues/3053)
[<samp>(69d2c)</samp>](https://togithub.com/vitest-dev/vitest/commit/69d2cc93)
- Do not fail, when primitive error is thrown - by
[@​sheremet-va](https://togithub.com/sheremet-va) in
[https://github.com/vitest-dev/vitest/issues/3074](https://togithub.com/vitest-dev/vitest/issues/3074)
[<samp>(6efe6)</samp>](https://togithub.com/vitest-dev/vitest/commit/6efe61ab)
- Handle cloning proxied classes w/ enumerable getters - by
[@​tgriesser](https://togithub.com/tgriesser) in
[https://github.com/vitest-dev/vitest/issues/3026](https://togithub.com/vitest-dev/vitest/issues/3026)
[<samp>(196a0)</samp>](https://togithub.com/vitest-dev/vitest/commit/196a067a)
- Spy on popup apis like alert - by
[@​Aslemammad](https://togithub.com/Aslemammad) and
[@​sheremet-va](https://togithub.com/sheremet-va) in
[https://github.com/vitest-dev/vitest/issues/3076](https://togithub.com/vitest-dev/vitest/issues/3076)
[<samp>(280ad)</samp>](https://togithub.com/vitest-dev/vitest/commit/280ad1ed)
- Report coverage even when no tests found - by
[@​AriPerkkio](https://togithub.com/AriPerkkio) in
[https://github.com/vitest-dev/vitest/issues/3091](https://togithub.com/vitest-dev/vitest/issues/3091)
[<samp>(2cb91)</samp>](https://togithub.com/vitest-dev/vitest/commit/2cb91211)
##### [View changes on
GitHub](https://togithub.com/vitest-dev/vitest/compare/v0.29.7...v0.29.8)
###
[`v0.29.7`](https://togithub.com/vitest-dev/vitest/releases/tag/v0.29.7)
[Compare
Source](https://togithub.com/vitest-dev/vitest/compare/v0.29.6...v0.29.7)
##### 🐞 Bug Fixes
- Import [@​vite/client](https://togithub.com/vite/client) in
browser code for handling optimizer - by
[@​sheremet-va](https://togithub.com/sheremet-va)
[<samp>(20c51)</samp>](https://togithub.com/vitest-dev/vitest/commit/20c510c4)
##### [View changes on
GitHub](https://togithub.com/vitest-dev/vitest/compare/v0.29.6...v0.29.7)
###
[`v0.29.6`](https://togithub.com/vitest-dev/vitest/releases/tag/v0.29.6)
[Compare
Source](https://togithub.com/vitest-dev/vitest/compare/v0.29.5...v0.29.6)
##### 🐞 Bug Fixes
- Bundle UI with
[@​vitest/browser](https://togithub.com/vitest/browser) - by
[@​sheremet-va](https://togithub.com/sheremet-va)
[<samp>(14091)</samp>](https://togithub.com/vitest-dev/vitest/commit/14091c59)
##### [View changes on
GitHub](https://togithub.com/vitest-dev/vitest/compare/v0.29.5...v0.29.6)
###
[`v0.29.5`](https://togithub.com/vitest-dev/vitest/releases/tag/v0.29.5)
[Compare
Source](https://togithub.com/vitest-dev/vitest/compare/v0.29.4...v0.29.5)
##### 🐞 Bug Fixes
- **browser**: Relax vitest peer dependency - by
[@​cexbrayat](https://togithub.com/cexbrayat) in
[https://github.com/vitest-dev/vitest/issues/3039](https://togithub.com/vitest-dev/vitest/issues/3039)
[<samp>(865d1)</samp>](https://togithub.com/vitest-dev/vitest/commit/865d1afd)
##### [View changes on
GitHub](https://togithub.com/vitest-dev/vitest/compare/v0.29.4...v0.29.5)
###
[`v0.29.4`](https://togithub.com/vitest-dev/vitest/releases/tag/v0.29.4)
[Compare
Source](https://togithub.com/vitest-dev/vitest/compare/v0.29.3...v0.29.4)
##### 🚀 Features
- `--test-timeout` CLI argument - by
[@​AriPerkkio](https://togithub.com/AriPerkkio) in
[https://github.com/vitest-dev/vitest/issues/3019](https://togithub.com/vitest-dev/vitest/issues/3019)
[<samp>(63c62)</samp>](https://togithub.com/vitest-dev/vitest/commit/63c62f9e)
- Add an option to control Vitest pool with filepath - by
[@​sheremet-va](https://togithub.com/sheremet-va) in
[https://github.com/vitest-dev/vitest/issues/3029](https://togithub.com/vitest-dev/vitest/issues/3029)
[<samp>(c7f0c)</samp>](https://togithub.com/vitest-dev/vitest/commit/c7f0c86b)
- Process timeout to log names of stuck test files - by
[@​AriPerkkio](https://togithub.com/AriPerkkio) in
[https://github.com/vitest-dev/vitest/issues/3031](https://togithub.com/vitest-dev/vitest/issues/3031)
[<samp>(0ddf7)</samp>](https://togithub.com/vitest-dev/vitest/commit/0ddf7220)
- Support relative path in html report - by
[@​poyoho](https://togithub.com/poyoho) and
[@​sheremet-va](https://togithub.com/sheremet-va) in
[https://github.com/vitest-dev/vitest/issues/2695](https://togithub.com/vitest-dev/vitest/issues/2695)
[<samp>(a7680)</samp>](https://togithub.com/vitest-dev/vitest/commit/a768015e)
- Webdriverio (+ custom providers) integration for browser mode - by
[@​Aslemammad](https://togithub.com/Aslemammad), **Christian
Bromann**, [@​sheremet-va](https://togithub.com/sheremet-va),
[@​userquin](https://togithub.com/userquin) and
[@​dammy001](https://togithub.com/dammy001) in
[https://github.com/vitest-dev/vitest/issues/2999](https://togithub.com/vitest-dev/vitest/issues/2999)
[<samp>(9cdc8)</samp>](https://togithub.com/vitest-dev/vitest/commit/9cdc8030)
##### 🐞 Bug Fixes
- Show correct line numbers in stack trace when using vi.resetModules()
- by [@​sheremet-va](https://togithub.com/sheremet-va) in
[https://github.com/vitest-dev/vitest/issues/3020](https://togithub.com/vitest-dev/vitest/issues/3020)
[<samp>(35730)</samp>](https://togithub.com/vitest-dev/vitest/commit/35730328)
- Mocking value proxy filter Symbol static properties - by
[@​ChpShy](https://togithub.com/ChpShy) in
[https://github.com/vitest-dev/vitest/issues/3036](https://togithub.com/vitest-dev/vitest/issues/3036)
[<samp>(0cf44)</samp>](https://togithub.com/vitest-dev/vitest/commit/0cf44098)
- Escape XML in error stack trace when using junit reporter - by
[@​sheremet-va](https://togithub.com/sheremet-va) in
[https://github.com/vitest-dev/vitest/issues/3038](https://togithub.com/vitest-dev/vitest/issues/3038)
[<samp>(cc577)</samp>](https://togithub.com/vitest-dev/vitest/commit/cc5779d6)
##### [View changes on
GitHub](https://togithub.com/vitest-dev/vitest/compare/v0.29.3...v0.29.4)
###
[`v0.29.3`](https://togithub.com/vitest-dev/vitest/releases/tag/v0.29.3)
[Compare
Source](https://togithub.com/vitest-dev/vitest/compare/v0.29.2...v0.29.3)
##### 🚀 Features
- Use custom colors implementation instead of picocolors - by
[@​sheremet-va](https://togithub.com/sheremet-va)
[<samp>(427b0)</samp>](https://togithub.com/vitest-dev/vitest/commit/427b0622)
- Uncaught errors to indicate env teardown - by
[@​AriPerkkio](https://togithub.com/AriPerkkio) in
[https://github.com/vitest-dev/vitest/issues/2982](https://togithub.com/vitest-dev/vitest/issues/2982)
[<samp>(1fe82)</samp>](https://togithub.com/vitest-dev/vitest/commit/1fe8286c)
- **config**: Add an option to run setupFiles in sequence - by
[@​sheremet-va](https://togithub.com/sheremet-va) in
[https://github.com/vitest-dev/vitest/issues/3008](https://togithub.com/vitest-dev/vitest/issues/3008)
[<samp>(c2e25)</samp>](https://togithub.com/vitest-dev/vitest/commit/c2e25bb9)
##### 🐞 Bug Fixes
- Console log not visible - by
[@​AriPerkkio](https://togithub.com/AriPerkkio) in
[https://github.com/vitest-dev/vitest/issues/2943](https://togithub.com/vitest-dev/vitest/issues/2943)
[<samp>(02808)</samp>](https://togithub.com/vitest-dev/vitest/commit/0280825f)
- Remove duplicate execArgv when deps.registerNodeLoader: true - by
[@​AriPerkkio](https://togithub.com/AriPerkkio) in
[https://github.com/vitest-dev/vitest/issues/2965](https://togithub.com/vitest-dev/vitest/issues/2965)
[<samp>(a1954)</samp>](https://togithub.com/vitest-dev/vitest/commit/a1954cc0)
- Prevent running test cases timers after environment teardown - by
[@​AriPerkkio](https://togithub.com/AriPerkkio) in
[https://github.com/vitest-dev/vitest/issues/2971](https://togithub.com/vitest-dev/vitest/issues/2971)
[<samp>(bde75)</samp>](https://togithub.com/vitest-dev/vitest/commit/bde75a34)
- Don't mark setupFiles as test files, if experimentaOptimizer is used
- by [@​sheremet-va](https://togithub.com/sheremet-va) in
[https://github.com/vitest-dev/vitest/issues/2974](https://togithub.com/vitest-dev/vitest/issues/2974)
[<samp>(819c6)</samp>](https://togithub.com/vitest-dev/vitest/commit/819c6cbe)
- Config errors not visible - by
[@​AriPerkkio](https://togithub.com/AriPerkkio) in
[https://github.com/vitest-dev/vitest/issues/2995](https://togithub.com/vitest-dev/vitest/issues/2995)
[<samp>(f01c7)</samp>](https://togithub.com/vitest-dev/vitest/commit/f01c7833)
- \--inspect to work inside workers - by
[@​AriPerkkio](https://togithub.com/AriPerkkio) in
[https://github.com/vitest-dev/vitest/issues/2983](https://togithub.com/vitest-dev/vitest/issues/2983)
[<samp>(36087)</samp>](https://togithub.com/vitest-dev/vitest/commit/36087d1e)
- **types**: Use `any` as default value for TArgs in vi.fn() - by
[@​jessevanassen](https://togithub.com/jessevanassen) in
[https://github.com/vitest-dev/vitest/issues/2947](https://togithub.com/vitest-dev/vitest/issues/2947)
[<samp>(1bdcc)</samp>](https://togithub.com/vitest-dev/vitest/commit/1bdcc212)
##### 🏎 Performance
- **reporters**: Overall improvements - by
[@​AriPerkkio](https://togithub.com/AriPerkkio) in
[https://github.com/vitest-dev/vitest/issues/3006](https://togithub.com/vitest-dev/vitest/issues/3006)
[<samp>(22ca0)</samp>](https://togithub.com/vitest-dev/vitest/commit/22ca0b6b)
##### [View changes on
GitHub](https://togithub.com/vitest-dev/vitest/compare/v0.29.2...v0.29.3)
###
[`v0.29.2`](https://togithub.com/vitest-dev/vitest/releases/tag/v0.29.2)
[Compare
Source](https://togithub.com/vitest-dev/vitest/compare/v0.29.1...v0.29.2)
##### 🐞 Bug Fixes
- Optimize dependencies in setup files - by
[@​sheremet-va](https://togithub.com/sheremet-va) in
[https://github.com/vitest-dev/vitest/issues/2935](https://togithub.com/vitest-dev/vitest/issues/2935)
[<samp>(c169f)</samp>](https://togithub.com/vitest-dev/vitest/commit/c169f980)
- **coverage**: C8 provider to work when isolate:false - by
[@​AriPerkkio](https://togithub.com/AriPerkkio) in
[https://github.com/vitest-dev/vitest/issues/2929](https://togithub.com/vitest-dev/vitest/issues/2929)
[<samp>(86538)</samp>](https://togithub.com/vitest-dev/vitest/commit/8653830b)
##### [View changes on
GitHub](https://togithub.com/vitest-dev/vitest/compare/v0.29.1...v0.29.2)
###
[`v0.29.1`](https://togithub.com/vitest-dev/vitest/releases/tag/v0.29.1)
[Compare
Source](https://togithub.com/vitest-dev/vitest/compare/v0.29.0...v0.29.1)
##### 🐞 Bug Fixes
- Wait for optimized dependency to be bundled in non-pnpm package
managers - by [@​sheremet-va](https://togithub.com/sheremet-va)
[<samp>(d2460)</samp>](https://togithub.com/vitest-dev/vitest/commit/d2460b7a)
##### [View changes on
GitHub](https://togithub.com/vitest-dev/vitest/compare/v0.29.0...v0.29.1)
###
[`v0.29.0`](https://togithub.com/vitest-dev/vitest/releases/tag/v0.29.0)
[Compare
Source](https://togithub.com/vitest-dev/vitest/compare/v0.28.5...v0.29.0)
This release makes some significant changes to how tests are running. If
you were using `--no-threads` before, you might consider enabling
`--single-thread` instead (because your tests are now running in
`child_process` instead of a worker thread) or try our new performance
optimization feature (discussed later). If you were relying on API that
was not available inside a worker (like `process.chdir()`, you can now
use this option.
One of the potential breaking bug fixes is that environments do not
share the same global scope anymore if you run them with `--no-isolate`,
`--no-threads` or `--single-thread` - you might need to update your
setup files if you were relying on a global variable before.
If you had performance issues on large code bases before, try the new
[`deps.experimentalOptimizer`](https://vitest.dev/config/#deps-experimentaloptimizer)
option instead of disabling threads. Feedback is welcome!
One of the breaking changes includes adding a link to snapshots inside
snapshot files, meaning you will need to update all your snapshots.
##### 🚨 Breaking Changes
- Vitest as peer dependency for coverage packages - by
[@​AriPerkkio](https://togithub.com/AriPerkkio) in
[https://github.com/vitest-dev/vitest/issues/2836](https://togithub.com/vitest-dev/vitest/issues/2836)
[<samp>(94247)</samp>](https://togithub.com/vitest-dev/vitest/commit/94247f1b)
- Coverage-c8 to use V8 profiler directly instead of `NODE_V8_COVERAGE`
- by [@​AriPerkkio](https://togithub.com/AriPerkkio) in
[https://github.com/vitest-dev/vitest/issues/2786](https://togithub.com/vitest-dev/vitest/issues/2786)
[<samp>(095c6)</samp>](https://togithub.com/vitest-dev/vitest/commit/095c6390)
- Add a link to the comment at the top of the snapshot file - by
[@​btea](https://togithub.com/btea) in
[https://github.com/vitest-dev/vitest/issues/2867](https://togithub.com/vitest-dev/vitest/issues/2867)
[<samp>(615e1)</samp>](https://togithub.com/vitest-dev/vitest/commit/615e150b)
- Always run separate environments in isolation - by
[@​sheremet-va](https://togithub.com/sheremet-va) in
[https://github.com/vitest-dev/vitest/issues/2860](https://togithub.com/vitest-dev/vitest/issues/2860)
[<samp>(1f858)</samp>](https://togithub.com/vitest-dev/vitest/commit/1f858e0c)
- Tests with `node` and `jsdom` (and other environments) now don't share
the same global scope, if you run them with `--no-isolate` or
`--no-threads` flag. Vitest doesn't provide a way to restore the
previous behavior as it is considered a bug.
- Use child_process when --no-threads is used - by
[@​sheremet-va](https://togithub.com/sheremet-va) in
[https://github.com/vitest-dev/vitest/issues/2772](https://togithub.com/vitest-dev/vitest/issues/2772)
[<samp>(7bf54)</samp>](https://togithub.com/vitest-dev/vitest/commit/7bf54505)
- Tests inside `chid_process` might run longer due to the communication
overhead. If you want to restore the previous behavior, use
`--single-thread`.
##### 🚀 Features
- Add test seed to banner - by
[@​btkostner](https://togithub.com/btkostner) in
[https://github.com/vitest-dev/vitest/issues/2877](https://togithub.com/vitest-dev/vitest/issues/2877)
[<samp>(bdb39)</samp>](https://togithub.com/vitest-dev/vitest/commit/bdb39569)
- Use custom source-map-support implementation - by
[@​sheremet-va](https://togithub.com/sheremet-va) in
[https://github.com/vitest-dev/vitest/issues/2905](https://togithub.com/vitest-dev/vitest/issues/2905)
[<samp>(6ff6c)</samp>](https://togithub.com/vitest-dev/vitest/commit/6ff6c6eb)
- Add an option to enable Vite optimizer - by
[@​sheremet-va](https://togithub.com/sheremet-va) in
[https://github.com/vitest-dev/vitest/issues/2912](https://togithub.com/vitest-dev/vitest/issues/2912)
[<samp>(af8de)</samp>](https://togithub.com/vitest-dev/vitest/commit/af8de362)
- **coverage**:
- Add support for coverage reporter options - by
[@​AriPerkkio](https://togithub.com/AriPerkkio) in
[https://github.com/vitest-dev/vitest/issues/2690](https://togithub.com/vitest-dev/vitest/issues/2690)
[<samp>(f8176)</samp>](https://togithub.com/vitest-dev/vitest/commit/f8176182)
- Automatic threshold updating - by
[@​AriPerkkio](https://togithub.com/AriPerkkio) in
[https://github.com/vitest-dev/vitest/issues/2886](https://togithub.com/vitest-dev/vitest/issues/2886)
[<samp>(e1652)</samp>](https://togithub.com/vitest-dev/vitest/commit/e1652163)
- **spy**:
- Implement mock.withImplementation API - by
[@​obadakhalili](https://togithub.com/obadakhalili) and
[@​sheremet-va](https://togithub.com/sheremet-va) in
[https://github.com/vitest-dev/vitest/issues/2835](https://togithub.com/vitest-dev/vitest/issues/2835)
[<samp>(610b1)</samp>](https://togithub.com/vitest-dev/vitest/commit/610b1d46)
- **vite-node**:
- Cli option for vite mode - by
[@​abarke](https://togithub.com/abarke) in
[https://github.com/vitest-dev/vitest/issues/2893](https://togithub.com/vitest-dev/vitest/issues/2893)
[<samp>(0fc08)</samp>](https://togithub.com/vitest-dev/vitest/commit/0fc08032)
##### 🐞 Bug Fixes
- Wait for console.log to print a message before terminating a worker
- by [@​sheremet-va](https://togithub.com/sheremet-va) in
[https://github.com/vitest-dev/vitest/issues/2861](https://togithub.com/vitest-dev/vitest/issues/2861)
[<samp>(fbc54)</samp>](https://togithub.com/vitest-dev/vitest/commit/fbc54c91)
- Cleanup last mocked cache when call vi.doMock - by
[@​mysteryven](https://togithub.com/mysteryven) in
[https://github.com/vitest-dev/vitest/issues/2872](https://togithub.com/vitest-dev/vitest/issues/2872)
[<samp>(65d71)</samp>](https://togithub.com/vitest-dev/vitest/commit/65d71b9e)
- Reload changed configuration file on watch mode - by
[@​AriPerkkio](https://togithub.com/AriPerkkio) in
[https://github.com/vitest-dev/vitest/issues/2889](https://togithub.com/vitest-dev/vitest/issues/2889)
[<samp>(4d277)</samp>](https://togithub.com/vitest-dev/vitest/commit/4d277d8d)
- **coverage**: Custom providers to work inside worker threads - by
[@​AriPerkkio](https://togithub.com/AriPerkkio) in
[https://github.com/vitest-dev/vitest/issues/2817](https://togithub.com/vitest-dev/vitest/issues/2817)
[<samp>(81604)</samp>](https://togithub.com/vitest-dev/vitest/commit/81604bce)
##### [View changes on
GitHub](https://togithub.com/vitest-dev/vitest/compare/v0.28.5...v0.29.0)
</details>
---
### Configuration
📅 **Schedule**: Branch creation - At any time (no schedule defined),
Automerge - At any time (no schedule defined).
🚦 **Automerge**: Enabled.
♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the
rebase/retry checkbox.
🔕 **Ignore**: Close this PR and you won't be reminded about this update
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://app.renovatebot.com/dashboard#github/Unleash/unleash).
<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNS43MS4wIiwidXBkYXRlZEluVmVyIjoiMzUuNzEuMCIsInRhcmdldEJyYW5jaCI6Im1haW4ifQ==-->
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-05-05 07:17:20 +02:00
"vitest" : "0.30.1" ,
2023-04-18 11:56:15 +02:00
"whatwg-fetch" : "3.6.2"
2017-02-23 22:18:23 +01:00
} ,
2023-01-05 11:57:53 +01:00
"optionalDependencies" : {
"orval" : "^6.10.3"
} ,
2022-10-14 11:44:59 +02:00
"resolutions" : {
2022-12-27 23:41:27 +01:00
"@codemirror/state" : "6.2.0" ,
2023-01-12 10:09:59 +01:00
"@xmldom/xmldom" : "^0.8.4" ,
2023-01-17 13:33:52 +01:00
"json5" : "^2.2.2" ,
2023-04-20 21:43:23 +02:00
"@types/react" : "17.0.58" ,
2023-05-03 05:10:53 +02:00
"@types/react-dom" : "17.0.20"
2022-10-14 11:44:59 +02:00
} ,
2017-02-23 22:18:23 +01:00
"jest" : {
"moduleNameMapper" : {
2022-02-04 11:32:02 +01:00
"\\.(jpg|jpeg|png|gif|eot|otf|webp|ttf|woff|woff2|mp4|webm|wav|mp3|m4a|aac|oga)$" : "<rootDir>/src/__mocks__/fileMock.js" ,
"\\.svg" : "<rootDir>/src/__mocks__/svgMock.js" ,
2017-02-23 22:18:23 +01:00
"\\.(css|scss)$" : "identity-obj-proxy"
2022-02-04 11:32:02 +01:00
}
2021-04-07 09:04:48 +02:00
} ,
"browserslist" : {
"production" : [
">0.2%" ,
"not dead" ,
"not op_mini all"
2021-02-05 14:24:22 +01:00
] ,
2021-04-07 09:04:48 +02:00
"development" : [
"last 1 chrome version" ,
"last 1 firefox version" ,
"last 1 safari version"
2021-02-05 14:33:32 +01:00
]
2021-03-30 15:14:02 +02:00
} ,
2021-04-07 09:04:48 +02:00
"eslintConfig" : {
"extends" : [
"react-app" ,
"react-app/jest"
] ,
2022-05-25 12:36:58 +02:00
"parserOptions" : {
"warnOnUnsupportedTypeScriptVersion" : false
} ,
2021-04-07 09:04:48 +02:00
"rules" : {
"no-restricted-globals" : "off" ,
"no-useless-computed-key" : "off" ,
2023-02-07 11:20:44 +01:00
"import/no-anonymous-default-export" : "off" ,
"react-hooks/exhaustive-deps" : "off"
2022-02-25 10:21:28 +01:00
} ,
"ignorePatterns" : [
"cypress"
]
2022-04-08 11:45:23 +02:00
}
2016-11-10 14:26:24 +01:00
}