wrangler 0.0.0-bdb39edc → 0.0.0-bde9d64a
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 +17 -9
- package/wrangler-dist/cli.d.ts +47 -0
- package/wrangler-dist/cli.js +5454 -3649
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "wrangler",
|
|
3
|
-
"version": "0.0.0-
|
|
3
|
+
"version": "0.0.0-bde9d64a",
|
|
4
4
|
"description": "Command-line interface for all things Cloudflare Workers",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"wrangler",
|
|
@@ -76,7 +76,11 @@
|
|
|
76
76
|
},
|
|
77
77
|
"transformIgnorePatterns": [
|
|
78
78
|
"node_modules/.pnpm/(?!find-up|locate-path|p-locate|p-limit|p-timeout|p-queue|yocto-queue|path-exists|execa|strip-final-newline|npm-run-path|path-key|onetime|mimic-fn|human-signals|is-stream|get-port|supports-color|pretty-bytes|npx-import)"
|
|
79
|
-
]
|
|
79
|
+
],
|
|
80
|
+
"snapshotFormat": {
|
|
81
|
+
"escapeString": true,
|
|
82
|
+
"printBasicPrototype": true
|
|
83
|
+
}
|
|
80
84
|
},
|
|
81
85
|
"dependencies": {
|
|
82
86
|
"@cloudflare/kv-asset-handler": "^0.2.0",
|
|
@@ -85,20 +89,20 @@
|
|
|
85
89
|
"blake3-wasm": "^2.1.5",
|
|
86
90
|
"chokidar": "^3.5.3",
|
|
87
91
|
"esbuild": "0.17.19",
|
|
88
|
-
"miniflare": "3.
|
|
92
|
+
"miniflare": "3.20230922.0",
|
|
89
93
|
"nanoid": "^3.3.3",
|
|
90
94
|
"path-to-regexp": "^6.2.0",
|
|
91
95
|
"selfsigned": "^2.0.1",
|
|
92
|
-
"source-map": "
|
|
96
|
+
"source-map": "0.6.1",
|
|
97
|
+
"source-map-support": "0.5.21",
|
|
93
98
|
"xxhash-wasm": "^1.0.1"
|
|
94
99
|
},
|
|
95
100
|
"devDependencies": {
|
|
96
101
|
"@cloudflare/eslint-config-worker": "*",
|
|
97
102
|
"@cloudflare/types": "^6.18.4",
|
|
98
|
-
"@cloudflare/workers-types": "^4.
|
|
103
|
+
"@cloudflare/workers-types": "^4.20230914.0",
|
|
99
104
|
"@iarna/toml": "^3.0.0",
|
|
100
105
|
"@microsoft/api-extractor": "^7.28.3",
|
|
101
|
-
"@types/better-sqlite3": "^7.6.0",
|
|
102
106
|
"@types/body-parser": "^1.19.2",
|
|
103
107
|
"@types/busboy": "^1.5.0",
|
|
104
108
|
"@types/command-exists": "^1.2.0",
|
|
@@ -106,12 +110,14 @@
|
|
|
106
110
|
"@types/glob-to-regexp": "0.4.1",
|
|
107
111
|
"@types/is-ci": "^3.0.0",
|
|
108
112
|
"@types/javascript-time-ago": "^2.0.3",
|
|
113
|
+
"@types/jest": "^29.5.5",
|
|
109
114
|
"@types/mime": "^2.0.3",
|
|
110
115
|
"@types/minimatch": "^5.1.2",
|
|
111
116
|
"@types/prompts": "^2.0.14",
|
|
112
117
|
"@types/react": "^17.0.37",
|
|
113
118
|
"@types/serve-static": "^1.13.10",
|
|
114
119
|
"@types/signal-exit": "^3.0.1",
|
|
120
|
+
"@types/source-map-support": "^0.5.7",
|
|
115
121
|
"@types/supports-color": "^8.1.1",
|
|
116
122
|
"@types/ws": "^8.5.3",
|
|
117
123
|
"@types/yargs": "^17.0.10",
|
|
@@ -125,6 +131,7 @@
|
|
|
125
131
|
"concurrently": "^7.2.2",
|
|
126
132
|
"devtools-protocol": "^0.0.955664",
|
|
127
133
|
"dotenv": "^16.0.0",
|
|
134
|
+
"esbuild-jest": "0.5.0",
|
|
128
135
|
"execa": "^6.1.0",
|
|
129
136
|
"express": "^4.18.1",
|
|
130
137
|
"finalhandler": "^1.2.0",
|
|
@@ -141,8 +148,9 @@
|
|
|
141
148
|
"ink-text-input": "^4.0.3",
|
|
142
149
|
"is-ci": "^3.0.1",
|
|
143
150
|
"javascript-time-ago": "^2.5.4",
|
|
151
|
+
"jest": "^29.7.0",
|
|
144
152
|
"jest-fetch-mock": "^3.0.3",
|
|
145
|
-
"jest-websocket-mock": "^2.
|
|
153
|
+
"jest-websocket-mock": "^2.5.0",
|
|
146
154
|
"mime": "^3.0.0",
|
|
147
155
|
"minimatch": "^5.1.0",
|
|
148
156
|
"msw": "^0.49.1",
|
|
@@ -166,9 +174,9 @@
|
|
|
166
174
|
"ts-dedent": "^2.2.0",
|
|
167
175
|
"undici": "5.20.0",
|
|
168
176
|
"update-check": "^1.5.4",
|
|
169
|
-
"vitest": "^0.
|
|
177
|
+
"vitest": "^0.34.4",
|
|
170
178
|
"ws": "^8.5.0",
|
|
171
|
-
"xdg-app-paths": "^
|
|
179
|
+
"xdg-app-paths": "^8.3.0",
|
|
172
180
|
"yargs": "^17.4.1",
|
|
173
181
|
"yoga-layout": "file:../../vendor/yoga-layout-2.0.0-beta.1.tgz",
|
|
174
182
|
"@cloudflare/pages-shared": "^0.9.0",
|
package/wrangler-dist/cli.d.ts
CHANGED
|
@@ -149,6 +149,15 @@ declare interface CfModule {
|
|
|
149
149
|
* './src/index.js'
|
|
150
150
|
*/
|
|
151
151
|
name: string;
|
|
152
|
+
/**
|
|
153
|
+
* The absolute path of the module on disk, or `undefined` if this is a
|
|
154
|
+
* virtual module. Used as the source URL for this module, so source maps are
|
|
155
|
+
* correctly resolved.
|
|
156
|
+
*
|
|
157
|
+
* @example
|
|
158
|
+
* '/path/to/src/index.js'
|
|
159
|
+
*/
|
|
160
|
+
filePath: string | undefined;
|
|
152
161
|
/**
|
|
153
162
|
* The module content, usually JavaScript or WASM code.
|
|
154
163
|
*
|
|
@@ -959,6 +968,8 @@ declare interface EnvironmentNonInheritable {
|
|
|
959
968
|
bucket_name: string;
|
|
960
969
|
/** The preview name of this R2 bucket at the edge. */
|
|
961
970
|
preview_bucket_name?: string;
|
|
971
|
+
/** The jurisdiction that the bucket exists in. Default if not present. */
|
|
972
|
+
jurisdiction?: string;
|
|
962
973
|
}[];
|
|
963
974
|
/**
|
|
964
975
|
* Specifies D1 databases that are bound to this Worker environment.
|
|
@@ -985,6 +996,21 @@ declare interface EnvironmentNonInheritable {
|
|
|
985
996
|
/** Internal use only. */
|
|
986
997
|
database_internal_env?: string;
|
|
987
998
|
}[];
|
|
999
|
+
/**
|
|
1000
|
+
* Specifies Vectorize indexes that are bound to this Worker environment.
|
|
1001
|
+
*
|
|
1002
|
+
* NOTE: This field is not automatically inherited from the top level environment,
|
|
1003
|
+
* and so must be specified in every named environment.
|
|
1004
|
+
*
|
|
1005
|
+
* @default `[]`
|
|
1006
|
+
* @nonInheritable
|
|
1007
|
+
*/
|
|
1008
|
+
vectorize: {
|
|
1009
|
+
/** The binding name used to refer to the Vectorize index in the worker. */
|
|
1010
|
+
binding: string;
|
|
1011
|
+
/** The name of the index. */
|
|
1012
|
+
index_name: string;
|
|
1013
|
+
}[];
|
|
988
1014
|
/**
|
|
989
1015
|
* Specifies Constellation projects that are bound to this Worker environment.
|
|
990
1016
|
*
|
|
@@ -1000,6 +1026,21 @@ declare interface EnvironmentNonInheritable {
|
|
|
1000
1026
|
/** The id of the project. */
|
|
1001
1027
|
project_id: string;
|
|
1002
1028
|
}[];
|
|
1029
|
+
/**
|
|
1030
|
+
* Specifies Hyperdrive configs that are bound to this Worker environment.
|
|
1031
|
+
*
|
|
1032
|
+
* NOTE: This field is not automatically inherited from the top level environment,
|
|
1033
|
+
* and so must be specified in every named environment.
|
|
1034
|
+
*
|
|
1035
|
+
* @default `[]`
|
|
1036
|
+
* @nonInheritable
|
|
1037
|
+
*/
|
|
1038
|
+
hyperdrive: {
|
|
1039
|
+
/** The binding name used to refer to the project in the worker. */
|
|
1040
|
+
binding: string;
|
|
1041
|
+
/** The id of the database. */
|
|
1042
|
+
id: string;
|
|
1043
|
+
}[];
|
|
1003
1044
|
/**
|
|
1004
1045
|
* Specifies service bindings (worker-to-worker) that are bound to this Worker environment.
|
|
1005
1046
|
*
|
|
@@ -1038,6 +1079,12 @@ declare interface EnvironmentNonInheritable {
|
|
|
1038
1079
|
browser: {
|
|
1039
1080
|
binding: string;
|
|
1040
1081
|
} | undefined;
|
|
1082
|
+
/**
|
|
1083
|
+
* Binding to the AI project.
|
|
1084
|
+
*/
|
|
1085
|
+
ai: {
|
|
1086
|
+
binding: string;
|
|
1087
|
+
} | undefined;
|
|
1041
1088
|
/**
|
|
1042
1089
|
* "Unsafe" tables for features that aren't directly supported by wrangler.
|
|
1043
1090
|
*
|