wrangler 4.71.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 +11 -11
- package/wrangler-dist/cli.d.ts +8 -9
- package/wrangler-dist/cli.js +774 -610
- package/wrangler-dist/metafile-cjs.json +1 -1
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "wrangler",
|
|
3
|
-
"version": "4.
|
|
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.
|
|
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.
|
|
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.
|
|
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": "
|
|
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,8 +118,8 @@
|
|
|
118
118
|
"mime": "^3.0.0",
|
|
119
119
|
"minimatch": "^5.1.0",
|
|
120
120
|
"mock-socket": "^9.3.1",
|
|
121
|
-
"msw": "2.12.
|
|
122
|
-
"node-forge": "^1.3.
|
|
121
|
+
"msw": "2.12.4",
|
|
122
|
+
"node-forge": "^1.3.2",
|
|
123
123
|
"open": "^8.4.0",
|
|
124
124
|
"p-queue": "^9.0.0",
|
|
125
125
|
"patch-console": "^1.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": "
|
|
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.
|
|
151
|
+
"@cloudflare/containers-shared": "0.11.0",
|
|
152
152
|
"@cloudflare/eslint-config-shared": "1.2.1",
|
|
153
|
-
"@cloudflare/pages-shared": "^0.13.
|
|
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.
|
|
160
|
+
"@cloudflare/workers-types": "^4.20260312.1"
|
|
161
161
|
},
|
|
162
162
|
"peerDependenciesMeta": {
|
|
163
163
|
"@cloudflare/workers-types": {
|
package/wrangler-dist/cli.d.ts
CHANGED
|
@@ -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. */
|
|
@@ -688,11 +688,9 @@ interface StartDevWorkerInput {
|
|
|
688
688
|
};
|
|
689
689
|
unsafe?: Omit<CfUnsafe, "bindings">;
|
|
690
690
|
assets?: string;
|
|
691
|
-
experimental?:
|
|
692
|
-
tailLogs: boolean;
|
|
693
|
-
};
|
|
691
|
+
experimental?: Record<string, never>;
|
|
694
692
|
}
|
|
695
|
-
type StartDevWorkerOptions = Omit<StartDevWorkerInput, "assets" | "containers"> & {
|
|
693
|
+
type StartDevWorkerOptions = Omit<StartDevWorkerInput, "assets" | "containers" | "dev"> & {
|
|
696
694
|
/** A worker's directory. Usually where the Wrangler configuration file is located */
|
|
697
695
|
projectRoot: string;
|
|
698
696
|
build: StartDevWorkerInput["build"] & {
|
|
@@ -709,7 +707,7 @@ type StartDevWorkerOptions = Omit<StartDevWorkerInput, "assets" | "containers">
|
|
|
709
707
|
site?: Config$1["site"];
|
|
710
708
|
};
|
|
711
709
|
dev: StartDevWorkerInput["dev"] & {
|
|
712
|
-
persist: string;
|
|
710
|
+
persist: string | false;
|
|
713
711
|
auth?: AsyncHook<CfAccount>;
|
|
714
712
|
};
|
|
715
713
|
entrypoint: string;
|
|
@@ -2452,7 +2450,7 @@ type PackageJsonScriptsOverrides = {
|
|
|
2452
2450
|
};
|
|
2453
2451
|
type ConfigurationResults = {
|
|
2454
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) */
|
|
2455
|
-
wranglerConfig: RawConfig$1;
|
|
2453
|
+
wranglerConfig: RawConfig$1 | null;
|
|
2456
2454
|
packageJsonScriptsOverrides?: PackageJsonScriptsOverrides;
|
|
2457
2455
|
buildCommandOverride?: string;
|
|
2458
2456
|
deployCommandOverride?: string;
|
|
@@ -2516,7 +2514,7 @@ type AutoConfigOptions = {
|
|
|
2516
2514
|
type AutoConfigSummary = {
|
|
2517
2515
|
scripts: Record<string, string>;
|
|
2518
2516
|
wranglerInstall: boolean;
|
|
2519
|
-
wranglerConfig
|
|
2517
|
+
wranglerConfig?: RawConfig$1;
|
|
2520
2518
|
frameworkConfiguration?: string;
|
|
2521
2519
|
outputDir: string;
|
|
2522
2520
|
frameworkId?: string;
|
|
@@ -3145,6 +3143,7 @@ interface Unstable_ASSETSBindingsOptions {
|
|
|
3145
3143
|
log: Logger;
|
|
3146
3144
|
proxyPort?: number;
|
|
3147
3145
|
directory?: string;
|
|
3146
|
+
signal?: AbortSignal;
|
|
3148
3147
|
}
|
|
3149
3148
|
declare const unstable_generateASSETSBinding: (opts: Unstable_ASSETSBindingsOptions) => (request: Request) => Promise<Response$1>;
|
|
3150
3149
|
|