wrangler 3.114.0 → 3.114.1
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 +9 -10
- package/wrangler-dist/cli.d.ts +112 -0
- package/wrangler-dist/cli.js +1001 -924
- package/wrangler-dist/cli.js.map +4 -4
package/package.json
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "wrangler",
|
3
|
-
"version": "3.114.
|
3
|
+
"version": "3.114.1",
|
4
4
|
"description": "Command-line interface for all things Cloudflare Workers",
|
5
5
|
"keywords": [
|
6
6
|
"wrangler",
|
@@ -50,21 +50,21 @@
|
|
50
50
|
"config-schema.json"
|
51
51
|
],
|
52
52
|
"dependencies": {
|
53
|
-
"@cloudflare/unenv-preset": "2.0.
|
53
|
+
"@cloudflare/unenv-preset": "2.0.2",
|
54
54
|
"@esbuild-plugins/node-globals-polyfill": "0.2.3",
|
55
55
|
"@esbuild-plugins/node-modules-polyfill": "0.2.2",
|
56
56
|
"blake3-wasm": "2.1.5",
|
57
57
|
"esbuild": "0.17.19",
|
58
58
|
"path-to-regexp": "6.3.0",
|
59
|
-
"unenv": "2.0.0-rc.
|
60
|
-
"workerd": "1.
|
59
|
+
"unenv": "2.0.0-rc.14",
|
60
|
+
"workerd": "1.20250310.0",
|
61
61
|
"@cloudflare/kv-asset-handler": "0.3.4",
|
62
|
-
"miniflare": "3.
|
62
|
+
"miniflare": "3.20250310.0"
|
63
63
|
},
|
64
64
|
"devDependencies": {
|
65
65
|
"@aws-sdk/client-s3": "^3.721.0",
|
66
66
|
"@cloudflare/types": "6.18.4",
|
67
|
-
"@cloudflare/workers-types": "^4.
|
67
|
+
"@cloudflare/workers-types": "^4.20250310.0",
|
68
68
|
"@cspotcode/source-map-support": "0.8.1",
|
69
69
|
"@iarna/toml": "^3.0.0",
|
70
70
|
"@microsoft/api-extractor": "^7.47.0",
|
@@ -102,7 +102,6 @@
|
|
102
102
|
"get-port": "^7.0.0",
|
103
103
|
"glob-to-regexp": "^0.4.1",
|
104
104
|
"https-proxy-agent": "7.0.2",
|
105
|
-
"ignore": "^5.2.0",
|
106
105
|
"is-ci": "^3.0.1",
|
107
106
|
"itty-time": "^1.0.6",
|
108
107
|
"javascript-time-ago": "^2.5.4",
|
@@ -140,12 +139,12 @@
|
|
140
139
|
"yargs": "^17.7.2",
|
141
140
|
"@cloudflare/cli": "1.1.1",
|
142
141
|
"@cloudflare/eslint-config-worker": "1.1.0",
|
143
|
-
"@cloudflare/pages-shared": "^0.13.
|
144
|
-
"@cloudflare/workers-shared": "0.
|
142
|
+
"@cloudflare/pages-shared": "^0.13.13",
|
143
|
+
"@cloudflare/workers-shared": "0.15.0",
|
145
144
|
"@cloudflare/workers-tsconfig": "0.0.0"
|
146
145
|
},
|
147
146
|
"peerDependencies": {
|
148
|
-
"@cloudflare/workers-types": "^4.
|
147
|
+
"@cloudflare/workers-types": "^4.20250310.0"
|
149
148
|
},
|
150
149
|
"peerDependenciesMeta": {
|
151
150
|
"@cloudflare/workers-types": {
|
package/wrangler-dist/cli.d.ts
CHANGED
@@ -80,6 +80,79 @@ declare const AssetConfigSchema: z.ZodObject<{
|
|
80
80
|
compatibility_flags: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
81
81
|
html_handling: z.ZodOptional<z.ZodEnum<["auto-trailing-slash", "force-trailing-slash", "drop-trailing-slash", "none"]>>;
|
82
82
|
not_found_handling: z.ZodOptional<z.ZodEnum<["single-page-application", "404-page", "none"]>>;
|
83
|
+
redirects: z.ZodOptional<z.ZodObject<{
|
84
|
+
version: z.ZodLiteral<1>;
|
85
|
+
staticRules: z.ZodRecord<z.ZodString, z.ZodObject<{
|
86
|
+
status: z.ZodNumber;
|
87
|
+
to: z.ZodString;
|
88
|
+
lineNumber: z.ZodNumber;
|
89
|
+
}, "strip", z.ZodTypeAny, {
|
90
|
+
status?: number;
|
91
|
+
to?: string;
|
92
|
+
lineNumber?: number;
|
93
|
+
}, {
|
94
|
+
status?: number;
|
95
|
+
to?: string;
|
96
|
+
lineNumber?: number;
|
97
|
+
}>>;
|
98
|
+
rules: z.ZodRecord<z.ZodString, z.ZodObject<{
|
99
|
+
status: z.ZodNumber;
|
100
|
+
to: z.ZodString;
|
101
|
+
}, "strip", z.ZodTypeAny, {
|
102
|
+
status?: number;
|
103
|
+
to?: string;
|
104
|
+
}, {
|
105
|
+
status?: number;
|
106
|
+
to?: string;
|
107
|
+
}>>;
|
108
|
+
}, "strip", z.ZodTypeAny, {
|
109
|
+
version?: 1;
|
110
|
+
staticRules?: Record<string, {
|
111
|
+
status?: number;
|
112
|
+
to?: string;
|
113
|
+
lineNumber?: number;
|
114
|
+
}>;
|
115
|
+
rules?: Record<string, {
|
116
|
+
status?: number;
|
117
|
+
to?: string;
|
118
|
+
}>;
|
119
|
+
}, {
|
120
|
+
version?: 1;
|
121
|
+
staticRules?: Record<string, {
|
122
|
+
status?: number;
|
123
|
+
to?: string;
|
124
|
+
lineNumber?: number;
|
125
|
+
}>;
|
126
|
+
rules?: Record<string, {
|
127
|
+
status?: number;
|
128
|
+
to?: string;
|
129
|
+
}>;
|
130
|
+
}>>;
|
131
|
+
headers: z.ZodOptional<z.ZodObject<{
|
132
|
+
version: z.ZodLiteral<2>;
|
133
|
+
rules: z.ZodRecord<z.ZodString, z.ZodObject<{
|
134
|
+
set: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
135
|
+
unset: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
136
|
+
}, "strip", z.ZodTypeAny, {
|
137
|
+
set?: Record<string, string>;
|
138
|
+
unset?: string[];
|
139
|
+
}, {
|
140
|
+
set?: Record<string, string>;
|
141
|
+
unset?: string[];
|
142
|
+
}>>;
|
143
|
+
}, "strip", z.ZodTypeAny, {
|
144
|
+
version?: 2;
|
145
|
+
rules?: Record<string, {
|
146
|
+
set?: Record<string, string>;
|
147
|
+
unset?: string[];
|
148
|
+
}>;
|
149
|
+
}, {
|
150
|
+
version?: 2;
|
151
|
+
rules?: Record<string, {
|
152
|
+
set?: Record<string, string>;
|
153
|
+
unset?: string[];
|
154
|
+
}>;
|
155
|
+
}>>;
|
83
156
|
}, "strip", z.ZodTypeAny, {
|
84
157
|
account_id?: number;
|
85
158
|
script_id?: number;
|
@@ -87,6 +160,25 @@ declare const AssetConfigSchema: z.ZodObject<{
|
|
87
160
|
compatibility_flags?: string[];
|
88
161
|
html_handling?: "none" | "auto-trailing-slash" | "force-trailing-slash" | "drop-trailing-slash";
|
89
162
|
not_found_handling?: "none" | "single-page-application" | "404-page";
|
163
|
+
redirects?: {
|
164
|
+
version?: 1;
|
165
|
+
staticRules?: Record<string, {
|
166
|
+
status?: number;
|
167
|
+
to?: string;
|
168
|
+
lineNumber?: number;
|
169
|
+
}>;
|
170
|
+
rules?: Record<string, {
|
171
|
+
status?: number;
|
172
|
+
to?: string;
|
173
|
+
}>;
|
174
|
+
};
|
175
|
+
headers?: {
|
176
|
+
version?: 2;
|
177
|
+
rules?: Record<string, {
|
178
|
+
set?: Record<string, string>;
|
179
|
+
unset?: string[];
|
180
|
+
}>;
|
181
|
+
};
|
90
182
|
}, {
|
91
183
|
account_id?: number;
|
92
184
|
script_id?: number;
|
@@ -94,6 +186,25 @@ declare const AssetConfigSchema: z.ZodObject<{
|
|
94
186
|
compatibility_flags?: string[];
|
95
187
|
html_handling?: "none" | "auto-trailing-slash" | "force-trailing-slash" | "drop-trailing-slash";
|
96
188
|
not_found_handling?: "none" | "single-page-application" | "404-page";
|
189
|
+
redirects?: {
|
190
|
+
version?: 1;
|
191
|
+
staticRules?: Record<string, {
|
192
|
+
status?: number;
|
193
|
+
to?: string;
|
194
|
+
lineNumber?: number;
|
195
|
+
}>;
|
196
|
+
rules?: Record<string, {
|
197
|
+
status?: number;
|
198
|
+
to?: string;
|
199
|
+
}>;
|
200
|
+
};
|
201
|
+
headers?: {
|
202
|
+
version?: 2;
|
203
|
+
rules?: Record<string, {
|
204
|
+
set?: Record<string, string>;
|
205
|
+
unset?: string[];
|
206
|
+
}>;
|
207
|
+
};
|
97
208
|
}>;
|
98
209
|
|
99
210
|
declare type Assets = {
|
@@ -26570,6 +26681,7 @@ export declare interface Unstable_MiniflareWorkerOptions {
|
|
26570
26681
|
workerOptions: SourcelessWorkerOptions;
|
26571
26682
|
define: Record<string, string>;
|
26572
26683
|
main?: string;
|
26684
|
+
externalWorkers: WorkerOptions[];
|
26573
26685
|
}
|
26574
26686
|
|
26575
26687
|
export declare const unstable_pages: {
|