wrangler
4.164.0 · 17 Nov 2026MIT OR Apache-2.049.3M / weekRepositoryHomepagenpmAtom feed
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
- HighWrangler affected by OS Command Injection in `wrangler pages deploy`GHSA-36p8-mvp6-cv38 · 21 Jan 2026Fixed in 3.114.17
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 devwhen no directory is specifiedDon't require auth for
wrangler r2 object --localoperationsPreviously, 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
miniflareandwranglercan source map in the same processPreviously, if in a
wrangler devsession you calledconsole.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
atnot truncated toat [object Object]Previously, logs containing
atwere 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.wasmfile isn't explicitly exported from the@jsquash/jpegmodule.Fixes #4726
Remove confusing
--localmessaging fromwrangler pages devRunning
wrangler pages devwould previously log a warning saying--local is no longer requiredeven though--localwas 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.