@cloudflare/workers-utils 0.4.0 → 0.6.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/dist/browser.d.mts +41 -3
- package/dist/browser.mjs +2 -2
- package/dist/chunk-6T3PMLAP.mjs +3180 -0
- package/dist/{chunk-DCOBXSFB.mjs → chunk-UB4QLUTD.mjs} +7 -1
- package/dist/{chunk-73TUG5Z7.mjs → chunk-Y5D2J4RL.mjs} +39 -10
- package/dist/{browser-BVVJ_rUA.d.mts → config-BUplnX-w.d.mts} +34 -39
- package/dist/index.d.mts +61 -14
- package/dist/index.mjs +167 -3240
- package/dist/metafile-esm.json +1 -1
- package/dist/test-helpers/index.d.mts +10 -1
- package/dist/test-helpers/index.mjs +68 -8
- package/package.json +6 -6
|
@@ -36,4 +36,10 @@ var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__ge
|
|
|
36
36
|
mod
|
|
37
37
|
));
|
|
38
38
|
|
|
39
|
-
|
|
39
|
+
// src/constants.ts
|
|
40
|
+
var INHERIT_SYMBOL = Symbol.for("inherit_binding");
|
|
41
|
+
var SERVICE_TAG_PREFIX = "cf:service=";
|
|
42
|
+
var ENVIRONMENT_TAG_PREFIX = "cf:environment=";
|
|
43
|
+
var PATH_TO_DEPLOY_CONFIG = ".wrangler/deploy/config.json";
|
|
44
|
+
|
|
45
|
+
export { ENVIRONMENT_TAG_PREFIX, INHERIT_SYMBOL, PATH_TO_DEPLOY_CONFIG, SERVICE_TAG_PREFIX, __commonJS, __export, __name, __reExport, __require, __toESM };
|
|
@@ -1,14 +1,43 @@
|
|
|
1
|
-
import { __name } from './chunk-
|
|
1
|
+
import { __name, ENVIRONMENT_TAG_PREFIX, SERVICE_TAG_PREFIX } from './chunk-UB4QLUTD.mjs';
|
|
2
|
+
import assert from 'node:assert';
|
|
3
|
+
import module from 'node:module';
|
|
2
4
|
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
5
|
+
function getLocalWorkerdCompatibilityDate({
|
|
6
|
+
projectPath = process.cwd()
|
|
7
|
+
} = {}) {
|
|
8
|
+
try {
|
|
9
|
+
const projectRequire = module.createRequire(projectPath);
|
|
10
|
+
const miniflareEntry = projectRequire.resolve("miniflare");
|
|
11
|
+
const miniflareRequire = module.createRequire(miniflareEntry);
|
|
12
|
+
const miniflareWorkerd = miniflareRequire("workerd");
|
|
13
|
+
const workerdDate = miniflareWorkerd.compatibilityDate;
|
|
14
|
+
return {
|
|
15
|
+
date: toSafeCompatibilityDate(new Date(workerdDate)),
|
|
16
|
+
source: "workerd"
|
|
17
|
+
};
|
|
18
|
+
} catch {
|
|
19
|
+
}
|
|
20
|
+
return {
|
|
21
|
+
date: "2025-09-27",
|
|
22
|
+
source: "fallback"
|
|
23
|
+
};
|
|
24
|
+
}
|
|
25
|
+
__name(getLocalWorkerdCompatibilityDate, "getLocalWorkerdCompatibilityDate");
|
|
26
|
+
function toSafeCompatibilityDate(date) {
|
|
27
|
+
if (date.getTime() > Date.now()) {
|
|
28
|
+
return formatCompatibilityDate(/* @__PURE__ */ new Date());
|
|
29
|
+
}
|
|
30
|
+
return formatCompatibilityDate(date);
|
|
31
|
+
}
|
|
32
|
+
__name(toSafeCompatibilityDate, "toSafeCompatibilityDate");
|
|
33
|
+
function isCompatDate(str) {
|
|
34
|
+
return /^\d{4}-\d{2}-\d{2}$/.test(str);
|
|
35
|
+
}
|
|
36
|
+
__name(isCompatDate, "isCompatDate");
|
|
10
37
|
function formatCompatibilityDate(date) {
|
|
11
|
-
|
|
38
|
+
const compatDate = date.toISOString().slice(0, 10);
|
|
39
|
+
assert(isCompatDate(compatDate));
|
|
40
|
+
return compatDate;
|
|
12
41
|
}
|
|
13
42
|
__name(formatCompatibilityDate, "formatCompatibilityDate");
|
|
14
43
|
|
|
@@ -436,4 +465,4 @@ function constructWranglerConfig(workerOrWorkers) {
|
|
|
436
465
|
}
|
|
437
466
|
__name(constructWranglerConfig, "constructWranglerConfig");
|
|
438
467
|
|
|
439
|
-
export {
|
|
468
|
+
export { assertNever, constructWranglerConfig, formatCompatibilityDate, getLocalWorkerdCompatibilityDate, isCompatDate, mapWorkerMetadataBindings };
|
|
@@ -1,5 +1,4 @@
|
|
|
1
1
|
import { RouterConfig, AssetConfig } from '@cloudflare/workers-shared';
|
|
2
|
-
import { Cloudflare } from 'cloudflare';
|
|
3
2
|
|
|
4
3
|
/**
|
|
5
4
|
* A symbol to inherit a binding from the deployed worker.
|
|
@@ -834,6 +833,32 @@ type ContainerApp = {
|
|
|
834
833
|
/** @defaults to 2 GB */
|
|
835
834
|
disk_mb?: number;
|
|
836
835
|
};
|
|
836
|
+
wrangler_ssh?: {
|
|
837
|
+
/**
|
|
838
|
+
* If enabled, those with write access to a container will be able to SSH into it through Wrangler.
|
|
839
|
+
* @default false
|
|
840
|
+
*/
|
|
841
|
+
enabled: boolean;
|
|
842
|
+
/**
|
|
843
|
+
* Port that the SSH service is running on
|
|
844
|
+
* @defaults to 22
|
|
845
|
+
*/
|
|
846
|
+
port?: number;
|
|
847
|
+
};
|
|
848
|
+
/**
|
|
849
|
+
* SSH public keys to put in the container's authorized_keys file.
|
|
850
|
+
*/
|
|
851
|
+
authorized_keys?: {
|
|
852
|
+
name: string;
|
|
853
|
+
public_key: string;
|
|
854
|
+
}[];
|
|
855
|
+
/**
|
|
856
|
+
* Trusted user CA keys to put in the container's trusted_user_ca_keys file.
|
|
857
|
+
*/
|
|
858
|
+
trusted_user_ca_keys?: {
|
|
859
|
+
name?: string;
|
|
860
|
+
public_key: string;
|
|
861
|
+
}[];
|
|
837
862
|
/**
|
|
838
863
|
* @deprecated Use top level `containers` fields instead.
|
|
839
864
|
* `configuration.image` should be `image`
|
|
@@ -1088,7 +1113,7 @@ interface EnvironmentInheritable {
|
|
|
1088
1113
|
*
|
|
1089
1114
|
* For reference, see https://developers.cloudflare.com/workers/wrangler/configuration/#triggers
|
|
1090
1115
|
*
|
|
1091
|
-
* @default {crons:
|
|
1116
|
+
* @default {crons:[]}
|
|
1092
1117
|
* @inheritable
|
|
1093
1118
|
*/
|
|
1094
1119
|
triggers: {
|
|
@@ -2171,6 +2196,12 @@ interface DevConfig {
|
|
|
2171
2196
|
* Note that windows is only supported via WSL at the moment
|
|
2172
2197
|
*/
|
|
2173
2198
|
container_engine: ContainerEngine | undefined;
|
|
2199
|
+
/**
|
|
2200
|
+
* Re-generate your worker types when your Wrangler configuration file changes.
|
|
2201
|
+
*
|
|
2202
|
+
* @default false
|
|
2203
|
+
*/
|
|
2204
|
+
generate_types: boolean;
|
|
2174
2205
|
}
|
|
2175
2206
|
type RawDevConfig = Partial<DevConfig>;
|
|
2176
2207
|
interface EnvironmentMap {
|
|
@@ -2192,40 +2223,4 @@ interface EnvironmentMap {
|
|
|
2192
2223
|
}
|
|
2193
2224
|
declare const defaultWranglerConfig: Config;
|
|
2194
2225
|
|
|
2195
|
-
type
|
|
2196
|
-
id: string;
|
|
2197
|
-
pattern: string;
|
|
2198
|
-
zone_name: string;
|
|
2199
|
-
script: string;
|
|
2200
|
-
}[];
|
|
2201
|
-
interface APIWorkerConfig {
|
|
2202
|
-
name: string;
|
|
2203
|
-
entrypoint: string;
|
|
2204
|
-
tags: string[] | null;
|
|
2205
|
-
compatibility_date: string;
|
|
2206
|
-
compatibility_flags: string[];
|
|
2207
|
-
logpush: boolean | undefined;
|
|
2208
|
-
routes: RoutesRes;
|
|
2209
|
-
tail_consumers: TailConsumer[] | undefined | null;
|
|
2210
|
-
migration_tag?: string;
|
|
2211
|
-
domains: Cloudflare.Workers.Domain[];
|
|
2212
|
-
schedules: Cloudflare.Workers.Scripts.Schedules.ScheduleGetResponse.Schedule[];
|
|
2213
|
-
assets?: AssetConfig;
|
|
2214
|
-
bindings: WorkerMetadata["bindings"];
|
|
2215
|
-
observability: Cloudflare.Workers.Beta.Worker.Observability | undefined;
|
|
2216
|
-
limits: {
|
|
2217
|
-
cpu_ms: number;
|
|
2218
|
-
} | undefined;
|
|
2219
|
-
placement: Cloudflare.Workers.Beta.Workers.Version.Placement | undefined;
|
|
2220
|
-
subdomain: {
|
|
2221
|
-
enabled: boolean;
|
|
2222
|
-
previews_enabled: boolean;
|
|
2223
|
-
};
|
|
2224
|
-
}
|
|
2225
|
-
/**
|
|
2226
|
-
* Given the information of multiple Workers (representing different environments),
|
|
2227
|
-
* construct a Wrangler config file for the application.
|
|
2228
|
-
*/
|
|
2229
|
-
declare function constructWranglerConfig(workerOrWorkers: APIWorkerConfig | APIWorkerConfig[]): RawConfig;
|
|
2230
|
-
|
|
2231
|
-
export { type CfWorkerLoader as $, type Assets as A, type CfWasmModuleBindings as B, type CfWorkerInit as C, type DurableObjectMigration as D, type Environment as E, type CfTextBlobBindings as F, type CfBrowserBinding as G, type CfAIBinding as H, type CfImagesBinding as I, type CfMediaBinding as J, type CfVersionMetadataBinding as K, type CfDataBlobBindings as L, type CfDurableObject as M, type CfWorkflow as N, type Observability as O, type CfQueue as P, type CfR2Bucket as Q, type RawConfig as R, type StreamingTailConsumer as S, type TailConsumer as T, type UserLimits as U, type CfD1Database as V, type WorkerMetadataBinding as W, type CfVectorize as X, type CfSecretsStoreSecrets as Y, type ZoneIdRoute as Z, type CfHelloWorld as _, type Config as a, type CfRateLimit as a0, type CfHyperdrive as a1, type CfService as a2, type CfVpcService as a3, type CfAnalyticsEngineDataset as a4, type CfDispatchNamespace as a5, type CfMTlsCertificate as a6, type CfLogfwdr as a7, type CfLogfwdrBinding as a8, type CfAssetsBinding as a9, type CfPipeline as aa, type CfUnsafeBinding as ab, type CfCapnp as ac, type CfUnsafe as ad, type CfDurableObjectMigrations as ae, type CfPlacement as af, type CfTailConsumer as ag, type CfUserLimits as ah, type CfWorkerContext as ai, type CfWorkerSourceMap as aj, type Json as ak, type AssetConfigMetadata as al, type WorkerMetadata as am, type ServiceMetadataRes as an, INHERIT_SYMBOL as ao, SERVICE_TAG_PREFIX as ap, ENVIRONMENT_TAG_PREFIX as aq, PATH_TO_DEPLOY_CONFIG as ar, type RawDevConfig as b, type ConfigFields as c, type RawEnvironment as d, type RedirectedRawConfig as e, defaultWranglerConfig as f, constructWranglerConfig as g, type ZoneNameRoute as h, type CustomDomainRoute as i, type Route as j, type CloudchamberConfig as k, type ContainerApp as l, type DurableObjectBindings as m, type WorkflowBinding as n, type EnvironmentNonInheritable as o, type Rule as p, type ConfigModuleRuleType as q, type DispatchNamespaceOutbound as r, type DockerConfiguration as s, type ContainerEngine as t, type CfScriptFormat as u, type CfModuleType as v, type CfModule as w, type CfVars as x, type CfKvNamespace as y, type CfSendEmailBindings as z };
|
|
2226
|
+
export { type CfRateLimit as $, type Assets as A, type CfTextBlobBindings as B, type CfWorkerInit as C, type DurableObjectMigration as D, type Environment as E, type CfBrowserBinding as F, type CfAIBinding as G, type CfImagesBinding as H, type CfMediaBinding as I, type CfVersionMetadataBinding as J, type CfDataBlobBindings as K, type CfDurableObject as L, type CfWorkflow as M, type CfQueue as N, type Observability as O, type CfR2Bucket as P, type CfD1Database as Q, type RawConfig as R, type StreamingTailConsumer as S, type TailConsumer as T, type UserLimits as U, type CfVectorize as V, type WorkerMetadataBinding as W, type CfSecretsStoreSecrets as X, type CfHelloWorld as Y, type ZoneIdRoute as Z, type CfWorkerLoader as _, type RedirectedRawConfig as a, type CfHyperdrive as a0, type CfService as a1, type CfVpcService as a2, type CfAnalyticsEngineDataset as a3, type CfDispatchNamespace as a4, type CfMTlsCertificate as a5, type CfLogfwdr as a6, type CfLogfwdrBinding as a7, type CfAssetsBinding as a8, type CfPipeline as a9, type CfUnsafeBinding as aa, type CfCapnp as ab, type CfUnsafe as ac, type CfDurableObjectMigrations as ad, type CfPlacement as ae, type CfTailConsumer as af, type CfUserLimits as ag, type CfWorkerContext as ah, type CfWorkerSourceMap as ai, type Json as aj, type AssetConfigMetadata as ak, type WorkerMetadata as al, type ServiceMetadataRes as am, INHERIT_SYMBOL as an, SERVICE_TAG_PREFIX as ao, ENVIRONMENT_TAG_PREFIX as ap, PATH_TO_DEPLOY_CONFIG as aq, type Config as b, type RawDevConfig as c, type ConfigFields as d, type RawEnvironment as e, defaultWranglerConfig as f, type ZoneNameRoute as g, type CustomDomainRoute as h, type Route as i, type CloudchamberConfig as j, type ContainerApp as k, type DurableObjectBindings as l, type WorkflowBinding as m, type EnvironmentNonInheritable as n, type Rule as o, type ConfigModuleRuleType as p, type DispatchNamespaceOutbound as q, type DockerConfiguration as r, type ContainerEngine as s, type CfScriptFormat as t, type CfModuleType as u, type CfModule as v, type CfVars as w, type CfKvNamespace as x, type CfSendEmailBindings as y, type CfWasmModuleBindings as z };
|
package/dist/index.d.mts
CHANGED
|
@@ -1,6 +1,7 @@
|
|
|
1
|
-
import { C as CfWorkerInit, R as RawConfig,
|
|
2
|
-
export {
|
|
1
|
+
import { C as CfWorkerInit, R as RawConfig, b as Config, W as WorkerMetadataBinding } from './config-BUplnX-w.mjs';
|
|
2
|
+
export { ak as AssetConfigMetadata, A as Assets, G as CfAIBinding, a3 as CfAnalyticsEngineDataset, a8 as CfAssetsBinding, F as CfBrowserBinding, ab as CfCapnp, Q as CfD1Database, K as CfDataBlobBindings, a4 as CfDispatchNamespace, L as CfDurableObject, ad as CfDurableObjectMigrations, Y as CfHelloWorld, a0 as CfHyperdrive, H as CfImagesBinding, x as CfKvNamespace, a6 as CfLogfwdr, a7 as CfLogfwdrBinding, a5 as CfMTlsCertificate, I as CfMediaBinding, v as CfModule, u as CfModuleType, a9 as CfPipeline, ae as CfPlacement, N as CfQueue, P as CfR2Bucket, $ as CfRateLimit, t as CfScriptFormat, X as CfSecretsStoreSecrets, y as CfSendEmailBindings, a1 as CfService, af as CfTailConsumer, B as CfTextBlobBindings, ac as CfUnsafe, aa as CfUnsafeBinding, ag as CfUserLimits, w as CfVars, V as CfVectorize, J as CfVersionMetadataBinding, a2 as CfVpcService, z as CfWasmModuleBindings, ah as CfWorkerContext, _ as CfWorkerLoader, ai as CfWorkerSourceMap, M as CfWorkflow, j as CloudchamberConfig, d as ConfigFields, p as ConfigModuleRuleType, k as ContainerApp, s as ContainerEngine, h as CustomDomainRoute, q as DispatchNamespaceOutbound, r as DockerConfiguration, l as DurableObjectBindings, D as DurableObjectMigration, ap as ENVIRONMENT_TAG_PREFIX, E as Environment, n as EnvironmentNonInheritable, an as INHERIT_SYMBOL, aj as Json, O as Observability, aq as PATH_TO_DEPLOY_CONFIG, c as RawDevConfig, e as RawEnvironment, a as RedirectedRawConfig, i as Route, o as Rule, ao as SERVICE_TAG_PREFIX, am as ServiceMetadataRes, S as StreamingTailConsumer, T as TailConsumer, U as UserLimits, al as WorkerMetadata, m as WorkflowBinding, Z as ZoneIdRoute, g as ZoneNameRoute, f as defaultWranglerConfig } from './config-BUplnX-w.mjs';
|
|
3
3
|
import * as jsoncParser from 'jsonc-parser';
|
|
4
|
+
export { constructWranglerConfig } from './browser.mjs';
|
|
4
5
|
import '@cloudflare/workers-shared';
|
|
5
6
|
import 'cloudflare';
|
|
6
7
|
|
|
@@ -89,6 +90,7 @@ type NormalizeAndValidateConfigArgs = {
|
|
|
89
90
|
upstreamProtocol?: string;
|
|
90
91
|
script?: string;
|
|
91
92
|
enableContainers?: boolean;
|
|
93
|
+
generateTypes?: boolean;
|
|
92
94
|
};
|
|
93
95
|
declare function isPagesConfig(rawConfig: RawConfig): boolean;
|
|
94
96
|
/**
|
|
@@ -237,9 +239,15 @@ declare class APIError extends ParseError {
|
|
|
237
239
|
preventReport(): void;
|
|
238
240
|
}
|
|
239
241
|
/**
|
|
240
|
-
*
|
|
242
|
+
* Parses a TOML string to an object.
|
|
243
|
+
*
|
|
244
|
+
* Note: throws a `ParseError` if parsing fails.
|
|
245
|
+
*
|
|
246
|
+
* @param tomlContent The TOML content to parse.
|
|
247
|
+
* @param filePath Optional file path for error reporting.
|
|
248
|
+
* @returns The parsed TOML object.
|
|
241
249
|
*/
|
|
242
|
-
declare function parseTOML
|
|
250
|
+
declare function parseTOML(tomlContent: string, filePath?: string): unknown;
|
|
243
251
|
/**
|
|
244
252
|
* A minimal type describing a package.json file.
|
|
245
253
|
*/
|
|
@@ -332,14 +340,6 @@ type TypeofType = "string" | "number" | "bigint" | "boolean" | "symbol" | "undef
|
|
|
332
340
|
|
|
333
341
|
declare function assertNever(_value: never): void;
|
|
334
342
|
|
|
335
|
-
/**
|
|
336
|
-
* Returns the date formatted as a compatibility date
|
|
337
|
-
*
|
|
338
|
-
* @param date
|
|
339
|
-
* @returns The date as a `YYYY-MM-DD` string
|
|
340
|
-
*/
|
|
341
|
-
declare function formatCompatibilityDate(date: Date): string;
|
|
342
|
-
|
|
343
343
|
/**
|
|
344
344
|
* Maps a set of bindings defined as worker metadata bindings (straight from the Cloudflare API) to bindings defined in the local format.
|
|
345
345
|
*
|
|
@@ -444,7 +444,9 @@ type VariableNames =
|
|
|
444
444
|
/** Docker host configuration (handled separately from environment variable factory). */
|
|
445
445
|
| "WRANGLER_DOCKER_HOST"
|
|
446
446
|
/** Docker host configuration (handled separately from environment variable factory). */
|
|
447
|
-
| "DOCKER_HOST"
|
|
447
|
+
| "DOCKER_HOST"
|
|
448
|
+
/** Environment variable used to signal that the current process is being run by the open-next deploy command. */
|
|
449
|
+
| "OPEN_NEXT_DEPLOY";
|
|
448
450
|
type DeprecatedNames = "CF_ACCOUNT_ID" | "CF_API_TOKEN" | "CF_API_KEY" | "CF_EMAIL" | "CF_API_BASE_URL";
|
|
449
451
|
type ElementType<A> = A extends readonly (infer T)[] ? T : never;
|
|
450
452
|
/**
|
|
@@ -658,7 +660,52 @@ declare const getWranglerHideBanner: () => boolean;
|
|
|
658
660
|
* `CLOUDFLARE_ENV` specifies the currently selected Wrangler/Cloudflare environment.
|
|
659
661
|
*/
|
|
660
662
|
declare const getCloudflareEnv: () => string | undefined;
|
|
663
|
+
/**
|
|
664
|
+
* `OPEN_NEXT_DEPLOY` is an environment variables that indicates that the current process is being
|
|
665
|
+
* run by the open-next deploy command
|
|
666
|
+
*/
|
|
667
|
+
declare const getOpenNextDeployFromEnv: () => string | undefined;
|
|
661
668
|
|
|
662
669
|
declare function getGlobalWranglerConfigPath(): string;
|
|
663
670
|
|
|
664
|
-
|
|
671
|
+
type YYYY = `${number}${number}${number}${number}`;
|
|
672
|
+
type MM = `${number}${number}`;
|
|
673
|
+
type DD = `${number}${number}`;
|
|
674
|
+
/**
|
|
675
|
+
* Represents a valid compatibility date, a string such as `2025-09-27`
|
|
676
|
+
*/
|
|
677
|
+
type CompatDate = `${YYYY}-${MM}-${DD}`;
|
|
678
|
+
type GetCompatDateOptions = {
|
|
679
|
+
projectPath?: string;
|
|
680
|
+
};
|
|
681
|
+
type GetCompatDateResult = {
|
|
682
|
+
date: CompatDate;
|
|
683
|
+
source: "workerd" | "fallback";
|
|
684
|
+
};
|
|
685
|
+
/**
|
|
686
|
+
* Gets the compatibility date of the locally installed workerd package.
|
|
687
|
+
*
|
|
688
|
+
* If the package is not found the fallback date of 2025-09-27 is returned instead.
|
|
689
|
+
*
|
|
690
|
+
* Additionally, if the workerd date is set to the future then the current date is returned instead.
|
|
691
|
+
*
|
|
692
|
+
* @param options.projectPath the path to the project
|
|
693
|
+
* @returns an object including the compatibility date and its source
|
|
694
|
+
*/
|
|
695
|
+
declare function getLocalWorkerdCompatibilityDate({ projectPath, }?: GetCompatDateOptions): GetCompatDateResult;
|
|
696
|
+
/**
|
|
697
|
+
* Discern whether a string represents a compatibility date (`YYYY-MM-DD`)
|
|
698
|
+
*
|
|
699
|
+
* @param str The target string
|
|
700
|
+
* @returns true if the string represents a compatibility date, false otherwise
|
|
701
|
+
*/
|
|
702
|
+
declare function isCompatDate(str: string): str is CompatDate;
|
|
703
|
+
/**
|
|
704
|
+
* Returns the date formatted as a compatibility date
|
|
705
|
+
*
|
|
706
|
+
* @param date The target date to convert
|
|
707
|
+
* @returns The date as a CompatDate string (a string following the format `YYYY-MM-DD`)
|
|
708
|
+
*/
|
|
709
|
+
declare function formatCompatibilityDate(date: Date): CompatDate;
|
|
710
|
+
|
|
711
|
+
export { APIError, COMPLIANCE_REGION_CONFIG_PUBLIC, COMPLIANCE_REGION_CONFIG_UNKNOWN, CfWorkerInit, CommandLineArgsError, type CompatDate, type ComplianceConfig, Config, type ConfigBindingOptions, DeprecationError, FatalError, type File, JsonFriendlyFatalError, type Location, type Message, MissingConfigError, type NormalizeAndValidateConfigArgs, type PackageJSON, ParseError, PatchConfigError, RawConfig, type ResolveConfigPathOptions, type TelemetryMessage, UserError, WorkerMetadataBinding, assertNever, bucketFormatMessage, configFileName, configFormat, createFatalError, experimental_patchConfig, experimental_readRawConfig, findWranglerConfig, formatCompatibilityDate, formatConfigSnippet, friendlyBindingNames, getBooleanEnvironmentVariableFactory, getBuildConditionsFromEnv, getBuildPlatformFromEnv, getC3CommandFromEnv, getCIGeneratePreviewAlias, getCIMatchTag, getCIOverrideName, getCIOverrideNetworkModeHost, getCloudflareApiBaseUrl, getCloudflareApiEnvironmentFromEnv, getCloudflareComplianceRegion, getCloudflareEnv, getCloudflareIncludeProcessEnvFromEnv, getCloudflareLoadDevVarsFromDotEnv, getComplianceRegionSubdomain, getD1ExtraLocationChoices, getDisableConfigWatching, getDockerPath, getEnvironmentVariableFactory, getGlobalWranglerConfigPath, getLocalWorkerdCompatibilityDate, getOpenNextDeployFromEnv, getOutputFileDirectoryFromEnv, getOutputFilePathFromEnv, getRegistryPath, getSanitizeLogs, getSubdomainMixedStateCheckDisabled, getTraceHeader, getWorkersCIBranchName, getWranglerHideBanner, getWranglerSendErrorReportsFromEnv, getWranglerSendMetricsFromEnv, hasProperty, indexLocation, isCompatDate, isOptionalProperty, isPagesConfig, isRequiredProperty, isValidR2BucketName, mapWorkerMetadataBindings, normalizeAndValidateConfig, parseByteSize, parseHumanDuration, parseJSON, parseJSONC, parseNonHyphenedUuid, parsePackageJSON, parseTOML, readFileSync, readFileSyncToBuffer, resolveWranglerConfigPath, searchLocation, validatePagesConfig };
|