Skip to content

Fix dependabot alerts [main]#1681

Merged
vazois merged 2 commits intomainfrom
fix/dependabot-alerts
Apr 9, 2026
Merged

Fix dependabot alerts [main]#1681
vazois merged 2 commits intomainfrom
fix/dependabot-alerts

Conversation

@badrishc
Copy link
Copy Markdown
Collaborator

@badrishc badrishc commented Apr 9, 2026

Update vulnerable npm packages to patched versions:

  • lodash-es: 4.17.21 → 4.18.1 (fixes Prototype Pollution and Code Injection)
  • path-to-regexp: 0.1.12 → 0.1.13 (fixes ReDoS)
  • serialize-javascript: 6.0.2 → 7.0.5 (fixes RCE and CPU exhaustion DoS)
  • minimatch: 3.1.2 → 3.1.5 (fixes ReDoS)
  • dompurify: 3.3.1 → 3.3.3 (fixes XSS)
  • webpackbar: 6.0.1 → 7.0.0 (compatibility with latest webpack)

Removed the npm overrides field (Yarn v1 ignores it). All version pins are now in resolutions, which is the mechanism Yarn v1 actually uses.

Updated Node.js version from 20 to 22 in CI workflows (ci.yml, deploy-website.yml, nightly.yml) to support latest dependency requirements.

Copilot AI review requested due to automatic review settings April 9, 2026 01:17
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.

Pull request overview

Updates the website/ npm dependency pinning to address Dependabot security alerts by forcing patched versions of vulnerable transitive packages (notably for Yarn v1 installs).

Changes:

  • Bumped lodash-es override to 4.18.1.
  • Bumped serialize-javascript override to 7.0.5.
  • Added Yarn resolutions to force lodash-es@4.18.1 and serialize-javascript@7.0.5 across transitive dependencies.

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

@badrishc badrishc force-pushed the fix/dependabot-alerts branch 2 times, most recently from b8d8896 to 70696af Compare April 9, 2026 01:37
@badrishc badrishc force-pushed the fix/dependabot-alerts branch 2 times, most recently from 3d082c9 to 6210b9e Compare April 9, 2026 02:12
@badrishc badrishc requested a review from Copilot April 9, 2026 02:19
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.

Pull request overview

Copilot reviewed 4 out of 5 changed files in this pull request and generated no new comments.


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

@badrishc badrishc force-pushed the fix/dependabot-alerts branch 3 times, most recently from 7cc440b to c290272 Compare April 9, 2026 17:24
Update vulnerable npm packages to patched versions:
- lodash-es: 4.17.21 → 4.18.1 (fixes Prototype Pollution and Code Injection)
- path-to-regexp: 0.1.12 → 0.1.13 (fixes ReDoS)
- serialize-javascript: 6.0.2 → 7.0.5 (fixes RCE and CPU exhaustion DoS)
- minimatch: 3.1.2 → 3.1.5 (fixes ReDoS)

Added yarn resolutions to force serialize-javascript and lodash-es
to patched versions across all transitive dependencies.
Updated overrides to match current patched versions.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
@badrishc badrishc force-pushed the fix/dependabot-alerts branch from c290272 to 023c871 Compare April 9, 2026 17:25
@badrishc badrishc requested a review from kevin-montrose as a code owner April 9, 2026 19:27
@vazois vazois merged commit 037e4a7 into main Apr 9, 2026
27 checks passed
@vazois vazois deleted the fix/dependabot-alerts branch April 9, 2026 19:57
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