Remove the npm overrides pins once eslint ships the fixes upstream #101
Labels
No labels
area/ai
area/backend
area/frontend
area/infra
area/scheduler
area/wled
good-first-issue
priority/high
priority/low
priority/medium
type/bug
type/chore
type/ci-cd
type/docs
type/feature
type/qa
v1.0.0
v1.1.0
v1.2.0
v2.0.0
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
rbrooks/Iris-WLED#101
Loading…
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Tracking issue for the dependency pins added while closing #81, so they can be removed rather than quietly becoming permanent.
What is pinned
frontend/package.json:Why
Two high-severity DoS advisories were reachable only through eslint's own dependency tree, at the latest published eslint (9.39.5):
eslint → minimatch@3 → brace-expansion<=1.1.17eslint → @eslint/eslintrc → js-yaml4.0.0 - 4.3.0Because there was no newer eslint to bump to, Renovate could not resolve these — no dependency PR would ever have fixed them. The pins were the only route to a clean
npm audit --audit-level=high, which #56 wants before branch protection can require it.The version selectors are scoped deliberately:
brace-expansion@1leaves the healthybrace-expansion@5.0.9used by@typescript-eslint/typescript-estreealone. Verified after the change:Why this needs tracking
Renovate does not manage
overrides. These will not generate update PRs and will not be flagged as stale. Left alone they can silently hold back a legitimate upgrade — the failure mode is a pin that looks like it is still protecting something while actually pinning a package backwards.Removal conditions
Remove each pin once the corresponding upstream path no longer resolves to an affected version:
brace-expansion@1— remove wheneslintdrops itsminimatch@3dependency (orminimatch@3widens to accept a non-vulnerablebrace-expansion)js-yaml@4— remove when@eslint/eslintrcrequiresjs-yaml> 4.3.0npm install && npm audit --audit-level=highand confirm it still reports 0 vulnerabilitiesHow to check
If it reports 0 vulnerabilities without the overrides, the pin is obsolete — delete it, commit the regenerated lockfile, and close this issue.
Worth a look whenever an eslint major or minor lands. Related: #81, #56.