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
1 new1 fixed2 internal
Security
1 advisory affects 3.24.0; 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
Minor Changes
Add new
getBindingsProxyutility to the wrangler packageThe new utility is part of wrangler's JS API (it is not part of the wrangler CLI) and its use is to provide proxy objects to bindings, such objects can be used in Node.js code as if they were actual bindings
The utility reads the
wrangler.tomlfile present in the current working directory in order to discern what bindings should be available (awrangler.jsonfile can be used too, as well as config files with custom paths).
Example
Assuming that in the current working directory there is a `wrangler.toml` file with the following
content:
[[kv_namespaces]]
binding = "MY_KV"
id = "xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx"
The utility could be used in a nodejs script in the following way:
```js
import { getBindingsProxy } from "wrangler";
const { bindings, dispose } = await getBindingsProxy();
try {
const myKv = bindings.MY_KV;
const kvValue = await myKv.get("my-kv-key");
console.log(`KV Value = ${kvValue}`);
} finally {
await dispose();
}
```Patch Changes
Use Windows SYSTEMROOT env var for finding netstat
Currently, the drive letter of os.homedir() (the user's home directory) is used to build the path to netstat.exe. However, user directories are not always on the same drive as the Windows installation, in which case the path to netstat will be incorrect. Now we use the %SYSTEMROOT% environment variable which correctly points to the installation path of Windows.
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.