build(deps-dev): bump vite from 5.4.21 to 6.4.2 in /pkg/topology/embed/frontend#12
Open
dependabot[bot] wants to merge 1 commit intomainfrom
Open
Conversation
Bumps [vite](https://github.com/vitejs/vite/tree/HEAD/packages/vite) from 5.4.21 to 6.4.2. - [Release notes](https://github.com/vitejs/vite/releases) - [Changelog](https://github.com/vitejs/vite/blob/v6.4.2/packages/vite/CHANGELOG.md) - [Commits](https://github.com/vitejs/vite/commits/v6.4.2/packages/vite) --- updated-dependencies: - dependency-name: vite dependency-version: 6.4.2 dependency-type: direct:development ... Signed-off-by: dependabot[bot] <support@github.com>
There was a problem hiding this comment.
No issues found across 2 files
Architecture diagram
sequenceDiagram
participant Dev as Developer / CI
participant Vite as Vite 6 (Build Tool)
participant FS as File System
participant Browser as Browser (Dev Mode)
participant Go as Go Backend (Embed)
Note over Dev, Go: Development Flow (Vite Dev Server)
Dev->>Vite: Run pnpm dev
Vite->>FS: Load vite.config.ts
Browser->>Vite: Request frontend asset
Vite->>Vite: CHANGED: Apply stricter server.fs security checks
alt Path allowed (server.fs.allow)
Vite->>FS: Read source file
FS-->>Vite: File buffer
Vite-->>Browser: Served with HMR
else Path denied (server.fs.deny)
Vite-->>Browser: 403 Forbidden
end
Note over Dev, Go: Build & Embed Flow
Dev->>Vite: Run pnpm build
Vite->>FS: Read source code / node_modules
Vite->>Vite: CHANGED: Bundle with Rollup 4 & Esbuild 0.25
Vite->>FS: Write production assets to /dist
Dev->>Go: go build (with //go:embed)
Go->>FS: Read /dist assets into binary
Go-->>Dev: Final binary with embedded frontend/Vite 6 assets
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.
Bumps vite from 5.4.21 to 6.4.2.
Release notes
Sourced from vite's releases.
Changelog
Sourced from vite's changelog.
... (truncated)
Commits
6b3fad0release: v6.4.2ca4da5dfix: avoid path traversal with optimize deps sourcemap handler (#22161)fe28e47fix: apply server.fs check to env transport (#22159) (#22163)5487f4frelease: v6.4.11114b5dfix(dev): trim trailing slash beforeserver.fs.denycheck (#20968) (#20969)f12697crelease: v6.4.0ca6455efeat: allow passing down resolved config to vite's createServer (#20932)0e173d8release: v6.3.7c59a222fix(esbuild): inject esbuild helpers correctly for esbuild 0.25.9+ (#20940)3f337c5release: v6.3.6Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting
@dependabot rebase.Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR:
@dependabot rebasewill rebase this PR@dependabot recreatewill recreate this PR, overwriting any edits that have been made to it@dependabot show <dependency name> ignore conditionswill show all of the ignore conditions of the specified dependency@dependabot ignore this major versionwill close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)@dependabot ignore this minor versionwill close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)@dependabot ignore this dependencywill close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)You can disable automated security fix PRs for this repo from the Security Alerts page.
Summary by cubic
Upgrade
viteto 6.4.2 inpkg/topology/embed/frontendto adopt Vite 6 and recent security fixes. This updates the build toolchain and tightens dev server file-system checks.Dependencies
vite: 5.4.21 → 6.4.2 (Node ^18/^20 or >=22; new optional peers:jiti,tsx,yaml)rollup→ 4.60.1,esbuild→ 0.25.12 (Node >=18),postcss→ 8.5.9Migration
pnpm i) and verifypnpm devandpnpm build.server.fschecks, update Vite config paths accordingly.Written for commit db6ab6b. Summary will update on new commits.