Refresh frontend lockfile for security advisories#1308
Conversation
Frontend HTML artifact readyThe latest frontend build uploaded the This comment updates automatically when a new frontend build artifact is uploaded. |
There was a problem hiding this comment.
Pull request overview
This PR refreshes the src/frontend dependency graph to resolve Dependabot security alerts by forcing patched versions of dompurify and esbuild via pnpm overrides and regenerating the lockfile accordingly.
Changes:
- Updated pnpm overrides to require
dompurify >= 3.4.11(for< 3.4.11). - Added a pnpm override to require
esbuild >= 0.28.1(for< 0.28.1). - Regenerated
src/frontend/pnpm-lock.yamlso the resolved graph consistently uses the patched versions.
Reviewed changes
Copilot reviewed 1 out of 2 changed files in this pull request and generated no comments.
| File | Description |
|---|---|
| src/frontend/package.json | Updates pnpm overrides to enforce patched dompurify and esbuild versions. |
| src/frontend/pnpm-lock.yaml | Regenerates the lockfile so patched dompurify/esbuild versions are resolved across the graph. |
Files not reviewed (1)
- src/frontend/pnpm-lock.yaml: Generated file
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
a1006ed to
1f3a285
Compare
|
Closing this stale security PR. The microsoft/aspire.dev repo currently has zero open Dependabot security alerts, and the frontend lockfile on main is already clean. This PR has accumulated conflicts with main and failing CI, making it harder to merge than simply keeping main up to date. If new security alerts emerge, a fresh canonical PR will be created. |
Summary
Refresh the frontend dependency graph in
src/frontendto clear the currently open Dependabot alerts fordompurifyandesbuild.What changed
dompurifyandesbuildreleases.src/frontend/pnpm-lock.yamlso the patched transitive versions are resolved everywhere in the site build.Alerts addressed
dompurifyadvisories insrc/frontend/pnpm-lock.yamlesbuildadvisory insrc/frontend/pnpm-lock.yamlValidation
pnpm install --frozen-lockfilepnpm lintpnpm test:unitpnpm build