Skip to content

Commit 29ec474

Browse files
fix(deps): update dependency recharts to v2.5.0 (#4354)
[![Mend Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com) This PR contains the following updates: | Package | Change | Age | Adoption | Passing | Confidence | |---|---|---|---|---|---| | [recharts](https://github.com/recharts/recharts) | [`2.4.3` -> `2.5.0`](https://renovatebot.com/diffs/npm/recharts/2.4.3/2.5.0) | [![age](https://badges.renovateapi.com/packages/npm/recharts/2.5.0/age-slim)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://badges.renovateapi.com/packages/npm/recharts/2.5.0/adoption-slim)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://badges.renovateapi.com/packages/npm/recharts/2.5.0/compatibility-slim/2.4.3)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://badges.renovateapi.com/packages/npm/recharts/2.5.0/confidence-slim/2.4.3)](https://docs.renovatebot.com/merge-confidence/) | --- ### Release Notes <details> <summary>recharts/recharts</summary> ### [`v2.5.0`](https://github.com/recharts/recharts/releases/tag/v2.5.0) [Compare Source](https://github.com/recharts/recharts/compare/v2.4.3...v2.5.0) #### What's Changed ##### Feat - `ResponsiveContainer`: `onResize` callback function by [@&#8203;ckifer](https://github.com/ckifer) in [https://github.com/recharts/recharts/pull/3361](https://github.com/recharts/recharts/pull/3361) - `XAxis`, `YAxis`: `includeHidden` prop - include all datapoints in domain calculation even when hidden by [@&#8203;neefrehman](https://github.com/neefrehman) in [https://github.com/recharts/recharts/pull/3103](https://github.com/recharts/recharts/pull/3103) - `XAxis`, `YAxis`: new interval option `equidistantPreserveStart` by [@&#8203;nikolasrieble](https://github.com/nikolasrieble) in [https://github.com/recharts/recharts/pull/3392](https://github.com/recharts/recharts/pull/3392) ##### Fix - `ResponsiveContainer`: default min-width to 0 to override default auto behavior that breaks flexbox layouts by [@&#8203;ckifer](https://github.com/ckifer) in [https://github.com/recharts/recharts/pull/3391](https://github.com/recharts/recharts/pull/3391) - `Area`: Add missing 'data' type to Area component by [@&#8203;ondrejvelisek](https://github.com/ondrejvelisek) in [https://github.com/recharts/recharts/pull/3443](https://github.com/recharts/recharts/pull/3443) - `Brush`/`XAxis`: fix NaN regression when `interval={0}` by [@&#8203;nikolasrieble](https://github.com/nikolasrieble) in [https://github.com/recharts/recharts/pull/3454](https://github.com/recharts/recharts/pull/3454) - `ReferenceArea`/`ReferenceLine`: revert regression where `ifOverflow` prop is not obeyed due to missing defaultProps by [@&#8203;ckifer](https://github.com/ckifer) in [https://github.com/recharts/recharts/pull/3455](https://github.com/recharts/recharts/pull/3455) ##### Docs - lots of storybook changes - [go check it out](https://master--63da8268a0da9970db6992aa.chromatic.com/)! ##### Dependencies - chore: explicitly upgrade minor version of react-smooth by [@&#8203;ckifer](https://github.com/ckifer) in [https://github.com/recharts/recharts/pull/3397](https://github.com/recharts/recharts/pull/3397) - chore: upgrade react-resize-detector to 8.x by [@&#8203;ckifer](https://github.com/ckifer) in [https://github.com/recharts/recharts/pull/3418](https://github.com/recharts/recharts/pull/3418) ##### Refactor - Refactoring: Adapt getTicks to increase reusability of code by [@&#8203;nikolasrieble](https://github.com/nikolasrieble) in [https://github.com/recharts/recharts/pull/3393](https://github.com/recharts/recharts/pull/3393) - Refactoring: Extract TicksUtils from CartesianAxis and add unit tests by [@&#8203;nikolasrieble](https://github.com/nikolasrieble) in [https://github.com/recharts/recharts/pull/3386](https://github.com/recharts/recharts/pull/3386) #### New Contributors - [@&#8203;ondrejvelisek](https://github.com/ondrejvelisek) made their first contribution in [https://github.com/recharts/recharts/pull/3443](https://github.com/recharts/recharts/pull/3443) **Full Changelog**: recharts/recharts@v2.4.3...v2.5.0 </details> --- ### Configuration 📅 **Schedule**: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined). 🚦 **Automerge**: Enabled. ♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox. 🔕 **Ignore**: Close this PR and you won't be reminded about this update again. --- - [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check this box --- This PR has been generated by [Mend Renovate](https://www.mend.io/free-developer-tools/renovate/). View repository job log [here](https://app.renovatebot.com/dashboard#github/SAP/ui5-webcomponents-react). <!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNS44LjMiLCJ1cGRhdGVkSW5WZXIiOiIzNS45LjAifQ==--> Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
1 parent 0cd6bc7 commit 29ec474

File tree

2 files changed

+29
-17
lines changed

2 files changed

+29
-17
lines changed

packages/charts/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@
2020
"dependencies": {
2121
"clsx": "1.2.1",
2222
"react-content-loader": "6.2.1",
23-
"recharts": "2.4.3"
23+
"recharts": "2.5.0"
2424
},
2525
"peerDependencies": {
2626
"@ui5/webcomponents-react": "^1.10.0",

yarn.lock

Lines changed: 28 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -5110,7 +5110,7 @@ __metadata:
51105110
dependencies:
51115111
clsx: 1.2.1
51125112
react-content-loader: 6.2.1
5113-
recharts: 2.4.3
5113+
recharts: 2.5.0
51145114
peerDependencies:
51155115
"@ui5/webcomponents-react": ^1.10.0
51165116
"@ui5/webcomponents-react-base": ^1.10.0
@@ -10345,10 +10345,10 @@ __metadata:
1034510345
languageName: node
1034610346
linkType: hard
1034710347

10348-
"fast-equals@npm:^2.0.0":
10349-
version: 2.0.4
10350-
resolution: "fast-equals@npm:2.0.4"
10351-
checksum: 1aac8a2e16b33e5e402bb5cd46be65f1ca331903c2c44e3bd75324e8472ee04f0acdbc6889e45fc28f9707ca3964f2a86789b32305d4d8b85dc97f61e446ef4b
10348+
"fast-equals@npm:^4.0.3":
10349+
version: 4.0.3
10350+
resolution: "fast-equals@npm:4.0.3"
10351+
checksum: 3d5935b757f9f2993e59b5164a7a9eeda0de149760495375cde14a4ed725186a7e6c1c0d58f7d42d2f91deb97f3fce1e0aad5591916ef0984278199a85c87c87
1035210352
languageName: node
1035310353
linkType: hard
1035410354

@@ -18152,17 +18152,29 @@ __metadata:
1815218152
languageName: node
1815318153
linkType: hard
1815418154

18155-
"react-smooth@npm:^2.0.1":
18156-
version: 2.0.1
18157-
resolution: "react-smooth@npm:2.0.1"
18155+
"react-resize-detector@npm:^8.0.4":
18156+
version: 8.0.4
18157+
resolution: "react-resize-detector@npm:8.0.4"
1815818158
dependencies:
18159-
fast-equals: ^2.0.0
18159+
lodash: ^4.17.21
18160+
peerDependencies:
18161+
react: ^16.0.0 || ^17.0.0 || ^18.0.0
18162+
react-dom: ^16.0.0 || ^17.0.0 || ^18.0.0
18163+
checksum: f53a99cc5413844a6fc2a713b0b1094d23947897c14ab64481938632f4e77fadded52d91a6619055abf6240c7cacd6cc7dd492ea866639b302f81df680709d45
18164+
languageName: node
18165+
linkType: hard
18166+
18167+
"react-smooth@npm:^2.0.2":
18168+
version: 2.0.2
18169+
resolution: "react-smooth@npm:2.0.2"
18170+
dependencies:
18171+
fast-equals: ^4.0.3
1816018172
react-transition-group: 2.9.0
1816118173
peerDependencies:
1816218174
prop-types: ^15.6.0
1816318175
react: ^15.0.0 || ^16.0.0 || ^17.0.0 || ^18.0.0
1816418176
react-dom: ^15.0.0 || ^16.0.0 || ^17.0.0 || ^18.0.0
18165-
checksum: 65678491cbd506573f2dba82778ebf8259714d68dd227e0ee7c0e204bcbc7839cf97401620b4223814066581f1dce0493f97162a03dc2a68058b5a7ad2b41085
18177+
checksum: 6b0a40a17314657ac6a187a3ad01fcdaa61d498979b6a07c424e20832110c99b4394c33209a0b39b897c13d113d8cb044e7a691b4965386a11b15bbfbacfba25
1816618178
languageName: node
1816718179
linkType: hard
1816818180

@@ -18427,24 +18439,24 @@ __metadata:
1842718439
languageName: node
1842818440
linkType: hard
1842918441

18430-
"recharts@npm:2.4.3":
18431-
version: 2.4.3
18432-
resolution: "recharts@npm:2.4.3"
18442+
"recharts@npm:2.5.0":
18443+
version: 2.5.0
18444+
resolution: "recharts@npm:2.5.0"
1843318445
dependencies:
1843418446
classnames: ^2.2.5
1843518447
eventemitter3: ^4.0.1
1843618448
lodash: ^4.17.19
1843718449
react-is: ^16.10.2
18438-
react-resize-detector: ^7.1.2
18439-
react-smooth: ^2.0.1
18450+
react-resize-detector: ^8.0.4
18451+
react-smooth: ^2.0.2
1844018452
recharts-scale: ^0.4.4
1844118453
reduce-css-calc: ^2.1.8
1844218454
victory-vendor: ^36.6.8
1844318455
peerDependencies:
1844418456
prop-types: ^15.6.0
1844518457
react: ^16.0.0 || ^17.0.0 || ^18.0.0
1844618458
react-dom: ^16.0.0 || ^17.0.0 || ^18.0.0
18447-
checksum: 8ebc2232340874b48089dca855a87c9201eceb13c31285273fe1b5582ce4debd99c85781425015ddf38eb8211def3eb09088e586af600eb0f2bd9d55ce5d3fd4
18459+
checksum: a40d1788589926fa8a5844868a338aae75a2077a2bc2ac57fc5d61ad21fb62660aed6f00ae8d8a94948b9143255c1760db0d386ecb257ed8290dd7f164b5bd5f
1844818460
languageName: node
1844918461
linkType: hard
1845018462

0 commit comments

Comments
 (0)