Skip to content

Bump vite in the self-care account sample to fix the launch-editor advisory - #10

Closed
brionmario wants to merge 1 commit into
thunder-id:mainfrom
brionmario:fix/self-care-vite-advisory
Closed

brionmario wants to merge 1 commit into
thunder-id:mainfrom
brionmario:fix/self-care-vite-advisory

Conversation

@brionmario

Copy link
Copy Markdown
Member

Purpose

A new high-severity advisory, launch-editor's fs.existsSync() existence check being bypassable on Windows, reaches self-care/account through its vite 8.0.16 devDependency (@vitejs/plugin-react > vite). pnpm audit --audit-level=high in the PR builder now fails the self-care/account job on every pull request, for example #9.

Approach

Bump the direct vite devDependency from 8.0.16 to 8.3.4, which is in the patched range (>=8.1.6). @vitejs/plugin-react 6.0.2 already accepts vite ^8.0.0, so no other change is needed and no override is required.

Verified locally in self-care/account: pnpm install, pnpm audit --audit-level=high (now 2 low only), pnpm format:check, pnpm lint and pnpm build all pass.

Related Issues

  • N/A

Related PRs

Checklist

  • Followed the contribution guidelines.
  • Manual test round performed and verified.
  • Documentation provided. (Add links if there are any)
  • Tests provided. (Add links if there are any)
    • Unit Tests
    • Integration Tests
  • Breaking changes. (Fill if applicable)
    • Breaking changes section filled.
    • breaking change label added.

Security checks

  • Followed secure coding standards.
  • Confirmed that this PR doesn't commit any keys, passwords, tokens, usernames, or other secrets.

…visory

The new launch-editor advisory (fs.existsSync existence check bypass on Windows) reaches self-care/account through its vite 8.0.16 devDependency, failing pnpm audit --audit-level=high in the PR builder for every pull request. vite 8.3.4 is patched (>=8.1.6).

Signed-off-by: Brion <info@brionmario.com>
@brionmario

Copy link
Copy Markdown
Member Author

Combined into #11 together with the other sample changes, one commit each.

@brionmario brionmario closed this Oct 21, 2026
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.

1 participant