Packages

wrangler

4.164.0 · 17 Nov 2026MIT OR Apache-2.049.3M / weekRepositoryHomepagenpmAtom feed

Your version

3.60.0

7 Jun 2024Where it was published

3.114.17 is the newest release of 3.x.

npm marks 3.60.0 as deprecated: bug affecting usage of `wrangler pages deploy` with > 1000 assets in wrangler@3.60.0, fixed in wrangler@3.60.1

In short

4 new3 fixed2 internal

Security

1 advisory affects 3.60.0; 3.114.17 fixes them

Release note

Minor Changes

  • Add experimental support for hybrid Node.js compatibility

    This feature is experimental and not yet available for general consumption.

    Use a combination of workerd Node.js builtins (behind the experimental:nodejs_compat_v2 flag) and
    Unenv polyfills (configured to only add those missing from the runtime) to provide a new more effective
    Node.js compatibility approach.

  • Rename the wrangler secret:bulk command to wrangler secret bulk

    The old command is now deprecated (but still functional) and will be removed in a future release. The new command is now more consistent with the rest of the wrangler CLI commands.

  • Rename wrangler kv:... commands to wrangler kv ...

    The old commands are now deprecated (but still functional) and will be removed in a future release. The new commands are now more consistent with the rest of the wrangler CLI commands.

  • Allow for Pages projects to upload sourcemaps

    Pages projects can now upload sourcemaps for server bundles to enable remapped stacktraces in realtime logs when deployed with upload_source_map set to true in wrangler.toml.

Patch Changes

  • Update create KV namespace binding details message for easier implementation

  • Clean pages dev terminal ouput

    This work includes a series of improvements to the pages dev terminal output, in an attempt to make this output more structured, organised, cleaner, easier to follow, and therefore more helpful for our users <3

  • Avoid injecting esbuild watch stubs into production Worker code

    When we added the ability to include additional modules in the deployed bundle of a Worker,
    we inadvertently also included some boiler plate code that is only needed at development time.

    This fix ensures that this code is only injected if we are running esbuild in watch mode
    (e.g. wrangler dev) and not when building for deployment.

    It is interesting to note that this boilerplate only gets included in the production code
    if there is an import of CommonJS code in the Worker, which esbuild needs to convert to an
    ESM import.

    Fixes #4269

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.