🐛 Unblock CLI dependency update PR#248
Conversation
Carry forward the Dependabot lockfile update and fix the Biome 2.4.13 lint findings so the dependency upgrade can merge cleanly.
Vizzly - Visual Test ResultsCLI Reporter - 1 change needs review
|
Code ReviewOverviewThis PR carries forward the Dependabot lockfile bump of Biome from 2.4.12 → 2.4.13 and fixes the lint findings it surfaces — all of which are optional-chaining style cleanups. It's a focused, low-risk maintenance change. Code QualityOptional chaining refactors — all 11 occurrences are semantically equivalent to the original two-part null guards ( One worth a second look in // Before
if (!container || !image || !image.naturalWidth) return;
// After
if (!container || !image?.naturalWidth) return;The implicit merge of In if (!hotspotAnalysis?.regions || hotspotAnalysis.regions.length === 0) {If Type declaration re-ordering ( Potential IssuesNone. Every change is a mechanical lint fix with no behaviour difference. Performance / SecurityNo concerns. Pure style changes driven by Biome's updated lint rules. Test CoverageNo test changes needed — these are equivalent rewrites, not logic changes. The PR description confirms SummaryClean, minimal PR. All optional-chaining substitutions are correct, the lockfile bump is straightforward, and there are no hidden behaviour changes. Approved — safe to merge. |

Summary
Verification
Supersedes #246 because the Dependabot branch is not maintainer-editable.