wrangler 3.107.2 → 3.108.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/config-schema.json +42 -0
- package/package.json +9 -8
- package/wrangler-dist/cli.d.ts +19 -1
- package/wrangler-dist/cli.js +3261 -1838
- package/wrangler-dist/cli.js.map +7 -0
package/config-schema.json
CHANGED
@@ -603,6 +603,20 @@
|
|
603
603
|
},
|
604
604
|
"type": "array"
|
605
605
|
},
|
606
|
+
"images": {
|
607
|
+
"additionalProperties": false,
|
608
|
+
"default": {},
|
609
|
+
"description": "Binding to Cloudflare Images\n\nNOTE: This field is not automatically inherited from the top level environment, and so must be specified in every named environment.",
|
610
|
+
"properties": {
|
611
|
+
"binding": {
|
612
|
+
"type": "string"
|
613
|
+
}
|
614
|
+
},
|
615
|
+
"required": [
|
616
|
+
"binding"
|
617
|
+
],
|
618
|
+
"type": "object"
|
619
|
+
},
|
606
620
|
"jsx_factory": {
|
607
621
|
"default": "React.createElement",
|
608
622
|
"description": "The function to use to replace jsx syntax.",
|
@@ -1575,6 +1589,20 @@
|
|
1575
1589
|
},
|
1576
1590
|
"type": "array"
|
1577
1591
|
},
|
1592
|
+
"images": {
|
1593
|
+
"additionalProperties": false,
|
1594
|
+
"default": {},
|
1595
|
+
"description": "Binding to Cloudflare Images\n\nNOTE: This field is not automatically inherited from the top level environment, and so must be specified in every named environment.",
|
1596
|
+
"properties": {
|
1597
|
+
"binding": {
|
1598
|
+
"type": "string"
|
1599
|
+
}
|
1600
|
+
},
|
1601
|
+
"required": [
|
1602
|
+
"binding"
|
1603
|
+
],
|
1604
|
+
"type": "object"
|
1605
|
+
},
|
1578
1606
|
"jsx_factory": {
|
1579
1607
|
"default": "React.createElement",
|
1580
1608
|
"description": "The function to use to replace jsx syntax.",
|
@@ -2612,6 +2640,20 @@
|
|
2612
2640
|
},
|
2613
2641
|
"type": "array"
|
2614
2642
|
},
|
2643
|
+
"images": {
|
2644
|
+
"additionalProperties": false,
|
2645
|
+
"default": {},
|
2646
|
+
"description": "Binding to Cloudflare Images\n\nNOTE: This field is not automatically inherited from the top level environment, and so must be specified in every named environment.",
|
2647
|
+
"properties": {
|
2648
|
+
"binding": {
|
2649
|
+
"type": "string"
|
2650
|
+
}
|
2651
|
+
},
|
2652
|
+
"required": [
|
2653
|
+
"binding"
|
2654
|
+
],
|
2655
|
+
"type": "object"
|
2656
|
+
},
|
2615
2657
|
"jsx_factory": {
|
2616
2658
|
"default": "React.createElement",
|
2617
2659
|
"description": "The function to use to replace jsx syntax.",
|
package/package.json
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "wrangler",
|
3
|
-
"version": "3.
|
3
|
+
"version": "3.108.0",
|
4
4
|
"description": "Command-line interface for all things Cloudflare Workers",
|
5
5
|
"keywords": [
|
6
6
|
"wrangler",
|
@@ -56,14 +56,14 @@
|
|
56
56
|
"esbuild": "0.17.19",
|
57
57
|
"path-to-regexp": "6.3.0",
|
58
58
|
"unenv": "2.0.0-rc.1",
|
59
|
-
"workerd": "1.
|
59
|
+
"workerd": "1.20250204.0",
|
60
60
|
"@cloudflare/kv-asset-handler": "0.3.4",
|
61
|
-
"miniflare": "3.
|
61
|
+
"miniflare": "3.20250204.0"
|
62
62
|
},
|
63
63
|
"devDependencies": {
|
64
64
|
"@aws-sdk/client-s3": "^3.721.0",
|
65
65
|
"@cloudflare/types": "6.18.4",
|
66
|
-
"@cloudflare/workers-types": "^4.
|
66
|
+
"@cloudflare/workers-types": "^4.20250204.0",
|
67
67
|
"@cspotcode/source-map-support": "0.8.1",
|
68
68
|
"@iarna/toml": "^3.0.0",
|
69
69
|
"@microsoft/api-extractor": "^7.47.0",
|
@@ -139,12 +139,12 @@
|
|
139
139
|
"yargs": "^17.7.2",
|
140
140
|
"@cloudflare/cli": "1.1.1",
|
141
141
|
"@cloudflare/eslint-config-worker": "1.1.0",
|
142
|
-
"@cloudflare/pages-shared": "^0.13.
|
143
|
-
"@cloudflare/workers-shared": "0.13.
|
142
|
+
"@cloudflare/pages-shared": "^0.13.6",
|
143
|
+
"@cloudflare/workers-shared": "0.13.2",
|
144
144
|
"@cloudflare/workers-tsconfig": "0.0.0"
|
145
145
|
},
|
146
146
|
"peerDependencies": {
|
147
|
-
"@cloudflare/workers-types": "^4.
|
147
|
+
"@cloudflare/workers-types": "^4.20250204.0"
|
148
148
|
},
|
149
149
|
"peerDependenciesMeta": {
|
150
150
|
"@cloudflare/workers-types": {
|
@@ -152,7 +152,8 @@
|
|
152
152
|
}
|
153
153
|
},
|
154
154
|
"optionalDependencies": {
|
155
|
-
"fsevents": "~2.3.2"
|
155
|
+
"fsevents": "~2.3.2",
|
156
|
+
"sharp": "^0.33.5"
|
156
157
|
},
|
157
158
|
"engines": {
|
158
159
|
"node": ">=16.17.0"
|
package/wrangler-dist/cli.d.ts
CHANGED
@@ -162,6 +162,8 @@ declare type Binding = {
|
|
162
162
|
type: "browser";
|
163
163
|
} | {
|
164
164
|
type: "ai";
|
165
|
+
} | {
|
166
|
+
type: "images";
|
165
167
|
} | {
|
166
168
|
type: "version_metadata";
|
167
169
|
} | {
|
@@ -2174,6 +2176,18 @@ declare interface EnvironmentNonInheritable {
|
|
2174
2176
|
binding: string;
|
2175
2177
|
staging?: boolean;
|
2176
2178
|
} | undefined;
|
2179
|
+
/**
|
2180
|
+
* Binding to Cloudflare Images
|
2181
|
+
*
|
2182
|
+
* NOTE: This field is not automatically inherited from the top level environment,
|
2183
|
+
* and so must be specified in every named environment.
|
2184
|
+
*
|
2185
|
+
* @default {}
|
2186
|
+
* @nonInheritable
|
2187
|
+
*/
|
2188
|
+
images: {
|
2189
|
+
binding: string;
|
2190
|
+
} | undefined;
|
2177
2191
|
/**
|
2178
2192
|
* Binding to the Worker Version's metadata
|
2179
2193
|
*/
|
@@ -2801,6 +2815,7 @@ declare class Logger {
|
|
2801
2815
|
#private;
|
2802
2816
|
constructor();
|
2803
2817
|
private overrideLoggerLevel?;
|
2818
|
+
private onceHistory;
|
2804
2819
|
get loggerLevel(): "log" | "error" | "none" | "debug" | "info" | "warn";
|
2805
2820
|
set loggerLevel(val: "log" | "error" | "none" | "debug" | "info" | "warn");
|
2806
2821
|
columns: number;
|
@@ -2812,13 +2827,13 @@ declare class Logger {
|
|
2812
2827
|
error: (...args: unknown[]) => void;
|
2813
2828
|
table<Keys extends string>(data: TableRow<Keys>[]): void;
|
2814
2829
|
console<M extends Exclude<keyof Console, "Console">>(method: M, ...args: Parameters<Console[M]>): void;
|
2815
|
-
static onceHistory: Set<unknown>;
|
2816
2830
|
get once(): {
|
2817
2831
|
info: (...args: unknown[]) => void;
|
2818
2832
|
log: (...args: unknown[]) => void;
|
2819
2833
|
warn: (...args: unknown[]) => void;
|
2820
2834
|
error: (...args: unknown[]) => void;
|
2821
2835
|
};
|
2836
|
+
clearHistory(): void;
|
2822
2837
|
doLogOnce(messageLevel: Exclude<LoggerLevel, "none">, args: unknown[]): void;
|
2823
2838
|
private doLog;
|
2824
2839
|
static registerBeforeLogHook(callback: (() => void) | undefined): void;
|
@@ -26190,6 +26205,8 @@ declare interface StartDevWorkerInput {
|
|
26190
26205
|
testScheduled?: boolean;
|
26191
26206
|
/** Whether to use Vectorize mixed mode -- the worker is run locally but accesses to Vectorize are made remotely */
|
26192
26207
|
bindVectorizeToProd?: boolean;
|
26208
|
+
/** Whether to use Images local mode -- this is lower fidelity, but doesn't require network access */
|
26209
|
+
imagesLocalMode?: boolean;
|
26193
26210
|
/** Treat this as the primary worker in a multiworker setup (i.e. the first Worker in Miniflare's options) */
|
26194
26211
|
multiworkerPrimary?: boolean;
|
26195
26212
|
};
|
@@ -26518,6 +26535,7 @@ export declare interface Unstable_DevOptions {
|
|
26518
26535
|
devEnv?: boolean;
|
26519
26536
|
fileBasedRegistry?: boolean;
|
26520
26537
|
vectorizeBindToProd?: boolean;
|
26538
|
+
imagesLocalMode?: boolean;
|
26521
26539
|
enableIpc?: boolean;
|
26522
26540
|
};
|
26523
26541
|
}
|