Skip to content

Fix dependabot alerts [dev]#1682

Merged
vazois merged 2 commits into
devfrom
fix/dependabot-alerts-dev
Apr 9, 2026
Merged

Fix dependabot alerts [dev]#1682
vazois merged 2 commits into
devfrom
fix/dependabot-alerts-dev

Conversation

@badrishc

@badrishc badrishc commented Apr 9, 2026

Copy link
Copy Markdown
Collaborator

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:23

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Pull request overview

Updates website/ dependency pinning to address Dependabot security alerts by moving vulnerable transitive packages onto patched versions, and adds Yarn resolutions to enforce selected pins across the dependency graph.

Changes:

  • Bump pinned versions for lodash-es and serialize-javascript, and introduce Yarn resolutions for both.
  • Update pinned dompurify version in overrides.

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

Comment thread website/package.json Outdated
Comment thread website/package.json
@badrishc badrishc force-pushed the fix/dependabot-alerts-dev branch 2 times, most recently from af9d18f to e3b76c1 Compare April 9, 2026 01:45
@badrishc badrishc force-pushed the fix/dependabot-alerts-dev branch from e3b76c1 to 15172a4 Compare April 9, 2026 02:12
@badrishc badrishc requested a review from Copilot April 9, 2026 02:20

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

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 1 comment.


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

Comment thread website/package.json
@badrishc badrishc force-pushed the fix/dependabot-alerts-dev branch 2 times, most recently from 65e1b7d to bc68401 Compare April 9, 2026 17:19
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-dev branch from bc68401 to b3880bb Compare April 9, 2026 17:27
@badrishc badrishc requested a review from kevin-montrose as a code owner April 9, 2026 19:27
@vazois vazois merged commit 078a03e into dev Apr 9, 2026
21 of 23 checks passed
@vazois vazois deleted the fix/dependabot-alerts-dev 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