gjoseph / spenno

0 stars 0 forks source link

Update dependency recharts to v2.1.16 #191

Open renovate[bot] opened 2 years ago

renovate[bot] commented 2 years ago

This PR contains the following updates:

Package Change Age Adoption Passing Confidence
recharts 2.1.9 -> 2.1.16 age adoption passing confidence

Release Notes

recharts/recharts (recharts) ### [`v2.1.16`](https://togithub.com/recharts/recharts/blob/HEAD/CHANGELOG.md#2116-Oct-29-2022) [Compare Source](https://togithub.com/recharts/recharts/compare/v2.1.15...v2.1.16) ##### fix - Fix incorrect date in CHAGELOG ([#​3016](https://togithub.com/recharts/recharts/issues/3016)) - Let formatter function run even when value is falsy ([#​3026](https://togithub.com/recharts/recharts/issues/3026)) - Fix(Sankey): update tooltip active state by trigger type(hover/click) ([#​3021](https://togithub.com/recharts/recharts/issues/3021)) - Fix Area's `baseValue` prop ([#​3013](https://togithub.com/recharts/recharts/issues/3013)) ### [`v2.1.15`](https://togithub.com/recharts/recharts/blob/HEAD/CHANGELOG.md#2115-Oct-12-2022) [Compare Source](https://togithub.com/recharts/recharts/compare/v2.1.14...v2.1.15) ##### fix - Fix scroll on hover - DefaultTooltipContent.tsx Solving type error for entry.value and entry.name ##### chore - Revert D3 version ### [`v2.1.14`](https://togithub.com/recharts/recharts/blob/HEAD/CHANGELOG.md#2114-Sep-7-2022) [Compare Source](https://togithub.com/recharts/recharts/compare/v2.1.13...v2.1.14) ##### fix - Add inactiveShape prop to Pie component ([#​2900](https://togithub.com/recharts/recharts/issues/2900)) - Revert "chore: move type deps into devDependencies ([#​2843](https://togithub.com/recharts/recharts/issues/2843))" ([#​2942](https://togithub.com/recharts/recharts/issues/2942)) - Fix typing of default tooltip formatter ([#​2924](https://togithub.com/recharts/recharts/issues/2924)) - Take letter-spacing and font-size into consideration while rendering ticks ([#​2898](https://togithub.com/recharts/recharts/issues/2898)) - Add formatter function type to tooltip props ([#​2916](https://togithub.com/recharts/recharts/issues/2916)) - doc: Update CHANGELOG.md about d3 7.x ([#​2919](https://togithub.com/recharts/recharts/issues/2919)) ### [`v2.1.13`](https://togithub.com/recharts/recharts/blob/HEAD/CHANGELOG.md#2113-Jul-26-2022) [Compare Source](https://togithub.com/recharts/recharts/compare/v2.1.12...v2.1.13) ##### fix - set animate flag before chart data update ([#​2911](https://togithub.com/recharts/recharts/issues/2911)) - Error bar domain fix ([#​2863](https://togithub.com/recharts/recharts/issues/2863)) - fix: fix "recharts@… doesn't provide prop-types, requested by react-smooth" warning ([#​2895](https://togithub.com/recharts/recharts/issues/2895)) ##### chore - upgrade d3 ([#​2893](https://togithub.com/recharts/recharts/issues/2893)) ### [`v2.1.12`](https://togithub.com/recharts/recharts/blob/HEAD/CHANGELOG.md#2112-Jun-27-2022) [Compare Source](https://togithub.com/recharts/recharts/compare/v2.1.11...v2.1.12) ##### fix - update react-smooth version - update d3 from 6.x to 7.x it may break some tools like jest fix config for jest is to add the following configuration ```javascript const path = require('path'); // took from d3/package.json const d3Pkgs = [ 'd3', 'd3-array', 'd3-axis', 'd3-brush', 'd3-chord', 'd3-color', 'd3-contour', 'd3-delaunay', 'd3-dispatch', 'd3-drag', 'd3-dsv', 'd3-ease', 'd3-fetch', 'd3-force', 'd3-format', 'd3-geo', 'd3-hierarchy', 'd3-interpolate', 'd3-path', 'd3-polygon', 'd3-quadtree', 'd3-random', 'd3-scale', 'd3-scale-chromatic', 'd3-selection', 'd3-shape', 'd3-time', 'd3-time-format', 'd3-timer', 'd3-transition', 'd3-zoom', ]; // option 1 map module to an bundled version of the package which is es5 const moduleNameMapper = d3Pkgs.reduce((acc, pkg) => { acc[`^${pkg}$`] = path.join(require.resolve(pkg), `../../dist/${pkg}.min.js`); return acc; }, {}); module.exports = { moduleNameMapper: { // option 1 // ...moduleNameMapper }, transform: { // match mjs js jsx ts tsx '^.+\\.m?[jt]sx?$': 'babel-jest', }, // stop ignore node_modules transform since d3 and others start to put es6 as main of packages transformIgnorePatterns: [ // option 2, stop ignore transform on es6 packages `/node_modules/(?!${d3Pkgs.join('|')}|internmap|d3-delaunay|delaunator|robust-predicates)`, // option 3, stop ignore transform on all node_modules // `/node_modules/(?!.*)`, ], }; ``` ### [`v2.1.11`](https://togithub.com/recharts/recharts/blob/HEAD/CHANGELOG.md#2111-Jun-24-2022) [Compare Source](https://togithub.com/recharts/recharts/compare/v2.1.10...v2.1.11) ##### feat - Adds react `^18.0.0` as valid peerDependency ([#​2820](https://togithub.com/recharts/recharts/issues/2820)) ### [`v2.1.10`](https://togithub.com/recharts/recharts/blob/HEAD/CHANGELOG.md#2110-May-19-2022) [Compare Source](https://togithub.com/recharts/recharts/compare/v2.1.9...v2.1.10) ##### feat - Add ARIA1.2 attributes to the SvgElementPropKeys filter array - Added Storybook Badge ([#​2840](https://togithub.com/recharts/recharts/issues/2840)) - Handling of undefined values and type checks in DefaultTooltipContent ##### fix - Axis scale=band no longer works as of Recharts 2.x.x ([#​2742](https://togithub.com/recharts/recharts/issues/2742)) ##### chore - chore: move type deps into devDependencies ([#​2843](https://togithub.com/recharts/recharts/issues/2843))

Configuration

📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).

🚦 Automerge: Enabled.

Rebasing: Whenever PR is behind base branch, or you tick the rebase/retry checkbox.

🔕 Ignore: Close this PR and you won't be reminded about this update again.



This PR was generated by Mend Renovate. View the repository job log.

renovate[bot] commented 2 years ago

⚠ Artifact update problem

Renovate failed to update an artifact related to this branch. You probably do not want to merge this PR as-is.

♻ Renovate will retry this branch, including artifacts, only when one of the following happens:

The artifact failure details are included below:

File name: package-lock.json
npm ERR! code ERESOLVE
npm ERR! ERESOLVE could not resolve
npm ERR! 
npm ERR! While resolving: @mui/x-data-grid@5.8.0
npm ERR! Found: react@18.0.0
npm ERR! node_modules/react
npm ERR!   react@"18.0.0" from the root project
npm ERR!   peer react@">=16.8.0" from @emotion/react@11.9.0
npm ERR!   node_modules/@emotion/react
npm ERR!     @emotion/react@"11.9.0" from the root project
npm ERR!     peer @emotion/react@"^11.0.0-rc.0" from @emotion/styled@11.8.1
npm ERR!     node_modules/@emotion/styled
npm ERR!       @emotion/styled@"11.8.1" from the root project
npm ERR!       3 more (@mui/material, @mui/styled-engine, @mui/system)
npm ERR!     3 more (@mui/material, @mui/styled-engine, @mui/system)
npm ERR!   14 more (@emotion/styled, @mui/base, @mui/icons-material, ...)
npm ERR! 
npm ERR! Could not resolve dependency:
npm ERR! peer react@"^17.0.2" from @mui/x-data-grid@5.8.0
npm ERR! node_modules/@mui/x-data-grid
npm ERR!   @mui/x-data-grid@"5.8.0" from the root project
npm ERR! 
npm ERR! Conflicting peer dependency: react@17.0.2
npm ERR! node_modules/react
npm ERR!   peer react@"^17.0.2" from @mui/x-data-grid@5.8.0
npm ERR!   node_modules/@mui/x-data-grid
npm ERR!     @mui/x-data-grid@"5.8.0" from the root project
npm ERR! 
npm ERR! Fix the upstream dependency conflict, or retry
npm ERR! this command with --force, or --legacy-peer-deps
npm ERR! to accept an incorrect (and potentially broken) dependency resolution.
npm ERR! 
npm ERR! See /tmp/renovate-cache/others/npm/eresolve-report.txt for a full report.

npm ERR! A complete log of this run can be found in:
npm ERR!     /tmp/renovate-cache/others/npm/_logs/2022-11-20T14_13_24_552Z-debug-0.log