Packages

@cloudflare/vite-plugin

1.70.1 · 19 Nov 2026MIT12.3M / weekRepositoryHomepagenpmAtom feed

Upgrading @cloudflare/vite-plugin From 0.1.17 to 0.1.21

4 releases in betweenevery note read

Other targets from 0.1.17Clears its advisory1.6.0Latest1.70.1
0
changes to make
0
advisories fixed
1
new
9
fixes

Security

1 advisory still affects 0.1.21

Upgrading to 1.6.0 clears it.

Release by release

  1. 0.1.21

    4 Apr 20252 fixes
    • Fixed

      No longer warn if the user sets upload_source_maps in the Worker config.

    • Fixed

      Fix inspector port change being logged on server restarts. An available inspector port is now found on the initial server start and reused across restarts.

  2. 0.1.20

    2 Apr 20251 new · 4 fixes
    • New

      Add validation for the configPath option in the plugin config that clearly indicates any issues.

    • Fixed

      Ensure that Node.js polyfills are pre-optimized before the first request

    • Fixed

      Make sure that users can specify inspector port 0 to use a random port

    • Fixed

      Replace modules runtime checks with vite environment config validation

    • Fixed

      Make sure that the plugin keeps looking for available inspector ports by default

  3. 0.1.19

    28 Mar 20251 fix
    • Fixed

      Set the x-forwarded-host header to the original host in requests. This fixes a bug where libraries such as Clerk would redirect to the workerd host rather than the Vite host.

  4. 0.1.18

    27 Mar 20252 fixes
    • Fixed

      Ensure that we don't crash when logging Node.js warnings when running in react-router builds

    • Fixed

      Show warning if the user has forgotten to turn on nodejs_compat

10 internal lines (docs, tests, tooling) left out.

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.