wrangler 4.72.0 → 4.73.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "wrangler",
3
- "version": "4.72.0",
3
+ "version": "4.73.0",
4
4
  "description": "Command-line interface for all things Cloudflare Workers",
5
5
  "keywords": [
6
6
  "wrangler",
@@ -54,16 +54,16 @@
54
54
  "esbuild": "0.27.3",
55
55
  "path-to-regexp": "6.3.0",
56
56
  "unenv": "2.0.0-rc.24",
57
- "workerd": "1.20260310.1",
57
+ "workerd": "1.20260312.1",
58
58
  "@cloudflare/kv-asset-handler": "0.4.2",
59
59
  "@cloudflare/unenv-preset": "2.15.0",
60
- "miniflare": "4.20260310.0"
60
+ "miniflare": "4.20260312.0"
61
61
  },
62
62
  "devDependencies": {
63
63
  "@aws-sdk/client-s3": "^3.721.0",
64
64
  "@bomb.sh/tab": "^0.0.12",
65
65
  "@cloudflare/types": "6.18.4",
66
- "@cloudflare/workers-types": "^4.20260310.1",
66
+ "@cloudflare/workers-types": "^4.20260312.1",
67
67
  "@cspotcode/source-map-support": "0.8.1",
68
68
  "@netlify/build-info": "^10.2.0",
69
69
  "@sentry/node": "^7.86.0",
@@ -86,7 +86,7 @@
86
86
  "@types/supports-color": "^8.1.1",
87
87
  "@types/ws": "^8.5.7",
88
88
  "@types/yargs": "^17.0.22",
89
- "@vitest/ui": "~3.2.0",
89
+ "@vitest/ui": "3.2.4",
90
90
  "@webcontainer/env": "^1.1.0",
91
91
  "am-i-vibing": "^0.1.0",
92
92
  "capnweb": "^0.5.0",
@@ -118,7 +118,7 @@
118
118
  "mime": "^3.0.0",
119
119
  "minimatch": "^5.1.0",
120
120
  "mock-socket": "^9.3.1",
121
- "msw": "2.12.0",
121
+ "msw": "2.12.4",
122
122
  "node-forge": "^1.3.2",
123
123
  "open": "^8.4.0",
124
124
  "p-queue": "^9.0.0",
@@ -141,23 +141,23 @@
141
141
  "typescript": "~5.8.3",
142
142
  "undici": "7.18.2",
143
143
  "update-check": "^1.5.4",
144
- "vitest": "~3.2.0",
144
+ "vitest": "3.2.4",
145
145
  "vitest-websocket-mock": "^0.4.0",
146
146
  "ws": "8.18.0",
147
147
  "xxhash-wasm": "^1.0.1",
148
148
  "yaml": "^2.8.1",
149
149
  "yargs": "^17.7.2",
150
150
  "@cloudflare/cli": "1.2.1",
151
- "@cloudflare/containers-shared": "0.10.0",
151
+ "@cloudflare/containers-shared": "0.11.0",
152
152
  "@cloudflare/eslint-config-shared": "1.2.1",
153
- "@cloudflare/pages-shared": "^0.13.113",
153
+ "@cloudflare/pages-shared": "^0.13.114",
154
154
  "@cloudflare/workers-shared": "0.19.1",
155
155
  "@cloudflare/workers-tsconfig": "0.0.0",
156
156
  "@cloudflare/workers-utils": "0.12.0",
157
157
  "@cloudflare/workflows-shared": "0.6.0"
158
158
  },
159
159
  "peerDependencies": {
160
- "@cloudflare/workers-types": "^4.20260310.1"
160
+ "@cloudflare/workers-types": "^4.20260312.1"
161
161
  },
162
162
  "peerDependenciesMeta": {
163
163
  "@cloudflare/workers-types": {
@@ -642,8 +642,8 @@ interface StartDevWorkerInput {
642
642
  remote?: boolean | "minimal";
643
643
  /** Cloudflare Account credentials. Can be provided upfront or as a function which will be called only when required. */
644
644
  auth?: AsyncHook<CfAccount, [Pick<Config$1, "account_id">]>;
645
- /** Whether local storage (KV, Durable Objects, R2, D1, etc) is persisted. You can also specify the directory to persist data to. */
646
- persist?: string;
645
+ /** Whether local storage (KV, Durable Objects, R2, D1, etc) is persisted. You can also specify the directory to persist data to. Set to `false` to disable persistence. */
646
+ persist?: string | false;
647
647
  /** Controls which logs are logged 🤙. */
648
648
  logLevel?: LogLevel;
649
649
  /** Whether the worker server restarts upon source/config file changes. */
@@ -690,7 +690,7 @@ interface StartDevWorkerInput {
690
690
  assets?: string;
691
691
  experimental?: Record<string, never>;
692
692
  }
693
- type StartDevWorkerOptions = Omit<StartDevWorkerInput, "assets" | "containers"> & {
693
+ type StartDevWorkerOptions = Omit<StartDevWorkerInput, "assets" | "containers" | "dev"> & {
694
694
  /** A worker's directory. Usually where the Wrangler configuration file is located */
695
695
  projectRoot: string;
696
696
  build: StartDevWorkerInput["build"] & {
@@ -707,7 +707,7 @@ type StartDevWorkerOptions = Omit<StartDevWorkerInput, "assets" | "containers">
707
707
  site?: Config$1["site"];
708
708
  };
709
709
  dev: StartDevWorkerInput["dev"] & {
710
- persist: string;
710
+ persist: string | false;
711
711
  auth?: AsyncHook<CfAccount>;
712
712
  };
713
713
  entrypoint: string;
@@ -2450,7 +2450,7 @@ type PackageJsonScriptsOverrides = {
2450
2450
  };
2451
2451
  type ConfigurationResults = {
2452
2452
  /** The wrangler configuration that the framework's `configure()` hook should generate. `null` if autoconfig should not create the wrangler file (in case an external tool already does that) */
2453
- wranglerConfig: RawConfig$1;
2453
+ wranglerConfig: RawConfig$1 | null;
2454
2454
  packageJsonScriptsOverrides?: PackageJsonScriptsOverrides;
2455
2455
  buildCommandOverride?: string;
2456
2456
  deployCommandOverride?: string;
@@ -2514,7 +2514,7 @@ type AutoConfigOptions = {
2514
2514
  type AutoConfigSummary = {
2515
2515
  scripts: Record<string, string>;
2516
2516
  wranglerInstall: boolean;
2517
- wranglerConfig: RawConfig$1;
2517
+ wranglerConfig?: RawConfig$1;
2518
2518
  frameworkConfiguration?: string;
2519
2519
  outputDir: string;
2520
2520
  frameworkId?: string;
@@ -3143,6 +3143,7 @@ interface Unstable_ASSETSBindingsOptions {
3143
3143
  log: Logger;
3144
3144
  proxyPort?: number;
3145
3145
  directory?: string;
3146
+ signal?: AbortSignal;
3146
3147
  }
3147
3148
  declare const unstable_generateASSETSBinding: (opts: Unstable_ASSETSBindingsOptions) => (request: Request) => Promise<Response$1>;
3148
3149