wrangler 4.45.2 → 4.45.4
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
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "wrangler",
|
|
3
|
-
"version": "4.45.
|
|
3
|
+
"version": "4.45.4",
|
|
4
4
|
"description": "Command-line interface for all things Cloudflare Workers",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"wrangler",
|
|
@@ -53,11 +53,11 @@
|
|
|
53
53
|
"blake3-wasm": "2.1.5",
|
|
54
54
|
"esbuild": "0.25.4",
|
|
55
55
|
"path-to-regexp": "6.3.0",
|
|
56
|
-
"unenv": "2.0.0-rc.
|
|
56
|
+
"unenv": "2.0.0-rc.24",
|
|
57
57
|
"workerd": "1.20251011.0",
|
|
58
58
|
"@cloudflare/kv-asset-handler": "0.4.0",
|
|
59
|
-
"@cloudflare/unenv-preset": "2.7.
|
|
60
|
-
"miniflare": "4.20251011.
|
|
59
|
+
"@cloudflare/unenv-preset": "2.7.9",
|
|
60
|
+
"miniflare": "4.20251011.2"
|
|
61
61
|
},
|
|
62
62
|
"devDependencies": {
|
|
63
63
|
"@aws-sdk/client-s3": "^3.721.0",
|
|
@@ -145,7 +145,7 @@
|
|
|
145
145
|
"@cloudflare/cli": "1.1.3",
|
|
146
146
|
"@cloudflare/containers-shared": "0.2.13",
|
|
147
147
|
"@cloudflare/eslint-config-shared": "1.1.0",
|
|
148
|
-
"@cloudflare/pages-shared": "^0.13.
|
|
148
|
+
"@cloudflare/pages-shared": "^0.13.82",
|
|
149
149
|
"@cloudflare/workers-shared": "0.18.8",
|
|
150
150
|
"@cloudflare/workers-tsconfig": "0.0.0",
|
|
151
151
|
"@cloudflare/workers-utils": "0.0.2",
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* Welcome to Cloudflare Workers! This is your first scheduled worker.
|
|
3
3
|
*
|
|
4
|
-
* - Run `wrangler dev
|
|
5
|
-
* - Run `curl "http://localhost:8787/cdn-cgi/
|
|
4
|
+
* - Run `wrangler dev` in your terminal to start a development server
|
|
5
|
+
* - Run `curl "http://localhost:8787/cdn-cgi/handler/scheduled"` to trigger the scheduled event
|
|
6
6
|
* - Go back to the console to see what your worker has logged
|
|
7
|
-
* - Update the Cron trigger in wrangler.toml (see https://developers.cloudflare.com/workers/
|
|
7
|
+
* - Update the Cron trigger in wrangler.toml (see https://developers.cloudflare.com/workers/configuration/cron-triggers/)
|
|
8
8
|
* - Run `wrangler publish --name my-worker` to publish your worker
|
|
9
9
|
*
|
|
10
10
|
* Learn more at https://developers.cloudflare.com/workers/runtime-apis/scheduled-event/
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* Welcome to Cloudflare Workers! This is your first scheduled worker.
|
|
3
3
|
*
|
|
4
|
-
* - Run `wrangler dev
|
|
5
|
-
* - Run `curl "http://localhost:8787/cdn-cgi/
|
|
4
|
+
* - Run `wrangler dev` in your terminal to start a development server
|
|
5
|
+
* - Run `curl "http://localhost:8787/cdn-cgi/handler/scheduled"` to trigger the scheduled event
|
|
6
6
|
* - Go back to the console to see what your worker has logged
|
|
7
|
-
* - Update the Cron trigger in wrangler.toml (see https://developers.cloudflare.com/workers/
|
|
7
|
+
* - Update the Cron trigger in wrangler.toml (see https://developers.cloudflare.com/workers/configuration/cron-triggers/)
|
|
8
8
|
* - Run `wrangler deploy --name my-worker` to deploy your worker
|
|
9
9
|
*
|
|
10
10
|
* Learn more at https://developers.cloudflare.com/workers/runtime-apis/scheduled-event/
|
package/wrangler-dist/cli.d.ts
CHANGED
|
@@ -491,6 +491,9 @@ interface StartDevWorkerInput {
|
|
|
491
491
|
};
|
|
492
492
|
unsafe?: Omit<CfUnsafe, "bindings">;
|
|
493
493
|
assets?: string;
|
|
494
|
+
experimental?: {
|
|
495
|
+
tailLogs: boolean;
|
|
496
|
+
};
|
|
494
497
|
}
|
|
495
498
|
type StartDevWorkerOptions = Omit<StartDevWorkerInput, "assets" | "containers"> & {
|
|
496
499
|
/** A worker's directory. Usually where the Wrangler configuration file is located */
|
|
@@ -807,6 +810,7 @@ declare class ProxyController extends Controller<ProxyControllerEventMap> {
|
|
|
807
810
|
runtimeMessageMutex: Mutex;
|
|
808
811
|
sendMessageToProxyWorker(message: ProxyWorkerIncomingRequestBody, retries?: number): Promise<void>;
|
|
809
812
|
sendMessageToInspectorProxyWorker(message: InspectorProxyWorkerIncomingWebSocketMessage, retries?: number): Promise<void>;
|
|
813
|
+
get inspectorEnabled(): boolean;
|
|
810
814
|
onConfigUpdate(data: ConfigUpdateEvent): void;
|
|
811
815
|
onBundleStart(data: BundleStartEvent): void;
|
|
812
816
|
onReloadStart(data: ReloadStartEvent): void;
|
|
@@ -1280,7 +1284,7 @@ type CommandDefinition<NamedArgDefs extends NamedArgDefinitions = NamedArgDefini
|
|
|
1280
1284
|
/**
|
|
1281
1285
|
* If true, print a message about whether the command is operating on a local or remote resource
|
|
1282
1286
|
*/
|
|
1283
|
-
printResourceLocation?: ((args
|
|
1287
|
+
printResourceLocation?: ((args: HandlerArgs<NamedArgDefs>) => boolean) | boolean;
|
|
1284
1288
|
/**
|
|
1285
1289
|
* If true, check for environments in the wrangler config, if there are some and the user hasn't specified an environment
|
|
1286
1290
|
* using the `-e|--env` cli flag, show a warning suggesting that one should instead be specified.
|