Pin postcss to 8.5.23 - #106
Merged
Merged
Conversation
Co-authored-by: abdulahmad307 <204748719+abdulahmad307@users.noreply.github.com>
Copilot created this pull request from a session on behalf of
abdulahmad307
August 7, 2026 17:44
View session
abdulahmad307
marked this pull request as ready for review
August 7, 2026 17:51
There was a problem hiding this comment.
Pull request overview
Pins transitive postcss to the security-fixed version.
Changes:
- Adds an npm override for
postcss@8.5.23. - Regenerates lockfile metadata and dependencies.
Show a summary per file
| File | Description |
|---|---|
package.json |
Adds the exact-version override. |
package-lock.json |
Locks PostCSS and updated Nano ID metadata. |
Review details
Tip
Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
- Files reviewed: 1/2 changed files
- Comments generated: 0
- Review effort level: Balanced
kendallgassner
approved these changes
Aug 7, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
postcssresolved to a vulnerable 8.5.18 in the lockfile (github/vuln-mgmt#227844). It is not a direct dependency — it comes in transitively throughvitest→vite, which requests^8.5.16.Changes
package.json— added anoverridesentry pinningpostcssto8.5.23, rather than promoting it to a direct dependency it isn't:package-lock.json— regenerated;postcssnow resolves to8.5.23(with itsnanoidrange moving to^3.3.16), andvite's recorded requirement reflects the override.Note that the override pins an exact version, so it will need to be bumped manually for future advisories. Loosening it to
^8.5.23is an option if we'd rather let npm float it forward.