Skip to content

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
dependabot/npm_and_yarn/pkg/topology/embed/frontend/vite-6.4.2
Open

build(deps-dev): bump vite from 5.4.21 to 6.4.2 in /pkg/topology/embed/frontend#12
dependabot[bot] wants to merge 1 commit intomainfrom
dependabot/npm_and_yarn/pkg/topology/embed/frontend/vite-6.4.2

Conversation

@dependabot
Copy link
Copy Markdown

@dependabot dependabot bot commented on behalf of github Apr 8, 2026

Bumps vite from 5.4.21 to 6.4.2.

Release notes

Sourced from vite's releases.

v6.4.2

Please refer to CHANGELOG.md for details.

v6.4.1

Please refer to CHANGELOG.md for details.

v6.4.0

Please refer to CHANGELOG.md for details.

v6.3.7

Please refer to CHANGELOG.md for details.

v6.3.6

Please refer to CHANGELOG.md for details.

Changelog

Sourced from vite's changelog.

6.4.2 (2026-04-06)

6.4.1 (2025-10-20)

6.4.0 (2025-10-15)

  • feat: allow passing down resolved config to vite's createServer (#20932) (ca6455e), closes #20932

6.3.7 (2025-10-14)

  • fix(esbuild): inject esbuild helpers correctly for esbuild 0.25.9+ (#20940) (c59a222), closes #20940

6.3.6 (2025-09-08)

6.3.5 (2025-05-05)

6.3.4 (2025-04-30)

  • fix: check static serve file inside sirv (#19965) (c22c43d), closes #19965
  • fix(optimizer): return plain object when using require to import externals in optimized dependenci (efc5eab), closes #19940
  • refactor: remove duplicate plugin context type (#19935) (d6d01c2), closes #19935

6.3.3 (2025-04-24)

... (truncated)

Commits

Dependabot compatibility score

Dependabot 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 rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot show <dependency name> ignore conditions will show all of the ignore conditions of the specified dependency
  • @dependabot ignore this major version will 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 version will 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 dependency will 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 vite to 6.4.2 in pkg/topology/embed/frontend to 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)
    • Transitive: rollup → 4.60.1, esbuild → 0.25.12 (Node >=18), postcss → 8.5.9
    • Lockfile refreshed
  • Migration

    • Use Node 18+.
    • Reinstall deps (pnpm i) and verify pnpm dev and pnpm build.
    • If dev server blocks paths due to stricter server.fs checks, update Vite config paths accordingly.

Written for commit db6ab6b. Summary will update on new commits.

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>
@dependabot dependabot bot added dependencies Dependency updates javascript Pull requests that update javascript code labels Apr 8, 2026
Copy link
Copy Markdown

@cubic-dev-ai cubic-dev-ai bot left a comment

Choose a reason for hiding this comment

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

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
Loading

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependencies Dependency updates javascript Pull requests that update javascript code

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants