@cloudflare/workers-utils 0.33.0 → 0.34.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 +1 -1
- package/dist/browser.mjs +1 -1
- package/dist/{chunk-3K53PSCY.mjs → chunk-QFKPUV4H.mjs} +57 -4
- package/dist/{chunk-NMPHTL5R.mjs → chunk-QKX75RGI.mjs} +4 -40
- package/dist/{config-BKgj-0W1.d.mts → config-BnUbzrPY.d.mts} +92 -11
- package/dist/index.d.mts +208 -7
- package/dist/index.mjs +574 -145
- package/dist/metafile-esm.json +1 -1
- package/dist/open-PBXRGS4R.mjs +3 -3
- package/dist/test-helpers/index.d.mts +1 -1
- package/dist/test-helpers/index.mjs +1 -1
- package/package.json +2 -2
package/dist/index.d.mts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { C as ComputedFields, B as Binding, R as RawConfig, b as Config, E as Exports, D as DurableObjectExport, W as WorkerEntrypointExport, c as WorkerMetadataBinding, L as Logger,
|
|
2
|
-
export { A as ARTIFACTS_EVENT_TYPES,
|
|
1
|
+
import { C as ComputedFields, B as Binding, R as RawConfig, b as Config, E as Exports, D as DurableObjectExport, W as WorkerEntrypointExport, c as ContainerApp, d as WorkerMetadataBinding, L as Logger, e as Route } from './config-BnUbzrPY.mjs';
|
|
2
|
+
export { A as ARTIFACTS_EVENT_TYPES, f as Access, g as ApiCredentials, h as ArtifactsEventTrigger, i as ArtifactsEventType, j as AssetConfigMetadata, k as Assets, l as AssetsOptions, m as AsyncHook, n as BinaryFile, o as COMPLIANCE_REGION_CONFIG_PUBLIC, p as COMPLIANCE_REGION_CONFIG_UNKNOWN, q as CacheOptions, r as CfAIBinding, s as CfAISearch, t as CfAISearchNamespace, u as CfAccount, v as CfAgentMemory, w as CfAnalyticsEngineDataset, x as CfArtifacts, y as CfAssetsBinding, z as CfBrowserBinding, F as CfCapnp, G as CfD1Database, H as CfDataBlobBindings, I as CfDevPluginCfg, J as CfDispatchNamespace, K as CfDurableObject, M as CfDurableObjectMigrations, N as CfExports, O as CfFlagship, P as CfHelloWorld, Q as CfHyperdrive, S as CfImagesBinding, T as CfKvNamespace, U as CfLogfwdr, V as CfLogfwdrBinding, X as CfMTlsCertificate, Y as CfMediaBinding, Z as CfModule, _ as CfModuleType, $ as CfPipeline, a0 as CfPlacement, a1 as CfQueue, a2 as CfR2Bucket, a3 as CfRateLimit, a4 as CfScriptFormat, a5 as CfSecretsStoreSecrets, a6 as CfSendEmailBindings, a7 as CfService, a8 as CfStreamBinding, a9 as CfTailConsumer, aa as CfTextBlobBindings, ab as CfUnsafe, ac as CfUnsafeBinding, ad as CfUserLimits, ae as CfVars, af as CfVectorize, ag as CfVersionMetadataBinding, ah as CfVpcNetwork, ai as CfVpcService, aj as CfWasmModuleBindings, ak as CfWebSearch, al as CfWorkerContext, am as CfWorkerInit, an as CfWorkerLoader, ao as CfWorkerSourceMap, ap as CfWorkflow, aq as CloudchamberConfig, ar as ComplianceConfig, as as ConfigFields, at as ConfigModuleRuleType, au as ConfiguredExport, av as ContainerEngine, aw as CustomDomainRoute, ax as DispatchNamespaceOutbound, ay as DockerConfiguration, az as DurableObjectBindings, aA as DurableObjectExportStorage, aB as DurableObjectMigration, aC as ENVIRONMENT_TAG_PREFIX, aD as Entry, aE as Environment, aF as EnvironmentNonInheritable, aG as ExportsReconciliationEntryBase, aH as ExportsReconciliationErrorDetail, aI as ExportsReconciliationInfo, aJ as ExportsReconciliationRename, aK as ExportsReconciliationResult, aL as ExportsReconciliationTransfer, aM as ExportsReconciliationTransferPending, aN as ExportsReconciliationWarning, aO as FetchKVGetValueFetcher, aP as FetchListResultFetcher, aQ as FetchPagedListResultFetcher, aR as FetchResult, aS as FetchResultFetcher, aT as File, aU as Hook, aV as HookValues, aW as INHERIT_SYMBOL, aX as JSON_CONFIG_FORMATS, aY as Json, aZ as LOGGER_LEVELS, a_ as LegacyAssetPaths, a$ as LocalS3Credentials, b0 as LogLevel, b1 as LoggerLevel, b2 as NodeJSCompatMode, b3 as Observability, b4 as PATH_TO_DEPLOY_CONFIG, b5 as PreviewsConfig, b6 as RawDevConfig, b7 as RawEnvironment, a as RedirectedRawConfig, b8 as Rule, b9 as SERVICE_TAG_PREFIX, ba as ServiceFetch, bb as ServiceMetadataRes, bc as StartDevWorkerInput, bd as StreamingTailConsumer, be as TailConsumer, bf as Trigger, bg as UserLimits, bh as ValidatedAssetsOptions, bi as WorkerMetadata, bj as WorkflowBinding, bk as ZoneIdRoute, bl as ZoneNameRoute, bm as addAuthorizationHeader, bn as defaultWranglerConfig, bo as extractAccountTag, bp as extractWAFBlockRayId, bq as fetchInternalBase, br as fetchKVGetValueBase, bs as fetchListResultBase, bt as fetchResultBase, bu as getBrowserRenderingHeadfulFromEnv, bv as getBuildConditionsFromEnv, bw as getBuildPlatformFromEnv, bx as getC3CommandFromEnv, by as getCIGeneratePreviewAlias, bz as getCIMatchTag, bA as getCIOverrideName, bB as getCIOverrideNetworkModeHost, bC as getCfFetchEnabledFromEnv, bD as getCfFetchPathFromEnv, bE as getCloudflareApiBaseUrl, bF as getCloudflareApiEnvironmentFromEnv, bG as getCloudflareComplianceRegion, bH as getCloudflareEnv, bI as getCloudflareIncludeProcessEnvFromEnv, bJ as getCloudflareLoadDevVarsFromDotEnv, bK as getCloudflaredPathFromEnv, bL as getComplianceRegionSubdomain, bM as getD1ExtraLocationChoices, bN as getDisableConfigWatching, bO as getDockerPath, bP as getLocalExplorerEnabledFromEnv, bQ as getLocalObservabilityEnabledFromEnv, bR as getNoSkillsUpdatePromptsFromEnv, bS as getOpenNextDeployFromEnv, bT as getOutputFileDirectoryFromEnv, bU as getOutputFilePathFromEnv, bV as getRegistryPath, bW as getSanitizeLogs, bX as getSubdomainMixedStateCheckDisabled, bY as getTraceHeader, bZ as getWorkersCIBranchName, b_ as getWranglerCacheDirFromEnv, b$ as getWranglerHideBanner, c0 as getWranglerSendErrorReportsFromEnv, c1 as getWranglerSendMetricsFromEnv, c2 as hasCursor, c3 as hasMorePages, c4 as isDoNotTrackEnabled, c5 as isWAFBlockResponse, c6 as maybeAddTraceHeader, c7 as parseRetryAfterMs, c8 as parseRetryAfterValue, c9 as performApiFetchBase, ca as renderError, cb as throwFetchError, cc as truncate } from './config-BnUbzrPY.mjs';
|
|
3
3
|
import * as jsoncParser from 'jsonc-parser';
|
|
4
4
|
export { constructWranglerConfig } from './browser.mjs';
|
|
5
5
|
export { GetGlobalConfigPathOptions, getGlobalConfigPath, getGlobalWranglerCachePath } from './global-wrangler-config-path.mjs';
|
|
@@ -147,6 +147,35 @@ interface PartitionedExports {
|
|
|
147
147
|
}
|
|
148
148
|
declare function partitionExports(exports: Exports | undefined): PartitionedExports;
|
|
149
149
|
|
|
150
|
+
/**
|
|
151
|
+
* A container can be linked to a Durable Object from either direction:
|
|
152
|
+
*
|
|
153
|
+
* - the container names the class via `containers[].class_name`, or
|
|
154
|
+
* - the Durable Object names the container via `exports[Class].container`.
|
|
155
|
+
*
|
|
156
|
+
* This returns the second direction as a lookup of container name to Durable
|
|
157
|
+
* Object class name. Only live `durable-object` exports can attach a container,
|
|
158
|
+
* so tombstones are ignored.
|
|
159
|
+
*
|
|
160
|
+
* When two exports name the same container the first wins. That is a config
|
|
161
|
+
* error caught during validation, so the choice only affects which class a
|
|
162
|
+
* rejected config reports.
|
|
163
|
+
*/
|
|
164
|
+
declare function getContainerNameToClassNameMap(exports: Exports | undefined): Map<string, string>;
|
|
165
|
+
/**
|
|
166
|
+
* The Durable Object class a container backs, resolved from either direction of
|
|
167
|
+
* the container/Durable Object link.
|
|
168
|
+
*
|
|
169
|
+
* Returns `undefined` when the container is not linked to a Durable Object at
|
|
170
|
+
* all, which validation rejects.
|
|
171
|
+
*/
|
|
172
|
+
declare function resolveContainerClassName(container: Pick<ContainerApp, "class_name" | "name">, exports: Exports | undefined): string | undefined;
|
|
173
|
+
/**
|
|
174
|
+
* The set of Durable Object class names that have a container attached, resolved
|
|
175
|
+
* from either direction of the container/Durable Object link.
|
|
176
|
+
*/
|
|
177
|
+
declare function getContainerDurableObjectClassNames(containers: ContainerApp[] | undefined, exports: Exports | undefined): Set<string>;
|
|
178
|
+
|
|
150
179
|
type ConfigBindingOptions = Pick<Config, "ai" | "browser" | "d1_databases" | "dispatch_namespaces" | "durable_objects" | "queues" | "r2_buckets" | "services" | "kv_namespaces" | "mtls_certificates" | "vectorize" | "workflows" | "vpc_services">;
|
|
151
180
|
|
|
152
181
|
declare function configFormat(configPath: string | undefined): "json" | "jsonc" | "toml" | "none";
|
|
@@ -433,11 +462,14 @@ declare function assertNever(_value: never): void;
|
|
|
433
462
|
/**
|
|
434
463
|
* Resolves the filesystem path for an installed npm package.
|
|
435
464
|
*
|
|
436
|
-
* Tries
|
|
437
|
-
* 1. `require.resolve("<pkg>/package.json")`
|
|
438
|
-
* 2. `require.resolve("<pkg>")`
|
|
465
|
+
* Tries three strategies in order:
|
|
466
|
+
* 1. `require.resolve("<pkg>/package.json")` — works when the package exports its `package.json`
|
|
467
|
+
* 2. `require.resolve("<pkg>")` — fallback for packages that don't export `package.json`
|
|
468
|
+
* 3. Direct `node_modules` filesystem lookup — fallback for ESM-only packages whose exports
|
|
469
|
+
* map has no `"require"` or `"default"` condition (and no `"./package.json"` export),
|
|
470
|
+
* which makes them invisible to `require.resolve`
|
|
439
471
|
*
|
|
440
|
-
* @param packageName - The npm package name to resolve
|
|
472
|
+
* @param packageName - The npm package name to resolve (supports scoped packages like `@scope/pkg`)
|
|
441
473
|
* @param projectPath - The project directory to resolve from
|
|
442
474
|
* @returns The resolved directory path, or `undefined` if the package is not installed
|
|
443
475
|
*/
|
|
@@ -577,6 +609,8 @@ type VariableNames =
|
|
|
577
609
|
| "WRANGLER_SEND_METRICS"
|
|
578
610
|
/** Enable/disable error reporting to Sentry. */
|
|
579
611
|
| "WRANGLER_SEND_ERROR_REPORTS"
|
|
612
|
+
/** Suppress the prompt that offers to update Cloudflare agent skills. */
|
|
613
|
+
| "WRANGLER_NO_SKILLS_UPDATE_PROMPTS"
|
|
580
614
|
/** CI branch name (internal use). */
|
|
581
615
|
| "WORKERS_CI_BRANCH"
|
|
582
616
|
/** CI tag matching configuration (internal use). */
|
|
@@ -720,6 +754,27 @@ declare function resolveNodejsCompat(compatibilityDate: string, compatibilityFla
|
|
|
720
754
|
*/
|
|
721
755
|
declare function stripRedundantNodejsCompatFlags(compatibilityDate: string | undefined, compatibilityFlags: string[]): string[];
|
|
722
756
|
|
|
757
|
+
/**
|
|
758
|
+
* The compatibility date to use when the user has not specified one.
|
|
759
|
+
*
|
|
760
|
+
* This is the release date of the `workerd` version pinned in the pnpm catalog,
|
|
761
|
+
* so it is fixed for a given release of workers-sdk and updated whenever
|
|
762
|
+
* `workerd` is upgraded.
|
|
763
|
+
*
|
|
764
|
+
* It deliberately tracks `workerd` rather than the current date, because
|
|
765
|
+
* workerd rejects a compatibility date later than either of:
|
|
766
|
+
*
|
|
767
|
+
* - its `MAXIMUM_COMPATIBILITY_DATE`, which is its release date plus 7 days, or
|
|
768
|
+
* - today's date (UTC).
|
|
769
|
+
*
|
|
770
|
+
* Run `pnpm update:compat-date` to refresh this value; `pnpm check:compat-date`
|
|
771
|
+
* asserts that it matches the pinned `workerd` version.
|
|
772
|
+
*
|
|
773
|
+
* @see https://github.com/cloudflare/workerd/blob/main/src/workerd/io/BUILD.bazel
|
|
774
|
+
* @see https://github.com/cloudflare/workerd/blob/main/src/workerd/io/compatibility-date.c%2B%2B
|
|
775
|
+
*/
|
|
776
|
+
declare const DEFAULT_COMPAT_DATE: CompatDate;
|
|
777
|
+
|
|
723
778
|
/**
|
|
724
779
|
* A file-backed key/value cache scoped to a consumer's cache directory.
|
|
725
780
|
*
|
|
@@ -927,6 +982,152 @@ declare function isCI(): boolean;
|
|
|
927
982
|
*/
|
|
928
983
|
declare function openInBrowser(url: string, logger: Logger): Promise<void>;
|
|
929
984
|
|
|
985
|
+
/**
|
|
986
|
+
* Write an entry to the output file.
|
|
987
|
+
*
|
|
988
|
+
* Control whether (and where) to write this file by setting either
|
|
989
|
+
* `WRANGLER_OUTPUT_FILE_DIRECTORY` or `WRANGLER_OUTPUT_FILE_PATH`.
|
|
990
|
+
*
|
|
991
|
+
* @param entry The structured output entry to append.
|
|
992
|
+
* @returns Nothing.
|
|
993
|
+
*/
|
|
994
|
+
declare function writeOutput(entry: OutputEntry): void;
|
|
995
|
+
/**
|
|
996
|
+
* Clear the cached output file path.
|
|
997
|
+
*
|
|
998
|
+
* @returns Nothing.
|
|
999
|
+
*/
|
|
1000
|
+
declare function clearOutputFilePath(): void;
|
|
1001
|
+
interface OutputEntryBase<T extends string> {
|
|
1002
|
+
version: number;
|
|
1003
|
+
type: T;
|
|
1004
|
+
}
|
|
1005
|
+
/**
|
|
1006
|
+
* All the different types of entry that can be written to the output file.
|
|
1007
|
+
*/
|
|
1008
|
+
type OutputEntry = OutputEntrySession | OutputEntryDeployment | OutputEntryPreview | OutputEntryPagesDeployment | OutputEntryVersionUpload | OutputEntryVersionDeployment | OutputEntryPagesDeploymentDetailed | OutputEntryCommandFailed | OutputEntryAutoConfig;
|
|
1009
|
+
interface OutputEntrySession extends OutputEntryBase<"wrangler-session"> {
|
|
1010
|
+
version: 1;
|
|
1011
|
+
/** The semver version string taken from Wrangler's package.json. */
|
|
1012
|
+
wrangler_version: string;
|
|
1013
|
+
/** The arguments passed to Wrangler. */
|
|
1014
|
+
command_line_args: string[];
|
|
1015
|
+
/** The absolute path to a file that contains debug logs for this Wrangler instance. */
|
|
1016
|
+
log_file_path: string;
|
|
1017
|
+
}
|
|
1018
|
+
interface OutputEntryDeployment extends OutputEntryBase<"deploy"> {
|
|
1019
|
+
version: 1;
|
|
1020
|
+
/** The name of the Worker. */
|
|
1021
|
+
worker_name: string | null;
|
|
1022
|
+
/** The GUID that identifies the Worker. This never changes even if the name is changed. */
|
|
1023
|
+
worker_tag: string | null;
|
|
1024
|
+
/** A GUID that identifies this deployed version of the Worker. This version is associated with an automatically created deployment, with this version set at 100%. */
|
|
1025
|
+
version_id: string | null;
|
|
1026
|
+
/** A list of URLs that represent the HTTP triggers associated with this deployment */
|
|
1027
|
+
targets: string[] | undefined;
|
|
1028
|
+
/** set if the worker's name was overridden */
|
|
1029
|
+
worker_name_overridden: boolean;
|
|
1030
|
+
/** wrangler environment used */
|
|
1031
|
+
wrangler_environment: string | undefined;
|
|
1032
|
+
}
|
|
1033
|
+
interface OutputEntryPreview extends OutputEntryBase<"preview"> {
|
|
1034
|
+
version: 1;
|
|
1035
|
+
/** The name of the Worker. */
|
|
1036
|
+
worker_name: string | null;
|
|
1037
|
+
/** The ID of the Preview resource. */
|
|
1038
|
+
preview_id: string;
|
|
1039
|
+
/** The human-readable name of the Preview resource. */
|
|
1040
|
+
preview_name: string;
|
|
1041
|
+
/** The slug of the Preview resource. */
|
|
1042
|
+
preview_slug: string;
|
|
1043
|
+
/** A list of URLs associated with the Preview resource. */
|
|
1044
|
+
preview_urls: string[] | undefined;
|
|
1045
|
+
/** The ID of the Preview deployment resource. */
|
|
1046
|
+
deployment_id: string;
|
|
1047
|
+
/** A list of URLs associated with the Preview deployment. */
|
|
1048
|
+
deployment_urls: string[] | undefined;
|
|
1049
|
+
}
|
|
1050
|
+
interface OutputEntryAutoConfig extends OutputEntryBase<"autoconfig"> {
|
|
1051
|
+
version: 1;
|
|
1052
|
+
/** The command that triggered autoconfig */
|
|
1053
|
+
command: "setup" | "deploy";
|
|
1054
|
+
/** The summary of the autoconfig process */
|
|
1055
|
+
summary: {
|
|
1056
|
+
wranglerConfig?: {
|
|
1057
|
+
name?: string;
|
|
1058
|
+
compatibility_date?: string;
|
|
1059
|
+
};
|
|
1060
|
+
[key: string]: unknown;
|
|
1061
|
+
};
|
|
1062
|
+
}
|
|
1063
|
+
interface OutputEntryPagesDeployment extends OutputEntryBase<"pages-deploy"> {
|
|
1064
|
+
version: 1;
|
|
1065
|
+
/** The name of the Pages project. */
|
|
1066
|
+
pages_project: string | null;
|
|
1067
|
+
/** A GUID that identifies this Pages deployment. */
|
|
1068
|
+
deployment_id: string | null;
|
|
1069
|
+
/** The URL associated with this deployment */
|
|
1070
|
+
url: string | undefined;
|
|
1071
|
+
}
|
|
1072
|
+
interface OutputEntryPagesDeploymentDetailed extends OutputEntryBase<"pages-deploy-detailed"> {
|
|
1073
|
+
version: 1;
|
|
1074
|
+
/** The name of the Pages project. */
|
|
1075
|
+
pages_project: string | null;
|
|
1076
|
+
/** A GUID that identifies this Pages deployment. */
|
|
1077
|
+
deployment_id: string | null;
|
|
1078
|
+
/** The URL associated with this deployment */
|
|
1079
|
+
url: string | undefined;
|
|
1080
|
+
/** The Alias url, if it exists */
|
|
1081
|
+
alias: string | undefined;
|
|
1082
|
+
/** The environment being deployed to */
|
|
1083
|
+
environment: "production" | "preview";
|
|
1084
|
+
/** The production branch of the pages project */
|
|
1085
|
+
production_branch: string;
|
|
1086
|
+
deployment_trigger: {
|
|
1087
|
+
metadata: {
|
|
1088
|
+
/** Commit hash of the deployment trigger metadata for the pages project */
|
|
1089
|
+
commit_hash: string;
|
|
1090
|
+
};
|
|
1091
|
+
};
|
|
1092
|
+
}
|
|
1093
|
+
interface OutputEntryVersionUpload extends OutputEntryBase<"version-upload"> {
|
|
1094
|
+
version: 1;
|
|
1095
|
+
/** The name of the Worker. */
|
|
1096
|
+
worker_name: string | null;
|
|
1097
|
+
/** The GUID that identifies the Worker. This never changes even if the name is changed. */
|
|
1098
|
+
worker_tag: string | null;
|
|
1099
|
+
/** A GUID that identifies this uploaded, but not yet deployed, version of the Worker. This version will need to be "deployed" to receive traffic. */
|
|
1100
|
+
version_id: string | null;
|
|
1101
|
+
/** The preview URL associated with this version upload */
|
|
1102
|
+
preview_url: string | undefined;
|
|
1103
|
+
/** The ephemeral aliased preview URL associated with this version upload */
|
|
1104
|
+
preview_alias_url: string | undefined;
|
|
1105
|
+
/** set if the worker's name was overridden */
|
|
1106
|
+
worker_name_overridden: boolean;
|
|
1107
|
+
/** wrangler environment used */
|
|
1108
|
+
wrangler_environment: string | undefined;
|
|
1109
|
+
}
|
|
1110
|
+
interface OutputEntryVersionDeployment extends OutputEntryBase<"version-deploy"> {
|
|
1111
|
+
version: 1;
|
|
1112
|
+
/** The name of the Worker. */
|
|
1113
|
+
worker_name: string | null;
|
|
1114
|
+
/** The GUID that identifies the Worker. This never changes even if the name is changed. */
|
|
1115
|
+
worker_tag: string | null;
|
|
1116
|
+
/** The ID of the gradual rollout deployment. */
|
|
1117
|
+
deployment_id: string;
|
|
1118
|
+
/** The percentage of traffic that goes to each version. */
|
|
1119
|
+
version_traffic: Map<string, number>;
|
|
1120
|
+
}
|
|
1121
|
+
interface OutputEntryCommandFailed extends OutputEntryBase<"command-failed"> {
|
|
1122
|
+
version: 1;
|
|
1123
|
+
/** The code in the error. */
|
|
1124
|
+
code: number | undefined;
|
|
1125
|
+
/** The message in the error. */
|
|
1126
|
+
message: string | undefined;
|
|
1127
|
+
/** How many milliseconds to retry the operation after if available. */
|
|
1128
|
+
retry_after_ms: number | undefined;
|
|
1129
|
+
}
|
|
1130
|
+
|
|
930
1131
|
declare function retryOnAPIFailure<T>(action: () => T | Promise<T>, logger: Logger, backoff?: number, attempts?: number, abortSignal?: AbortSignal): Promise<T>;
|
|
931
1132
|
|
|
932
1133
|
declare function formatTime(duration: number): string;
|
|
@@ -1115,4 +1316,4 @@ declare function toUrlPath(filePath: string): UrlPath;
|
|
|
1115
1316
|
*/
|
|
1116
1317
|
declare const friendlyBindingNames: Record<ConfigBindingFieldName, string>;
|
|
1117
1318
|
|
|
1118
|
-
export { APIError, Binding, type BindingLocalSupport, BunPackageManager, CommandLineArgsError, type CompatDate, Config, type ConfigBindingFieldName, type ConfigBindingOptions, type ConfigCache, type ConfigCacheOptions, DeprecationError, Diagnostics, DurableObjectExport, type EphemeralDirectory, type ExportType, Exports, FatalError, JsonFriendlyFatalError, type Location, Logger, type Message, MissingConfigError, NODEJS_COMPAT_DEFAULT_ON_DATE, NODEJS_COMPAT_V2_SWITCH_OVER_DATE, type NormalizeAndValidateConfigArgs, NpmPackageManager, type NpmVersionCheckResult, NubPackageManager, type PackageJSON, type PackageManager, ParseError, type ParseFile, type PartitionedExports, PatchConfigError, PnpmPackageManager, RawConfig, type ResolveConfigPathOptions, Route, type TelemetryMessage, type Tunnel, type TunnelOptions, type UrlPath, UserError, WorkerEntrypointExport, WorkerMetadataBinding, YarnPackageManager, _forceColour, assertNever, bucketFormatMessage, checkWorkerNameValidity, configFileName, configFormat, createConfigCache, createFatalError, experimental_patchConfig, experimental_readRawConfig, fetchLatestNpmVersion, findWranglerConfig, formatConfigSnippet, formatTime, formatZodError, friendlyBindingNames, getBindingLocalSupport, getBindingTypeFriendlyName, getBooleanEnvironmentVariableFactory, getDurableObjectExports, getEnvironmentVariableFactory, getHostFromRoute, getHostFromUrl, getInstalledPackageVersion, getPackagePath, getTodaysCompatDate, getWorkerName, getWorkerNameFromProject, getWranglerHiddenDirPath, getWranglerTmpDir, getZoneFromRoute, hasDurableObjectExports, hasProperty, indexLocation, isCI, isCompatDate, isDockerfile, isInteractive, isNodejsCompatDefaultOn, isNonInteractiveOrCI, isOptionalProperty, isPackageInstalled, isPagesConfig, isRedirectedConfig, isRequiredProperty, isValidR2BucketName, mapWorkerMetadataBindings, normalizeAndValidateConfig, openInBrowser, parseByteSize, parseHumanDuration, parseJSON, parseJSONC, parseNonHyphenedUuid, parsePackageJSON, parseTOML, partitionExports, readFileSync, readFileSyncToBuffer, resolveNodejsCompat, resolveWranglerConfigPath, retryOnAPIFailure, searchLocation, spawnCloudflared, startTunnel, stripRedundantNodejsCompatFlags, sweepStaleWranglerTmpDirs, toUrlPath, toValidWorkerName, validatePagesConfig };
|
|
1319
|
+
export { APIError, Binding, type BindingLocalSupport, BunPackageManager, CommandLineArgsError, type CompatDate, Config, type ConfigBindingFieldName, type ConfigBindingOptions, type ConfigCache, type ConfigCacheOptions, ContainerApp, DEFAULT_COMPAT_DATE, DeprecationError, Diagnostics, DurableObjectExport, type EphemeralDirectory, type ExportType, Exports, FatalError, JsonFriendlyFatalError, type Location, Logger, type Message, MissingConfigError, NODEJS_COMPAT_DEFAULT_ON_DATE, NODEJS_COMPAT_V2_SWITCH_OVER_DATE, type NormalizeAndValidateConfigArgs, NpmPackageManager, type NpmVersionCheckResult, NubPackageManager, type OutputEntry, type PackageJSON, type PackageManager, ParseError, type ParseFile, type PartitionedExports, PatchConfigError, PnpmPackageManager, RawConfig, type ResolveConfigPathOptions, Route, type TelemetryMessage, type Tunnel, type TunnelOptions, type UrlPath, UserError, WorkerEntrypointExport, WorkerMetadataBinding, YarnPackageManager, _forceColour, assertNever, bucketFormatMessage, checkWorkerNameValidity, clearOutputFilePath, configFileName, configFormat, createConfigCache, createFatalError, experimental_patchConfig, experimental_readRawConfig, fetchLatestNpmVersion, findWranglerConfig, formatConfigSnippet, formatTime, formatZodError, friendlyBindingNames, getBindingLocalSupport, getBindingTypeFriendlyName, getBooleanEnvironmentVariableFactory, getContainerDurableObjectClassNames, getContainerNameToClassNameMap, getDurableObjectExports, getEnvironmentVariableFactory, getHostFromRoute, getHostFromUrl, getInstalledPackageVersion, getPackagePath, getTodaysCompatDate, getWorkerName, getWorkerNameFromProject, getWranglerHiddenDirPath, getWranglerTmpDir, getZoneFromRoute, hasDurableObjectExports, hasProperty, indexLocation, isCI, isCompatDate, isDockerfile, isInteractive, isNodejsCompatDefaultOn, isNonInteractiveOrCI, isOptionalProperty, isPackageInstalled, isPagesConfig, isRedirectedConfig, isRequiredProperty, isValidR2BucketName, mapWorkerMetadataBindings, normalizeAndValidateConfig, openInBrowser, parseByteSize, parseHumanDuration, parseJSON, parseJSONC, parseNonHyphenedUuid, parsePackageJSON, parseTOML, partitionExports, readFileSync, readFileSyncToBuffer, resolveContainerClassName, resolveNodejsCompat, resolveWranglerConfigPath, retryOnAPIFailure, searchLocation, spawnCloudflared, startTunnel, stripRedundantNodejsCompatFlags, sweepStaleWranglerTmpDirs, toUrlPath, toValidWorkerName, validatePagesConfig, writeOutput };
|