Skip to content

chore: resolve open dependabot security alerts - #586

Merged
jonathannorris merged 3 commits into
mainfrom
chore/dependabot-alerts
Sep 8, 2026
Merged

chore: resolve open dependabot security alerts#586
jonathannorris merged 3 commits into
mainfrom
chore/dependabot-alerts

Conversation

@jonathannorris

Copy link
Copy Markdown
Member

Summary

  • Resolved 8 open Dependabot security alerts by bumping vulnerable transitive dependencies via yarn resolutions

Dependabot Alerts Resolved

Alert Package Severity Fix
#309 browserslist high Bumped to 4.28.9 via resolutions
#307 fast-uri high Bumped to 3.1.7 via resolutions
#306 fast-uri high Bumped to 3.1.7 via resolutions
#305 qs medium Bumped to 6.16.0 via resolutions
#304 fast-uri high Bumped to 3.1.7 via resolutions
#303 fast-uri high Bumped to 3.1.7 via resolutions
#302 @humanfs/node medium Bumped to 0.16.8 via resolutions
#301 postcss-selector-parser low Bumped to 7.1.6 via resolutions

- browserslist 4.24.4 -> 4.28.9 (high, alert #309)
- fast-uri 3.1.5 -> 3.1.7 (high, alerts #303, #304, #306, #307)
- qs 6.15.2 -> 6.16.0 (medium, alert #305)
- @humanfs/node 0.16.6 -> 0.16.8 (medium, alert #302)
- postcss-selector-parser 7.1.2 -> 7.1.6 (low, alert #301)
Copilot AI lite review requested due to automatic review settings September 8, 2026 14:21
@jonathannorris
jonathannorris requested a review from a team as a code owner September 8, 2026 14:21

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

🟡 Changes recommended

Several security-related resolutions use version ranges that still allow pre-patched versions, which can reintroduce the vulnerability if the lockfile is regenerated.

Once you've addressed the issues Copilot identified, you can request another Copilot review.

Pull request overview

This PR updates the project’s Yarn dependency graph to address multiple Dependabot security alerts by forcing patched versions of vulnerable transitive dependencies via package.json resolutions and an updated yarn.lock.

Changes:

  • Updated Yarn resolutions to steer vulnerable transitive packages toward patched versions (e.g., fast-uri, qs, @humanfs/node, browserslist, postcss-selector-parser).
  • Refreshed yarn.lock to reflect the new resolved dependency versions (including new/updated transitive entries required by the bumps).
File summaries
File Description
package.json Updates resolutions to force safer transitive dependency versions.
yarn.lock Locks the resolved dependency versions corresponding to the updated resolutions.
Review details

Suppressed comments (2)

package.json:227

  • The browserslist resolution targets ^4.28.7, which still allows versions below the patched 4.28.9 mentioned in the PR description. Pin this resolution to 4.28.9 (or at least ^4.28.9) to ensure the vulnerable range can’t be reintroduced on reinstall.
        "browserslist@npm:^4.24.0": "^4.28.7",

package.json:229

  • The postcss-selector-parser resolution value ^7.1.3 can still select versions older than the patched 7.1.6 referenced in the PR description if the lockfile changes. Pin to 7.1.6 to keep the security fix stable across installs.
        "postcss-selector-parser@npm:^7.0.0": "^7.1.3"
  • Files reviewed: 1/2 changed files
  • Comments generated: 1
  • Review effort level: Lite

💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.

Comment thread package.json Outdated
@jonathannorris
jonathannorris enabled auto-merge (squash) September 8, 2026 14:24
…act patched versions

Addresses Copilot review feedback on PR #586: ^4.28.7 and ^7.1.3 ranges
could still resolve below the versions actually verified as patched.
@jonathannorris

Copy link
Copy Markdown
Member Author

@copilot please re-review

Co-authored-by: jonathannorris <1219069+jonathannorris@users.noreply.github.com>
auto-merge was automatically disabled September 8, 2026 14:28

Head branch was pushed to by a user without write access

Copilot AI commented Sep 8, 2026

Copy link
Copy Markdown
Contributor

@copilot please re-review

Addressed in d0a4a85: pinned fast-uri resolution to 3.1.7 (no range) and updated yarn.lock accordingly.

@cloudflare-workers-and-pages

cloudflare-workers-and-pages Bot commented Sep 8, 2026

Copy link
Copy Markdown

Deploying with  Cloudflare Workers  Cloudflare Workers

The latest updates on your project. Learn more about integrating Git with Workers.

Status Name Latest Commit Updated (UTC)
✅ Deployment successful!
View logs
devcycle-mcp-server d0a4a85 Sep 08 2026, 02:31 PM

@jonathannorris
jonathannorris merged commit 84223c1 into main Sep 8, 2026
7 checks passed
@jonathannorris
jonathannorris deleted the chore/dependabot-alerts branch September 8, 2026 19:46
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.

4 participants