Pin dompurify to 3.3.1 to resolve Dependabot security alerts#1604
Merged
Pin dompurify to 3.3.1 to resolve Dependabot security alerts#1604
Conversation
Co-authored-by: TalZaccai <18443527+TalZaccai@users.noreply.github.com>
…utions Co-authored-by: TalZaccai <18443527+TalZaccai@users.noreply.github.com>
Copilot
AI
changed the title
[WIP] Fix lingering Dependabot security issues
Pin dompurify to 3.3.1 to resolve Dependabot security alerts
Mar 4, 2026
Contributor
|
@copilot please remove "resolutions" from package.json |
Co-authored-by: TalZaccai <18443527+TalZaccai@users.noreply.github.com>
Contributor
Author
TalZaccai
approved these changes
Mar 4, 2026
Contributor
There was a problem hiding this comment.
Pull request overview
This PR addresses two remaining Dependabot security alerts in website/ caused by dompurify@3.2.6 (a transitive dependency coming in through mermaid → @docusaurus/theme-mermaid). It pins dompurify to 3.3.1 using both npm overrides (for npm package manager) and yarn resolutions (required for Yarn v1, which CI uses via yarn install --frozen-lockfile), and regenerates the yarn.lock to reflect the upgrade.
Changes:
website/package.json: Adds"dompurify": "3.3.1"to theoverridessection and introduces a newresolutionssection with the same pin, ensuring both npm and Yarn v1 resolve the package correctly.website/yarn.lock: Bumps the resolved dompurify entry from3.2.6→3.3.1, and includes extensive automatic lock-file reorganizations (entry reordering, alias key consolidation, removal of platform-specific optional packages) produced by the lock file regeneration.
Reviewed changes
Copilot reviewed 1 out of 2 changed files in this pull request and generated no comments.
| File | Description |
|---|---|
website/package.json |
Adds "dompurify": "3.3.1" to npm overrides and a new resolutions block for Yarn v1 compatibility |
website/yarn.lock |
Upgrades dompurify from 3.2.6 to 3.3.1; large set of lock entry reorderings and alias key consolidations from the regeneration run |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
vazois
approved these changes
Mar 4, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Post-#1601, the remaining Dependabot alerts stem from
dompurify@3.2.6(transitive viamermaid→@docusaurus/theme-mermaid).Changes
website/package.json: Addeddompurify: "3.3.1"to npmoverrideswebsite/yarn.lock: Bumped dompurify 3.2.6 → 3.3.1Resolution status
>=3.1.3 <3.2.7>=3.1.3 <=3.3.1NuGet packages are clean (
dotnet list package --vulnerablereports zero issues).💬 We'd love your input! Share your thoughts on Copilot coding agent in our 2 minute survey.