Latest Threat Research:SANDWORM_MODE: Shai-Hulud-Style npm Worm Hijacks CI Workflows and Poisons AI Toolchains.Details
Socket
Book a DemoInstallSign in
Socket

wrangler

Package Overview
Dependencies
Maintainers
1
Versions
4860
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

wrangler - npm Package Compare versions

Comparing version
4.67.0
to
4.67.1
+9
-9
package.json
{
"name": "wrangler",
"version": "4.67.0",
"version": "4.67.1",
"description": "Command-line interface for all things Cloudflare Workers",

@@ -57,6 +57,6 @@ "keywords": [

"unenv": "2.0.0-rc.24",
"workerd": "1.20260219.0",
"workerd": "1.20260302.0",
"@cloudflare/kv-asset-handler": "0.4.2",
"@cloudflare/unenv-preset": "2.14.0",
"miniflare": "4.20260219.0"
"miniflare": "4.20260302.0"
},

@@ -67,3 +67,3 @@ "devDependencies": {

"@cloudflare/types": "6.18.4",
"@cloudflare/workers-types": "^4.20260219.0",
"@cloudflare/workers-types": "^4.20260302.0",
"@cspotcode/source-map-support": "0.8.1",

@@ -94,3 +94,3 @@ "@netlify/build-info": "^10.2.0",

"am-i-vibing": "^0.1.0",
"capnweb": "^0.1.0",
"capnweb": "^0.5.0",
"chalk": "^5.2.0",

@@ -109,6 +109,6 @@ "chokidar": "^4.0.1",

"dotenv-expand": "^12.0.2",
"empathic": "^2.0.0",
"eslint": "^9.39.1",
"esprima": "4.0.1",
"execa": "^6.1.0",
"find-up": "^6.3.0",
"get-port": "^7.0.0",

@@ -157,10 +157,10 @@ "glob-to-regexp": "^0.4.1",

"@cloudflare/eslint-config-shared": "1.2.1",
"@cloudflare/pages-shared": "^0.13.110",
"@cloudflare/workers-shared": "0.19.0",
"@cloudflare/pages-shared": "^0.13.109",
"@cloudflare/workers-tsconfig": "0.0.0",
"@cloudflare/workers-utils": "0.11.0",
"@cloudflare/workers-utils": "0.11.1",
"@cloudflare/workflows-shared": "0.4.0"
},
"peerDependencies": {
"@cloudflare/workers-types": "^4.20260219.0"
"@cloudflare/workers-types": "^4.20260302.0"
},

@@ -167,0 +167,0 @@ "peerDependenciesMeta": {

@@ -25,35 +25,2 @@ import { newWorkersRpcResponse } from "capnweb";

/**
* Here be dragons! capnweb does not currently support ReadableStreams, which Media
* bindings use for input. As such, Media Bindings cannot be directly used via capnweb,
* and need to be special cased.
*/
function isSpecialCaseMediaBindingRequest(headers: Headers): boolean {
return headers.has("x-cf-media-input-options");
}
async function evaluateMediaBinding(
headers: Headers,
stream: ReadableStream,
binding: MediaBinding
): Promise<Response> {
const inputOptions = JSON.parse(
headers.get("x-cf-media-input-options") as string
);
const outputOptions = JSON.parse(
headers.get("x-cf-media-output-options") as string
);
const result = await binding
.input(stream)
.transform(inputOptions)
.output(outputOptions);
return new Response(await result.media(), {
headers: {
"x-cf-media-content-type": await result.contentType(),
},
});
}
/**
* For most bindings, we expose them as

@@ -191,9 +158,2 @@ * - RPC stubs directly to capnweb, or

}
if (isSpecialCaseMediaBindingRequest(originalHeaders)) {
return evaluateMediaBinding(
originalHeaders,
request.body as ReadableStream,
fetcher as unknown as MediaBinding
);
}

@@ -200,0 +160,0 @@ return fetcher.fetch(

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is too big to display