Packages

wrangler

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

Your version

3.22.5

16 Jan 2024Where it was published

3.114.17 is the newest release of 3.x.

In short

7 fixed1 internal

Security

1 advisory affects 3.22.5; 3.114.17 fixes them

Release note

Patch Changes

  • Only offer to report unknown errors

    Previously, Wrangler would offer to report any error to Cloudflare. This included errors caused by misconfigurations or invalid commands. This change ensures those types of errors aren't reported.

  • Make sure the script path is correctly resolved in pages dev when no directory is specified

  • Don't require auth for wrangler r2 object --local operations

    Previously, Wrangler would ask you to login when reading or writing from local R2 buckets. This change ensures no login prompt is displayed, as authentication isn't required for these operations.

  • Ensure miniflare and wrangler can source map in the same process

    Previously, if in a wrangler dev session you called console.log() and threw an unhandled error you'd see an error like [ERR_ASSERTION]: The expression evaluated to a falsy value. This change ensures you can do both of these things in the same session.

  • Ensure logs containing at not truncated to at [object Object]

    Previously, logs containing at were always treated as stack trace call sites requiring source mapping. This change updates the call site detection to avoid false positives.

  • Resolve imports in a more node-like fashion for packages that do not declare exports

    Previously, trying to import a file that wasn't explicitly exported from a module would result in an error, but now, better attempts are made to resolve the import using node's module resolution algorithm. It's now possible to do things like this:

    import JPEG_DEC_WASM from "@jsquash/jpeg/codec/dec/mozjpeg_dec.wasm";

    This works even if the mozjpeg_dec.wasm file isn't explicitly exported from the @jsquash/jpeg module.

    Fixes #4726

  • Remove confusing --local messaging from wrangler pages dev

    Running wrangler pages dev would previously log a warning saying --local is no longer required even though --local was never set. This change removes this warning.

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.