Skip to content

npm audit fix#6921

Merged
compwron merged 2 commits intomainfrom
future-b
May 3, 2026
Merged

npm audit fix#6921
compwron merged 2 commits intomainfrom
future-b

Conversation

@compwron
Copy link
Copy Markdown
Collaborator

@compwron compwron commented May 3, 2026

No description provided.

@github-actions github-actions Bot added dependencies Touches dependency files javascript Touches JavaScript code labels May 3, 2026
@compwron compwron requested a review from Copilot May 3, 2026 05:04
Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copilot wasn't able to review any files in this pull request.

sweetalert2 11.16+ calls window.matchMedia during render to detect
prefers-reduced-motion. jsdom doesn't implement matchMedia, so the
npm-audit-fix bump from 11.15.10 -> 11.26.24 broke the two Jest specs
that exercise Swal.fire.

Stub matchMedia in the existing Jest setup file so popups render in
tests. No application code changes.
@compwron compwron requested a review from schoork as a code owner May 3, 2026 05:28
@compwron compwron merged commit d9cec73 into main May 3, 2026
13 checks passed
@compwron compwron deleted the future-b branch May 3, 2026 06:01
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependencies Touches dependency files javascript Touches JavaScript code

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants