@cloudflare/vite-plugin
1.70.1 · 19 Nov 2026MIT12.3M / weekRepositoryHomepagenpmAtom feed
1.70.1 is the newest release of 1.x.
In short
1 new1 fixed2 internal
Security
1 advisory affects 1.3.1; 1.6.0 fixes them
- ModerateCloudflare Vite plugin exposes secrets over the built-in dev serverGHSA-4pfg-2mw5-f8jx · 8 Jul 2025Fixed in 1.6.0
Release note
Patch Changes
Prevent leaking Miniflare server logs. Logs that were previously filtered were leaking as they were changed to include colors. We now override the new Miniflare
Log.logReadymethod with a noop rather than filtering the logs.Add new
mixedModeexperimental optionAdd a new
mixedModeexperimental option that allows uses to have their worker access remote resources during development (and preview)To enabled mixed mode set the corresponding option to the cloudflare plugin instantiation:
export default defineConfig({ plugins: [ cloudflare({ // ... experimental: { mixedMode: true }, }), ], });Thereafter bindings configured with the
remoteflags will be accessible by workers' code when run viavite devandvite preview
A whole project to check? Paste its package.json in the dependency check: every deprecated, outdated or vulnerable dependency, with what to upgrade to. Free, no account.