wrangler 4.120.1 → 4.121.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.120.1",
3
+ "version": "4.121.0",
4
4
  "description": "Command-line interface for all things Cloudflare Workers",
5
5
  "keywords": [
6
6
  "assembly",
@@ -68,8 +68,8 @@
68
68
  "unenv": "2.0.0-rc.24",
69
69
  "workerd": "1.20260804.1",
70
70
  "@cloudflare/kv-asset-handler": "0.5.0",
71
- "miniflare": "5.20260804.0-alpha",
72
- "@cloudflare/unenv-preset": "2.16.1"
71
+ "@cloudflare/unenv-preset": "2.16.1",
72
+ "miniflare": "5.20260804.1-alpha"
73
73
  },
74
74
  "devDependencies": {
75
75
  "@aws-sdk/client-s3": "^3.721.0",
@@ -156,21 +156,21 @@
156
156
  "yaml": "^2.8.1",
157
157
  "yargs": "^17.7.2",
158
158
  "zod": "4.4.3",
159
- "@cloudflare/autoconfig": "0.2.5",
159
+ "@cloudflare/autoconfig": "0.2.6",
160
160
  "@cloudflare/build-output-utils": "0.1.1",
161
- "@cloudflare/cli-shared-helpers": "0.1.21",
162
- "@cloudflare/config": "0.5.0",
161
+ "@cloudflare/cli-shared-helpers": "0.1.22",
163
162
  "@cloudflare/codemod": "1.1.0",
163
+ "@cloudflare/config": "0.5.0",
164
164
  "@cloudflare/containers-shared": "0.16.0",
165
- "@cloudflare/deploy-helpers": "0.6.7",
166
- "@cloudflare/pages-shared": "^0.13.166",
165
+ "@cloudflare/deploy-helpers": "0.6.8",
167
166
  "@cloudflare/pages-functions": "0.1.0",
168
- "@cloudflare/remote-bindings": "0.0.9",
169
- "@cloudflare/runtime-types": "0.0.11",
170
- "@cloudflare/workers-auth": "0.6.1",
167
+ "@cloudflare/remote-bindings": "0.0.10",
168
+ "@cloudflare/runtime-types": "0.0.12",
169
+ "@cloudflare/pages-shared": "^0.13.167",
171
170
  "@cloudflare/workers-shared": "0.19.9",
172
171
  "@cloudflare/workers-tsconfig": "0.0.0",
173
- "@cloudflare/workers-utils": "0.31.2",
172
+ "@cloudflare/workers-auth": "0.6.2",
173
+ "@cloudflare/workers-utils": "0.32.0",
174
174
  "@cloudflare/workflows-shared": "0.12.2"
175
175
  },
176
176
  "peerDependencies": {
@@ -1077,6 +1077,24 @@ type WorkerInput = {
1077
1077
  * Wrangler environment to load from the config file.
1078
1078
  */
1079
1079
  env?: string;
1080
+ /**
1081
+ * Avoids rebuilding a Worker in a Wrangler project each time the test
1082
+ * harness starts or resets. Build the Worker once with
1083
+ * `wrangler deploy --dry-run --outdir`, then specify the same output
1084
+ * directory here.
1085
+ *
1086
+ * When using a named Wrangler environment, `env` must match the environment
1087
+ * used to build the output. Relative paths resolve from server `root`.
1088
+ *
1089
+ * @example
1090
+ * ```sh
1091
+ * wrangler deploy --dry-run --env test --outdir ./worker-output
1092
+ * ```
1093
+ * ```ts
1094
+ * { configPath: "./wrangler.jsonc", env: "test", prebuiltWorkerDir: "./worker-output" }
1095
+ * ```
1096
+ */
1097
+ prebuiltWorkerDir?: string | URL;
1080
1098
  /**
1081
1099
  * Test-only vars that override vars from the Wrangler config.
1082
1100
  */