wrangler 4.75.0 → 4.76.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 +36 -0
- package/package.json +22 -25
- package/templates/facade.d.ts +1 -1
- package/wrangler-dist/cli.d.ts +14 -0
- package/wrangler-dist/cli.js +40857 -32625
- package/wrangler-dist/metafile-cjs.json +1 -1
package/config-schema.json
CHANGED
|
@@ -826,6 +826,24 @@
|
|
|
826
826
|
"description": "Binding to Cloudflare Media Transformations\n\nNOTE: This field is not automatically inherited from the top level environment, and so must be specified in every named environment.",
|
|
827
827
|
"default": {}
|
|
828
828
|
},
|
|
829
|
+
"stream": {
|
|
830
|
+
"type": "object",
|
|
831
|
+
"properties": {
|
|
832
|
+
"binding": {
|
|
833
|
+
"type": "string"
|
|
834
|
+
},
|
|
835
|
+
"remote": {
|
|
836
|
+
"type": "boolean",
|
|
837
|
+
"description": "Whether the Stream binding should be remote or not in local development"
|
|
838
|
+
}
|
|
839
|
+
},
|
|
840
|
+
"required": [
|
|
841
|
+
"binding"
|
|
842
|
+
],
|
|
843
|
+
"additionalProperties": false,
|
|
844
|
+
"description": "Binding to Cloudflare Stream\n\nNOTE: This field is not automatically inherited from the top level environment, and so must be specified in every named environment.",
|
|
845
|
+
"default": {}
|
|
846
|
+
},
|
|
829
847
|
"version_metadata": {
|
|
830
848
|
"type": "object",
|
|
831
849
|
"properties": {
|
|
@@ -2089,6 +2107,24 @@
|
|
|
2089
2107
|
"description": "Binding to Cloudflare Media Transformations\n\nNOTE: This field is not automatically inherited from the top level environment, and so must be specified in every named environment.",
|
|
2090
2108
|
"default": {}
|
|
2091
2109
|
},
|
|
2110
|
+
"stream": {
|
|
2111
|
+
"type": "object",
|
|
2112
|
+
"properties": {
|
|
2113
|
+
"binding": {
|
|
2114
|
+
"type": "string"
|
|
2115
|
+
},
|
|
2116
|
+
"remote": {
|
|
2117
|
+
"type": "boolean",
|
|
2118
|
+
"description": "Whether the Stream binding should be remote or not in local development"
|
|
2119
|
+
}
|
|
2120
|
+
},
|
|
2121
|
+
"required": [
|
|
2122
|
+
"binding"
|
|
2123
|
+
],
|
|
2124
|
+
"additionalProperties": false,
|
|
2125
|
+
"description": "Binding to Cloudflare Stream\n\nNOTE: This field is not automatically inherited from the top level environment, and so must be specified in every named environment.",
|
|
2126
|
+
"default": {}
|
|
2127
|
+
},
|
|
2092
2128
|
"version_metadata": {
|
|
2093
2129
|
"type": "object",
|
|
2094
2130
|
"properties": {
|
package/package.json
CHANGED
|
@@ -1,42 +1,40 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "wrangler",
|
|
3
|
-
"version": "4.
|
|
3
|
+
"version": "4.76.0",
|
|
4
4
|
"description": "Command-line interface for all things Cloudflare Workers",
|
|
5
5
|
"keywords": [
|
|
6
|
-
"
|
|
6
|
+
"assembly",
|
|
7
|
+
"cli",
|
|
7
8
|
"cloudflare",
|
|
8
|
-
"workers",
|
|
9
9
|
"cloudflare workers",
|
|
10
|
-
"edge",
|
|
11
10
|
"compute",
|
|
11
|
+
"edge",
|
|
12
|
+
"emscripten",
|
|
13
|
+
"graphql",
|
|
14
|
+
"http",
|
|
15
|
+
"router",
|
|
16
|
+
"rust",
|
|
12
17
|
"serverless",
|
|
13
18
|
"serverless application",
|
|
14
19
|
"serverless module",
|
|
20
|
+
"typescript",
|
|
15
21
|
"wasm",
|
|
16
22
|
"web",
|
|
17
|
-
"assembly",
|
|
18
23
|
"webassembly",
|
|
19
|
-
"
|
|
20
|
-
"
|
|
21
|
-
"typescript",
|
|
22
|
-
"graphql",
|
|
23
|
-
"router",
|
|
24
|
-
"http",
|
|
25
|
-
"cli"
|
|
24
|
+
"workers",
|
|
25
|
+
"wrangler"
|
|
26
26
|
],
|
|
27
27
|
"homepage": "https://github.com/cloudflare/workers-sdk#readme",
|
|
28
28
|
"bugs": {
|
|
29
29
|
"url": "https://github.com/cloudflare/workers-sdk/issues"
|
|
30
30
|
},
|
|
31
|
+
"license": "MIT OR Apache-2.0",
|
|
32
|
+
"author": "wrangler@cloudflare.com",
|
|
31
33
|
"repository": {
|
|
32
34
|
"type": "git",
|
|
33
35
|
"url": "https://github.com/cloudflare/workers-sdk.git",
|
|
34
36
|
"directory": "packages/wrangler"
|
|
35
37
|
},
|
|
36
|
-
"license": "MIT OR Apache-2.0",
|
|
37
|
-
"author": "wrangler@cloudflare.com",
|
|
38
|
-
"main": "wrangler-dist/cli.js",
|
|
39
|
-
"types": "wrangler-dist/cli.d.ts",
|
|
40
38
|
"bin": {
|
|
41
39
|
"wrangler": "./bin/wrangler.js",
|
|
42
40
|
"wrangler2": "./bin/wrangler.js"
|
|
@@ -49,6 +47,8 @@
|
|
|
49
47
|
"kv-asset-handler.js",
|
|
50
48
|
"config-schema.json"
|
|
51
49
|
],
|
|
50
|
+
"main": "wrangler-dist/cli.js",
|
|
51
|
+
"types": "wrangler-dist/cli.d.ts",
|
|
52
52
|
"dependencies": {
|
|
53
53
|
"blake3-wasm": "2.1.5",
|
|
54
54
|
"esbuild": "0.27.3",
|
|
@@ -56,8 +56,8 @@
|
|
|
56
56
|
"unenv": "2.0.0-rc.24",
|
|
57
57
|
"workerd": "1.20260317.1",
|
|
58
58
|
"@cloudflare/kv-asset-handler": "0.4.2",
|
|
59
|
-
"@cloudflare/unenv-preset": "2.
|
|
60
|
-
"miniflare": "4.20260317.
|
|
59
|
+
"@cloudflare/unenv-preset": "2.16.0",
|
|
60
|
+
"miniflare": "4.20260317.1"
|
|
61
61
|
},
|
|
62
62
|
"devDependencies": {
|
|
63
63
|
"@aws-sdk/client-s3": "^3.721.0",
|
|
@@ -104,7 +104,6 @@
|
|
|
104
104
|
"dotenv": "^16.3.1",
|
|
105
105
|
"dotenv-expand": "^12.0.2",
|
|
106
106
|
"empathic": "^2.0.0",
|
|
107
|
-
"eslint": "^9.39.1",
|
|
108
107
|
"esprima": "4.0.1",
|
|
109
108
|
"execa": "^6.1.0",
|
|
110
109
|
"get-port": "^7.0.0",
|
|
@@ -148,13 +147,12 @@
|
|
|
148
147
|
"yaml": "^2.8.1",
|
|
149
148
|
"yargs": "^17.7.2",
|
|
150
149
|
"@cloudflare/cli": "1.2.1",
|
|
151
|
-
"@cloudflare/containers-shared": "0.
|
|
152
|
-
"@cloudflare/
|
|
150
|
+
"@cloudflare/containers-shared": "0.13.0",
|
|
151
|
+
"@cloudflare/pages-shared": "^0.13.117",
|
|
153
152
|
"@cloudflare/workers-shared": "0.19.1",
|
|
154
|
-
"@cloudflare/pages-shared": "^0.13.116",
|
|
155
153
|
"@cloudflare/workers-tsconfig": "0.0.0",
|
|
156
|
-
"@cloudflare/workers-utils": "0.
|
|
157
|
-
"@cloudflare/workflows-shared": "0.
|
|
154
|
+
"@cloudflare/workers-utils": "0.13.0",
|
|
155
|
+
"@cloudflare/workflows-shared": "0.7.0"
|
|
158
156
|
},
|
|
159
157
|
"peerDependencies": {
|
|
160
158
|
"@cloudflare/workers-types": "^4.20260317.1"
|
|
@@ -179,7 +177,6 @@
|
|
|
179
177
|
"scripts": {
|
|
180
178
|
"assert-git-version": "node -r esbuild-register scripts/assert-git-version.ts",
|
|
181
179
|
"build": "pnpm run clean && pnpm tsup && pnpm run generate-json-schema",
|
|
182
|
-
"check:lint": "eslint . --max-warnings=0 --cache",
|
|
183
180
|
"check:type": "tsc -p ./tsconfig.json && tsc -p ./templates/tsconfig.json",
|
|
184
181
|
"clean": "node -r esbuild-register ../../tools/clean/clean.ts wrangler-dist miniflare-dist emitted-types",
|
|
185
182
|
"dev": "pnpm run clean && concurrently -c black,blue --kill-others-on-fail false \"pnpm tsup --watch src --watch ../containers-shared/src --watch ../cli\" \"pnpm run check:type --watch --preserveWatchOutput\"",
|
package/templates/facade.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
declare module "__ENTRY_POINT__" {
|
|
2
|
-
import { Middleware } from "./middleware/common";
|
|
3
2
|
import { WorkerEntrypoint } from "cloudflare:workers";
|
|
3
|
+
import { Middleware } from "./middleware/common";
|
|
4
4
|
|
|
5
5
|
export type WorkerEntrypointConstructor = typeof WorkerEntrypoint;
|
|
6
6
|
|
package/wrangler-dist/cli.d.ts
CHANGED
|
@@ -1810,6 +1810,20 @@ interface EnvironmentNonInheritable {
|
|
|
1810
1810
|
/** Whether the Media binding should be remote or not */
|
|
1811
1811
|
remote?: boolean;
|
|
1812
1812
|
} | undefined;
|
|
1813
|
+
/**
|
|
1814
|
+
* Binding to Cloudflare Stream
|
|
1815
|
+
*
|
|
1816
|
+
* NOTE: This field is not automatically inherited from the top level environment,
|
|
1817
|
+
* and so must be specified in every named environment.
|
|
1818
|
+
*
|
|
1819
|
+
* @default {}
|
|
1820
|
+
* @nonInheritable
|
|
1821
|
+
*/
|
|
1822
|
+
stream: {
|
|
1823
|
+
binding: string;
|
|
1824
|
+
/** Whether the Stream binding should be remote or not in local development */
|
|
1825
|
+
remote?: boolean;
|
|
1826
|
+
} | undefined;
|
|
1813
1827
|
/**
|
|
1814
1828
|
* Binding to the Worker Version's metadata
|
|
1815
1829
|
*/
|