wrangler 4.54.0 → 4.55.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 +11 -11
- package/wrangler-dist/cli.d.ts +18 -3
- package/wrangler-dist/cli.js +4206 -3892
- 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.55.0",
|
|
4
4
|
"description": "Command-line interface for all things Cloudflare Workers",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"wrangler",
|
|
@@ -54,15 +54,15 @@
|
|
|
54
54
|
"esbuild": "0.27.0",
|
|
55
55
|
"path-to-regexp": "6.3.0",
|
|
56
56
|
"unenv": "2.0.0-rc.24",
|
|
57
|
-
"workerd": "1.
|
|
57
|
+
"workerd": "1.20251213.0",
|
|
58
58
|
"@cloudflare/kv-asset-handler": "0.4.1",
|
|
59
|
-
"
|
|
60
|
-
"
|
|
59
|
+
"miniflare": "4.20251213.0",
|
|
60
|
+
"@cloudflare/unenv-preset": "2.7.13"
|
|
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.20251213.0",
|
|
66
66
|
"@cspotcode/source-map-support": "0.8.1",
|
|
67
67
|
"@netlify/build-info": "^10.0.9",
|
|
68
68
|
"@sentry/node": "^7.86.0",
|
|
@@ -147,17 +147,17 @@
|
|
|
147
147
|
"xxhash-wasm": "^1.0.1",
|
|
148
148
|
"yaml": "^2.8.1",
|
|
149
149
|
"yargs": "^17.7.2",
|
|
150
|
-
"@cloudflare/cli": "1.
|
|
150
|
+
"@cloudflare/cli": "1.2.0",
|
|
151
151
|
"@cloudflare/containers-shared": "0.5.0",
|
|
152
|
-
"@cloudflare/
|
|
153
|
-
"@cloudflare/pages-shared": "^0.13.93",
|
|
152
|
+
"@cloudflare/pages-shared": "^0.13.94",
|
|
154
153
|
"@cloudflare/workers-shared": "0.18.9",
|
|
155
154
|
"@cloudflare/workers-tsconfig": "0.0.0",
|
|
156
|
-
"@cloudflare/workers-utils": "0.
|
|
155
|
+
"@cloudflare/workers-utils": "0.5.0",
|
|
156
|
+
"@cloudflare/eslint-config-shared": "1.1.0",
|
|
157
157
|
"@cloudflare/workflows-shared": "0.3.9"
|
|
158
158
|
},
|
|
159
159
|
"peerDependencies": {
|
|
160
|
-
"@cloudflare/workers-types": "^4.
|
|
160
|
+
"@cloudflare/workers-types": "^4.20251213.0"
|
|
161
161
|
},
|
|
162
162
|
"peerDependenciesMeta": {
|
|
163
163
|
"@cloudflare/workers-types": {
|
|
@@ -182,7 +182,7 @@
|
|
|
182
182
|
"check:lint": "eslint . --max-warnings=0",
|
|
183
183
|
"check:type": "tsc -p ./tsconfig.json && tsc -p ./templates/tsconfig.json",
|
|
184
184
|
"clean": "rimraf wrangler-dist miniflare-dist emitted-types",
|
|
185
|
-
"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\"",
|
|
185
|
+
"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\"",
|
|
186
186
|
"generate-json-schema": "node -r esbuild-register scripts/generate-json-schema.ts",
|
|
187
187
|
"start": "pnpm run build && cross-env NODE_OPTIONS=--enable-source-maps ./bin/wrangler.js",
|
|
188
188
|
"test": "dotenv -- pnpm run assert-git-version && dotenv -- vitest",
|
package/wrangler-dist/cli.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { Rule as Rule$1, CfModule, Environment as Environment$1, CfScriptFormat, CfModuleType, Config as Config$1, CfKvNamespace, CfSendEmailBindings, CfBrowserBinding, CfAIBinding, CfImagesBinding, CfDurableObject, CfWorkflow, CfQueue, CfR2Bucket, CfD1Database, CfVectorize, CfHyperdrive, CfService, CfAnalyticsEngineDataset, CfDispatchNamespace, CfMTlsCertificate, CfPipeline, CfSecretsStoreSecrets, CfLogfwdrBinding, CfHelloWorld, CfRateLimit, CfWorkerLoader, CfVpcService, CfMediaBinding, DurableObjectMigration as DurableObjectMigration$1, ContainerApp as ContainerApp$1, ZoneIdRoute as ZoneIdRoute$1, ZoneNameRoute as ZoneNameRoute$1, CustomDomainRoute as CustomDomainRoute$1, CfTailConsumer, ContainerEngine as ContainerEngine$1, CfUnsafe, ConfigBindingOptions, NormalizeAndValidateConfigArgs, ResolveConfigPathOptions, RawConfig as RawConfig$1, PackageJSON, ParseError, ComplianceConfig, UserError, FatalError } from '@cloudflare/workers-utils';
|
|
1
|
+
import { Rule as Rule$1, CfModule, Environment as Environment$1, CfScriptFormat, CfModuleType, Config as Config$1, CfKvNamespace, CfSendEmailBindings, CfBrowserBinding, CfAIBinding, CfImagesBinding, CfDurableObject, CfWorkflow, CfQueue, CfR2Bucket, CfD1Database, CfVectorize, CfHyperdrive, CfService, CfAnalyticsEngineDataset, CfDispatchNamespace, CfMTlsCertificate, CfPipeline, CfSecretsStoreSecrets, CfLogfwdrBinding, CfHelloWorld, CfRateLimit, CfWorkerLoader, CfVpcService, CfMediaBinding, DurableObjectMigration as DurableObjectMigration$1, ContainerApp as ContainerApp$1, ZoneIdRoute as ZoneIdRoute$1, ZoneNameRoute as ZoneNameRoute$1, CustomDomainRoute as CustomDomainRoute$1, CfTailConsumer, ContainerEngine as ContainerEngine$1, CfUnsafe, ConfigBindingOptions, NormalizeAndValidateConfigArgs, ResolveConfigPathOptions, RawConfig as RawConfig$1, PackageJSON, ParseError, CfWorkerInit, ComplianceConfig, UserError, FatalError } from '@cloudflare/workers-utils';
|
|
2
2
|
export { ConfigBindingOptions as Experimental_ConfigBindingOptions, experimental_patchConfig, experimental_readRawConfig, defaultWranglerConfig as unstable_defaultWranglerConfig } from '@cloudflare/workers-utils';
|
|
3
3
|
import { Json as Json$1, Request, Response as Response$1, NodeJSCompatMode, DispatchFetch, Miniflare, WorkerRegistry, MiniflareOptions, Mutex, WorkerOptions, ModuleRule, RemoteProxyConnectionString } from 'miniflare';
|
|
4
4
|
import * as undici from 'undici';
|
|
@@ -2463,6 +2463,7 @@ type PackageJsonScriptsOverrides = {
|
|
|
2463
2463
|
type ConfigurationResults = {
|
|
2464
2464
|
wranglerConfig: RawConfig$1;
|
|
2465
2465
|
packageJsonScriptsOverrides?: PackageJsonScriptsOverrides;
|
|
2466
|
+
buildCommand?: string;
|
|
2466
2467
|
};
|
|
2467
2468
|
declare abstract class Framework {
|
|
2468
2469
|
name: string;
|
|
@@ -2732,6 +2733,20 @@ declare class Logger {
|
|
|
2732
2733
|
private formatMessage;
|
|
2733
2734
|
}
|
|
2734
2735
|
|
|
2736
|
+
/**
|
|
2737
|
+
* Print all the bindings a worker using a given config would have access to
|
|
2738
|
+
*/
|
|
2739
|
+
declare function printBindings(bindings: Partial<CfWorkerInit["bindings"]>, tailConsumers?: CfTailConsumer[], streamingTailConsumers?: CfTailConsumer[], containers?: ContainerApp$1[], context?: {
|
|
2740
|
+
log?: (message: string) => void;
|
|
2741
|
+
registry?: WorkerRegistry | null;
|
|
2742
|
+
local?: boolean;
|
|
2743
|
+
isMultiWorker?: boolean;
|
|
2744
|
+
remoteBindingsDisabled?: boolean;
|
|
2745
|
+
name?: string;
|
|
2746
|
+
provisioning?: boolean;
|
|
2747
|
+
warnIfNoBindings?: boolean;
|
|
2748
|
+
}): void;
|
|
2749
|
+
|
|
2735
2750
|
/**
|
|
2736
2751
|
* Split an SQLQuery into an array of statements
|
|
2737
2752
|
*/
|
|
@@ -2808,7 +2823,7 @@ type DeepFlatten<T> = T extends object ? {
|
|
|
2808
2823
|
type Command = `wrangler${string}`;
|
|
2809
2824
|
type Metadata = {
|
|
2810
2825
|
description: string;
|
|
2811
|
-
status: "experimental" | "alpha" | "private
|
|
2826
|
+
status: "experimental" | "alpha" | "private beta" | "open beta" | "stable";
|
|
2812
2827
|
statusMessage?: string;
|
|
2813
2828
|
deprecated?: boolean;
|
|
2814
2829
|
deprecatedMessage?: string;
|
|
@@ -3056,4 +3071,4 @@ interface Unstable_ASSETSBindingsOptions {
|
|
|
3056
3071
|
}
|
|
3057
3072
|
declare const generateASSETSBinding: (opts: Unstable_ASSETSBindingsOptions) => (request: Request) => Promise<Response$1>;
|
|
3058
3073
|
|
|
3059
|
-
export { type Binding, 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, getDetailsForAutoConfig as experimental_getDetailsForAutoConfig, experimental_getWranglerCommands, runAutoConfig as experimental_runAutoConfig, getPlatformProxy, maybeStartOrUpdateRemoteProxySession, startRemoteProxySession, DevEnv as unstable_DevEnv, convertConfigBindingsToStartWorkerBindings as unstable_convertConfigBindingsToStartWorkerBindings, unstable_dev, generateASSETSBinding as unstable_generateASSETSBinding, getDevCompatibilityDate as unstable_getDevCompatibilityDate, getDurableObjectClassNameToUseSQLiteMap as unstable_getDurableObjectClassNameToUseSQLiteMap, unstable_getMiniflareWorkerOptions, getVarsForDev as unstable_getVarsForDev, getWorkerNameFromProject as unstable_getWorkerNameFromProject, unstable_pages, readConfig as unstable_readConfig, splitSqlQuery as unstable_splitSqlQuery, startWorker as unstable_startWorker };
|
|
3074
|
+
export { type Binding, 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, getDetailsForAutoConfig as experimental_getDetailsForAutoConfig, experimental_getWranglerCommands, runAutoConfig as experimental_runAutoConfig, getPlatformProxy, maybeStartOrUpdateRemoteProxySession, startRemoteProxySession, DevEnv as unstable_DevEnv, convertConfigBindingsToStartWorkerBindings as unstable_convertConfigBindingsToStartWorkerBindings, unstable_dev, generateASSETSBinding as unstable_generateASSETSBinding, getDevCompatibilityDate as 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 };
|