@depup/wrangler 4.120.0-depup.0 → 4.123.0-depup.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/README.md +3 -3
- package/changes.json +3 -3
- package/config-schema.json +48 -5
- package/package.json +20 -20
- package/wrangler-dist/cli.d.ts +38 -5
- package/wrangler-dist/cli.js +2374 -1302
- package/wrangler-dist/metafile-cjs.json +1 -1
package/README.md
CHANGED
|
@@ -13,8 +13,8 @@ npm install @depup/wrangler
|
|
|
13
13
|
|
|
14
14
|
| Field | Value |
|
|
15
15
|
|-------|-------|
|
|
16
|
-
| Original | [wrangler](https://www.npmjs.com/package/wrangler) @ 4.
|
|
17
|
-
| Processed | 2026-08-
|
|
16
|
+
| Original | [wrangler](https://www.npmjs.com/package/wrangler) @ 4.123.0 |
|
|
17
|
+
| Processed | 2026-08-16 |
|
|
18
18
|
| Smoke test | failed |
|
|
19
19
|
| Deps updated | 4 |
|
|
20
20
|
|
|
@@ -25,7 +25,7 @@ npm install @depup/wrangler
|
|
|
25
25
|
| blake3-wasm | 2.1.5 | ^3.0.0 |
|
|
26
26
|
| esbuild | 0.28.1 | ^0.28.2 |
|
|
27
27
|
| path-to-regexp | 6.3.0 | ^8.4.2 |
|
|
28
|
-
| workerd | 1.
|
|
28
|
+
| workerd | 1.20260811.1 | ^1.20260815.1 |
|
|
29
29
|
|
|
30
30
|
---
|
|
31
31
|
|
package/changes.json
CHANGED
|
@@ -13,10 +13,10 @@
|
|
|
13
13
|
"to": "^8.4.2"
|
|
14
14
|
},
|
|
15
15
|
"workerd": {
|
|
16
|
-
"from": "1.
|
|
17
|
-
"to": "^1.
|
|
16
|
+
"from": "1.20260811.1",
|
|
17
|
+
"to": "^1.20260815.1"
|
|
18
18
|
}
|
|
19
19
|
},
|
|
20
|
-
"timestamp": "2026-08-
|
|
20
|
+
"timestamp": "2026-08-16T00:27:56.776Z",
|
|
21
21
|
"totalUpdated": 4
|
|
22
22
|
}
|
package/config-schema.json
CHANGED
|
@@ -342,6 +342,11 @@
|
|
|
342
342
|
"description": "Specify the observability behavior of the Worker.\n\nFor reference, see https://developers.cloudflare.com/workers/wrangler/configuration/#observability",
|
|
343
343
|
"markdownDescription": "Specify the observability behavior of the Worker.\n\nFor reference, see https://developers.cloudflare.com/workers/wrangler/configuration/#observability"
|
|
344
344
|
},
|
|
345
|
+
"access": {
|
|
346
|
+
"$ref": "#/definitions/Access",
|
|
347
|
+
"description": "Specify the Cloudflare Access authentication behavior of the Worker.",
|
|
348
|
+
"markdownDescription": "Specify the Cloudflare Access authentication behavior of the Worker."
|
|
349
|
+
},
|
|
345
350
|
"cache": {
|
|
346
351
|
"$ref": "#/definitions/CacheOptions",
|
|
347
352
|
"description": "Specify the cache behavior of the Worker.",
|
|
@@ -2103,6 +2108,11 @@
|
|
|
2103
2108
|
"description": "Specify the observability behavior of the Worker.\n\nFor reference, see https://developers.cloudflare.com/workers/wrangler/configuration/#observability",
|
|
2104
2109
|
"markdownDescription": "Specify the observability behavior of the Worker.\n\nFor reference, see https://developers.cloudflare.com/workers/wrangler/configuration/#observability"
|
|
2105
2110
|
},
|
|
2111
|
+
"access": {
|
|
2112
|
+
"$ref": "#/definitions/Access",
|
|
2113
|
+
"description": "Specify the Cloudflare Access authentication behavior of the Worker.",
|
|
2114
|
+
"markdownDescription": "Specify the Cloudflare Access authentication behavior of the Worker."
|
|
2115
|
+
},
|
|
2106
2116
|
"cache": {
|
|
2107
2117
|
"$ref": "#/definitions/CacheOptions",
|
|
2108
2118
|
"description": "Specify the cache behavior of the Worker.",
|
|
@@ -3965,6 +3975,34 @@
|
|
|
3965
3975
|
},
|
|
3966
3976
|
"additionalProperties": false
|
|
3967
3977
|
},
|
|
3978
|
+
"Access": {
|
|
3979
|
+
"type": "object",
|
|
3980
|
+
"properties": {
|
|
3981
|
+
"dev": {
|
|
3982
|
+
"type": "object",
|
|
3983
|
+
"properties": {
|
|
3984
|
+
"aud": {
|
|
3985
|
+
"type": "string",
|
|
3986
|
+
"description": "The Access application audience tag (aud)",
|
|
3987
|
+
"markdownDescription": "The Access application audience tag (aud)"
|
|
3988
|
+
},
|
|
3989
|
+
"identity": {
|
|
3990
|
+
"type": "object",
|
|
3991
|
+
"additionalProperties": {},
|
|
3992
|
+
"description": "Mock identity object returned by ctx.access.getIdentity()",
|
|
3993
|
+
"markdownDescription": "Mock identity object returned by ctx.access.getIdentity()"
|
|
3994
|
+
}
|
|
3995
|
+
},
|
|
3996
|
+
"required": [
|
|
3997
|
+
"aud"
|
|
3998
|
+
],
|
|
3999
|
+
"additionalProperties": false,
|
|
4000
|
+
"description": "Local dev simulation of Cloudflare Access authentication",
|
|
4001
|
+
"markdownDescription": "Local dev simulation of Cloudflare Access authentication"
|
|
4002
|
+
}
|
|
4003
|
+
},
|
|
4004
|
+
"additionalProperties": false
|
|
4005
|
+
},
|
|
3968
4006
|
"CacheOptions": {
|
|
3969
4007
|
"type": "object",
|
|
3970
4008
|
"properties": {
|
|
@@ -3989,16 +4027,16 @@
|
|
|
3989
4027
|
"additionalProperties": false,
|
|
3990
4028
|
"properties": {
|
|
3991
4029
|
"logpush": {
|
|
3992
|
-
"$ref": "#/definitions/interface-769040647-10754-
|
|
4030
|
+
"$ref": "#/definitions/interface-769040647-10754-21116-769040647-0-543362004818536"
|
|
3993
4031
|
},
|
|
3994
4032
|
"observability": {
|
|
3995
|
-
"$ref": "#/definitions/interface-769040647-10754-
|
|
4033
|
+
"$ref": "#/definitions/interface-769040647-10754-21116-769040647-0-543362004818536"
|
|
3996
4034
|
},
|
|
3997
4035
|
"limits": {
|
|
3998
|
-
"$ref": "#/definitions/interface-769040647-10754-
|
|
4036
|
+
"$ref": "#/definitions/interface-769040647-10754-21116-769040647-0-543362004818536"
|
|
3999
4037
|
},
|
|
4000
4038
|
"cache": {
|
|
4001
|
-
"$ref": "#/definitions/interface-769040647-10754-
|
|
4039
|
+
"$ref": "#/definitions/interface-769040647-10754-21116-769040647-0-543362004818536"
|
|
4002
4040
|
},
|
|
4003
4041
|
"define": {
|
|
4004
4042
|
"type": "object",
|
|
@@ -5270,7 +5308,7 @@
|
|
|
5270
5308
|
"description": "Configuration for Worker Previews.\n\nThis defines the settings used when creating Preview deployments. Previews are branches of your Worker's main instance used to test features during feature development outside of production.\n\nThe `previews` block contains any intentionally divergent configuration intended solely for Previews, including:\n- All non-inheritable properties (environment variables and bindings like KV, D1, R2, etc.)\n- Select inheritable properties: `logpush`, `observability`, `limits`, `cache`",
|
|
5271
5309
|
"markdownDescription": "Configuration for Worker Previews.\n\nThis defines the settings used when creating Preview deployments.\nPreviews are branches of your Worker's main instance used to test features\nduring feature development outside of production.\n\nThe `previews` block contains any intentionally divergent configuration intended solely for Previews, including:\n- All non-inheritable properties (environment variables and bindings like KV, D1, R2, etc.)\n- Select inheritable properties: `logpush`, `observability`, `limits`, `cache`"
|
|
5272
5310
|
},
|
|
5273
|
-
"interface-769040647-10754-
|
|
5311
|
+
"interface-769040647-10754-21116-769040647-0-543362004818536": {
|
|
5274
5312
|
"type": "object",
|
|
5275
5313
|
"properties": {
|
|
5276
5314
|
"name": {
|
|
@@ -5597,6 +5635,11 @@
|
|
|
5597
5635
|
"description": "Specify the observability behavior of the Worker.\n\nFor reference, see https://developers.cloudflare.com/workers/wrangler/configuration/#observability",
|
|
5598
5636
|
"markdownDescription": "Specify the observability behavior of the Worker.\n\nFor reference, see https://developers.cloudflare.com/workers/wrangler/configuration/#observability"
|
|
5599
5637
|
},
|
|
5638
|
+
"access": {
|
|
5639
|
+
"$ref": "#/definitions/Access",
|
|
5640
|
+
"description": "Specify the Cloudflare Access authentication behavior of the Worker.",
|
|
5641
|
+
"markdownDescription": "Specify the Cloudflare Access authentication behavior of the Worker."
|
|
5642
|
+
},
|
|
5600
5643
|
"cache": {
|
|
5601
5644
|
"$ref": "#/definitions/CacheOptions",
|
|
5602
5645
|
"description": "Specify the cache behavior of the Worker.",
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@depup/wrangler",
|
|
3
|
-
"version": "4.
|
|
3
|
+
"version": "4.123.0-depup.0",
|
|
4
4
|
"description": "Command-line interface for all things Cloudflare Workers (with updated dependencies)",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"wrangler",
|
|
@@ -73,17 +73,17 @@
|
|
|
73
73
|
"esbuild": "^0.28.2",
|
|
74
74
|
"path-to-regexp": "^8.4.2",
|
|
75
75
|
"unenv": "2.0.0-rc.24",
|
|
76
|
-
"workerd": "^1.
|
|
76
|
+
"workerd": "^1.20260815.1",
|
|
77
77
|
"@cloudflare/kv-asset-handler": "0.5.0",
|
|
78
78
|
"@cloudflare/unenv-preset": "2.16.1",
|
|
79
|
-
"miniflare": "5.
|
|
79
|
+
"miniflare": "5.20260811.1-alpha"
|
|
80
80
|
},
|
|
81
81
|
"devDependencies": {
|
|
82
82
|
"@aws-sdk/client-s3": "^3.721.0",
|
|
83
83
|
"@aws-sdk/s3-request-presigner": "^3.721.0",
|
|
84
84
|
"@bomb.sh/tab": "^0.0.12",
|
|
85
85
|
"@cloudflare/types": "6.18.4",
|
|
86
|
-
"@cloudflare/workers-types": "^5.
|
|
86
|
+
"@cloudflare/workers-types": "^5.20260811.1",
|
|
87
87
|
"@cspotcode/source-map-support": "0.8.1",
|
|
88
88
|
"@netlify/build-info": "^10.5.1",
|
|
89
89
|
"@sentry/node": "^7.86.0",
|
|
@@ -163,25 +163,25 @@
|
|
|
163
163
|
"yaml": "^2.8.1",
|
|
164
164
|
"yargs": "^17.7.2",
|
|
165
165
|
"zod": "4.4.3",
|
|
166
|
-
"@cloudflare/autoconfig": "0.2.
|
|
167
|
-
"@cloudflare/build-output-utils": "0.1.
|
|
168
|
-
"@cloudflare/cli-shared-helpers": "0.1.
|
|
166
|
+
"@cloudflare/autoconfig": "0.2.7",
|
|
167
|
+
"@cloudflare/build-output-utils": "0.1.1",
|
|
168
|
+
"@cloudflare/cli-shared-helpers": "0.1.23",
|
|
169
169
|
"@cloudflare/codemod": "1.1.0",
|
|
170
|
-
"@cloudflare/config": "0.
|
|
170
|
+
"@cloudflare/config": "0.5.0",
|
|
171
171
|
"@cloudflare/containers-shared": "0.16.0",
|
|
172
|
-
"@cloudflare/deploy-helpers": "0.
|
|
172
|
+
"@cloudflare/deploy-helpers": "0.7.0",
|
|
173
173
|
"@cloudflare/pages-functions": "0.1.0",
|
|
174
|
-
"@cloudflare/pages-shared": "^0.13.
|
|
175
|
-
"@cloudflare/remote-bindings": "0.0.
|
|
176
|
-
"@cloudflare/runtime-types": "0.0.
|
|
177
|
-
"@cloudflare/workers-auth": "0.6.
|
|
174
|
+
"@cloudflare/pages-shared": "^0.13.169",
|
|
175
|
+
"@cloudflare/remote-bindings": "0.0.12",
|
|
176
|
+
"@cloudflare/runtime-types": "0.0.14",
|
|
177
|
+
"@cloudflare/workers-auth": "0.6.3",
|
|
178
178
|
"@cloudflare/workers-shared": "0.19.9",
|
|
179
|
+
"@cloudflare/workflows-shared": "0.12.2",
|
|
179
180
|
"@cloudflare/workers-tsconfig": "0.0.0",
|
|
180
|
-
"@cloudflare/workers-utils": "0.
|
|
181
|
-
"@cloudflare/workflows-shared": "0.12.2"
|
|
181
|
+
"@cloudflare/workers-utils": "0.33.0"
|
|
182
182
|
},
|
|
183
183
|
"peerDependencies": {
|
|
184
|
-
"@cloudflare/workers-types": "^5.
|
|
184
|
+
"@cloudflare/workers-types": "^5.20260811.1"
|
|
185
185
|
},
|
|
186
186
|
"peerDependenciesMeta": {
|
|
187
187
|
"@cloudflare/workers-types": {
|
|
@@ -230,14 +230,14 @@
|
|
|
230
230
|
"to": "^8.4.2"
|
|
231
231
|
},
|
|
232
232
|
"workerd": {
|
|
233
|
-
"from": "1.
|
|
234
|
-
"to": "^1.
|
|
233
|
+
"from": "1.20260811.1",
|
|
234
|
+
"to": "^1.20260815.1"
|
|
235
235
|
}
|
|
236
236
|
},
|
|
237
237
|
"depsUpdated": 4,
|
|
238
238
|
"originalPackage": "wrangler",
|
|
239
|
-
"originalVersion": "4.
|
|
240
|
-
"processedAt": "2026-08-
|
|
239
|
+
"originalVersion": "4.123.0",
|
|
240
|
+
"processedAt": "2026-08-16T00:28:21.810Z",
|
|
241
241
|
"smokeTest": "failed"
|
|
242
242
|
}
|
|
243
243
|
}
|
package/wrangler-dist/cli.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { Rule as Rule$1, CfModule, Environment as Environment$1, Entry, CfModuleType, Config as Config$1, StartDevWorkerInput, NodeJSCompatMode, CfScriptFormat, AsyncHook, CfAccount, AssetsOptions as AssetsOptions$1, Binding, ConfigBindingFieldName, RawConfig as RawConfig$1, NormalizeAndValidateConfigArgs, ResolveConfigPathOptions, ParseError, LoggerLevel, ComplianceConfig, ApiCredentials, UserError, FatalError } from '@cloudflare/workers-utils';
|
|
2
2
|
export { Binding, experimental_patchConfig, experimental_readRawConfig, defaultWranglerConfig as unstable_defaultWranglerConfig } from '@cloudflare/workers-utils';
|
|
3
|
-
import { Json as Json$1, WorkerdStructuredLog, DispatchFetch, Miniflare, WorkerRegistry,
|
|
3
|
+
import { Json as Json$1, WorkerdStructuredLog, DispatchFetch, Miniflare, WorkerRegistry, V4MiniflareOptions, Mutex, Response as Response$1, DurableObjectStorageOptions, DurableObjectStorageHandle, RemoteProxyConnectionString, V4WorkerOptions, V4ModuleRule, Request } from 'miniflare';
|
|
4
4
|
import * as undici from 'undici';
|
|
5
5
|
import { RequestInfo, RequestInit, Response, FormData } from 'undici';
|
|
6
6
|
import { Metafile } from 'esbuild';
|
|
@@ -572,7 +572,7 @@ declare class ProxyController extends Controller {
|
|
|
572
572
|
ready: DeferredPromise<ReadyEvent>;
|
|
573
573
|
localServerReady: DeferredPromise<void>;
|
|
574
574
|
proxyWorker?: Miniflare;
|
|
575
|
-
proxyWorkerOptions?:
|
|
575
|
+
proxyWorkerOptions?: V4MiniflareOptions;
|
|
576
576
|
private inspectorProxyWorkerWebSocket?;
|
|
577
577
|
protected latestConfig?: StartDevWorkerOptions;
|
|
578
578
|
protected latestBundle?: EsbuildBundle;
|
|
@@ -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
|
*/
|
|
@@ -1860,6 +1878,12 @@ interface EnvironmentInheritable {
|
|
|
1860
1878
|
* @inheritable
|
|
1861
1879
|
*/
|
|
1862
1880
|
observability: Observability | undefined;
|
|
1881
|
+
/**
|
|
1882
|
+
* Specify the Cloudflare Access authentication behavior of the Worker.
|
|
1883
|
+
*
|
|
1884
|
+
* @inheritable
|
|
1885
|
+
*/
|
|
1886
|
+
access: Access | undefined;
|
|
1863
1887
|
/**
|
|
1864
1888
|
* Specify the cache behavior of the Worker.
|
|
1865
1889
|
*
|
|
@@ -2814,6 +2838,15 @@ interface Observability {
|
|
|
2814
2838
|
destinations?: string[];
|
|
2815
2839
|
};
|
|
2816
2840
|
}
|
|
2841
|
+
interface Access {
|
|
2842
|
+
/** Local dev simulation of Cloudflare Access authentication */
|
|
2843
|
+
dev?: {
|
|
2844
|
+
/** The Access application audience tag (aud) */
|
|
2845
|
+
aud: string;
|
|
2846
|
+
/** Mock identity object returned by ctx.access.getIdentity() */
|
|
2847
|
+
identity?: Record<string, unknown>;
|
|
2848
|
+
};
|
|
2849
|
+
}
|
|
2817
2850
|
interface CacheOptions {
|
|
2818
2851
|
/** If cache is enabled for this Worker */
|
|
2819
2852
|
enabled: boolean;
|
|
@@ -3253,14 +3286,14 @@ type PlatformProxy<Env = Record<string, unknown>, CfProperties extends Record<st
|
|
|
3253
3286
|
* @returns An Object containing the generated proxies alongside other related utilities
|
|
3254
3287
|
*/
|
|
3255
3288
|
declare function getPlatformProxy<Env = Record<string, unknown>, CfProperties extends Record<string, unknown> = IncomingRequestCfProperties>(options?: GetPlatformProxyOptions): Promise<PlatformProxy<Env, CfProperties>>;
|
|
3256
|
-
type SourcelessWorkerOptions = Omit<
|
|
3257
|
-
modulesRules?:
|
|
3289
|
+
type SourcelessWorkerOptions = Omit<V4WorkerOptions, "script" | "scriptPath" | "modules" | "modulesRoot"> & {
|
|
3290
|
+
modulesRules?: V4ModuleRule[];
|
|
3258
3291
|
};
|
|
3259
3292
|
interface Unstable_MiniflareWorkerOptions {
|
|
3260
3293
|
workerOptions: SourcelessWorkerOptions;
|
|
3261
3294
|
define: Record<string, string>;
|
|
3262
3295
|
main?: string;
|
|
3263
|
-
externalWorkers:
|
|
3296
|
+
externalWorkers: V4WorkerOptions[];
|
|
3264
3297
|
}
|
|
3265
3298
|
declare function unstable_getMiniflareWorkerOptions(configPath: string, env?: string, options?: {
|
|
3266
3299
|
remoteProxyConnectionString?: RemoteProxyConnectionString;
|