Files
james.maesandJames Maes 4f9fcaef0a fix(deps): resolve npm audit high-severity advisories + add audit CI step (#32)
* security(deps): resolve high-severity npm audit advisories via minimatch override

All 9 high-severity advisories stemmed from a single transitive chain:
eslint/eslint-config-next tooling depend on a vulnerable minimatch
(<=10.0.2) that pulls in brace-expansion <=5.0.7 (GHSA-mh99-v99m-4gvg,
DoS via unbounded expansion). These are dev/build-time only packages,
not shipped in the runtime image.

Bumping eslint itself would require a semver-major jump (9.x -> 10.x).
Instead, pin minimatch to ^10.0.3 via package.json overrides, which
drops the vulnerable brace-expansion dependency entirely (newer
minimatch uses @isaacs/brace-expansion). Verified npm audit reports 0
vulnerabilities and both npm run lint and npm run build still pass.

* ci(app): add non-blocking npm audit step to lint-and-build job

Surface high-severity advisories in CI logs without gating merges on
build-time dev-dependency findings a solo dev can triage async.

---------

Co-authored-by: James Maes <jmaes@dmdbrands.com>
2026-07-29 16:40:17 +00:00
..