Skip to content

CHORE: Upgrade vulnerable transitive npm dependencies to clear open Dependabot alerts - #224

Open
jwrosewell wants to merge 1 commit into
mainfrom
chore/140-dependabot-alerts
Open

CHORE: Upgrade vulnerable transitive npm dependencies to clear open Dependabot alerts#224
jwrosewell wants to merge 1 commit into
mainfrom
chore/140-dependabot-alerts

Conversation

@jwrosewell

Copy link
Copy Markdown
Contributor

Closes #140

What this does

When #140 was opened there were 94 open Dependabot alerts, almost all against the old Pattern Lab and gulp toolchain. That toolchain has since been replaced with Vite and Storybook, which resolved 86 of them. This PR clears the remaining 8 open alerts, which all sit in transitive npm dependencies in ci/package-lock.json and pattern-library/package-lock.json.

Every patched version was already inside the semver range the lock files allow, so the changes are lock file only with no package.json edits and no major version moves.

Packages upgraded

Package Manifest(s) Old version New version Alert severity Advisories
brace-expansion ci and pattern-library 5.0.6 5.0.9 high GHSA-3jxr-9vmj-r5cp, GHSA-mh99-v99m-4gvg, GHSA-rgw5-rvv9-x895
postcss ci and pattern-library 8.5.15 8.5.25 high GHSA-r28c-9q8g-f849
immutable pattern-library 5.1.5 5.1.9 high GHSA-xvcm-6775-5m9r, GHSA-v56q-mh7h-f735
ws pattern-library 8.20.1 8.21.2 high GHSA-96hv-2xvq-fx4p

The ws bump is not one of the 8 open Dependabot alerts. It was flagged by npm audit while making the other changes and was fixable in the same in-range way, so it is included here.

Alerts not addressed

None. All 8 open Dependabot alerts are covered by the upgrades above. The alerts themselves will close once this lands on main and Dependabot rescans the lock files.

Verification

  • npm ci from the updated lock file in pattern-library/ followed by npm run build:css completes successfully and produces all the minified CSS and JS outputs.
  • npm ci from the updated lock file in ci/ completes successfully and the csso, purgecss and terser modules all load.
  • npm audit reports 0 vulnerabilities in both directories.

Note

This PR was produced with AI assistance as part of a 5th August 2026 housekeeping sweep and needs human review before merge.

Resolves the 8 open Dependabot alerts on ci/package-lock.json and
pattern-library/package-lock.json by moving brace-expansion, postcss
and immutable to patched versions within their existing semver
ranges. Also bumps ws to clear an npm audit finding. Lock file only,
no package.json changes needed.

Progresses #140
@github-actions

github-actions Bot commented Aug 5, 2026

Copy link
Copy Markdown
Contributor

Documentation preview 👀

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.

CHORE: Resolve 94 open Dependabot security alerts on pattern-library deps

1 participant