Skip to content

chore: fix undici and flatted dependabot alerts, update yarn to 4.12.0#364

Merged
jonathannorris merged 1 commit intomainfrom
fix/dependabot-undici-flatted
Mar 17, 2026
Merged

chore: fix undici and flatted dependabot alerts, update yarn to 4.12.0#364
jonathannorris merged 1 commit intomainfrom
fix/dependabot-undici-flatted

Conversation

@jonathannorris
Copy link
Copy Markdown
Member

Summary

  • Add yarn resolutions to bump undici and flatted to patched versions
  • Update Yarn from 4.4.0 to 4.12.0

Alerts Addressed

Package Severity Issue Resolved Version
undici High WebSocket memory/crash exploits, CRLF injection, request smuggling 6.24.1
flatted High Unbounded recursion DoS in parse() 3.4.1

Both are transitive deps (undici via cheerio, flatted via flat-cache) whose semver ranges already accept the patched versions -- resolutions ensure the lockfile picks them up.

Copy link
Copy Markdown

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.

Pull request overview

This PR addresses high-severity Dependabot alerts for transitive dependencies undici and flatted by adding Yarn resolutions, and bumps the Yarn package manager version from 4.4.0 to 4.12.0.

Changes:

  • Add Yarn resolutions for undici (→ ^6.24.0) and flatted (→ ^3.4.0) to force patched versions of these transitive dependencies.
  • Update packageManager field from yarn@4.4.0 to yarn@4.12.0.

Reviewed changes

Copilot reviewed 1 out of 2 changed files in this pull request and generated no comments.

File Description
package.json Added two resolutions for security-patched transitive deps; bumped Yarn version
yarn.lock Reflects updated resolved versions for flatted (3.4.1) and undici (6.24.1)

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

You can also share your feedback on Copilot code review. Take the survey.

@jonathannorris jonathannorris merged commit 5d33fb9 into main Mar 17, 2026
9 checks passed
@jonathannorris jonathannorris deleted the fix/dependabot-undici-flatted branch March 17, 2026 20:37
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants