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",
|
2021-04-07 09:04:48 +02:00
|
|
|
"build/"
|
2016-12-23 10:58:33 +01:00
|
|
|
],
|
2016-11-10 14:26:24 +01:00
|
|
|
"engines": {
|
2021-05-05 22:18:35 +02:00
|
|
|
"node": ">=14"
|
2016-11-10 14:26:24 +01:00
|
|
|
},
|
|
|
|
"scripts": {
|
2022-08-30 10:52:30 +02:00
|
|
|
"build": "vite build",
|
2022-10-03 12:20:47 +02:00
|
|
|
"lint": "yarn fmt:check",
|
2022-05-05 17:15:22 +02:00
|
|
|
"start": "vite",
|
2022-10-19 14:02:00 +02:00
|
|
|
"start:sandbox": "UNLEASH_API=https://sandbox.getunleash.io/ospro yarn run start",
|
2022-03-25 12:13:39 +01:00
|
|
|
"start:enterprise": "UNLEASH_API=https://unleash4.herokuapp.com yarn run start",
|
2022-06-23 08:54:08 +02:00
|
|
|
"start:demo": "UNLEASH_BASE_PATH=/demo/ yarn start",
|
2022-08-30 10:52:30 +02:00
|
|
|
"test": "tsc && vitest run",
|
2022-08-26 09:25:31 +02:00
|
|
|
"test:watch": "vitest watch",
|
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",
|
2022-03-25 12:13:39 +01:00
|
|
|
"e2e": "yarn run cypress open --config baseUrl='http://localhost:3000' --env AUTH_USER=admin,AUTH_PASSWORD=unleash4all",
|
2022-07-22 08:53:42 +02:00
|
|
|
"e2e:heroku": "yarn run cypress open --config baseUrl='http://localhost:3000' --env AUTH_USER=example@example.com",
|
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",
|
2022-10-28 09:44:02 +02:00
|
|
|
"@emotion/react": "11.10.5",
|
|
|
|
"@emotion/styled": "11.10.5",
|
chore(deps): update material-ui monorepo (#2269)
[![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.10.3` ->
`5.10.9`](https://renovatebot.com/diffs/npm/@mui%2ficons-material/5.10.3/5.10.9)
|
[![age](https://badges.renovateapi.com/packages/npm/@mui%2ficons-material/5.10.9/age-slim)](https://docs.renovatebot.com/merge-confidence/)
|
[![adoption](https://badges.renovateapi.com/packages/npm/@mui%2ficons-material/5.10.9/adoption-slim)](https://docs.renovatebot.com/merge-confidence/)
|
[![passing](https://badges.renovateapi.com/packages/npm/@mui%2ficons-material/5.10.9/compatibility-slim/5.10.3)](https://docs.renovatebot.com/merge-confidence/)
|
[![confidence](https://badges.renovateapi.com/packages/npm/@mui%2ficons-material/5.10.9/confidence-slim/5.10.3)](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.97` ->
`5.0.0-alpha.107`](https://renovatebot.com/diffs/npm/@mui%2flab/5.0.0-alpha.97/5.0.0-alpha.107)
|
[![age](https://badges.renovateapi.com/packages/npm/@mui%2flab/5.0.0-alpha.107/age-slim)](https://docs.renovatebot.com/merge-confidence/)
|
[![adoption](https://badges.renovateapi.com/packages/npm/@mui%2flab/5.0.0-alpha.107/adoption-slim)](https://docs.renovatebot.com/merge-confidence/)
|
[![passing](https://badges.renovateapi.com/packages/npm/@mui%2flab/5.0.0-alpha.107/compatibility-slim/5.0.0-alpha.97)](https://docs.renovatebot.com/merge-confidence/)
|
[![confidence](https://badges.renovateapi.com/packages/npm/@mui%2flab/5.0.0-alpha.107/confidence-slim/5.0.0-alpha.97)](https://docs.renovatebot.com/merge-confidence/)
|
| [@mui/material](https://mui.com/material-ui/getting-started/overview/)
([source](https://togithub.com/mui/material-ui)) | [`5.10.3` ->
`5.10.13`](https://renovatebot.com/diffs/npm/@mui%2fmaterial/5.10.3/5.10.13)
|
[![age](https://badges.renovateapi.com/packages/npm/@mui%2fmaterial/5.10.13/age-slim)](https://docs.renovatebot.com/merge-confidence/)
|
[![adoption](https://badges.renovateapi.com/packages/npm/@mui%2fmaterial/5.10.13/adoption-slim)](https://docs.renovatebot.com/merge-confidence/)
|
[![passing](https://badges.renovateapi.com/packages/npm/@mui%2fmaterial/5.10.13/compatibility-slim/5.10.3)](https://docs.renovatebot.com/merge-confidence/)
|
[![confidence](https://badges.renovateapi.com/packages/npm/@mui%2fmaterial/5.10.13/confidence-slim/5.10.3)](https://docs.renovatebot.com/merge-confidence/)
|
---
### Release Notes
<details>
<summary>mui/material-ui (@​mui/icons-material)</summary>
###
[`v5.10.9`](https://togithub.com/mui/material-ui/blob/HEAD/CHANGELOG.md#​5109)
[Compare
Source](https://togithub.com/mui/material-ui/compare/v5.10.6...v5.10.9)
<!-- generated comparing v5.10.8..master -->
*Oct 10, 2022*
A big thanks to the 7 contributors who made this release possible. Here
are some highlights ✨:
- 🚀 \[Joy] Button loading functionality has been added by
[@​kushagra010](https://togithub.com/kushagra010)
([#​34658](https://togithub.com/mui/material-ui/issues/34658))
- And more 🐛 bug fixes and 📚 documentation improvements.
##### `@mui/material@5.10.9`
- <!-- 16 -->\[Grid v2]\[system] Handle direction object prop for
responsive design
([#​34574](https://togithub.com/mui/material-ui/issues/34574))
[@​vanyaxk](https://togithub.com/vanyaxk)
- <!-- 03 -->\[Slider] Fix unnecessary accessibility attribute in root
element
([#​34610](https://togithub.com/mui/material-ui/issues/34610))
[@​vanyaxk](https://togithub.com/vanyaxk)
##### `@mui/system@5.10.9`
##### BREAKING CHANGE
- <!-- 17 -->\[system] Fix color-scheme implementation
([#​34639](https://togithub.com/mui/material-ui/issues/34639))
[@​siriwatknp](https://togithub.com/siriwatknp)
The `enableColorScheme` prop has been removed from `CssVarsProvider` and
`getInitColorScheme` (both Material UI and Joy UI).
Migration:
- **Material UI**: you can enable the CSS color scheme via `<CssBaseline
enableColorScheme />`.
- **Joy UI**: it is enabled automatically if you use `<CssBaseline />`,
[see the docs](https://mui.com/joy-ui/react-css-baseline/).
##### Changes
- <!-- 02 -->\[system] Fix typo in createCssVarsProvider
([#​34661](https://togithub.com/mui/material-ui/issues/34661))
[@​HexM7](https://togithub.com/HexM7)
##### `@mui/base@5.0.0-alpha.101`
- <!-- 01 -->\[TrapFocus] Restore the previously exported type from
[@​mui/material](https://togithub.com/mui/material)
([#​34601](https://togithub.com/mui/material-ui/issues/34601))
[@​michaldudak](https://togithub.com/michaldudak)
##### `@mui/joy@5.0.0-alpha.49`
- <!-- 04 -->\[Joy] Add button loading functionality
([#​34658](https://togithub.com/mui/material-ui/issues/34658))
[@​kushagra010](https://togithub.com/kushagra010)
##### Docs
- <!-- 18 -->\[docs] Revert
[#​34541](https://togithub.com/mui/material-ui/issues/34541)
([#​34700](https://togithub.com/mui/material-ui/issues/34700))
[@​michaldudak](https://togithub.com/michaldudak)
- <!-- 15 -->\[blog] Blog post for MUI X v6 alpha zero
([#​34424](https://togithub.com/mui/material-ui/issues/34424))
[@​joserodolfofreitas](https://togithub.com/joserodolfofreitas)
- <!-- 09 -->\[docs] Improve Joy UI tutorial demo
([#​34653](https://togithub.com/mui/material-ui/issues/34653))
[@​oliviertassinari](https://togithub.com/oliviertassinari)
- <!-- 08 -->\[docs] Explain how SelectUnstyled renders a hidden input
([#​34638](https://togithub.com/mui/material-ui/issues/34638))
[@​michaldudak](https://togithub.com/michaldudak)
- <!-- 07 -->\[docs] Fix Taiwan description
([#​34611](https://togithub.com/mui/material-ui/issues/34611))
[@​oliviertassinari](https://togithub.com/oliviertassinari)
- <!-- 06 -->\[docs] Fix codesandbox export with dayjs
([#​34619](https://togithub.com/mui/material-ui/issues/34619))
[@​oliviertassinari](https://togithub.com/oliviertassinari)
- <!-- 05 -->\[docs] Explain the purpose of renderGroup prop
([#​34066](https://togithub.com/mui/material-ui/issues/34066))
[@​michaldudak](https://togithub.com/michaldudak)
##### Core
- <!-- 14 -->\[core] Make useForkRef variadic
([#​27939](https://togithub.com/mui/material-ui/issues/27939))
[@​michaldudak](https://togithub.com/michaldudak)
- <!-- 13 -->\[core] Speedup of yarn install in the CI
([#​34632](https://togithub.com/mui/material-ui/issues/34632))
[@​oliviertassinari](https://togithub.com/oliviertassinari)
- <!-- 12 -->\[core] Fix markdown loader on Windows
([#​34623](https://togithub.com/mui/material-ui/issues/34623))
[@​michaldudak](https://togithub.com/michaldudak)
- <!-- 11 -->\[core] Update changelog for version v5.10.8
([#​34593](https://togithub.com/mui/material-ui/issues/34593))
[@​mnajdova](https://togithub.com/mnajdova)
- <!-- 10 -->\[core] Update root package.json version
([#​34592](https://togithub.com/mui/material-ui/issues/34592))
[@​mnajdova](https://togithub.com/mnajdova)
All contributors of this release in alphabetical order:
[@​HexM7](https://togithub.com/HexM7),
[@​joserodolfofreitas](https://togithub.com/joserodolfofreitas),
[@​kushagra010](https://togithub.com/kushagra010),
[@​michaldudak](https://togithub.com/michaldudak),
[@​mnajdova](https://togithub.com/mnajdova),
[@​oliviertassinari](https://togithub.com/oliviertassinari),
[@​vanyaxk](https://togithub.com/vanyaxk)
###
[`v5.10.6`](https://togithub.com/mui/material-ui/blob/HEAD/CHANGELOG.md#​5106)
[Compare
Source](https://togithub.com/mui/material-ui/compare/v5.10.3...v5.10.6)
<!-- generated comparing v5.10.5..master -->
*Sep 19, 2022*
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.10.6`
- \[TextField] Fix conflict with `Bootstrap` even when label is not
defined
([#​34343](https://togithub.com/mui/material-ui/issues/34343))
[@​ZeeshanTamboli](https://togithub.com/ZeeshanTamboli)
##### `@mui/joy@5.0.0-alpha.46`
##### Breaking changes
- \[button]\[joy] Replace `start/endIcon` prop with `start/endDecorator`
([#​34288](https://togithub.com/mui/material-ui/issues/34288))
[@​hbjORbj](https://togithub.com/hbjORbj)
**BREAKING CHANGE**: replace `start/endIcon` with `start/endDecorator`.
```jsx
// before
<Button startIcon={...} endIcon={...} />
// after
<Button startDecorator={...} endDecorator={...} />
```
##### Changes
- \[Joy] Adjust the `Input` and `Textarea` styles
([#​34281](https://togithub.com/mui/material-ui/issues/34281))
[@​siriwatknp](https://togithub.com/siriwatknp)
- \[menu]\[joy] Set disablePortal default to false
([#​34283](https://togithub.com/mui/material-ui/issues/34283))
[@​tomasz-sodzawiczny](https://togithub.com/tomasz-sodzawiczny)
##### `@mui/base@5.0.0-alpha.98`
##### Breaking changes
- \[Select]\[base] Add event parameter to the onChange callback
([#​34158](https://togithub.com/mui/material-ui/issues/34158))
[@​michaldudak](https://togithub.com/michaldudak)
The SelectUnstyled and MultiSelectUnstyled `onChange` callbacks did not
have event as the first parameter, leading to inconsistency with other
components and native HTML elements.
This PR adds the event parameter as the first one and moves the newly
selected value to the second position. Because of this, it's a breaking
change.
This also affects Select from Joy UI.
```jsx
// before
<SelectUnstyled onChange={(newValue) => { /* ... */ }} />
// after
<SelectUnstyled onChange={(event, newValue) => { /* ... */ }} />
```
##### Docs
- \[blog] The Date Pickers gets a stable v5 release
([#​34152](https://togithub.com/mui/material-ui/issues/34152))
[@​alexfauquette](https://togithub.com/alexfauquette)
- \[blog] Improve image handling
([#​34222](https://togithub.com/mui/material-ui/issues/34222))
[@​oliviertassinari](https://togithub.com/oliviertassinari)
- \[blog] Correct 2021 survey data interpretation
([#​34291](https://togithub.com/mui/material-ui/issues/34291))
[@​samuelsycamore](https://togithub.com/samuelsycamore)
- \[docs] Remove expired AospExtended showcase
[@​oliviertassinari](https://togithub.com/oliviertassinari)
- \[docs] Link the OpenSSF Best Practices card
([#​34331](https://togithub.com/mui/material-ui/issues/34331))
[@​oliviertassinari](https://togithub.com/oliviertassinari)
- \[docs] Fix 301 link to external projects
[@​oliviertassinari](https://togithub.com/oliviertassinari)
- \[docs] Move 12 component names to Title Case
([#​34188](https://togithub.com/mui/material-ui/issues/34188))
[@​oliviertassinari](https://togithub.com/oliviertassinari)
- \[docs] Fix broken links
([#​34320](https://togithub.com/mui/material-ui/issues/34320))
[@​alexfauquette](https://togithub.com/alexfauquette)
- \[docs] Add notification for MUI Base announcement post
([#​34295](https://togithub.com/mui/material-ui/issues/34295))
[@​samuelsycamore](https://togithub.com/samuelsycamore)
- \[website] Fix MUI X subscribe email border style
([#​34330](https://togithub.com/mui/material-ui/issues/34330))
[@​oliviertassinari](https://togithub.com/oliviertassinari)
- \[website] Improve security header
[@​oliviertassinari](https://togithub.com/oliviertassinari)
##### Core
- \[core] Lock file maintenance
([#​34161](https://togithub.com/mui/material-ui/issues/34161))
[@​renovate](https://togithub.com/renovate)\[bot]
- \[core] Issue template: move reproduction steps to the top
([#​34279](https://togithub.com/mui/material-ui/issues/34279))
[@​Janpot](https://togithub.com/Janpot)
- \[core] Create shared Next.js baseline config
([#​34259](https://togithub.com/mui/material-ui/issues/34259))
[@​oliviertassinari](https://togithub.com/oliviertassinari)
- \[core] In `typescript-to-proptypes`, respect the value pass to the
generic
([#​34311](https://togithub.com/mui/material-ui/issues/34311))
[@​flaviendelangle](https://togithub.com/flaviendelangle)
All contributors of this release in alphabetical order:
[@​alexfauquette](https://togithub.com/alexfauquette),
[@​flaviendelangle](https://togithub.com/flaviendelangle),
[@​hbjORbj](https://togithub.com/hbjORbj),
[@​Janpot](https://togithub.com/Janpot),
[@​michaldudak](https://togithub.com/michaldudak),
[@​oliviertassinari](https://togithub.com/oliviertassinari),
[@​renovate](https://togithub.com/renovate)\[bot],
[@​samuelsycamore](https://togithub.com/samuelsycamore),
[@​siriwatknp](https://togithub.com/siriwatknp),
[@​tomasz-sodzawiczny](https://togithub.com/tomasz-sodzawiczny),
[@​ZeeshanTamboli](https://togithub.com/ZeeshanTamboli)
</details>
<details>
<summary>mui/material-ui (@​mui/lab)</summary>
###
[`v5.0.0-alpha.107`](https://togithub.com/mui/material-ui/compare/30cb27cff1d4e1838ca4235ab4285e20f2b2a870...2f4c2190d1d3614d8063e84b79d4d1f034b3e3fe)
[Compare
Source](https://togithub.com/mui/material-ui/compare/30cb27cff1d4e1838ca4235ab4285e20f2b2a870...2f4c2190d1d3614d8063e84b79d4d1f034b3e3fe)
###
[`v5.0.0-alpha.106`](https://togithub.com/mui/material-ui/compare/c80ff0339882859af7e17f8bfd0a5f6880b323f8...30cb27cff1d4e1838ca4235ab4285e20f2b2a870)
[Compare
Source](https://togithub.com/mui/material-ui/compare/c80ff0339882859af7e17f8bfd0a5f6880b323f8...30cb27cff1d4e1838ca4235ab4285e20f2b2a870)
###
[`v5.0.0-alpha.105`](https://togithub.com/mui/material-ui/blob/HEAD/CHANGELOG.md#muibase500-alpha105)
[Compare
Source](https://togithub.com/mui/material-ui/compare/639224a3e3600cb0e04755d89aab250297b6d851...c80ff0339882859af7e17f8bfd0a5f6880b323f8)
- <!-- 26 -->\[base] Avoid calling setState during renders
([#​34916](https://togithub.com/mui/material-ui/issues/34916))
[@​Janpot](https://togithub.com/Janpot)
###
[`v5.0.0-alpha.104`](https://togithub.com/mui/material-ui/blob/HEAD/CHANGELOG.md#muibase500-alpha104)
[Compare
Source](https://togithub.com/mui/material-ui/compare/7bd7c219e2670ff7791148e9b1a1d2387528fc0c...639224a3e3600cb0e04755d89aab250297b6d851)
- <!-- 38 -->\[ButtonUnstyled] Update to render as link when href or to
is provided
([#​34337](https://togithub.com/mui/material-ui/issues/34337))
[@​EduardoSCosta](https://togithub.com/EduardoSCosta)
###
[`v5.0.0-alpha.103`](https://togithub.com/mui/material-ui/blob/HEAD/CHANGELOG.md#muibase500-alpha103)
[Compare
Source](https://togithub.com/mui/material-ui/compare/d4a3216cdd858899960f945d6e00b2d59bf1d5d1...7bd7c219e2670ff7791148e9b1a1d2387528fc0c)
##### BREAKING CHANGE
- \[base] `components` -> `slots` API rename
([#​34693](https://togithub.com/mui/material-ui/issues/34693))
[@​michaldudak](https://togithub.com/michaldudak)
- Change all occurrences of components and componentsProps props in Base
components to slots and slotProps, respectively.
- Change casing of slots' fields to camelCase
```diff
-<SwitchUnstyled components={{Root: CustomRoot}} componentsProps={{rail:
{ className: 'custom-rail' }}} />
+<SwitchUnstyled slots={{root: CustomRoot}} slotProps={{rail: {
className: 'custom-rail' }}} />
```
- \[base] Make CSS class prefixes consistent
([#​33411](https://togithub.com/mui/material-ui/issues/33411))
[@​michaldudak](https://togithub.com/michaldudak)
**This is a breaking change for anyone who depends on the class names
applied to Base components.**
If you use the `<component>UnstyledClasses` objects, you won't notice a
difference. Only if you depend on the resulting class names (e.g. in CSS
stylesheets), you'll have to adjust your code.
```diff
-.ButtonUnstyled-root { ... };
+.MuiButton-root { ... };
```
##### Changes
- \[test] Test all Base components with describeConformanceUnstyled
([#​34825](https://togithub.com/mui/material-ui/issues/34825))
[@​michaldudak](https://togithub.com/michaldudak)
###
[`v5.0.0-alpha.102`](https://togithub.com/mui/material-ui/blob/HEAD/CHANGELOG.md#muibase500-alpha102)
[Compare
Source](https://togithub.com/mui/material-ui/compare/d9ef6e788eee11256818329c7429242f8b769263...d4a3216cdd858899960f945d6e00b2d59bf1d5d1)
- \[MultiSelect]\[base] Prevent the renderValue prop from being
propagated to the DOM
([#​34698](https://togithub.com/mui/material-ui/issues/34698))
[@​michaldudak](https://togithub.com/michaldudak)
- \[NoSsr] Convert code to TypeScript
([#​34735](https://togithub.com/mui/material-ui/issues/34735))
[@​mbayucot](https://togithub.com/mbayucot)
###
[`v5.0.0-alpha.101`](https://togithub.com/mui/material-ui/blob/HEAD/CHANGELOG.md#muibase500-alpha101)
[Compare
Source](https://togithub.com/mui/material-ui/compare/0f75f3d78b67c405c23bfd14a29aedff367415b7...d9ef6e788eee11256818329c7429242f8b769263)
- <!-- 01 -->\[TrapFocus] Restore the previously exported type from
[@​mui/material](https://togithub.com/mui/material)
([#​34601](https://togithub.com/mui/material-ui/issues/34601))
[@​michaldudak](https://togithub.com/michaldudak)
###
[`v5.0.0-alpha.100`](https://togithub.com/mui/material-ui/blob/HEAD/CHANGELOG.md#muibase500-alpha100)
[Compare
Source](https://togithub.com/mui/material-ui/compare/594d87dab0e43e641a6826c935df8f2c10672955...0f75f3d78b67c405c23bfd14a29aedff367415b7)
- <!-- 04 -->\[SnackbarUnstyled] Create component and `useSnackbar`
hook
([#​33227](https://togithub.com/mui/material-ui/issues/33227))
[@​ZeeshanTamboli](https://togithub.com/ZeeshanTamboli)
###
[`v5.0.0-alpha.99`](https://togithub.com/mui/material-ui/blob/HEAD/CHANGELOG.md#muibase500-alpha99)
[Compare
Source](https://togithub.com/mui/material-ui/compare/95ba70ad1f8f30ba45c4cc0fa849693b75ddad6a...594d87dab0e43e641a6826c935df8f2c10672955)
##### Breaking changes
- \[TrapFocus] Rename TrapFocus to FocusTrap
([#​34216](https://togithub.com/mui/material-ui/issues/34216))
[@​kabernardes](https://togithub.com/kabernardes)
```diff
-import TrapFocus from '@​mui/base/TrapFocus';
+import FocusTrap from '@​mui/base/FocusTrap';
```
##### Changes
- \[MultiSelect] Require a single tap to select an item on mobile Chrome
([#​33932](https://togithub.com/mui/material-ui/issues/33932))
[@​michaldudak](https://togithub.com/michaldudak)
###
[`v5.0.0-alpha.98`](https://togithub.com/mui/material-ui/blob/HEAD/CHANGELOG.md#muibase500-alpha98)
[Compare
Source](https://togithub.com/mui/material-ui/compare/992421d0114a9df72d358fe6fccc28c1fb6f1505...95ba70ad1f8f30ba45c4cc0fa849693b75ddad6a)
##### Breaking changes
- \[Select]\[base] Add event parameter to the onChange callback
([#​34158](https://togithub.com/mui/material-ui/issues/34158))
[@​michaldudak](https://togithub.com/michaldudak)
The SelectUnstyled and MultiSelectUnstyled `onChange` callbacks did not
have event as the first parameter, leading to inconsistency with other
components and native HTML elements.
This PR adds the event parameter as the first one and moves the newly
selected value to the second position. Because of this, it's a breaking
change.
This also affects Select from Joy UI.
```jsx
// before
<SelectUnstyled onChange={(newValue) => { /* ... */ }} />
// after
<SelectUnstyled onChange={(event, newValue) => { /* ... */ }} />
```
</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:eyJjcmVhdGVkSW5WZXIiOiIzNC4xLjUiLCJ1cGRhdGVkSW5WZXIiOiIzNC4xOS4wIn0=-->
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-11-10 22:40:38 +01:00
|
|
|
"@mui/icons-material": "5.10.9",
|
|
|
|
"@mui/lab": "5.0.0-alpha.107",
|
|
|
|
"@mui/material": "5.10.13",
|
2022-10-06 02:56:01 +02:00
|
|
|
"@openapitools/openapi-generator-cli": "2.5.2",
|
2022-10-11 01:04:32 +02:00
|
|
|
"@testing-library/dom": "8.19.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",
|
2021-11-08 16:02:06 +01:00
|
|
|
"@types/deep-diff": "1.0.1",
|
2022-11-09 23:04:49 +01:00
|
|
|
"@types/jest": "29.2.2",
|
2022-04-28 16:57:43 +02:00
|
|
|
"@types/lodash.clonedeep": "4.5.7",
|
2022-02-25 10:55:39 +01:00
|
|
|
"@types/node": "17.0.18",
|
2022-10-27 23:07:30 +02:00
|
|
|
"@types/react": "17.0.52",
|
2022-10-28 02:38:23 +02:00
|
|
|
"@types/react-dom": "17.0.18",
|
2022-05-05 15:34:46 +02:00
|
|
|
"@types/react-router-dom": "5.3.3",
|
2022-05-11 18:38:49 +02:00
|
|
|
"@types/react-table": "7.7.12",
|
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",
|
2022-11-10 16:32:24 +01:00
|
|
|
"@uiw/codemirror-theme-duotone": "4.13.2",
|
2022-11-10 17:01:28 +01:00
|
|
|
"@uiw/react-codemirror": "4.13.2",
|
2022-10-28 23:28:28 +02:00
|
|
|
"@vitejs/plugin-react": "2.2.0",
|
2022-08-04 16:46:41 +02:00
|
|
|
"chart.js": "3.9.1",
|
2022-02-21 18:02:59 +01:00
|
|
|
"chartjs-adapter-date-fns": "2.0.0",
|
2022-10-07 04:41:23 +02:00
|
|
|
"classnames": "2.3.2",
|
2022-08-03 13:46:10 +02:00
|
|
|
"copy-to-clipboard": "3.3.2",
|
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",
|
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",
|
2022-11-10 08:21:34 +01:00
|
|
|
"eslint": "8.27.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",
|
2022-10-22 21:06:38 +02:00
|
|
|
"immer": "9.0.16",
|
2022-11-09 20:53:39 +01:00
|
|
|
"jsdom": "20.0.2",
|
2021-09-27 09:12:17 +02:00
|
|
|
"lodash.clonedeep": "4.5.0",
|
2022-10-12 17:19:37 +02:00
|
|
|
"millify": "^5.0.1",
|
2022-11-13 07:00:48 +01:00
|
|
|
"msw": "0.48.2",
|
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",
|
2022-06-17 14:16:53 +02:00
|
|
|
"prettier": "2.7.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",
|
2021-09-27 09:12:17 +02:00
|
|
|
"react-dom": "17.0.2",
|
2022-10-10 12:18:37 +02:00
|
|
|
"react-error-boundary": "3.1.4",
|
2022-08-23 11:51:17 +02:00
|
|
|
"react-hooks-global-state": "2.0.0",
|
2022-11-12 04:27:44 +01:00
|
|
|
"react-router-dom": "6.4.3",
|
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",
|
chore(deps): update dependency sass to v1.56.1 (#2376)
[![Mend
Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com)
This PR contains the following updates:
| Package | Change | Age | Adoption | Passing | Confidence |
|---|---|---|---|---|---|
| [sass](https://togithub.com/sass/dart-sass) | [`1.55.0` ->
`1.56.1`](https://renovatebot.com/diffs/npm/sass/1.55.0/1.56.1) |
[![age](https://badges.renovateapi.com/packages/npm/sass/1.56.1/age-slim)](https://docs.renovatebot.com/merge-confidence/)
|
[![adoption](https://badges.renovateapi.com/packages/npm/sass/1.56.1/adoption-slim)](https://docs.renovatebot.com/merge-confidence/)
|
[![passing](https://badges.renovateapi.com/packages/npm/sass/1.56.1/compatibility-slim/1.55.0)](https://docs.renovatebot.com/merge-confidence/)
|
[![confidence](https://badges.renovateapi.com/packages/npm/sass/1.56.1/confidence-slim/1.55.0)](https://docs.renovatebot.com/merge-confidence/)
|
---
### Release Notes
<details>
<summary>sass/dart-sass</summary>
###
[`v1.56.1`](https://togithub.com/sass/dart-sass/blob/HEAD/CHANGELOG.md#​1561)
[Compare
Source](https://togithub.com/sass/dart-sass/compare/1.56.0...1.56.1)
##### Embedded Sass
- Importer results now validate that `contents` is actually a string and
whether
`sourceMapUrl` is an absolute URL.
###
[`v1.56.0`](https://togithub.com/sass/dart-sass/blob/HEAD/CHANGELOG.md#​1560)
[Compare
Source](https://togithub.com/sass/dart-sass/compare/1.55.0...1.56.0)
- **Potentially breaking change:** To match the CSS spec, SassScript
expressions
beginning with `not` or `(` are no longer supported at the beginning of
parenthesized sections of media queries. For example,
```scss
@​media (width >= 500px) and (not (grid))
```
will now be emitted unchanged, instead of producing
```scss
@​media (width >= 500px) and (false)
```
See [the Sass website](https://sass-lang.com/d/media-logic) for details.
- **Potentially breaking bug fix:** Angle units like `rad` or `turn` are
now
properly converted to equivalent `deg` values for `hsl()`, `hsla()`,
`adjust-hue()`, `color.adjust()`, and `color.change()`.
See [the Sass website](https://sass-lang.com/d/function-units#hue) for
details.
- Fix indentation for selectors that span multiple lines in a `@media`
query.
- Emit a deprecation warning when passing `$alpha` values with units to
`color.adjust()` or `color.change()`. This will be an error in Dart Sass
2.0.0.
See [the Sass website](https://sass-lang.com/d/function-units#alpha) for
details.
- Emit a deprecation warning when passing a `$weight` value with no
units or
with units other than `%` to `color.mix()`. This will be an error in
Dart Sass
2.0.0.
See [the Sass website](https://sass-lang.com/d/function-units#weight)
for
details.
- Emit a deprecation warning when passing `$n` values with units to
`list.nth()`
or `list.set-nth()`. This will be an error in Dart Sass 2.0.0.
See [the Sass website](https://sass-lang.com/d/function-units#index) for
details.
- Improve existing deprecation warnings to wrap `/`-as-division
suggestions in
`calc()` expressions.
- Properly mark the warning for passing numbers with units to `random()`
as a
deprecation warning.
- Fix a bug where `@extend` could behave unpredicatably when used along
with
`meta.load-css()` and shared modules that contained no CSS themselves
but
loaded CSS from other modules.
##### Dart API
- Emit a deprecation warning when passing a `sassIndex` with units to
`Value.sassIndexToListIndex()`. This will be an error in Dart Sass
2.0.0.
##### JS API
- Importer results now validate whether `contents` is actually a string
type.
- Importer result argument errors are now rendered correctly.
</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:eyJjcmVhdGVkSW5WZXIiOiIzNC4xOS4wIiwidXBkYXRlZEluVmVyIjoiMzQuMTkuMCJ9-->
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-11-10 16:01:53 +01:00
|
|
|
"sass": "1.56.1",
|
2022-10-07 16:42:35 +02:00
|
|
|
"semver": "7.3.8",
|
2022-04-30 13:18:26 +02:00
|
|
|
"swr": "1.3.0",
|
2022-08-30 08:23:37 +02:00
|
|
|
"tss-react": "4.0.0",
|
2022-10-07 19:54:29 +02:00
|
|
|
"typescript": "4.8.4",
|
chore(deps): update dependency vite to v3.2.3 (#2364)
[![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)) | [`3.2.1` ->
`3.2.3`](https://renovatebot.com/diffs/npm/vite/3.2.1/3.2.3) |
[![age](https://badges.renovateapi.com/packages/npm/vite/3.2.3/age-slim)](https://docs.renovatebot.com/merge-confidence/)
|
[![adoption](https://badges.renovateapi.com/packages/npm/vite/3.2.3/adoption-slim)](https://docs.renovatebot.com/merge-confidence/)
|
[![passing](https://badges.renovateapi.com/packages/npm/vite/3.2.3/compatibility-slim/3.2.1)](https://docs.renovatebot.com/merge-confidence/)
|
[![confidence](https://badges.renovateapi.com/packages/npm/vite/3.2.3/confidence-slim/3.2.1)](https://docs.renovatebot.com/merge-confidence/)
|
---
### Release Notes
<details>
<summary>vitejs/vite</summary>
###
[`v3.2.3`](https://togithub.com/vitejs/vite/blob/HEAD/packages/vite/CHANGELOG.md#small323-2022-11-07-small)
[Compare
Source](https://togithub.com/vitejs/vite/compare/v3.2.2...v3.2.3)
- refactor: change style.innerHTML to style.textContent
([#​10801](https://togithub.com/vitejs/vite/issues/10801))
([8ea71b4](https://togithub.com/vitejs/vite/commit/8ea71b4)), closes
[#​10801](https://togithub.com/vitejs/vite/issues/10801)
- fix: add `@types/node` as an optional peer dependency
([#​10757](https://togithub.com/vitejs/vite/issues/10757))
([57916a4](https://togithub.com/vitejs/vite/commit/57916a4)), closes
[#​10757](https://togithub.com/vitejs/vite/issues/10757)
- fix: transform import.meta.glob when scan JS/TS
[#​10634](https://togithub.com/vitejs/vite/issues/10634)
([#​10635](https://togithub.com/vitejs/vite/issues/10635))
([c53ffec](https://togithub.com/vitejs/vite/commit/c53ffec)), closes
[#​10634](https://togithub.com/vitejs/vite/issues/10634)
[#​10635](https://togithub.com/vitejs/vite/issues/10635)
- fix(css): url() with variable in sass/less (fixes
[#​3644](https://togithub.com/vitejs/vite/issues/3644),
[#​7651](https://togithub.com/vitejs/vite/issues/7651))
([#​10741](https://togithub.com/vitejs/vite/issues/10741))
([fa2e47f](https://togithub.com/vitejs/vite/commit/fa2e47f)), closes
[#​3644](https://togithub.com/vitejs/vite/issues/3644)
[#​7651](https://togithub.com/vitejs/vite/issues/7651)
[#​10741](https://togithub.com/vitejs/vite/issues/10741)
- feat: add `vite:afterUpdate` event
([#​9810](https://togithub.com/vitejs/vite/issues/9810))
([1f57f84](https://togithub.com/vitejs/vite/commit/1f57f84)), closes
[#​9810](https://togithub.com/vitejs/vite/issues/9810)
- perf: improve `multilineCommentsRE` regex (fix
[#​10689](https://togithub.com/vitejs/vite/issues/10689))
([#​10751](https://togithub.com/vitejs/vite/issues/10751))
([51ed059](https://togithub.com/vitejs/vite/commit/51ed059)), closes
[#​10689](https://togithub.com/vitejs/vite/issues/10689)
[#​10751](https://togithub.com/vitejs/vite/issues/10751)
- perf: Use only one ps exec to find a Chromium browser opened on Mac OS
([#​10588](https://togithub.com/vitejs/vite/issues/10588))
([f199e90](https://togithub.com/vitejs/vite/commit/f199e90)), closes
[#​10588](https://togithub.com/vitejs/vite/issues/10588)
- chore: fix dev build replacing undefined
([#​10740](https://togithub.com/vitejs/vite/issues/10740))
([1358a3c](https://togithub.com/vitejs/vite/commit/1358a3c)), closes
[#​10740](https://togithub.com/vitejs/vite/issues/10740)
- chore: remove non used type definitions
([#​10738](https://togithub.com/vitejs/vite/issues/10738))
([ee8c7a6](https://togithub.com/vitejs/vite/commit/ee8c7a6)), closes
[#​10738](https://togithub.com/vitejs/vite/issues/10738)
- chore(deps): update dependency
[@​rollup/plugin-commonjs](https://togithub.com/rollup/plugin-commonjs)
to v23 ([#​10611](https://togithub.com/vitejs/vite/issues/10611))
([cc4be70](https://togithub.com/vitejs/vite/commit/cc4be70)), closes
[#​10611](https://togithub.com/vitejs/vite/issues/10611)
- chore(deps): update dependency
[@​rollup/plugin-dynamic-import-vars](https://togithub.com/rollup/plugin-dynamic-import-vars)
to v2 ([#​10726](https://togithub.com/vitejs/vite/issues/10726))
([326f782](https://togithub.com/vitejs/vite/commit/326f782)), closes
[#​10726](https://togithub.com/vitejs/vite/issues/10726)
###
[`v3.2.2`](https://togithub.com/vitejs/vite/blob/HEAD/packages/vite/CHANGELOG.md#small322-2022-10-31-small)
[Compare
Source](https://togithub.com/vitejs/vite/compare/47a78db49740daee873525de90d0e44b19883771...v3.2.2)
- chore: remove src/client from package
([#​10703](https://togithub.com/vitejs/vite/issues/10703))
([816842e](https://togithub.com/vitejs/vite/commit/816842e)), closes
[#​10703](https://togithub.com/vitejs/vite/issues/10703)
- chore(deps): update all non-major dependencies
([#​10725](https://togithub.com/vitejs/vite/issues/10725))
([22cfad8](https://togithub.com/vitejs/vite/commit/22cfad8)), closes
[#​10725](https://togithub.com/vitejs/vite/issues/10725)
- fix: remove loaded input sourcemap (fixes
[#​8411](https://togithub.com/vitejs/vite/issues/8411))
([#​10705](https://togithub.com/vitejs/vite/issues/10705))
([eb50e3a](https://togithub.com/vitejs/vite/commit/eb50e3a)), closes
[#​8411](https://togithub.com/vitejs/vite/issues/8411)
[#​10705](https://togithub.com/vitejs/vite/issues/10705)
- fix: tsconfig `jsx` overrides esbuild options, reverts
[#​10374](https://togithub.com/vitejs/vite/issues/10374)
([#​10714](https://togithub.com/vitejs/vite/issues/10714))
([aacf6a4](https://togithub.com/vitejs/vite/commit/aacf6a4)), closes
[#​10374](https://togithub.com/vitejs/vite/issues/10374)
[#​10714](https://togithub.com/vitejs/vite/issues/10714)
- docs(changelog): fix broken url
([#​10692](https://togithub.com/vitejs/vite/issues/10692))
([f937ccc](https://togithub.com/vitejs/vite/commit/f937ccc)), closes
[#​10692](https://togithub.com/vitejs/vite/issues/10692)
</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:eyJjcmVhdGVkSW5WZXIiOiIzNC4xOS4wIiwidXBkYXRlZEluVmVyIjoiMzQuMTkuMCJ9-->
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-11-09 23:30:23 +01:00
|
|
|
"vite": "3.2.3",
|
2022-08-18 15:56:39 +02:00
|
|
|
"vite-plugin-env-compatible": "1.1.1",
|
2022-10-19 19:33:20 +02:00
|
|
|
"vite-plugin-svgr": "2.2.2",
|
2022-10-21 03:56:06 +02:00
|
|
|
"vite-tsconfig-paths": "3.5.2",
|
chore(deps): update dependency vitest to v0.25.1 (#2384)
[![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.24.3` ->
`0.25.1`](https://renovatebot.com/diffs/npm/vitest/0.24.3/0.25.1) |
[![age](https://badges.renovateapi.com/packages/npm/vitest/0.25.1/age-slim)](https://docs.renovatebot.com/merge-confidence/)
|
[![adoption](https://badges.renovateapi.com/packages/npm/vitest/0.25.1/adoption-slim)](https://docs.renovatebot.com/merge-confidence/)
|
[![passing](https://badges.renovateapi.com/packages/npm/vitest/0.25.1/compatibility-slim/0.24.3)](https://docs.renovatebot.com/merge-confidence/)
|
[![confidence](https://badges.renovateapi.com/packages/npm/vitest/0.25.1/confidence-slim/0.24.3)](https://docs.renovatebot.com/merge-confidence/)
|
---
### Release Notes
<details>
<summary>vitest-dev/vitest</summary>
###
[`v0.25.1`](https://togithub.com/vitest-dev/vitest/releases/tag/v0.25.1)
[Compare
Source](https://togithub.com/vitest-dev/vitest/compare/v0.25.0...v0.25.1)
##### 🚀 Features
- Add `vi.setConfig` helper - by
[@​sheremet-va](https://togithub.com/sheremet-va) in
[https://github.com/vitest-dev/vitest/issues/2293](https://togithub.com/vitest-dev/vitest/issues/2293)
- Allow hooks to be executed in a stack or list - by
[@​sheremet-va](https://togithub.com/sheremet-va) in
[https://github.com/vitest-dev/vitest/issues/2294](https://togithub.com/vitest-dev/vitest/issues/2294)
##### 🐞 Bug Fixes
- Always rewrite defined jsdom keys - by
[@​sheremet-va](https://togithub.com/sheremet-va) in
[https://github.com/vitest-dev/vitest/issues/2290](https://togithub.com/vitest-dev/vitest/issues/2290)
- Default reporter regression - by
[@​antfu](https://togithub.com/antfu) in
[https://github.com/vitest-dev/vitest/issues/2292](https://togithub.com/vitest-dev/vitest/issues/2292)
- Don't fail `bench` when using options - by
[@​poyoho](https://togithub.com/poyoho) in
[https://github.com/vitest-dev/vitest/issues/2295](https://togithub.com/vitest-dev/vitest/issues/2295)
##### [View changes on
GitHub](https://togithub.com/vitest-dev/vitest/compare/v0.25.0...v0.25.1)
###
[`v0.25.0`](https://togithub.com/vitest-dev/vitest/releases/tag/v0.25.0)
[Compare
Source](https://togithub.com/vitest-dev/vitest/compare/v0.24.5...v0.25.0)
##### ✅ Builtin TypeChecking
In v0.25.0, Vitest allows you to write tests for your types, using
`expectTypeOf` or `assertType` syntaxes. By default all tests inside
`*.test-d.ts` files are considered type tests. Run `vitest typecheck` to
run type tests.
```ts
// my.test-d.ts
import { assertType, expectTypeOf } from 'vitest'
import { mount } from './mount.js'
test('my types work properly', () => {
expectTypeOf(mount).toBeFunction()
expectTypeOf(mount).parameter(0).toMatchTypeOf<{ name: string }>()
// @​ts-expect-error name is a string
assertType(mount({ name: 42 }))
})
```
Learn more at [the
documentation](https://vitest.dev/guide/testing-types.html) and this
[RFC](https://togithub.com/vitest-dev/vitest/issues/1954)
##### 🚨 Breaking Changes
- Return context in `startVitest()` - by
[@​antfu](https://togithub.com/antfu) in
[https://github.com/vitest-dev/vitest/issues/2072](https://togithub.com/vitest-dev/vitest/issues/2072)
##### 🚀 Features
- `onTestFailed` hook - by [@​antfu](https://togithub.com/antfu)
in
[https://github.com/vitest-dev/vitest/issues/2210](https://togithub.com/vitest-dev/vitest/issues/2210)
- Display error frame if present (like Vite) - by
[@​haikyuu](https://togithub.com/haikyuu) and
[@​sheremet-va](https://togithub.com/sheremet-va) in
[https://github.com/vitest-dev/vitest/issues/2257](https://togithub.com/vitest-dev/vitest/issues/2257)
- Benchmark table report - by
[@​poyoho](https://togithub.com/poyoho) in
[https://github.com/vitest-dev/vitest/issues/2179](https://togithub.com/vitest-dev/vitest/issues/2179)
- Add typechecking functionality - by
[@​sheremet-va](https://togithub.com/sheremet-va) and
[@​antfu](https://togithub.com/antfu) in
[https://github.com/vitest-dev/vitest/issues/2107](https://togithub.com/vitest-dev/vitest/issues/2107)
##### 🐞 Bug Fixes
- Clear full screen only in watch mode - by
[@​sheremet-va](https://togithub.com/sheremet-va)
[<samp>(c3d89)</samp>](https://togithub.com/vitest-dev/vitest/commit/c3d89504)
- Don't serialize symbols and immutables - by
[@​sheremet-va](https://togithub.com/sheremet-va) in
[https://github.com/vitest-dev/vitest/issues/2266](https://togithub.com/vitest-dev/vitest/issues/2266)
- Use --conditions instead of -C - by
[@​sheremet-va](https://togithub.com/sheremet-va) in
[https://github.com/vitest-dev/vitest/issues/2267](https://togithub.com/vitest-dev/vitest/issues/2267)
- Show correct stack trace in errors and console - by
[@​sheremet-va](https://togithub.com/sheremet-va) and
[@​antfu](https://togithub.com/antfu) in
[https://github.com/vitest-dev/vitest/issues/2248](https://togithub.com/vitest-dev/vitest/issues/2248)
- Align `.each` behavior with jest - by
[@​bartoszgolebiowski](https://togithub.com/bartoszgolebiowski)
and [@​antfu](https://togithub.com/antfu) in
[https://github.com/vitest-dev/vitest/issues/2064](https://togithub.com/vitest-dev/vitest/issues/2064)
- Remove undefined values in options - by
[@​g4rry420](https://togithub.com/g4rry420) and
[@​antfu](https://togithub.com/antfu) in
[https://github.com/vitest-dev/vitest/issues/2281](https://togithub.com/vitest-dev/vitest/issues/2281)
- **coverage**: Istanbul provider to preserve implicit else - by
[@​AriPerkkio](https://togithub.com/AriPerkkio) in
[https://github.com/vitest-dev/vitest/issues/2275](https://togithub.com/vitest-dev/vitest/issues/2275)
##### [View changes on
GitHub](https://togithub.com/vitest-dev/vitest/compare/v0.24.5...v0.25.0)
###
[`v0.24.5`](https://togithub.com/vitest-dev/vitest/releases/tag/v0.24.5)
[Compare
Source](https://togithub.com/vitest-dev/vitest/compare/v0.24.4...v0.24.5)
##### 🚀 Features
- **vite-node**: Trigger beforeFullReload / beforePrune / invalidate
hook - by [@​ycmjason](https://togithub.com/ycmjason) in
[https://github.com/vitest-dev/vitest/issues/2079](https://togithub.com/vitest-dev/vitest/issues/2079)
##### 🐞 Bug Fixes
- Respect folders with dot at the start, when mocking - by
[@​sheremet-va](https://togithub.com/sheremet-va) in
[https://github.com/vitest-dev/vitest/issues/2244](https://togithub.com/vitest-dev/vitest/issues/2244)
- Prevent using mocks in rpc - by
[@​sheremet-va](https://togithub.com/sheremet-va) in
[https://github.com/vitest-dev/vitest/issues/2254](https://togithub.com/vitest-dev/vitest/issues/2254)
- Show actual unhandled errors, serialize DOMErrors - by
[@​sheremet-va](https://togithub.com/sheremet-va) in
[https://github.com/vitest-dev/vitest/issues/2253](https://togithub.com/vitest-dev/vitest/issues/2253)
- Load deps reporter - by
[@​poyoho](https://togithub.com/poyoho) in
[https://github.com/vitest-dev/vitest/issues/2249](https://togithub.com/vitest-dev/vitest/issues/2249)
##### [View changes on
GitHub](https://togithub.com/vitest-dev/vitest/compare/v0.24.4...v0.24.5)
###
[`v0.24.4`](https://togithub.com/vitest-dev/vitest/releases/tag/v0.24.4)
[Compare
Source](https://togithub.com/vitest-dev/vitest/compare/v0.24.3...v0.24.4)
##### 🚀 Features
- **vite-node**: Don't exit on uncaughtException in watch mode - by
[@​poyoho](https://togithub.com/poyoho) in
[https://github.com/vitest-dev/vitest/issues/2186](https://togithub.com/vitest-dev/vitest/issues/2186)
##### 🐞 Bug Fixes
- Add/Update `repository` properties in `package.json` - by
[@​silverwind](https://togithub.com/silverwind) in
[https://github.com/vitest-dev/vitest/issues/2151](https://togithub.com/vitest-dev/vitest/issues/2151)
- Ignore benchmark.reporters in getSerializableConfig - by
[@​kainstar](https://togithub.com/kainstar) in
[https://github.com/vitest-dev/vitest/issues/2164](https://togithub.com/vitest-dev/vitest/issues/2164)
- Improve config's default exclude - by
[@​haikyuu](https://togithub.com/haikyuu) and
[@​sheremet-va](https://togithub.com/sheremet-va) in
[https://github.com/vitest-dev/vitest/issues/2188](https://togithub.com/vitest-dev/vitest/issues/2188)
- Always use node condition - by
[@​sheremet-va](https://togithub.com/sheremet-va) in
[https://github.com/vitest-dev/vitest/issues/1919](https://togithub.com/vitest-dev/vitest/issues/1919)
- Clear terminal output before running tests, show errors in correct
order - by [@​sheremet-va](https://togithub.com/sheremet-va) in
[https://github.com/vitest-dev/vitest/issues/2228](https://togithub.com/vitest-dev/vitest/issues/2228)
- Improve compatibility with native Node CJS resolution - by
[@​sheremet-va](https://togithub.com/sheremet-va) in
[https://github.com/vitest-dev/vitest/issues/2226](https://togithub.com/vitest-dev/vitest/issues/2226)
- Don't use resolved paths if they don't actually exist - by
[@​simon-abbott](https://togithub.com/simon-abbott) in
[https://github.com/vitest-dev/vitest/issues/1868](https://togithub.com/vitest-dev/vitest/issues/1868)
- **cli**:
- Set inputNamePattern to RegExp source instead of string - by
[@​rafedramzi](https://togithub.com/rafedramzi) in
[https://github.com/vitest-dev/vitest/issues/2201](https://togithub.com/vitest-dev/vitest/issues/2201)
- Normalize argument path - by
[@​poyoho](https://togithub.com/poyoho) in
[https://github.com/vitest-dev/vitest/issues/2180](https://togithub.com/vitest-dev/vitest/issues/2180)
- **coverage**:
- Trim URL parameters from file paths in istanbul coverage - by
[@​AriPerkkio](https://togithub.com/AriPerkkio) in
[https://github.com/vitest-dev/vitest/issues/2232](https://togithub.com/vitest-dev/vitest/issues/2232)
- Trim URL parameters from file paths in c8 coverage - by
[@​OrestHk](https://togithub.com/OrestHk) and
[@​sheremet-va](https://togithub.com/sheremet-va) in
[https://github.com/vitest-dev/vitest/issues/2181](https://togithub.com/vitest-dev/vitest/issues/2181)
- **reporter**:
- Load custom reporter using `executeFile` - by
[@​poyoho](https://togithub.com/poyoho) in
[https://github.com/vitest-dev/vitest/issues/2184](https://togithub.com/vitest-dev/vitest/issues/2184)
- **vitest**:
- Return detailed error when using toHaveReturnedWith - by
[@​azaleta](https://togithub.com/azaleta) in
[https://github.com/vitest-dev/vitest/issues/2163](https://togithub.com/vitest-dev/vitest/issues/2163)
##### [View changes on
GitHub](https://togithub.com/vitest-dev/vitest/compare/v0.24.3...v0.24.4)
</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:eyJjcmVhdGVkSW5WZXIiOiIzNC4xOS4wIiwidXBkYXRlZEluVmVyIjoiMzQuMTkuMCJ9-->
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-11-10 15:58:27 +01:00
|
|
|
"vitest": "0.25.1",
|
2022-08-26 14:49:44 +02:00
|
|
|
"whatwg-fetch": "3.6.2"
|
2017-02-23 22:18:23 +01:00
|
|
|
},
|
2022-10-14 11:44:59 +02:00
|
|
|
"resolutions": {
|
2022-11-11 13:54:09 +01:00
|
|
|
"@codemirror/state": "6.1.3",
|
2022-11-03 15:30:01 +01:00
|
|
|
"@xmldom/xmldom": "^0.8.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",
|
|
|
|
"import/no-anonymous-default-export": "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
|
|
|
}
|