reactjs / react-tabs

An accessible and easy tab component for ReactJS.
https://reactcommunity.org/react-tabs/
MIT License
3.1k stars 447 forks source link

chore(deps): update dependency react-live to v3 #499

Closed renovate[bot] closed 1 year ago

renovate[bot] commented 2 years ago

Mend Renovate

This PR contains the following updates:

Package Change Age Adoption Passing Confidence
react-live 2.4.1 -> 3.1.2 age adoption passing confidence

Release Notes

philpl/react-live ### [`v3.1.2`](https://togithub.com/philpl/react-live/compare/v3.1.1...v3.1.2) [Compare Source](https://togithub.com/philpl/react-live/compare/v3.1.1...v3.1.2) ### [`v3.1.1`](https://togithub.com/FormidableLabs/react-live/releases/tag/v3.1.1) [Compare Source](https://togithub.com/philpl/react-live/compare/v3.1.0...v3.1.1) ##### πŸ› Bugfixes πŸ› - add spellCheck=false to stop Editor underlining code by [@​jpdriver](https://togithub.com/jpdriver) in [https://github.com/FormidableLabs/react-live/pull/316](https://togithub.com/FormidableLabs/react-live/pull/316) **Full Changelog**: https://github.com/FormidableLabs/react-live/compare/v3.1.0...v3.1.1 > This pre-release is currently available on NPM via `yarn add react-live@next` ### [`v3.1.0`](https://togithub.com/FormidableLabs/react-live/releases/tag/v3.1.0) [Compare Source](https://togithub.com/philpl/react-live/compare/v3.0.0...v3.1.0) ##### ✨ Features ✨ - update prism-react-renderer by [@​jpdriver](https://togithub.com/jpdriver) in [https://github.com/FormidableLabs/react-live/pull/314](https://togithub.com/FormidableLabs/react-live/pull/314) ##### πŸ› Bugfixes πŸ› ##### introduced in `v3.0.0` - update sucrase by [@​jpdriver](https://togithub.com/jpdriver) in [https://github.com/FormidableLabs/react-live/pull/313](https://togithub.com/FormidableLabs/react-live/pull/313) ##### πŸ” Security πŸ” - remove Object.assign polyfill by [@​jpdriver](https://togithub.com/jpdriver) in [https://github.com/FormidableLabs/react-live/pull/312](https://togithub.com/FormidableLabs/react-live/pull/312) **Full Changelog**: https://github.com/FormidableLabs/react-live/compare/v3.0.0...v3.1.0 ### [`v3.0.0`](https://togithub.com/FormidableLabs/react-live/releases/tag/v3.0.0) [Compare Source](https://togithub.com/philpl/react-live/compare/v2.4.1...v3.0.0) This release contains significant internal changes. Prior to `v3.0.0`, earlier versions of the library used different internals. We recommend using the latest version you can. |Version|Supported React version|Editor |Transpiler |-------|-----------------------|--------------------------|---------- |v3.x.x |v17.x.x |`use-editable` |`Sucrase` |v2.x.x |v16.x.x |`react-simple-code-editor`|`BublΓ©` Additionally, several members of the community reported an issue introduced in `2.3.0` which threw the following Invariant error: Error: Invalid hook call. Hooks can only be called inside of the body of a function component. This could happen for one of the following reasons: 1. You might have mismatching versions of React and the renderer (such as React DOM) 2. You might be breaking the Rules of Hooks 3. You might have more than one copy of React in the same app See https://fb.me/react-invalid-hook-call for tips about how to debug and fix this problem. This appears to have been cause by differing React versions between React Live and projects targeting React 17. Upgrading to this new release should address that issue. *** ##### 🚨 Breaking 🚨 - swap Buble for Sucrase by [@​jpdriver](https://togithub.com/jpdriver) in [https://github.com/FormidableLabs/react-live/pull/295](https://togithub.com/FormidableLabs/react-live/pull/295) - this removes the `transpileOptions` prop as Sucrase does not require additional options ##### ✨ Features ✨ - switch from `react-simple-code-editor` to `use-editable` by [@​jpdriver](https://togithub.com/jpdriver) in [https://github.com/FormidableLabs/react-live/pull/266](https://togithub.com/FormidableLabs/react-live/pull/266) - see for more - upgrade to React 17 by [@​jpdriver](https://togithub.com/jpdriver) in [https://github.com/FormidableLabs/react-live/pull/293](https://togithub.com/FormidableLabs/react-live/pull/293) - Add `prism` prop to Editor by [@​srmagura](https://togithub.com/srmagura) in [https://github.com/FormidableLabs/react-live/pull/287](https://togithub.com/FormidableLabs/react-live/pull/287) - Support async `transformCode`, catch transformCode errors by [@​srmagura](https://togithub.com/srmagura) in [https://github.com/FormidableLabs/react-live/pull/285](https://togithub.com/FormidableLabs/react-live/pull/285) ##### πŸ› Bugfixes πŸ› ##### introduced in `v2.4.1` or earlier - fix updating `code` prop for `Editor` component by [@​andgra](https://togithub.com/andgra) in [https://github.com/FormidableLabs/react-live/pull/271](https://togithub.com/FormidableLabs/react-live/pull/271) ##### introduced in RC releases for `v3.0.0` - chore: pass `style` prop to inner div by [@​thiskevinwang](https://togithub.com/thiskevinwang) in [https://github.com/FormidableLabs/react-live/pull/299](https://togithub.com/FormidableLabs/react-live/pull/299) - ensure `font-family` is respected by [@​jpdriver](https://togithub.com/jpdriver) in [https://github.com/FormidableLabs/react-live/pull/300](https://togithub.com/FormidableLabs/react-live/pull/300) ##### πŸ” Security πŸ” - upgrade dependencies by [@​jpdriver](https://togithub.com/jpdriver) in [https://github.com/FormidableLabs/react-live/pull/291](https://togithub.com/FormidableLabs/react-live/pull/291) - cleanup dependencies by [@​jpdriver](https://togithub.com/jpdriver) in [https://github.com/FormidableLabs/react-live/pull/298](https://togithub.com/FormidableLabs/react-live/pull/298) ##### πŸ“– Documentation πŸ“– - Update images in README to use https by [@​melvin-chen](https://togithub.com/melvin-chen) in [https://github.com/FormidableLabs/react-live/pull/294](https://togithub.com/FormidableLabs/react-live/pull/294) - fixup demo site by [@​jpdriver](https://togithub.com/jpdriver) in [https://github.com/FormidableLabs/react-live/pull/296](https://togithub.com/FormidableLabs/react-live/pull/296) ##### πŸ‘©πŸ»β€πŸ’»New Contributors πŸ‘¨πŸΏβ€πŸ’» - [@​melvin-chen](https://togithub.com/melvin-chen) made their first contribution in [https://github.com/FormidableLabs/react-live/pull/294](https://togithub.com/FormidableLabs/react-live/pull/294) - [@​andgra](https://togithub.com/andgra) made their first contribution in [https://github.com/FormidableLabs/react-live/pull/271](https://togithub.com/FormidableLabs/react-live/pull/271) - [@​thiskevinwang](https://togithub.com/thiskevinwang) made their first contribution in [https://github.com/FormidableLabs/react-live/pull/299](https://togithub.com/FormidableLabs/react-live/pull/299) - [@​srmagura](https://togithub.com/srmagura) made their first contribution in [https://github.com/FormidableLabs/react-live/pull/287](https://togithub.com/FormidableLabs/react-live/pull/287) **Full Changelog**: https://github.com/FormidableLabs/react-live/compare/v2.4.1...v3.0.0

Configuration

πŸ“… Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).

🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

β™» Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.

πŸ”• Ignore: Close this PR and you won't be reminded about this update again.



This PR has been generated by Mend Renovate. View repository job log here.

github-actions[bot] commented 2 years ago

πŸ“Š Package size report   No changes

File Before (Size / Gzip) After (Size / Gzip)
Total (Includes all files) 59.7 kB / 20.7 kB 59.7 kB / 20.7 kB
Tarball size 12.6 kB 0.02%↑12.6 kB
Unchanged files | File | Size (Size / Gzip) | | ------------------------------------------------------------------------------------------------------------------- | -------------------: | | `esm/components/Tab.js` | `1.5 kB` / `628 B` | | `esm/components/TabList.js` | `671 B` / `332 B` | | `esm/components/TabPanel.js` | `989 B` / `453 B` | | `esm/components/Tabs.js` | `2.9 kB` / `1.0 kB` | | `esm/components/UncontrolledTabs.js` | `6.2 kB` / `1.8 kB` | | `esm/helpers/childrenDeepMap.js` | `846 B` / `299 B` | | `esm/helpers/count.js` | `205 B` / `158 B` | | `esm/helpers/elementTypes.js` | `244 B` / `142 B` | | `esm/helpers/propTypes.js` | `2.6 kB` / `927 B` | | `esm/index.js` | `200 B` / `94 B` | | [`index.d.ts`](https://github.com/reactjs/react-tabs/blob/renovate/react-live-3.x/index.d.ts) | `2.0 kB` / `540 B` | | `lib/components/Tab.js` | `2.9 kB` / `1.0 kB` | | `lib/components/TabList.js` | `1.0 kB` / `427 B` | | `lib/components/TabPanel.js` | `1.3 kB` / `551 B` | | `lib/components/Tabs.js` | `4.3 kB` / `1.5 kB` | | `lib/components/UncontrolledTabs.js` | `7.7 kB` / `2.2 kB` | | `lib/helpers/childrenDeepMap.js` | `1.0 kB` / `344 B` | | `lib/helpers/count.js` | `325 B` / `194 B` | | `lib/helpers/elementTypes.js` | `396 B` / `195 B` | | `lib/helpers/propTypes.js` | `2.8 kB` / `980 B` | | `lib/index.js` | `568 B` / `216 B` | | [`LICENSE`](https://github.com/reactjs/react-tabs/blob/renovate/react-live-3.x/LICENSE) | `1.1 kB` / `646 B` | | [`package.json`](https://github.com/reactjs/react-tabs/blob/renovate/react-live-3.x/package.json) | `3.2 kB` / `1.2 kB` | | [`README.md`](https://github.com/reactjs/react-tabs/blob/renovate/react-live-3.x/README.md) | `12.1 kB` / `3.6 kB` | | [`style/react-tabs.css`](https://github.com/reactjs/react-tabs/blob/renovate/react-live-3.x/style/react-tabs.css) | `842 B` / `369 B` | | [`style/react-tabs.less`](https://github.com/reactjs/react-tabs/blob/renovate/react-live-3.x/style/react-tabs.less) | `879 B` / `393 B` | | [`style/react-tabs.scss`](https://github.com/reactjs/react-tabs/blob/renovate/react-live-3.x/style/react-tabs.scss) | `879 B` / `393 B` |

πŸ€– This report was automatically generated by pkg-size-action

codecov-commenter commented 2 years ago

Codecov Report

Merging #499 (9d913f2) into main (50f866e) will not change coverage. The diff coverage is n/a.

@@           Coverage Diff           @@
##             main     #499   +/-   ##
=======================================
  Coverage   99.08%   99.08%           
=======================================
  Files           9        9           
  Lines         328      328           
  Branches      104      104           
=======================================
  Hits          325      325           
  Misses          3        3           

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.

renovate[bot] commented 1 year ago

Edited/Blocked Notification

Renovate will not automatically rebase this PR, because it does not recognize the last commit author and assumes somebody else may have edited the PR.

You can manually request rebase by checking the rebase/retry box above.

⚠ Warning: custom changes will be lost.

github-actions[bot] commented 1 year ago

:tada: This PR is included in version 6.0.1 :tada:

The release is available on:

Your semantic-release bot :package::rocket: