Skip to content

chore(deps): apply npm audit fix + overrides to clear vulnerability alerts#265

Merged
hdamker merged 1 commit into
camaraproject:mainfrom
hdamker:chore/dependabot-vuln-cleanup
May 5, 2026
Merged

chore(deps): apply npm audit fix + overrides to clear vulnerability alerts#265
hdamker merged 1 commit into
camaraproject:mainfrom
hdamker:chore/dependabot-vuln-cleanup

Conversation

@hdamker
Copy link
Copy Markdown
Contributor

@hdamker hdamker commented May 5, 2026

What type of PR is this?

cleanup

What this PR does / why we need it:

Brings open Dependabot alerts on validation/ from 11 to 1.

  • npm audit fix (no-force) clears brace-expansion, minimatch (3 advisories), and rollup via transitive bumps — non-breaking semver re-resolution.
  • overrides block in validation/package.json forces lodash@^4.18.0, postcss@^8.5.10, and protobufjs@^7.5.5 across all consumers, resolving the lodash + postcss + protobufjs alerts.

The remaining alert (uuid moderate, via gherkin-lint > gherkin > cucumber-messages > uuid) is bound to the existing plan to replace gherkin-lint (#138). uuid@14 was attempted via override but cucumber-messages@8.0.0 does require('uuid/v4'), which uuid 14 removed from its exports.

Verification

  • npm audit: 1 underlying advisory remains — uuid (moderate), reachable via gherkin-lint > gherkin > cucumber-messages > uuid. npm-audit prints this as 4 chain entries; Dependabot reports it as 1 alert.
  • npx gherkin-lint: clean run on a ReleaseTest feature fixture
  • npx spectral lint: runs cleanly, expected OWASP warnings on a sample API spec
  • npx redocly bundle: bundle produced
  • python3 -m pytest validation/tests/: 1011 / 1011 passing

Which issue(s) this PR fixes:

Fixes #
(no tracking issue; addresses 10 of 11 open Dependabot alerts surfaced after #260 merged)

Special notes for reviewers:

validation/package.json gains a 3-entry overrides block. validation/package-lock.json re-resolves accordingly.

Changelog input

 release-note
 NONE

Additional documentation

This section can be blank.

…lerts

Brings open Dependabot alerts on validation/ from 11 to 1.

- npm audit fix (no-force) clears brace-expansion, minimatch (3
  advisories), and rollup via transitive bumps — non-breaking
  semver re-resolution.
- overrides block in validation/package.json forces lodash@^4.18.0,
  postcss@^8.5.10, and protobufjs@^7.5.5 across all consumers,
  resolving the lodash + postcss + protobufjs alerts.

The remaining alert is uuid (moderate) via gherkin-lint > gherkin >
cucumber-messages > uuid. Bound to the existing plan to replace
gherkin-lint (camaraproject#138). uuid@14 was attempted via override but
cucumber-messages@8.0.0 does require('uuid/v4'), which uuid 14
removed from its exports.

Verified: gherkin-lint, Spectral 6.15.1, Redocly 2.30.3 all run
clean against ReleaseTest fixtures; 1011 / 1011 validation engine
tests pass.
Copy link
Copy Markdown
Contributor

@Kevsy Kevsy left a comment

Choose a reason for hiding this comment

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

LGTM

Copy link
Copy Markdown
Contributor

@rartych rartych left a comment

Choose a reason for hiding this comment

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

LGTM

@hdamker hdamker merged commit a4e175e into camaraproject:main May 5, 2026
1 check passed
@hdamker hdamker deleted the chore/dependabot-vuln-cleanup branch May 5, 2026 16:26
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