mirror of
https://github.com/oven-sh/bun
synced 2026-02-10 10:58:56 +00:00
Replace brittle substring assertions with more robust patterns: - Line 3916: Use line-anchored pattern /^warn:[^\n]*...$/ to avoid matching across lines - Line 7637: Use line-based check with split/some to ensure no individual line contains the warning - Line 7720: Use line-based check with split/every for same purpose - Line 7828: Use word-boundary regex /\bunmet peer dependency\b/i - Line 7893: Use package-specific regex to target known packages - Line 7959: Normalize stderr by stripping ANSI codes before checking Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>