wrangler 4.90.0 → 4.91.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 +8 -8
- package/wrangler-dist/cli.d.ts +23 -3
- package/wrangler-dist/cli.js +482 -146
- 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.91.0",
|
|
4
4
|
"description": "Command-line interface for all things Cloudflare Workers",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"assembly",
|
|
@@ -54,16 +54,16 @@
|
|
|
54
54
|
"esbuild": "0.27.3",
|
|
55
55
|
"path-to-regexp": "6.3.0",
|
|
56
56
|
"unenv": "2.0.0-rc.24",
|
|
57
|
-
"workerd": "1.
|
|
57
|
+
"workerd": "1.20260511.1",
|
|
58
58
|
"@cloudflare/kv-asset-handler": "0.5.0",
|
|
59
59
|
"@cloudflare/unenv-preset": "2.16.1",
|
|
60
|
-
"miniflare": "4.
|
|
60
|
+
"miniflare": "4.20260511.0"
|
|
61
61
|
},
|
|
62
62
|
"devDependencies": {
|
|
63
63
|
"@aws-sdk/client-s3": "^3.721.0",
|
|
64
64
|
"@bomb.sh/tab": "^0.0.12",
|
|
65
65
|
"@cloudflare/types": "6.18.4",
|
|
66
|
-
"@cloudflare/workers-types": "^4.
|
|
66
|
+
"@cloudflare/workers-types": "^4.20260511.1",
|
|
67
67
|
"@cspotcode/source-map-support": "0.8.1",
|
|
68
68
|
"@netlify/build-info": "^10.5.1",
|
|
69
69
|
"@sentry/node": "^7.86.0",
|
|
@@ -144,17 +144,17 @@
|
|
|
144
144
|
"xxhash-wasm": "^1.0.1",
|
|
145
145
|
"yaml": "^2.8.1",
|
|
146
146
|
"yargs": "^17.7.2",
|
|
147
|
-
"@cloudflare/cli-shared-helpers": "0.1.3",
|
|
148
147
|
"@cloudflare/codemod": "1.1.0",
|
|
148
|
+
"@cloudflare/cli-shared-helpers": "0.1.3",
|
|
149
149
|
"@cloudflare/containers-shared": "0.14.1",
|
|
150
|
-
"@cloudflare/pages-shared": "^0.13.
|
|
151
|
-
"@cloudflare/workers-shared": "0.19.
|
|
150
|
+
"@cloudflare/pages-shared": "^0.13.135",
|
|
151
|
+
"@cloudflare/workers-shared": "0.19.6",
|
|
152
152
|
"@cloudflare/workers-tsconfig": "0.0.0",
|
|
153
153
|
"@cloudflare/workers-utils": "0.21.0",
|
|
154
154
|
"@cloudflare/workflows-shared": "0.10.0"
|
|
155
155
|
},
|
|
156
156
|
"peerDependencies": {
|
|
157
|
-
"@cloudflare/workers-types": "^4.
|
|
157
|
+
"@cloudflare/workers-types": "^4.20260511.1"
|
|
158
158
|
},
|
|
159
159
|
"peerDependenciesMeta": {
|
|
160
160
|
"@cloudflare/workers-types": {
|
package/wrangler-dist/cli.d.ts
CHANGED
|
@@ -592,6 +592,10 @@ declare class DevEnv extends EventEmitter implements ControllerBus {
|
|
|
592
592
|
* - RuntimeController emits devRegistryUpdate → ConfigController
|
|
593
593
|
* - ProxyController emits previewTokenExpired → RuntimeControllers
|
|
594
594
|
* - Any controller emits error → DevEnv error handler
|
|
595
|
+
*
|
|
596
|
+
* `reloadComplete` is also re-emitted as an external EventEmitter event
|
|
597
|
+
* (`devEnv.on("reloadComplete", ...)`) so callers like
|
|
598
|
+
* `RemoteProxySession.updateBindings` can wait for the reload to finish.
|
|
595
599
|
*/
|
|
596
600
|
dispatch(event: ControllerEvent): void;
|
|
597
601
|
private handleErrorEvent;
|
|
@@ -750,8 +754,11 @@ interface StartDevWorkerInput {
|
|
|
750
754
|
containerEngine?: ContainerEngine$1;
|
|
751
755
|
/** Re-generate your worker types when your Wrangler configuration file changes */
|
|
752
756
|
generateTypes?: boolean;
|
|
753
|
-
/**
|
|
754
|
-
tunnel?:
|
|
757
|
+
/** Tunnel configuration for this dev session. */
|
|
758
|
+
tunnel?: {
|
|
759
|
+
enabled: boolean;
|
|
760
|
+
name?: string;
|
|
761
|
+
};
|
|
755
762
|
};
|
|
756
763
|
legacy?: {
|
|
757
764
|
site?: Hook<Config$1["site"], [Config$1]>;
|
|
@@ -3029,6 +3036,19 @@ type PrintContext = {
|
|
|
3029
3036
|
*/
|
|
3030
3037
|
declare function printBindings(bindings: StartDevWorkerInput["bindings"], tailConsumers?: CfTailConsumer[], streamingTailConsumers?: CfTailConsumer[], containers?: ContainerApp$1[], context?: PrintContext): void;
|
|
3031
3038
|
|
|
3039
|
+
/**
|
|
3040
|
+
* Resolves the named tunnel to hostnames whose ingress rules
|
|
3041
|
+
* target the current local dev origin and the token needed
|
|
3042
|
+
* to start `cloudflared tunnel run`.
|
|
3043
|
+
*/
|
|
3044
|
+
declare function resolveNamedTunnel(name: string, origin: URL, options: {
|
|
3045
|
+
accountId: string | undefined;
|
|
3046
|
+
complianceRegion: Config$1["compliance_region"];
|
|
3047
|
+
}): Promise<{
|
|
3048
|
+
hostnames: string[];
|
|
3049
|
+
token: string;
|
|
3050
|
+
}>;
|
|
3051
|
+
|
|
3032
3052
|
/**
|
|
3033
3053
|
* Split an SQLQuery into an array of statements
|
|
3034
3054
|
*/
|
|
@@ -3411,4 +3431,4 @@ interface Unstable_ASSETSBindingsOptions {
|
|
|
3411
3431
|
}
|
|
3412
3432
|
declare const unstable_generateASSETSBinding: (opts: Unstable_ASSETSBindingsOptions) => (request: Request) => Promise<Response$1>;
|
|
3413
3433
|
|
|
3414
|
-
export { type Experimental_GenerateTypesOptions, type Experimental_GenerateTypesResult, type GetPlatformProxyOptions, type PlatformProxy, type RemoteProxySession, type SourcelessWorkerOptions, type StartRemoteProxySessionOptions, type Unstable_ASSETSBindingsOptions, type Config as Unstable_Config, type Unstable_DevOptions, type Unstable_DevWorker, type Unstable_MiniflareWorkerOptions, type RawConfig as Unstable_RawConfig, type RawEnvironment as Unstable_RawEnvironment, Framework as experimental_AutoConfigFramework, generateTypes as experimental_generateTypes, getDetailsForAutoConfig as experimental_getDetailsForAutoConfig, experimental_getWranglerCommands, runAutoConfig as experimental_runAutoConfig, getPlatformProxy, maybeStartOrUpdateRemoteProxySession, startRemoteProxySession, DevEnv as unstable_DevEnv, convertConfigBindingsToStartWorkerBindings as unstable_convertConfigBindingsToStartWorkerBindings, unstable_dev, unstable_generateASSETSBinding, unstable_getDevCompatibilityDate, getDurableObjectClassNameToUseSQLiteMap as unstable_getDurableObjectClassNameToUseSQLiteMap, unstable_getMiniflareWorkerOptions, getVarsForDev as unstable_getVarsForDev, getWorkerNameFromProject as unstable_getWorkerNameFromProject, unstable_pages, printBindings as unstable_printBindings, readConfig as unstable_readConfig, splitSqlQuery as unstable_splitSqlQuery, startWorker as unstable_startWorker };
|
|
3434
|
+
export { type Experimental_GenerateTypesOptions, type Experimental_GenerateTypesResult, type GetPlatformProxyOptions, type PlatformProxy, type RemoteProxySession, type SourcelessWorkerOptions, type StartRemoteProxySessionOptions, type Unstable_ASSETSBindingsOptions, type Config as Unstable_Config, type Unstable_DevOptions, type Unstable_DevWorker, type Unstable_MiniflareWorkerOptions, type RawConfig as Unstable_RawConfig, type RawEnvironment as Unstable_RawEnvironment, Framework as experimental_AutoConfigFramework, generateTypes as experimental_generateTypes, getDetailsForAutoConfig as experimental_getDetailsForAutoConfig, experimental_getWranglerCommands, runAutoConfig as experimental_runAutoConfig, getPlatformProxy, maybeStartOrUpdateRemoteProxySession, startRemoteProxySession, DevEnv as unstable_DevEnv, convertConfigBindingsToStartWorkerBindings as unstable_convertConfigBindingsToStartWorkerBindings, unstable_dev, unstable_generateASSETSBinding, unstable_getDevCompatibilityDate, getDurableObjectClassNameToUseSQLiteMap as unstable_getDurableObjectClassNameToUseSQLiteMap, unstable_getMiniflareWorkerOptions, getVarsForDev as unstable_getVarsForDev, getWorkerNameFromProject as unstable_getWorkerNameFromProject, unstable_pages, printBindings as unstable_printBindings, readConfig as unstable_readConfig, resolveNamedTunnel as unstable_resolveNamedTunnel, splitSqlQuery as unstable_splitSqlQuery, startWorker as unstable_startWorker };
|