Skip to content

chore(deps): bump transitive deps to patch 5 Dependabot alerts#319

Merged
marythought merged 2 commits into
mainfrom
chore/dependabot-security-fixes
May 11, 2026
Merged

chore(deps): bump transitive deps to patch 5 Dependabot alerts#319
marythought merged 2 commits into
mainfrom
chore/dependabot-security-fixes

Conversation

@pflynn-virtru
Copy link
Copy Markdown
Member

Summary

Targeted npm update for vulnerable transitive packages in the root package-lock.json. Each bump stays within existing semver ranges to avoid breaking parent dependencies (notably, picomatch stays on the 2.x line so postman-code-generators is not affected).

Alerts addressed

Alert Package Before After
#127 postcss 8.5.5 8.5.14
#107 (high) picomatch 2.3.1 2.3.2
#108 picomatch 2.3.1 2.3.2
#105 brace-expansion 1.1.12 / 2.0.2 / 5.0.2 1.1.14 / 2.1.0 / 5.0.6
#129 uuid 11.1.0 11.1.1 (8.3.2 not affected, untouched)

Why targeted (not npm audit fix)

A plain npm audit fix transitively bumps postman-code-generators to a major version that drops bundled Node polyfills, breaking the Docusaurus webpack build (Module not found: Can't resolve 'path'). The targeted approach in this PR sidesteps that regression.

Not addressed here (need separate decisions)

Test plan

  • Build verified locally: npx docusaurus build — server and client both compile cleanly (only pre-existing broken-links error, same as main)
  • CI Test deployment passes
  • Confirm alerts auto-close after merge

🤖 Generated with Claude Code

Targeted `npm update` for vulnerable transitive packages, staying within
existing semver ranges to avoid breaking parent dependencies:

- postcss: 8.5.5 → 8.5.14 (alert #127, GHSA, XSS via unescaped </style>)
- picomatch: 2.3.1 → 2.3.2 (alerts #107 high ReDoS, #108 med POSIX class)
- brace-expansion: 1.1.12 → 1.1.14, 2.0.2 → 2.1.0, 5.0.2 → 5.0.6 (alert #105)
- uuid: 11.1.0 → 11.1.1 (alert #129, buffer bounds check)

Build verified locally: webpack server + client both compile cleanly.

Remaining open alerts (require separate handling):
- #134 @babel/plugin-transform-modules-systemjs (Dependabot reports no
  update available)
- #113/#112 lodash (requires semver-major bump of
  docusaurus-plugin-openapi-docs / docusaurus-theme-openapi-docs)
- #104 serialize-javascript (no upstream fix available)

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
@coderabbitai
Copy link
Copy Markdown

coderabbitai Bot commented May 11, 2026

Important

Review skipped

Review was skipped due to path filters

⛔ Files ignored due to path filters (1)
  • package-lock.json is excluded by !**/package-lock.json

CodeRabbit blocks several paths by default. You can override this behavior by explicitly including those paths in the path filters. For example, including **/dist/** will override the default block on the dist directory, by removing the pattern from both the lists.

⚙️ Run configuration

Configuration used: Organization UI

Review profile: CHILL

Plan: Pro

Run ID: e2b5e354-1e86-4d59-aa89-70e3409f5cfe

You can disable this status message by setting the reviews.review_status to false in the CodeRabbit configuration file.

Use the checkbox below for a quick retry:

  • 🔍 Trigger review
✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Commit unit tests in branch chore/dependabot-security-fixes

Tip

💬 Introducing Slack Agent: The best way for teams to turn conversations into code.

Slack Agent is built on CodeRabbit's deep understanding of your code, so your team can collaborate across the entire SDLC without losing context.

  • Generate code and open pull requests
  • Plan features and break down work
  • Investigate incidents and troubleshoot customer tickets together
  • Automate recurring tasks and respond to alerts with triggers
  • Summarize progress and report instantly

Built for teams:

  • Shared memory across your entire org—no repeating context
  • Per-thread sandboxes to safely plan and execute work
  • Governance built-in—scoped access, auditability, and budget controls

One agent for your entire SDLC. Right inside Slack.

👉 Get started


Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands and usage tips.

Copy link
Copy Markdown
Contributor

@gemini-code-assist gemini-code-assist Bot left a comment

Choose a reason for hiding this comment

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

Code Review

This pull request updates several dependencies in package-lock.json, including brace-expansion, uuid, picomatch, and postcss, and marks various architecture-specific packages as development dependencies. I have no feedback to provide.

@pflynn-virtru pflynn-virtru marked this pull request as ready for review May 11, 2026 19:05
@pflynn-virtru pflynn-virtru requested review from a team as code owners May 11, 2026 19:05
Copy link
Copy Markdown
Contributor

@marythought marythought left a comment

Choose a reason for hiding this comment

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

ty

@marythought marythought merged commit a547e23 into main May 11, 2026
6 checks passed
@marythought marythought deleted the chore/dependabot-security-fixes branch May 11, 2026 19:15
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.

2 participants