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" ,
chore: simplify package scripts (#3736)
# Simplify package scripts
This PR's purpose is to raise a discussion surrounding our current
package scripts.
It includes some suggestions that aim to simplify the scripts and
hopefully bring a much more straightforward approach to developing and
contributing to Unleash.
Building (prod) should only happen **explicitly** and when needed.
## Before PR (current behavior)
- Clone the project;
- Open 2 terminals: One for `unleash` and another for
`unleash/frontend`;
- On `unleash`:
- Run `yarn` (which will also build, for some reason?);
- Run `yarn start:dev` to start backend in dev mode (`tsc-watch`);
- On `unleash/frontend`:
- Run `yarn` (which will also build, for some reason?);
- Run `yarn start` to start frontend in dev mode (`vite`);
So it seems to me like we build unnecessarily every time we install
dependencies. Neither dev scripts need to build the project, as backend
uses `tsc-watch` and frontend uses `vite`. I'm unsure why this is the
case, as building can take a very long time.
![image](https://github.com/Unleash/unleash/assets/14320932/5ecb7df1-e5b4-4d70-ba7e-97119f5d1116)
There's also some complexity in the way we need to split the terminal to
`cd` into `frontend` and treat it as a different project. The fact that
we have different script names is also confusing (`yarn start`, `yarn
start:dev`, etc).
## After PR
- Clone the project;
- Run `yarn` to install all dependencies;
- Run `yarn dev` to get started developing Unleash;
Running `yarn` should take care of everything needed to start
developing. This includes installing dependencies for frontend as well.
It should not build projects if we are not being explicit about it,
especially since we don't need to build them at this stage.
![image](https://github.com/Unleash/unleash/assets/14320932/614e42fc-3467-432f-91fc-624b1b35c7c1)
Running `yarn dev` should start the project in dev mode. This means
running both projects in `dev` mode, which for `backend` means running
`tsc-watch` and for `frontend` means running `vite`.
Here this PR attempts to provide a better DX by using
[concurrently](https://www.npmjs.com/package/concurrently) and
[wait-on](https://www.npmjs.com/package/wait-on) - This means both tasks
are ran simultaneously, stdout is labeled accordingly, and are stopped
together. It also means that `frontend` waits for `backend` to be
serving at `4242` before starting, since `frontend` starts pretty much
immediately with `vite` and `backend` takes a bit longer. Of course,
when the `backend` is hot-reloading you may still find some
`ECONNREFUSED`s on `frontend` stdout while it recompiles.
![image](https://github.com/Unleash/unleash/assets/14320932/8bde8ee2-3cad-4e3f-a0db-9eed60cfb04d)
No more splitting your terminal and treating `frontend` as a separate
project.
## Discussion points
Maybe there's a better alternative to `tsc-watch`? I briefly explored
some alternatives and while they had a much faster starting speed,
hot-reload was sometimes slower. IMO we should aspire to run
`src/server-dev.ts` directly and only compile when needed.
Running `dev:backend` still serves a version of the frontend (at 4242).
**Why? Can we remove that behavior?**
I can't imagine a scenario in dev where we wouldn't want to run the
latest version of the frontend with `vite`.
~~**Note:** This PR removes all other out-of-scope scripts to focus on
this revamp. If we decide to merge it, we should evaluate what other
existing scripts we still want to include. May be a good opportunity to
clean up unused ones and only include the ones we really use. This
includes scripts that our GH actions rely on.~~
**Update:** In an effort to minimize impact surface of this PR and make
it a bit more ready for merging:
- It updates some docs in
https://github.com/Unleash/unleash/pull/3736/commits/2a4ff805e87b65d9c1256effaa189ddcccba15fb
and
https://github.com/Unleash/unleash/pull/3736/commits/1bbc4882519b5a82e3116f0be255ad24a6f3ce53
to reflect our new simplified flow;
- It includes the old package scripts for now in
https://github.com/Unleash/unleash/pull/3736/commits/039bc04699ac880e491fd3ce01f9bcd6f97a94b9;
- It updates some of our GH actions to reflect the new scripts in
https://github.com/Unleash/unleash/pull/3736/commits/7782cb9b12e37ee844507e41ef2b7137eaf55666;
Given its current status I'll promote the PR to "ready for review".
I still think we should have a second look at our existing scripts and
GH actions to see what we really need and/or should adapt, but it should
be a team effort so we have a broader context. Maybe on a follow-up PR.
Does this require any changes to related projects (e.g. Enterprise)?
---------
Co-authored-by: Gastón Fournier <gaston@getunleash.io>
2023-05-12 12:23:22 +02:00
"dev" : "vite" ,
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" ,
chore: simplify package scripts (#3736)
# Simplify package scripts
This PR's purpose is to raise a discussion surrounding our current
package scripts.
It includes some suggestions that aim to simplify the scripts and
hopefully bring a much more straightforward approach to developing and
contributing to Unleash.
Building (prod) should only happen **explicitly** and when needed.
## Before PR (current behavior)
- Clone the project;
- Open 2 terminals: One for `unleash` and another for
`unleash/frontend`;
- On `unleash`:
- Run `yarn` (which will also build, for some reason?);
- Run `yarn start:dev` to start backend in dev mode (`tsc-watch`);
- On `unleash/frontend`:
- Run `yarn` (which will also build, for some reason?);
- Run `yarn start` to start frontend in dev mode (`vite`);
So it seems to me like we build unnecessarily every time we install
dependencies. Neither dev scripts need to build the project, as backend
uses `tsc-watch` and frontend uses `vite`. I'm unsure why this is the
case, as building can take a very long time.
![image](https://github.com/Unleash/unleash/assets/14320932/5ecb7df1-e5b4-4d70-ba7e-97119f5d1116)
There's also some complexity in the way we need to split the terminal to
`cd` into `frontend` and treat it as a different project. The fact that
we have different script names is also confusing (`yarn start`, `yarn
start:dev`, etc).
## After PR
- Clone the project;
- Run `yarn` to install all dependencies;
- Run `yarn dev` to get started developing Unleash;
Running `yarn` should take care of everything needed to start
developing. This includes installing dependencies for frontend as well.
It should not build projects if we are not being explicit about it,
especially since we don't need to build them at this stage.
![image](https://github.com/Unleash/unleash/assets/14320932/614e42fc-3467-432f-91fc-624b1b35c7c1)
Running `yarn dev` should start the project in dev mode. This means
running both projects in `dev` mode, which for `backend` means running
`tsc-watch` and for `frontend` means running `vite`.
Here this PR attempts to provide a better DX by using
[concurrently](https://www.npmjs.com/package/concurrently) and
[wait-on](https://www.npmjs.com/package/wait-on) - This means both tasks
are ran simultaneously, stdout is labeled accordingly, and are stopped
together. It also means that `frontend` waits for `backend` to be
serving at `4242` before starting, since `frontend` starts pretty much
immediately with `vite` and `backend` takes a bit longer. Of course,
when the `backend` is hot-reloading you may still find some
`ECONNREFUSED`s on `frontend` stdout while it recompiles.
![image](https://github.com/Unleash/unleash/assets/14320932/8bde8ee2-3cad-4e3f-a0db-9eed60cfb04d)
No more splitting your terminal and treating `frontend` as a separate
project.
## Discussion points
Maybe there's a better alternative to `tsc-watch`? I briefly explored
some alternatives and while they had a much faster starting speed,
hot-reload was sometimes slower. IMO we should aspire to run
`src/server-dev.ts` directly and only compile when needed.
Running `dev:backend` still serves a version of the frontend (at 4242).
**Why? Can we remove that behavior?**
I can't imagine a scenario in dev where we wouldn't want to run the
latest version of the frontend with `vite`.
~~**Note:** This PR removes all other out-of-scope scripts to focus on
this revamp. If we decide to merge it, we should evaluate what other
existing scripts we still want to include. May be a good opportunity to
clean up unused ones and only include the ones we really use. This
includes scripts that our GH actions rely on.~~
**Update:** In an effort to minimize impact surface of this PR and make
it a bit more ready for merging:
- It updates some docs in
https://github.com/Unleash/unleash/pull/3736/commits/2a4ff805e87b65d9c1256effaa189ddcccba15fb
and
https://github.com/Unleash/unleash/pull/3736/commits/1bbc4882519b5a82e3116f0be255ad24a6f3ce53
to reflect our new simplified flow;
- It includes the old package scripts for now in
https://github.com/Unleash/unleash/pull/3736/commits/039bc04699ac880e491fd3ce01f9bcd6f97a94b9;
- It updates some of our GH actions to reflect the new scripts in
https://github.com/Unleash/unleash/pull/3736/commits/7782cb9b12e37ee844507e41ef2b7137eaf55666;
Given its current status I'll promote the PR to "ready for review".
I still think we should have a second look at our existing scripts and
GH actions to see what we really need and/or should adapt, but it should
be a team effort so we have a broader context. Maybe on a follow-up PR.
Does this require any changes to related projects (e.g. Enterprise)?
---------
Co-authored-by: Gastón Fournier <gaston@getunleash.io>
2023-05-12 12:23:22 +02:00
"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"
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-06-21 13:39:25 +02:00
"@emotion/react" : "11.11.1" ,
2023-05-25 02:50:38 +02:00
"@emotion/styled" : "11.11.0" ,
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-06-24 06:24:24 +02:00
"@testing-library/dom" : "8.20.1" ,
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" ,
2023-07-21 00:54:44 +02:00
"@types/jest" : "29.5.3" ,
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" ,
2023-06-28 06:35:22 +02:00
"@types/node" : "17.0.45" ,
2023-06-22 13:44:56 +02:00
"@types/react" : "17.0.62" ,
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" ,
2023-05-19 22:27:18 +02:00
"@types/semver" : "7.5.0" ,
2023-01-27 09:13:57 +01:00
"@types/uuid" : "^9.0.0" ,
2023-07-05 15:14:24 +02:00
"@uiw/codemirror-theme-duotone" : "4.21.7" ,
2023-07-05 17:16:41 +02:00
"@uiw/react-codemirror" : "4.21.7" ,
2023-02-15 06:02:10 +01:00
"@vitejs/plugin-react" : "3.1.0" ,
2023-06-23 11:29:13 +02:00
"cartesian" : "^1.0.1" ,
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" ,
2023-07-21 08:23:22 +02:00
"cypress" : "12.17.1" ,
2023-05-08 10:16:18 +02:00
"cypress-vite" : "^1.4.0" ,
2023-05-16 16:45:53 +02:00
"date-fns" : "2.30.0" ,
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-07-21 18:52:09 +02:00
"eslint" : "8.45.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-07-20 16:15:22 +02:00
"jsdom" : "22.1.0" ,
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" ,
2023-07-20 16:15:45 +02:00
"millify" : "^6.0.0" ,
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.14.1 (#4320)
[![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.13.0` ->
`6.14.1`](https://renovatebot.com/diffs/npm/react-router/6.13.0/6.14.1)
|
[![age](https://developer.mend.io/api/mc/badges/age/npm/react-router/6.14.1?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/react-router/6.14.1?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/react-router/6.13.0/6.14.1?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/react-router/6.13.0/6.14.1?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
| [react-router-dom](https://togithub.com/remix-run/react-router) |
[`6.13.0` ->
`6.14.1`](https://renovatebot.com/diffs/npm/react-router-dom/6.13.0/6.14.1)
|
[![age](https://developer.mend.io/api/mc/badges/age/npm/react-router-dom/6.14.1?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/react-router-dom/6.14.1?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/react-router-dom/6.13.0/6.14.1?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/react-router-dom/6.13.0/6.14.1?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
---
### Release Notes
<details>
<summary>remix-run/react-router (react-router)</summary>
###
[`v6.14.1`](https://togithub.com/remix-run/react-router/blob/HEAD/packages/react-router/CHANGELOG.md#6141)
[Compare
Source](https://togithub.com/remix-run/react-router/compare/react-router@6.14.0...react-router@6.14.1)
##### Patch Changes
- Fix loop in `unstable_useBlocker` when used with an unstable blocker
function
([#​10652](https://togithub.com/remix-run/react-router/pull/10652))
- Fix issues with reused blockers on subsequent navigations
([#​10656](https://togithub.com/remix-run/react-router/pull/10656))
- Updated dependencies:
- `@remix-run/router@1.7.1`
###
[`v6.14.0`](https://togithub.com/remix-run/react-router/blob/HEAD/packages/react-router/CHANGELOG.md#6140)
[Compare
Source](https://togithub.com/remix-run/react-router/compare/react-router@6.13.0...react-router@6.14.0)
##### Patch Changes
- Strip `basename` from locations provided to `unstable_useBlocker`
functions to match `useLocation`
([#​10573](https://togithub.com/remix-run/react-router/pull/10573))
- Fix `generatePath` when passed a numeric `0` value parameter
([#​10612](https://togithub.com/remix-run/react-router/pull/10612))
- Fix `unstable_useBlocker` key issues in `StrictMode`
([#​10573](https://togithub.com/remix-run/react-router/pull/10573))
- Fix `tsc --skipLibCheck:false` issues on React 17
([#​10622](https://togithub.com/remix-run/react-router/pull/10622))
- Upgrade `typescript` to 5.1
([#​10581](https://togithub.com/remix-run/react-router/pull/10581))
- Updated dependencies:
- `@remix-run/router@1.7.0`
</details>
<details>
<summary>remix-run/react-router (react-router-dom)</summary>
###
[`v6.14.1`](https://togithub.com/remix-run/react-router/blob/HEAD/packages/react-router-dom/CHANGELOG.md#6141)
[Compare
Source](https://togithub.com/remix-run/react-router/compare/react-router-dom@6.14.0...react-router-dom@6.14.1)
##### Patch Changes
- Updated dependencies:
- `react-router@6.14.1`
- `@remix-run/router@1.7.1`
###
[`v6.14.0`](https://togithub.com/remix-run/react-router/blob/HEAD/packages/react-router-dom/CHANGELOG.md#6140)
[Compare
Source](https://togithub.com/remix-run/react-router/compare/react-router-dom@6.13.0...react-router-dom@6.14.0)
##### Minor Changes
- Add support for `application/json` and `text/plain` encodings for
`useSubmit`/`fetcher.submit`. To reflect these additional types,
`useNavigation`/`useFetcher` now also contain
`navigation.json`/`navigation.text` and `fetcher.json`/`fetcher.text`
which include the json/text submission if applicable
([#​10413](https://togithub.com/remix-run/react-router/pull/10413))
```jsx
// The default behavior will still serialize as FormData
function Component() {
let navigation = useNavigation();
let submit = useSubmit();
submit({ key: "value" }, { method: "post" });
// navigation.formEncType => "application/x-www-form-urlencoded"
// navigation.formData => FormData instance
}
async function action({ request }) {
// request.headers.get("Content-Type") =>
"application/x-www-form-urlencoded"
// await request.formData() => FormData instance
}
```
```js
// Opt-into JSON encoding with `encType: "application/json"`
function Component() {
let navigation = useNavigation();
let submit = useSubmit();
submit({ key: "value" }, { method: "post", encType: "application/json"
});
// navigation.formEncType => "application/json"
// navigation.json => { key: "value" }
}
async function action({ request }) {
// request.headers.get("Content-Type") => "application/json"
// await request.json() => { key: "value" }
}
```
```js
// Opt-into text encoding with `encType: "text/plain"`
function Component() {
let navigation = useNavigation();
let submit = useSubmit();
submit("Text submission", { method: "post", encType: "text/plain" });
// navigation.formEncType => "text/plain"
// navigation.text => "Text submission"
}
async function action({ request }) {
// request.headers.get("Content-Type") => "text/plain"
// await request.text() => "Text submission"
}
```
##### Patch Changes
- When submitting a form from a `submitter` element, prefer the built-in
`new FormData(form, submitter)` instead of the previous manual approach
in modern browsers (those that support the new `submitter` parameter)
([#​9865](https://togithub.com/remix-run/react-router/pull/9865),
[#​10627](https://togithub.com/remix-run/react-router/pull/10627))
- For browsers that don't support it, we continue to just append the
submit button's entry to the end, and we also add rudimentary support
for `type="image"` buttons
- If developers want full spec-compliant support for legacy browsers,
they can use the `formdata-submitter-polyfill`
- Call `window.history.pushState/replaceState` before updating React
Router state (instead of after) so that `window.location` matches
`useLocation` during synchronous React 17 rendering
([#​10448](https://togithub.com/remix-run/react-router/pull/10448))
- ⚠️ However, generally apps should not be relying on `window.location`
and should always reference `useLocation` when possible, as
`window.location` will not be in sync 100% of the time (due to
`popstate` events, concurrent mode, etc.)
- Fix `tsc --skipLibCheck:false` issues on React 17
([#​10622](https://togithub.com/remix-run/react-router/pull/10622))
- Upgrade `typescript` to 5.1
([#​10581](https://togithub.com/remix-run/react-router/pull/10581))
- Updated dependencies:
- `react-router@6.14.0`
- `@remix-run/router@1.7.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 these
updates again.
---
- [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check
this box
---
This PR has been generated by [Mend
Renovate](https://www.mend.io/free-developer-tools/renovate/). View
repository job log
[here](https://developer.mend.io/github/Unleash/unleash).
<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNi4xMS4wIiwidXBkYXRlZEluVmVyIjoiMzYuMTEuMCIsInRhcmdldEJyYW5jaCI6Im1haW4ifQ==-->
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-07-21 21:11:33 +02:00
"react-router-dom" : "6.14.1" ,
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-07-06 15:57:47 +02:00
"sass" : "1.63.6" ,
2023-07-20 20:54:00 +02:00
"semver" : "7.5.4" ,
2023-07-21 11:45:34 +02:00
"swr" : "2.2.0" ,
2023-07-21 18:50:46 +02:00
"tss-react" : "4.8.8" ,
2022-10-07 19:54:29 +02:00
"typescript" : "4.8.4" ,
chore(deps): update dependency vite to v4.4.4 (#4313)
[![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.3.9` ->
`4.4.4`](https://renovatebot.com/diffs/npm/vite/4.3.9/4.4.4) |
[![age](https://developer.mend.io/api/mc/badges/age/npm/vite/4.4.4?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/vite/4.4.4?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/vite/4.3.9/4.4.4?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/vite/4.3.9/4.4.4?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
---
### Release Notes
<details>
<summary>vitejs/vite (vite)</summary>
###
[`v4.4.4`](https://togithub.com/vitejs/vite/blob/HEAD/packages/vite/CHANGELOG.md#small444-2023-07-14-small)
[Compare
Source](https://togithub.com/vitejs/vite/compare/v4.4.3...v4.4.4)
- chore: warning about ssr cjs format removal
([#​13827](https://togithub.com/vitejs/vite/issues/13827))
([4646e9f](https://togithub.com/vitejs/vite/commit/4646e9f)), closes
[#​13827](https://togithub.com/vitejs/vite/issues/13827)
- fix(esbuild): enable experimentalDecorators by default
([#​13805](https://togithub.com/vitejs/vite/issues/13805))
([e8880f0](https://togithub.com/vitejs/vite/commit/e8880f0)), closes
[#​13805](https://togithub.com/vitejs/vite/issues/13805)
- fix(scan): skip tsconfigRaw fallback if tsconfig is set
([#​13823](https://togithub.com/vitejs/vite/issues/13823))
([b6155a1](https://togithub.com/vitejs/vite/commit/b6155a1)), closes
[#​13823](https://togithub.com/vitejs/vite/issues/13823)
- feat(client): close `vite-error-overlay` with Escape key
([#​13795](https://togithub.com/vitejs/vite/issues/13795))
([85bdcda](https://togithub.com/vitejs/vite/commit/85bdcda)), closes
[#​13795](https://togithub.com/vitejs/vite/issues/13795)
###
[`v4.4.3`](https://togithub.com/vitejs/vite/blob/HEAD/packages/vite/CHANGELOG.md#small443-2023-07-11-small)
[Compare
Source](https://togithub.com/vitejs/vite/compare/v4.4.2...v4.4.3)
- fix: avoid early error when server is closed in ssr
([#​13787](https://togithub.com/vitejs/vite/issues/13787))
([89d01eb](https://togithub.com/vitejs/vite/commit/89d01eb)), closes
[#​13787](https://togithub.com/vitejs/vite/issues/13787)
- fix(deps): update all non-major dependencies
([#​13758](https://togithub.com/vitejs/vite/issues/13758))
([8ead116](https://togithub.com/vitejs/vite/commit/8ead116)), closes
[#​13758](https://togithub.com/vitejs/vite/issues/13758)
- fix(server): remove restart guard on restart
([#​13789](https://togithub.com/vitejs/vite/issues/13789))
([2a38ef7](https://togithub.com/vitejs/vite/commit/2a38ef7)), closes
[#​13789](https://togithub.com/vitejs/vite/issues/13789)
###
[`v4.4.2`](https://togithub.com/vitejs/vite/blob/HEAD/packages/vite/CHANGELOG.md#small442-2023-07-07-small)
[Compare
Source](https://togithub.com/vitejs/vite/compare/487bdcde3399463ac68eb5ab5bc19e5096b4623b...v4.4.2)
- fix(css): use single postcss instance
([#​13738](https://togithub.com/vitejs/vite/issues/13738))
([c02fac4](https://togithub.com/vitejs/vite/commit/c02fac4)), closes
[#​13738](https://togithub.com/vitejs/vite/issues/13738)
###
[`v4.4.1`](https://togithub.com/vitejs/vite/blob/HEAD/packages/vite/CHANGELOG.md#small441-2023-07-06-small)
[Compare
Source](https://togithub.com/vitejs/vite/compare/3b47e34af89b8220c0aeb119f813e8315e98668e...487bdcde3399463ac68eb5ab5bc19e5096b4623b)
- fix: revert
[#​13073](https://togithub.com/vitejs/vite/issues/13073), use
consistent virtual module ID in module graph
([#​13734](https://togithub.com/vitejs/vite/issues/13734))
([f589ac0](https://togithub.com/vitejs/vite/commit/f589ac0)), closes
[#​13073](https://togithub.com/vitejs/vite/issues/13073)
[#​13734](https://togithub.com/vitejs/vite/issues/13734)
- fix: revert import config module as data
([#​13731](https://togithub.com/vitejs/vite/issues/13731))
([b0bfa01](https://togithub.com/vitejs/vite/commit/b0bfa01)), closes
[#​13731](https://togithub.com/vitejs/vite/issues/13731)
- chore: changelog notes and clean for 4.4
([#​13728](https://togithub.com/vitejs/vite/issues/13728))
([3f4e36e](https://togithub.com/vitejs/vite/commit/3f4e36e)), closes
[#​13728](https://togithub.com/vitejs/vite/issues/13728)
###
[`v4.4.0`](https://togithub.com/vitejs/vite/blob/HEAD/packages/vite/CHANGELOG.md#440-2023-07-06)
[Compare
Source](https://togithub.com/vitejs/vite/compare/v4.3.9...3b47e34af89b8220c0aeb119f813e8315e98668e)
##### Experimental support for Lightning CSS
Starting from Vite 4.4, there is experimental support for [Lightning
CSS](https://lightningcss.dev/). You can opt into it by adding
[`css.transformer:
'lightningcss'`](https://main.vitejs.dev/config/shared-options.html#css-transformer)
to your config file and install the optional
[`lightningcss`](https://www.npmjs.com/package/lightningcss) dev
dependency. If enabled, CSS files will be processed by Lightning CSS
instead of PostCSS.
Lightning CSS can also be used as the CSS minifier with
[`build.cssMinify:
'lightningcss'`](https://main.vitejs.dev/config/build-options.html#build-cssminify).
See beta docs at the [Lighting CSS
guide](https://main.vitejs.dev/guide/features.html#lightning-css).
##### esbuild 0.18 update
[esbuild
0.18](https://togithub.com/evanw/esbuild/blob/main/CHANGELOG.md#0180)
contains backwards-incompatible changes to esbuild's handling of
`tsconfig.json` files. We think they shouldn't affect Vite users, you
can review
[#​13525](https://togithub.com/vitejs/vite/issues/13525) for more
information.
##### Templates for Solid and Qwik in create-vite
New starter templates have been added to
[create-vite](https://vitejs.dev/guide/#scaffolding-your-first-vite-project)
for [Solid](https://www.solidjs.com/) and
[Qwik](https://qwik.builder.io/). Try them online at
[vite.new/solid-ts](https://vite.new/solid-ts) and
[vite.new/qwik-ts](https://vite.new/qwik-ts).
##### Korean Translation
Vite's docs are now translated to Korean, available at
[ko.vitejs.dev](https://ko.vitejs.dev).
##### Features
- feat: preview mode add keyboard shortcuts
([#​12968](https://togithub.com/vitejs/vite/issues/12968))
([126e93e](https://togithub.com/vitejs/vite/commit/126e93e)), closes
[#​12968](https://togithub.com/vitejs/vite/issues/12968)
- feat: asset type add apng
([#​13294](https://togithub.com/vitejs/vite/issues/13294))
([a11b6f6](https://togithub.com/vitejs/vite/commit/a11b6f6)), closes
[#​13294](https://togithub.com/vitejs/vite/issues/13294)
- feat: emit event to handle chunk load errors
([#​12084](https://togithub.com/vitejs/vite/issues/12084))
([2eca54e](https://togithub.com/vitejs/vite/commit/2eca54e)), closes
[#​12084](https://togithub.com/vitejs/vite/issues/12084)
- feat: import public non-asset URL
([#​13422](https://togithub.com/vitejs/vite/issues/13422))
([3a98558](https://togithub.com/vitejs/vite/commit/3a98558)), closes
[#​13422](https://togithub.com/vitejs/vite/issues/13422)
- feat: support files for `fs.allow`
([#​12863](https://togithub.com/vitejs/vite/issues/12863))
([4a06e66](https://togithub.com/vitejs/vite/commit/4a06e66)), closes
[#​12863](https://togithub.com/vitejs/vite/issues/12863)
- feat(build): warn dynamic import module with a static import alongside
([#​12850](https://togithub.com/vitejs/vite/issues/12850))
([127c334](https://togithub.com/vitejs/vite/commit/127c334)), closes
[#​12850](https://togithub.com/vitejs/vite/issues/12850)
- feat(client): add debounce on page reload
([#​13545](https://togithub.com/vitejs/vite/issues/13545))
([d080b51](https://togithub.com/vitejs/vite/commit/d080b51)), closes
[#​13545](https://togithub.com/vitejs/vite/issues/13545)
- feat(client): add WebSocket connections events
([#​13334](https://togithub.com/vitejs/vite/issues/13334))
([eb75103](https://togithub.com/vitejs/vite/commit/eb75103)), closes
[#​13334](https://togithub.com/vitejs/vite/issues/13334)
- feat(config): friendly ESM file require error
([#​13283](https://togithub.com/vitejs/vite/issues/13283))
([b9a6ba0](https://togithub.com/vitejs/vite/commit/b9a6ba0)), closes
[#​13283](https://togithub.com/vitejs/vite/issues/13283)
- feat(css): add support for Lightning CSS
([#​12807](https://togithub.com/vitejs/vite/issues/12807))
([c6c5d49](https://togithub.com/vitejs/vite/commit/c6c5d49)), closes
[#​12807](https://togithub.com/vitejs/vite/issues/12807)
- feat(css): support at import preprocessed styles
([#​8400](https://togithub.com/vitejs/vite/issues/8400))
([2bd6077](https://togithub.com/vitejs/vite/commit/2bd6077)), closes
[#​8400](https://togithub.com/vitejs/vite/issues/8400)
- feat(html): support image set in inline style
([#​13473](https://togithub.com/vitejs/vite/issues/13473))
([2c0faba](https://togithub.com/vitejs/vite/commit/2c0faba)), closes
[#​13473](https://togithub.com/vitejs/vite/issues/13473)
- feat(importMetaGlob): support sub imports pattern
([#​12467](https://togithub.com/vitejs/vite/issues/12467))
([e355c9c](https://togithub.com/vitejs/vite/commit/e355c9c)), closes
[#​12467](https://togithub.com/vitejs/vite/issues/12467)
- feat(optimizer): support glob includes
([#​12414](https://togithub.com/vitejs/vite/issues/12414))
([7792515](https://togithub.com/vitejs/vite/commit/7792515)), closes
[#​12414](https://togithub.com/vitejs/vite/issues/12414)
- feat!: update esbuild to 0.18.2
([#​13525](https://togithub.com/vitejs/vite/issues/13525))
([ab967c0](https://togithub.com/vitejs/vite/commit/ab967c0)), closes
[#​13525](https://togithub.com/vitejs/vite/issues/13525)
##### Bug Fixes
- fix: check document before detect script rel
([#​13559](https://togithub.com/vitejs/vite/issues/13559))
([be4b0c0](https://togithub.com/vitejs/vite/commit/be4b0c0)), closes
[#​13559](https://togithub.com/vitejs/vite/issues/13559)
- fix(define): stringify object parse error in build mode
([#​13600](https://togithub.com/vitejs/vite/issues/13600))
([71516db](https://togithub.com/vitejs/vite/commit/71516db)), closes
[#​13600](https://togithub.com/vitejs/vite/issues/13600)
- fix(deps): update all non-major dependencies
([#​13701](https://togithub.com/vitejs/vite/issues/13701))
([02c6bc3](https://togithub.com/vitejs/vite/commit/02c6bc3)), closes
[#​13701](https://togithub.com/vitejs/vite/issues/13701)
- fix(esbuild): use `useDefineForClassFields: false` when no
`compilerOptions.target` is declared
([#​13](https://togithub.com/vitejs/vite/issues/13)
([7ef2472](https://togithub.com/vitejs/vite/commit/7ef2472)), closes
[#​13708](https://togithub.com/vitejs/vite/issues/13708)
- fix(pluginContainer): drop previous sourcesContent
([#​13722](https://togithub.com/vitejs/vite/issues/13722))
([9310b3a](https://togithub.com/vitejs/vite/commit/9310b3a)), closes
[#​13722](https://togithub.com/vitejs/vite/issues/13722)
- fix: lightningCSS should load external URL in CSS file
([#​13692](https://togithub.com/vitejs/vite/issues/13692))
([8517645](https://togithub.com/vitejs/vite/commit/8517645)), closes
[#​13692](https://togithub.com/vitejs/vite/issues/13692)
- fix: shortcut open browser when set host
([#​13677](https://togithub.com/vitejs/vite/issues/13677))
([6f1c55e](https://togithub.com/vitejs/vite/commit/6f1c55e)), closes
[#​13677](https://togithub.com/vitejs/vite/issues/13677)
- fix(cli): convert the sourcemap option to boolean (fix
[#​13638](https://togithub.com/vitejs/vite/issues/13638))
([#​13663](https://togithub.com/vitejs/vite/issues/13663))
([d444bfe](https://togithub.com/vitejs/vite/commit/d444bfe)), closes
[#​13638](https://togithub.com/vitejs/vite/issues/13638)
[#​13663](https://togithub.com/vitejs/vite/issues/13663)
- fix(css): use esbuild legalComments config when minifying CSS
([#​13661](https://togithub.com/vitejs/vite/issues/13661))
([2d9008e](https://togithub.com/vitejs/vite/commit/2d9008e)), closes
[#​13661](https://togithub.com/vitejs/vite/issues/13661)
- fix(sourcemap): preserve original sourcesContent
([#​13662](https://togithub.com/vitejs/vite/issues/13662))
([f6362b6](https://togithub.com/vitejs/vite/commit/f6362b6)), closes
[#​13662](https://togithub.com/vitejs/vite/issues/13662)
- fix(ssr): transform superclass identifier
([#​13635](https://togithub.com/vitejs/vite/issues/13635))
([c5b2c8f](https://togithub.com/vitejs/vite/commit/c5b2c8f)), closes
[#​13635](https://togithub.com/vitejs/vite/issues/13635)
- fix: show error position
([#​13623](https://togithub.com/vitejs/vite/issues/13623))
([90271a6](https://togithub.com/vitejs/vite/commit/90271a6)), closes
[#​13623](https://togithub.com/vitejs/vite/issues/13623)
- fix(hmr): only invalidate `lastHMRTimestamp` of importers if the
invalidated module is not a HMR bou
([1143e0b](https://togithub.com/vitejs/vite/commit/1143e0b)), closes
[#​13024](https://togithub.com/vitejs/vite/issues/13024)
- fix(indexHtml): decode html URI
([#​13581](https://togithub.com/vitejs/vite/issues/13581))
([f8868af](https://togithub.com/vitejs/vite/commit/f8868af)), closes
[#​13581](https://togithub.com/vitejs/vite/issues/13581)
- fix: avoid binding ClassExpression
([#​13572](https://togithub.com/vitejs/vite/issues/13572))
([1a0c806](https://togithub.com/vitejs/vite/commit/1a0c806)), closes
[#​13572](https://togithub.com/vitejs/vite/issues/13572)
- fix: the shortcut fails to open browser when set the host
([#​13579](https://togithub.com/vitejs/vite/issues/13579))
([e0a48c5](https://togithub.com/vitejs/vite/commit/e0a48c5)), closes
[#​13579](https://togithub.com/vitejs/vite/issues/13579)
- fix(proxy): forward SSE close event
([#​13578](https://togithub.com/vitejs/vite/issues/13578))
([4afbccb](https://togithub.com/vitejs/vite/commit/4afbccb)), closes
[#​13578](https://togithub.com/vitejs/vite/issues/13578)
- fix: allow using vite as a proxy for another vite server
([#​13218](https://togithub.com/vitejs/vite/issues/13218))
([711dd80](https://togithub.com/vitejs/vite/commit/711dd80)), closes
[#​13218](https://togithub.com/vitejs/vite/issues/13218)
- fix: await requests to before server restart
([#​13262](https://togithub.com/vitejs/vite/issues/13262))
([0464398](https://togithub.com/vitejs/vite/commit/0464398)), closes
[#​13262](https://togithub.com/vitejs/vite/issues/13262)
- fix: esm detection with `export const { A, B }` pattern
([#​13483](https://togithub.com/vitejs/vite/issues/13483))
([ea1bcc9](https://togithub.com/vitejs/vite/commit/ea1bcc9)), closes
[#​13483](https://togithub.com/vitejs/vite/issues/13483)
- fix: keep track of ssr version of imported modules separately
([#​11973](https://togithub.com/vitejs/vite/issues/11973))
([8fe6952](https://togithub.com/vitejs/vite/commit/8fe6952)), closes
[#​11973](https://togithub.com/vitejs/vite/issues/11973)
- fix: make optimize error available to meta-framework
([#​13495](https://togithub.com/vitejs/vite/issues/13495))
([b70e783](https://togithub.com/vitejs/vite/commit/b70e783)), closes
[#​13495](https://togithub.com/vitejs/vite/issues/13495)
- fix: only show the listened IP when host is specified
([#​13412](https://togithub.com/vitejs/vite/issues/13412))
([20b0cae](https://togithub.com/vitejs/vite/commit/20b0cae)), closes
[#​13412](https://togithub.com/vitejs/vite/issues/13412)
- fix: race condition creation module in graph in transformRequest
([#​13085](https://togithub.com/vitejs/vite/issues/13085))
([43cbbcf](https://togithub.com/vitejs/vite/commit/43cbbcf)), closes
[#​13085](https://togithub.com/vitejs/vite/issues/13085)
- fix: remove deprecated config.server.base
([#​13482](https://togithub.com/vitejs/vite/issues/13482))
([dc597bd](https://togithub.com/vitejs/vite/commit/dc597bd)), closes
[#​13482](https://togithub.com/vitejs/vite/issues/13482)
- fix: remove extra path shorten when resolving from a dir
([#​13381](https://togithub.com/vitejs/vite/issues/13381))
([5503198](https://togithub.com/vitejs/vite/commit/5503198)), closes
[#​13381](https://togithub.com/vitejs/vite/issues/13381)
- fix: show network URLs when `--host 0.0.0.0`
([#​13438](https://togithub.com/vitejs/vite/issues/13438))
([00ee8c1](https://togithub.com/vitejs/vite/commit/00ee8c1)), closes
[#​13438](https://togithub.com/vitejs/vite/issues/13438)
- fix: timestamp config dynamicImport
([#​13502](https://togithub.com/vitejs/vite/issues/13502))
([6a87c65](https://togithub.com/vitejs/vite/commit/6a87c65)), closes
[#​13502](https://togithub.com/vitejs/vite/issues/13502)
- fix: unexpected config temporary file
([#​13269](https://togithub.com/vitejs/vite/issues/13269))
([ff3ce31](https://togithub.com/vitejs/vite/commit/ff3ce31)), closes
[#​13269](https://togithub.com/vitejs/vite/issues/13269)
- fix: use consistent virtual module ID in module graph
([#​13073](https://togithub.com/vitejs/vite/issues/13073))
([aa1776f](https://togithub.com/vitejs/vite/commit/aa1776f)), closes
[#​13073](https://togithub.com/vitejs/vite/issues/13073)
- fix(build): make output warning message clearer
([#​12924](https://togithub.com/vitejs/vite/issues/12924))
([54ab3c8](https://togithub.com/vitejs/vite/commit/54ab3c8)), closes
[#​12924](https://togithub.com/vitejs/vite/issues/12924)
- fix(debug): import performance from perf_hooks
([#​13464](https://togithub.com/vitejs/vite/issues/13464))
([d458ccd](https://togithub.com/vitejs/vite/commit/d458ccd)), closes
[#​13464](https://togithub.com/vitejs/vite/issues/13464)
- fix(deps): update all non-major dependencies
([#​13059](https://togithub.com/vitejs/vite/issues/13059))
([123ef4c](https://togithub.com/vitejs/vite/commit/123ef4c)), closes
[#​13059](https://togithub.com/vitejs/vite/issues/13059)
- fix(deps): update all non-major dependencies
([#​13488](https://togithub.com/vitejs/vite/issues/13488))
([bd09248](https://togithub.com/vitejs/vite/commit/bd09248)), closes
[#​13488](https://togithub.com/vitejs/vite/issues/13488)
- fix(deps): update sirv to 2.0.3
([#​13057](https://togithub.com/vitejs/vite/issues/13057))
([d814d6c](https://togithub.com/vitejs/vite/commit/d814d6c)), closes
[#​13057](https://togithub.com/vitejs/vite/issues/13057)
- fix(mergeConfig): don't accept callback config
([#​13135](https://togithub.com/vitejs/vite/issues/13135))
([998512b](https://togithub.com/vitejs/vite/commit/998512b)), closes
[#​13135](https://togithub.com/vitejs/vite/issues/13135)
- fix(optimizer): include exports for css modules
([#​13519](https://togithub.com/vitejs/vite/issues/13519))
([1fd9919](https://togithub.com/vitejs/vite/commit/1fd9919)), closes
[#​13519](https://togithub.com/vitejs/vite/issues/13519)
- fix(resolve): always use `module` condition
([#​13370](https://togithub.com/vitejs/vite/issues/13370))
([367920b](https://togithub.com/vitejs/vite/commit/367920b)), closes
[#​13370](https://togithub.com/vitejs/vite/issues/13370)
- fix(ssr): fix crash when a pnpm/Yarn workspace depends on a CJS
package ([#​9763](https://togithub.com/vitejs/vite/issues/9763))
([9e1086b](https://togithub.com/vitejs/vite/commit/9e1086b)), closes
[#​9763](https://togithub.com/vitejs/vite/issues/9763)
##### Previous Changelogs
#####
[4.4.0-beta.4](https://togithub.com/vitejs/vite/compare/v4.4.0-beta.3....v4.4.0-beta.4)
(2023-07-03)
See [4.4.0-beta.4
changelog](https://togithub.com/vitejs/vite/blob/v4.4.0-beta.4/packages/vite/CHANGELOG.md)
#####
[4.4.0-beta.3](https://togithub.com/vitejs/vite/compare/v4.4.0-beta.2....v4.4.0-beta.3)
(2023-06-25)
See [4.4.0-beta.3
changelog](https://togithub.com/vitejs/vite/blob/v4.4.0-beta.3/packages/vite/CHANGELOG.md)
#####
[4.4.0-beta.2](https://togithub.com/vitejs/vite/compare/v4.4.0-beta.1....v4.4.0-beta.2)
(2023-06-22)
See [4.4.0-beta.2
changelog](https://togithub.com/vitejs/vite/blob/v4.4.0-beta.2/packages/vite/CHANGELOG.md)
#####
[4.4.0-beta.1](https://togithub.com/vitejs/vite/compare/v4.4.0-beta.0....v4.4.0-beta.1)
(2023-06-21)
See [4.4.0-beta.1
changelog](https://togithub.com/vitejs/vite/blob/v4.4.0-beta.1/packages/vite/CHANGELOG.md)
#####
[4.4.0-beta.0](https://togithub.com/vitejs/vite/compare/v4.3.9....v4.4.0-beta.0)
(2023-06-20)
See [4.4.0-beta.0
changelog](https://togithub.com/vitejs/vite/blob/v4.4.0-beta.0/packages/vite/CHANGELOG.md)
</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://developer.mend.io/github/Unleash/unleash).
<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNi4xMS4wIiwidXBkYXRlZEluVmVyIjoiMzYuMTEuMCIsInRhcmdldEJyYW5jaCI6Im1haW4ifQ==-->
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-07-21 16:37:54 +02:00
"vite" : "4.4.4" ,
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" ,
2023-07-21 16:36:30 +02:00
"vitest" : "0.33.0" ,
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" : {
2023-07-20 12:59:55 +02:00
"orval" : "^6.17.0"
2023-01-05 11:57:53 +01:00
} ,
2022-10-14 11:44:59 +02:00
"resolutions" : {
2023-06-07 11:56:44 +02:00
"@codemirror/state" : "6.2.1" ,
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-06-22 13:44:56 +02:00
"@types/react" : "17.0.62" ,
2023-07-04 16:55:40 +02:00
"@types/react-dom" : "17.0.20" ,
2023-07-20 20:54:00 +02:00
"semver" : "7.5.4"
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
}