wrangler 4.23.0 → 4.24.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/package.json +10 -10
- package/wrangler-dist/cli.d.ts +11 -2
- package/wrangler-dist/cli.js +1522 -1102
- package/wrangler-dist/metafile-cjs.json +1 -1
package/package.json
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "wrangler",
|
3
|
-
"version": "4.
|
3
|
+
"version": "4.24.0",
|
4
4
|
"description": "Command-line interface for all things Cloudflare Workers",
|
5
5
|
"keywords": [
|
6
6
|
"wrangler",
|
@@ -55,14 +55,14 @@
|
|
55
55
|
"esbuild": "0.25.4",
|
56
56
|
"path-to-regexp": "6.3.0",
|
57
57
|
"unenv": "2.0.0-rc.17",
|
58
|
-
"workerd": "1.
|
59
|
-
"
|
60
|
-
"
|
58
|
+
"workerd": "1.20250705.0",
|
59
|
+
"@cloudflare/kv-asset-handler": "0.4.0",
|
60
|
+
"miniflare": "4.20250705.0"
|
61
61
|
},
|
62
62
|
"devDependencies": {
|
63
63
|
"@aws-sdk/client-s3": "^3.721.0",
|
64
64
|
"@cloudflare/types": "6.18.4",
|
65
|
-
"@cloudflare/workers-types": "^4.
|
65
|
+
"@cloudflare/workers-types": "^4.20250705.0",
|
66
66
|
"@cspotcode/source-map-support": "0.8.1",
|
67
67
|
"@iarna/toml": "^3.0.0",
|
68
68
|
"@sentry/node": "^7.86.0",
|
@@ -135,15 +135,15 @@
|
|
135
135
|
"xdg-app-paths": "^8.3.0",
|
136
136
|
"xxhash-wasm": "^1.0.1",
|
137
137
|
"yargs": "^17.7.2",
|
138
|
-
"@cloudflare/
|
139
|
-
"@cloudflare/containers-shared": "0.2.2",
|
138
|
+
"@cloudflare/containers-shared": "0.2.3",
|
140
139
|
"@cloudflare/eslint-config-worker": "1.1.0",
|
141
|
-
"@cloudflare/pages-shared": "^0.13.
|
140
|
+
"@cloudflare/pages-shared": "^0.13.53",
|
142
141
|
"@cloudflare/workers-shared": "0.18.1",
|
142
|
+
"@cloudflare/cli": "1.1.1",
|
143
143
|
"@cloudflare/workers-tsconfig": "0.0.0"
|
144
144
|
},
|
145
145
|
"peerDependencies": {
|
146
|
-
"@cloudflare/workers-types": "^4.
|
146
|
+
"@cloudflare/workers-types": "^4.20250705.0"
|
147
147
|
},
|
148
148
|
"peerDependenciesMeta": {
|
149
149
|
"@cloudflare/workers-types": {
|
@@ -168,7 +168,7 @@
|
|
168
168
|
"check:lint": "eslint . --max-warnings=0",
|
169
169
|
"check:type": "tsc -p ./tsconfig.json && tsc -p ./templates/tsconfig.json",
|
170
170
|
"clean": "rimraf wrangler-dist miniflare-dist emitted-types",
|
171
|
-
"dev": "pnpm run clean && concurrently -c black,blue --kill-others-on-fail false \"pnpm tsup --watch\" \"pnpm run check:type --watch --preserveWatchOutput\"",
|
171
|
+
"dev": "pnpm run clean && concurrently -c black,blue --kill-others-on-fail false \"pnpm tsup --watch src --watch ../containers-shared/src\" \"pnpm run check:type --watch --preserveWatchOutput\"",
|
172
172
|
"generate-json-schema": "node -r esbuild-register scripts/generate-json-schema.ts",
|
173
173
|
"start": "pnpm run bundle && cross-env NODE_OPTIONS=--enable-source-maps ./bin/wrangler.js",
|
174
174
|
"test": "dotenv -- pnpm run assert-git-version && dotenv -- vitest",
|
package/wrangler-dist/cli.d.ts
CHANGED
@@ -1889,7 +1889,7 @@ interface StartDevWorkerInput {
|
|
1889
1889
|
* This is the `main` property of a Wrangler configuration file.
|
1890
1890
|
*/
|
1891
1891
|
entrypoint?: string;
|
1892
|
-
/** The configuration of the worker. */
|
1892
|
+
/** The configuration path of the worker. */
|
1893
1893
|
config?: string;
|
1894
1894
|
/** The compatibility date for the workerd runtime. */
|
1895
1895
|
compatibilityDate?: string;
|
@@ -2563,7 +2563,16 @@ declare class Logger {
|
|
2563
2563
|
*/
|
2564
2564
|
declare function splitSqlQuery(sql: string): string[];
|
2565
2565
|
|
2566
|
-
declare const experimental_patchConfig: (configPath: string,
|
2566
|
+
declare const experimental_patchConfig: (configPath: string,
|
2567
|
+
/**
|
2568
|
+
* if you want to add something new, e.g. a binding, you can just provide that {kv_namespace:[{binding:"KV"}]}
|
2569
|
+
* and set isArrayInsertion = true
|
2570
|
+
*
|
2571
|
+
* if you want to edit or delete existing array elements, you have to provide the whole array
|
2572
|
+
* e.g. {kv_namespace:[{binding:"KV", id:"new-id"}, {binding:"KV2", id:"untouched"}]}
|
2573
|
+
* and set isArrayInsertion = false
|
2574
|
+
*/
|
2575
|
+
patch: RawConfig, isArrayInsertion?: boolean) => string;
|
2567
2576
|
|
2568
2577
|
interface Unstable_ASSETSBindingsOptions {
|
2569
2578
|
log: Logger;
|