fix(chart): raise recharts floor to ^3.9.0 so the crash fix can't regress

Review follow-up. The base fix left package.json at ^3.7.0, which still
permits 3.7.x/3.8.x — the exact versions whose useElementOffset render loop
white-screens the dashboard on mobile (PHP-LARAVEL-47). The floor lived only
in bun.lock and a code comment, so a future lockfile regeneration or a
deliberate pin within ^3.7.0 could silently reintroduce the crash with nothing
to stop it.

Bump the manifest constraint to ^3.9.0 (the minimum version carrying the
upstream fix) so `bun install --frozen-lockfile` and `npm ci` both enforce the
floor. Regenerating package-lock.json to match also resolves the pre-existing
bun.lock/package-lock.json divergence: both now resolve recharts 3.9.2. Only
the recharts subtree (immer, reselect) plus a few deep transitive patch bumps
changed; no core/bundle dependency versions moved.

Refs PHP-LARAVEL-47
This commit is contained in:
Víctor Falcón 2026-07-08 12:31:46 +02:00
parent 5f8c5e049e
commit 1054197dbb
3 changed files with 2537 additions and 42 deletions

View File

@ -51,7 +51,7 @@
"react": "^19.2.4",
"react-dom": "^19.2.4",
"react-markdown": "^10.1.0",
"recharts": "^3.7.0",
"recharts": "^3.9.0",
"remark-gfm": "^4.0.1",
"sonner": "^2.0.7",
"tailwind-merge": "^3.5.0",

2575
package-lock.json generated

File diff suppressed because it is too large Load Diff

View File

@ -91,7 +91,7 @@
"react": "^19.2.4",
"react-dom": "^19.2.4",
"react-markdown": "^10.1.0",
"recharts": "^3.7.0",
"recharts": "^3.9.0",
"remark-gfm": "^4.0.1",
"sonner": "^2.0.7",
"tailwind-merge": "^3.5.0",