wrangler 4.45.0 → 4.45.2
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 +14 -16
- package/package.json +5 -3
- package/wrangler-dist/InspectorProxyWorker.js +4 -6
- package/wrangler-dist/cli.d.ts +52 -1888
- package/wrangler-dist/cli.js +108241 -106757
- package/wrangler-dist/metafile-cjs.json +1 -1
package/config-schema.json
CHANGED
|
@@ -2600,33 +2600,31 @@
|
|
|
2600
2600
|
"Json": {
|
|
2601
2601
|
"anyOf": [
|
|
2602
2602
|
{
|
|
2603
|
-
"
|
|
2603
|
+
"type": "string"
|
|
2604
2604
|
},
|
|
2605
2605
|
{
|
|
2606
|
-
"type": "
|
|
2607
|
-
|
|
2608
|
-
|
|
2609
|
-
|
|
2606
|
+
"type": "number"
|
|
2607
|
+
},
|
|
2608
|
+
{
|
|
2609
|
+
"type": "boolean"
|
|
2610
|
+
},
|
|
2611
|
+
{
|
|
2612
|
+
"type": "null"
|
|
2610
2613
|
},
|
|
2611
2614
|
{
|
|
2612
2615
|
"type": "array",
|
|
2613
2616
|
"items": {
|
|
2614
2617
|
"$ref": "#/definitions/Json"
|
|
2615
2618
|
}
|
|
2619
|
+
},
|
|
2620
|
+
{
|
|
2621
|
+
"type": "object",
|
|
2622
|
+
"additionalProperties": {
|
|
2623
|
+
"$ref": "#/definitions/Json"
|
|
2624
|
+
}
|
|
2616
2625
|
}
|
|
2617
2626
|
]
|
|
2618
2627
|
},
|
|
2619
|
-
"Literal": {
|
|
2620
|
-
"$ref": "#/definitions/TypeOf%3CZodUnion%3C%5Bdef-class-1315922706-6501-8772-1315922706-0-54395%2Cdef-class-1315922706-9299-10989-1315922706-0-54395%2Cdef-class-1315922706-12937-13365-1315922706-0-54395%2Cdef-class-1315922706-15083-15273-1315922706-0-54395%5D%3E%3E"
|
|
2621
|
-
},
|
|
2622
|
-
"TypeOf<ZodUnion<[def-class-1315922706-6501-8772-1315922706-0-54395,def-class-1315922706-9299-10989-1315922706-0-54395,def-class-1315922706-12937-13365-1315922706-0-54395,def-class-1315922706-15083-15273-1315922706-0-54395]>>": {
|
|
2623
|
-
"type": [
|
|
2624
|
-
"string",
|
|
2625
|
-
"number",
|
|
2626
|
-
"boolean",
|
|
2627
|
-
"null"
|
|
2628
|
-
]
|
|
2629
|
-
},
|
|
2630
2628
|
"DurableObjectBindings": {
|
|
2631
2629
|
"type": "array",
|
|
2632
2630
|
"items": {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "wrangler",
|
|
3
|
-
"version": "4.45.
|
|
3
|
+
"version": "4.45.2",
|
|
4
4
|
"description": "Command-line interface for all things Cloudflare Workers",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"wrangler",
|
|
@@ -90,7 +90,7 @@
|
|
|
90
90
|
"chalk": "^5.2.0",
|
|
91
91
|
"chokidar": "^4.0.1",
|
|
92
92
|
"cli-table3": "^0.6.3",
|
|
93
|
-
"cloudflare": "^5.
|
|
93
|
+
"cloudflare": "^5.2.0",
|
|
94
94
|
"cmd-shim": "^4.1.0",
|
|
95
95
|
"command-exists": "^1.2.9",
|
|
96
96
|
"concurrently": "^8.2.2",
|
|
@@ -107,6 +107,7 @@
|
|
|
107
107
|
"itty-time": "^1.0.6",
|
|
108
108
|
"javascript-time-ago": "^2.5.4",
|
|
109
109
|
"json-diff": "^1.0.6",
|
|
110
|
+
"jsonc-parser": "^3.2.0",
|
|
110
111
|
"md5-file": "5.0.0",
|
|
111
112
|
"mime": "^3.0.0",
|
|
112
113
|
"minimatch": "^5.1.0",
|
|
@@ -145,8 +146,9 @@
|
|
|
145
146
|
"@cloudflare/containers-shared": "0.2.13",
|
|
146
147
|
"@cloudflare/eslint-config-shared": "1.1.0",
|
|
147
148
|
"@cloudflare/pages-shared": "^0.13.81",
|
|
148
|
-
"@cloudflare/workers-tsconfig": "0.0.0",
|
|
149
149
|
"@cloudflare/workers-shared": "0.18.8",
|
|
150
|
+
"@cloudflare/workers-tsconfig": "0.0.0",
|
|
151
|
+
"@cloudflare/workers-utils": "0.0.2",
|
|
150
152
|
"@cloudflare/workflows-shared": "0.3.8"
|
|
151
153
|
},
|
|
152
154
|
"peerDependencies": {
|
|
@@ -17,12 +17,6 @@ function serialiseError(e) {
|
|
|
17
17
|
|
|
18
18
|
// src/api/startDevWorker/utils.ts
|
|
19
19
|
import assert from "node:assert";
|
|
20
|
-
|
|
21
|
-
// src/utils/assert-never.ts
|
|
22
|
-
function assertNever(_value) {
|
|
23
|
-
}
|
|
24
|
-
|
|
25
|
-
// src/api/startDevWorker/utils.ts
|
|
26
20
|
function createDeferred(previousDeferred) {
|
|
27
21
|
let resolve, reject;
|
|
28
22
|
const newPromise = new Promise((_resolve, _reject) => {
|
|
@@ -44,6 +38,10 @@ function urlFromParts(parts, base = "http://localhost") {
|
|
|
44
38
|
return url;
|
|
45
39
|
}
|
|
46
40
|
|
|
41
|
+
// src/utils/assert-never.ts
|
|
42
|
+
function assertNever(_value) {
|
|
43
|
+
}
|
|
44
|
+
|
|
47
45
|
// templates/startDevWorker/InspectorProxyWorker.ts
|
|
48
46
|
var ALLOWED_HOST_HOSTNAMES = ["127.0.0.1", "[::1]", "localhost"];
|
|
49
47
|
var ALLOWED_ORIGIN_HOSTNAMES = [
|