wrangler 4.54.0 → 4.56.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 +12 -12
- package/wrangler-dist/cli.d.ts +19 -3
- package/wrangler-dist/cli.js +4948 -4171
- 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.56.0",
|
|
4
4
|
"description": "Command-line interface for all things Cloudflare Workers",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"wrangler",
|
|
@@ -54,17 +54,17 @@
|
|
|
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.20251217.0",
|
|
58
58
|
"@cloudflare/kv-asset-handler": "0.4.1",
|
|
59
59
|
"@cloudflare/unenv-preset": "2.7.13",
|
|
60
|
-
"miniflare": "4.
|
|
60
|
+
"miniflare": "4.20251217.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.20251217.0",
|
|
66
66
|
"@cspotcode/source-map-support": "0.8.1",
|
|
67
|
-
"@netlify/build-info": "^10.0
|
|
67
|
+
"@netlify/build-info": "^10.2.0",
|
|
68
68
|
"@sentry/node": "^7.86.0",
|
|
69
69
|
"@sentry/types": "^7.86.0",
|
|
70
70
|
"@sentry/utils": "^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.
|
|
151
|
-
"@cloudflare/containers-shared": "0.
|
|
152
|
-
"@cloudflare/
|
|
153
|
-
"@cloudflare/pages-shared": "^0.13.93",
|
|
150
|
+
"@cloudflare/cli": "1.2.0",
|
|
151
|
+
"@cloudflare/containers-shared": "0.6.0",
|
|
152
|
+
"@cloudflare/pages-shared": "^0.13.95",
|
|
154
153
|
"@cloudflare/workers-shared": "0.18.9",
|
|
154
|
+
"@cloudflare/eslint-config-shared": "1.1.0",
|
|
155
|
+
"@cloudflare/workers-utils": "0.5.0",
|
|
155
156
|
"@cloudflare/workers-tsconfig": "0.0.0",
|
|
156
|
-
"@cloudflare/workers-utils": "0.4.0",
|
|
157
157
|
"@cloudflare/workflows-shared": "0.3.9"
|
|
158
158
|
},
|
|
159
159
|
"peerDependencies": {
|
|
160
|
-
"@cloudflare/workers-types": "^4.
|
|
160
|
+
"@cloudflare/workers-types": "^4.20251217.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;
|
|
@@ -2470,6 +2471,7 @@ declare abstract class Framework {
|
|
|
2470
2471
|
isConfigured(_projectPath: string): boolean;
|
|
2471
2472
|
abstract configure(options: ConfigurationOptions): Promise<ConfigurationResults> | ConfigurationResults;
|
|
2472
2473
|
configurationDescription?: string;
|
|
2474
|
+
autoConfigSupported: boolean;
|
|
2473
2475
|
}
|
|
2474
2476
|
|
|
2475
2477
|
type AutoConfigDetails = {
|
|
@@ -2732,6 +2734,20 @@ declare class Logger {
|
|
|
2732
2734
|
private formatMessage;
|
|
2733
2735
|
}
|
|
2734
2736
|
|
|
2737
|
+
/**
|
|
2738
|
+
* Print all the bindings a worker using a given config would have access to
|
|
2739
|
+
*/
|
|
2740
|
+
declare function printBindings(bindings: Partial<CfWorkerInit["bindings"]>, tailConsumers?: CfTailConsumer[], streamingTailConsumers?: CfTailConsumer[], containers?: ContainerApp$1[], context?: {
|
|
2741
|
+
log?: (message: string) => void;
|
|
2742
|
+
registry?: WorkerRegistry | null;
|
|
2743
|
+
local?: boolean;
|
|
2744
|
+
isMultiWorker?: boolean;
|
|
2745
|
+
remoteBindingsDisabled?: boolean;
|
|
2746
|
+
name?: string;
|
|
2747
|
+
provisioning?: boolean;
|
|
2748
|
+
warnIfNoBindings?: boolean;
|
|
2749
|
+
}): void;
|
|
2750
|
+
|
|
2735
2751
|
/**
|
|
2736
2752
|
* Split an SQLQuery into an array of statements
|
|
2737
2753
|
*/
|
|
@@ -2808,7 +2824,7 @@ type DeepFlatten<T> = T extends object ? {
|
|
|
2808
2824
|
type Command = `wrangler${string}`;
|
|
2809
2825
|
type Metadata = {
|
|
2810
2826
|
description: string;
|
|
2811
|
-
status: "experimental" | "alpha" | "private
|
|
2827
|
+
status: "experimental" | "alpha" | "private beta" | "open beta" | "stable";
|
|
2812
2828
|
statusMessage?: string;
|
|
2813
2829
|
deprecated?: boolean;
|
|
2814
2830
|
deprecatedMessage?: string;
|
|
@@ -3056,4 +3072,4 @@ interface Unstable_ASSETSBindingsOptions {
|
|
|
3056
3072
|
}
|
|
3057
3073
|
declare const generateASSETSBinding: (opts: Unstable_ASSETSBindingsOptions) => (request: Request) => Promise<Response$1>;
|
|
3058
3074
|
|
|
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 };
|
|
3075
|
+
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 };
|