Skip to content

fix(deps): update dompurify to v3.2.6 and fix associated tests #253

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
May 23, 2025

Conversation

cwillisf
Copy link
Contributor

Resolves

Proposed Changes

  • Update dompurify to version 3.2.6
  • Adjust attribute order for tests/fixtures/*.sanitized.svg to match
  • Adjust sanitization test to report file names

Reason for Changes

Previous versions of dompurify changed SVG attribute order as a side effect. This new version does not. The tests would ideally ignore attribute order, but for now, I've just corrected it to match.

Test Coverage

Covered 👍

Previous versions of dompurify changed SVG attribute order as a side
effect. This new version does not. The tests should probably ignore
attribute order, but for now I've just corrected it to match.
@cwillisf cwillisf requested a review from a team as a code owner May 22, 2025 22:39
@cwillisf cwillisf added this pull request to the merge queue May 23, 2025
Merged via the queue into develop with commit 84337c0 May 23, 2025
3 checks passed
@github-actions github-actions bot locked and limited conversation to collaborators May 23, 2025
@cwillisf cwillisf deleted the dompurify-3.2.6 branch May 23, 2025 14:28
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants