Skip to content

Pin postcss to 8.5.23 - #106

Merged
abdulahmad307 merged 1 commit into
mainfrom
copilot/update-postcss-to-8-5-23
Aug 7, 2026
Merged

Pin postcss to 8.5.23#106
abdulahmad307 merged 1 commit into
mainfrom
copilot/update-postcss-to-8-5-23

Conversation

Copilot AI commented Aug 7, 2026

Copy link
Copy Markdown
Contributor

postcss resolved to a vulnerable 8.5.18 in the lockfile (github/vuln-mgmt#227844). It is not a direct dependency — it comes in transitively through vitestvite, which requests ^8.5.16.

Changes

  • package.json — added an overrides entry pinning postcss to 8.5.23, rather than promoting it to a direct dependency it isn't:

    "overrides": {
        "postcss": "8.5.23"
    }
  • package-lock.json — regenerated; postcss now resolves to 8.5.23 (with its nanoid range moving to ^3.3.16), and vite'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.23 is an option if we'd rather let npm float it forward.

Co-authored-by: abdulahmad307 <204748719+abdulahmad307@users.noreply.github.com>
Copilot AI changed the title Update postcss to 8.5.23 Pin postcss to 8.5.23 Aug 7, 2026
Copilot AI requested a review from abdulahmad307 August 7, 2026 17:44
@abdulahmad307
abdulahmad307 marked this pull request as ready for review August 7, 2026 17:51
@abdulahmad307
abdulahmad307 requested a review from a team as a code owner August 7, 2026 17:51
Copilot AI balanced review requested due to automatic review settings August 7, 2026 17:51

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

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

@abdulahmad307
abdulahmad307 merged commit 4b86b9b into main Aug 7, 2026
8 checks passed
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.

4 participants