@cloudflare/workers-utils 0.23.1 → 0.24.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/{config-DrgFpZpF.d.mts → config-8UymS5SL.d.mts} +21 -19
- package/dist/index.d.mts +117 -3
- package/dist/index.mjs +147 -11
- package/dist/metafile-esm.json +1 -1
- package/dist/test-helpers/index.d.mts +1 -1
- package/package.json +5 -5
package/dist/browser.d.mts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { T as TailConsumer,
|
|
1
|
+
import { T as TailConsumer, aE as WorkerMetadata, R as RawConfig } from './config-8UymS5SL.mjs';
|
|
2
2
|
import { AssetConfig } from '@cloudflare/workers-shared';
|
|
3
3
|
import { Cloudflare } from 'cloudflare';
|
|
4
4
|
import 'node:url';
|
|
@@ -602,6 +602,24 @@ interface CfHyperdrive {
|
|
|
602
602
|
id: string;
|
|
603
603
|
localConnectionString?: string;
|
|
604
604
|
}
|
|
605
|
+
interface CfDevPluginCfg {
|
|
606
|
+
plugin: {
|
|
607
|
+
/**
|
|
608
|
+
* Package is the bare specifier of the package that exposes plugins to integrate into Miniflare via a named `plugins` export.
|
|
609
|
+
* @example "@cloudflare/my-external-miniflare-plugin"
|
|
610
|
+
*/
|
|
611
|
+
package: string;
|
|
612
|
+
/**
|
|
613
|
+
* Plugin is the name of the plugin exposed by the package.
|
|
614
|
+
* @example "my-unsafe-plugin"
|
|
615
|
+
*/
|
|
616
|
+
name: string;
|
|
617
|
+
};
|
|
618
|
+
/**
|
|
619
|
+
* dev-only options to pass to the plugin.
|
|
620
|
+
*/
|
|
621
|
+
options?: Record<string, unknown>;
|
|
622
|
+
}
|
|
605
623
|
interface CfService {
|
|
606
624
|
binding: string;
|
|
607
625
|
service: string;
|
|
@@ -610,6 +628,7 @@ interface CfService {
|
|
|
610
628
|
props?: Record<string, unknown>;
|
|
611
629
|
remote?: boolean;
|
|
612
630
|
cross_account_grant?: string;
|
|
631
|
+
dev?: CfDevPluginCfg;
|
|
613
632
|
}
|
|
614
633
|
interface CfVpcService {
|
|
615
634
|
binding: string;
|
|
@@ -660,24 +679,7 @@ interface CfPipeline {
|
|
|
660
679
|
interface CfUnsafeBinding {
|
|
661
680
|
name: string;
|
|
662
681
|
type: string;
|
|
663
|
-
dev?:
|
|
664
|
-
plugin: {
|
|
665
|
-
/**
|
|
666
|
-
* Package is the bare specifier of the package that exposes plugins to integrate into Miniflare via a named `plugins` export.
|
|
667
|
-
* @example "@cloudflare/my-external-miniflare-plugin"
|
|
668
|
-
*/
|
|
669
|
-
package: string;
|
|
670
|
-
/**
|
|
671
|
-
* Plugin is the name of the plugin exposed by the package.
|
|
672
|
-
* @example "my-unsafe-plugin"
|
|
673
|
-
*/
|
|
674
|
-
name: string;
|
|
675
|
-
};
|
|
676
|
-
/**
|
|
677
|
-
* dev-only options to pass to the plugin.
|
|
678
|
-
*/
|
|
679
|
-
options?: Record<string, unknown>;
|
|
680
|
-
};
|
|
682
|
+
dev?: CfDevPluginCfg;
|
|
681
683
|
}
|
|
682
684
|
type CfUnsafeMetadata = Record<string, unknown>;
|
|
683
685
|
type CfCapnp = {
|
|
@@ -3247,4 +3249,4 @@ interface EnvironmentMap {
|
|
|
3247
3249
|
}
|
|
3248
3250
|
declare const defaultWranglerConfig: Config;
|
|
3249
3251
|
|
|
3250
|
-
export { type CfQueue as $, type Assets as A, type Binding as B, type ComputedFields as C, type DurableObjectMigration as D, type Environment as E, type CfKvNamespace as F, type CfSendEmailBindings as G, type CfWasmModuleBindings as H, type CfTextBlobBindings as I, type CfBrowserBinding as J, type CfAIBinding as K, type Logger as L, type CfImagesBinding as M, type CfMediaBinding as N, type Observability as O, type PreviewsConfig as P, type CfStreamBinding as Q, type RawConfig as R, type StreamingTailConsumer as S, type TailConsumer as T, type UserLimits as U, type CfVersionMetadataBinding as V, type WorkerMetadataBinding as W, type CfDataBlobBindings as X, type CfDurableObject as Y, type ZoneIdRoute as Z, type CfWorkflow as _, type RedirectedRawConfig as a,
|
|
3252
|
+
export { type CfQueue as $, type Assets as A, type Binding as B, type ComputedFields as C, type DurableObjectMigration as D, type Environment as E, type CfKvNamespace as F, type CfSendEmailBindings as G, type CfWasmModuleBindings as H, type CfTextBlobBindings as I, type CfBrowserBinding as J, type CfAIBinding as K, type Logger as L, type CfImagesBinding as M, type CfMediaBinding as N, type Observability as O, type PreviewsConfig as P, type CfStreamBinding as Q, type RawConfig as R, type StreamingTailConsumer as S, type TailConsumer as T, type UserLimits as U, type CfVersionMetadataBinding as V, type WorkerMetadataBinding as W, type CfDataBlobBindings as X, type CfDurableObject as Y, type ZoneIdRoute as Z, type CfWorkflow as _, type RedirectedRawConfig as a, type ComplianceConfig as a$, type CfR2Bucket as a0, type CfD1Database as a1, type CfVectorize as a2, type CfAISearchNamespace as a3, type CfAISearch as a4, type CfWebSearch as a5, type CfAgentMemory as a6, type CfSecretsStoreSecrets as a7, type CfArtifacts as a8, type CfHelloWorld as a9, type AssetConfigMetadata as aA, type AssetsOptions as aB, type ValidatedAssetsOptions as aC, type LegacyAssetPaths as aD, type WorkerMetadata as aE, type ServiceMetadataRes as aF, type ServiceFetch as aG, type File as aH, type BinaryFile as aI, type Trigger as aJ, type CfAccount as aK, type HookValues as aL, type Hook as aM, type AsyncHook as aN, type LogLevel as aO, type NodeJSCompatMode as aP, type StartDevWorkerInput as aQ, type Entry as aR, INHERIT_SYMBOL as aS, SERVICE_TAG_PREFIX as aT, ENVIRONMENT_TAG_PREFIX as aU, PATH_TO_DEPLOY_CONFIG as aV, JSON_CONFIG_FORMATS as aW, getC3CommandFromEnv as aX, getWranglerSendMetricsFromEnv as aY, getWranglerSendErrorReportsFromEnv as aZ, getCloudflareApiEnvironmentFromEnv as a_, type CfFlagship as aa, type CfWorkerLoader as ab, type CfRateLimit as ac, type CfHyperdrive as ad, type CfDevPluginCfg as ae, type CfService as af, type CfVpcService as ag, type CfVpcNetwork as ah, type CfAnalyticsEngineDataset as ai, type CfDispatchNamespace as aj, type CfMTlsCertificate as ak, type CfLogfwdr as al, type CfLogfwdrBinding as am, type CfAssetsBinding as an, type CfPipeline as ao, type CfUnsafeBinding as ap, type CfCapnp as aq, type CfUnsafe as ar, type CfDurableObjectMigrations as as, type CfPlacement as at, type CfTailConsumer as au, type CfUserLimits as av, type CfWorkerInit as aw, type CfWorkerContext as ax, type CfWorkerSourceMap as ay, type Json as az, type Config as b, COMPLIANCE_REGION_CONFIG_PUBLIC as b0, COMPLIANCE_REGION_CONFIG_UNKNOWN as b1, getCloudflareComplianceRegion as b2, getCloudflareApiBaseUrl as b3, getComplianceRegionSubdomain as b4, getSanitizeLogs as b5, getOutputFileDirectoryFromEnv as b6, getOutputFilePathFromEnv as b7, getCIMatchTag as b8, getCIOverrideName as b9, type FetchPagedListResultFetcher as bA, performApiFetchBase as bB, fetchInternalBase as bC, fetchResultBase as bD, fetchListResultBase as bE, truncate as bF, isWAFBlockResponse as bG, extractWAFBlockRayId as bH, extractAccountTag as bI, hasMorePages as bJ, renderError as bK, addAuthorizationHeader as bL, throwFetchError as bM, fetchKVGetValueBase as bN, type FetchKVGetValueFetcher as bO, hasCursor as bP, maybeAddTraceHeader as bQ, getCIOverrideNetworkModeHost as ba, getCIGeneratePreviewAlias as bb, getWorkersCIBranchName as bc, getBuildConditionsFromEnv as bd, getBuildPlatformFromEnv as be, getRegistryPath as bf, getD1ExtraLocationChoices as bg, getDockerPath as bh, getSubdomainMixedStateCheckDisabled as bi, getCloudflareLoadDevVarsFromDotEnv as bj, getCloudflareIncludeProcessEnvFromEnv as bk, getTraceHeader as bl, getDisableConfigWatching as bm, getWranglerHideBanner as bn, getCloudflareEnv as bo, getOpenNextDeployFromEnv as bp, getLocalExplorerEnabledFromEnv as bq, getBrowserRenderingHeadfulFromEnv as br, getCfFetchEnabledFromEnv as bs, getCfFetchPathFromEnv as bt, getWranglerCacheDirFromEnv as bu, getCloudflaredPathFromEnv as bv, type ApiCredentials as bw, type FetchResult as bx, type FetchResultFetcher as by, type FetchListResultFetcher as bz, type Route as c, type RawDevConfig as d, type ConfigFields as e, type RawEnvironment as f, defaultWranglerConfig as g, LOGGER_LEVELS as h, type LoggerLevel as i, type ZoneNameRoute as j, type CustomDomainRoute as k, type CloudchamberConfig as l, type ContainerApp as m, type DurableObjectBindings as n, type WorkflowBinding as o, type EnvironmentNonInheritable as p, type Rule as q, type ConfigModuleRuleType as r, type DispatchNamespaceOutbound as s, type CacheOptions as t, type DockerConfiguration as u, type ContainerEngine as v, type CfScriptFormat as w, type CfModuleType as x, type CfModule as y, type CfVars as z };
|
package/dist/index.d.mts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { C as ComputedFields, B as Binding, R as RawConfig, b as Config, W as WorkerMetadataBinding, L as Logger, c as Route } from './config-
|
|
2
|
-
export {
|
|
1
|
+
import { C as ComputedFields, B as Binding, R as RawConfig, b as Config, W as WorkerMetadataBinding, L as Logger, c as Route } from './config-8UymS5SL.mjs';
|
|
2
|
+
export { bw as ApiCredentials, aA as AssetConfigMetadata, A as Assets, aB as AssetsOptions, aN as AsyncHook, aI as BinaryFile, b0 as COMPLIANCE_REGION_CONFIG_PUBLIC, b1 as COMPLIANCE_REGION_CONFIG_UNKNOWN, t as CacheOptions, K as CfAIBinding, a4 as CfAISearch, a3 as CfAISearchNamespace, aK as CfAccount, a6 as CfAgentMemory, ai as CfAnalyticsEngineDataset, a8 as CfArtifacts, an as CfAssetsBinding, J as CfBrowserBinding, aq as CfCapnp, a1 as CfD1Database, X as CfDataBlobBindings, ae as CfDevPluginCfg, aj as CfDispatchNamespace, Y as CfDurableObject, as as CfDurableObjectMigrations, aa as CfFlagship, a9 as CfHelloWorld, ad as CfHyperdrive, M as CfImagesBinding, F as CfKvNamespace, al as CfLogfwdr, am as CfLogfwdrBinding, ak as CfMTlsCertificate, N as CfMediaBinding, y as CfModule, x as CfModuleType, ao as CfPipeline, at as CfPlacement, $ as CfQueue, a0 as CfR2Bucket, ac as CfRateLimit, w as CfScriptFormat, a7 as CfSecretsStoreSecrets, G as CfSendEmailBindings, af as CfService, Q as CfStreamBinding, au as CfTailConsumer, I as CfTextBlobBindings, ar as CfUnsafe, ap as CfUnsafeBinding, av as CfUserLimits, z as CfVars, a2 as CfVectorize, V as CfVersionMetadataBinding, ah as CfVpcNetwork, ag as CfVpcService, H as CfWasmModuleBindings, a5 as CfWebSearch, ax as CfWorkerContext, aw as CfWorkerInit, ab as CfWorkerLoader, ay as CfWorkerSourceMap, _ as CfWorkflow, l as CloudchamberConfig, a$ as ComplianceConfig, e as ConfigFields, r as ConfigModuleRuleType, m as ContainerApp, v as ContainerEngine, k as CustomDomainRoute, s as DispatchNamespaceOutbound, u as DockerConfiguration, n as DurableObjectBindings, D as DurableObjectMigration, aU as ENVIRONMENT_TAG_PREFIX, aR as Entry, E as Environment, p as EnvironmentNonInheritable, bO as FetchKVGetValueFetcher, bz as FetchListResultFetcher, bA as FetchPagedListResultFetcher, bx as FetchResult, by as FetchResultFetcher, aH as File, aM as Hook, aL as HookValues, aS as INHERIT_SYMBOL, aW as JSON_CONFIG_FORMATS, az as Json, h as LOGGER_LEVELS, aD as LegacyAssetPaths, aO as LogLevel, i as LoggerLevel, aP as NodeJSCompatMode, O as Observability, aV as PATH_TO_DEPLOY_CONFIG, P as PreviewsConfig, d as RawDevConfig, f as RawEnvironment, a as RedirectedRawConfig, q as Rule, aT as SERVICE_TAG_PREFIX, aG as ServiceFetch, aF as ServiceMetadataRes, aQ as StartDevWorkerInput, S as StreamingTailConsumer, T as TailConsumer, aJ as Trigger, U as UserLimits, aC as ValidatedAssetsOptions, aE as WorkerMetadata, o as WorkflowBinding, Z as ZoneIdRoute, j as ZoneNameRoute, bL as addAuthorizationHeader, g as defaultWranglerConfig, bI as extractAccountTag, bH as extractWAFBlockRayId, bC as fetchInternalBase, bN as fetchKVGetValueBase, bE as fetchListResultBase, bD as fetchResultBase, br as getBrowserRenderingHeadfulFromEnv, bd as getBuildConditionsFromEnv, be as getBuildPlatformFromEnv, aX as getC3CommandFromEnv, bb as getCIGeneratePreviewAlias, b8 as getCIMatchTag, b9 as getCIOverrideName, ba as getCIOverrideNetworkModeHost, bs as getCfFetchEnabledFromEnv, bt as getCfFetchPathFromEnv, b3 as getCloudflareApiBaseUrl, a_ as getCloudflareApiEnvironmentFromEnv, b2 as getCloudflareComplianceRegion, bo as getCloudflareEnv, bk as getCloudflareIncludeProcessEnvFromEnv, bj as getCloudflareLoadDevVarsFromDotEnv, bv as getCloudflaredPathFromEnv, b4 as getComplianceRegionSubdomain, bg as getD1ExtraLocationChoices, bm as getDisableConfigWatching, bh as getDockerPath, bq as getLocalExplorerEnabledFromEnv, bp as getOpenNextDeployFromEnv, b6 as getOutputFileDirectoryFromEnv, b7 as getOutputFilePathFromEnv, bf as getRegistryPath, b5 as getSanitizeLogs, bi as getSubdomainMixedStateCheckDisabled, bl as getTraceHeader, bc as getWorkersCIBranchName, bu as getWranglerCacheDirFromEnv, bn as getWranglerHideBanner, aZ as getWranglerSendErrorReportsFromEnv, aY as getWranglerSendMetricsFromEnv, bP as hasCursor, bJ as hasMorePages, bG as isWAFBlockResponse, bQ as maybeAddTraceHeader, bB as performApiFetchBase, bK as renderError, bM as throwFetchError, bF as truncate } from './config-8UymS5SL.mjs';
|
|
3
3
|
import * as jsoncParser from 'jsonc-parser';
|
|
4
4
|
export { constructWranglerConfig } from './browser.mjs';
|
|
5
5
|
export { Counter, MetricsRegistry } from './prometheus-metrics.mjs';
|
|
@@ -788,4 +788,118 @@ declare function getZoneFromRoute(route: Route): string | undefined;
|
|
|
788
788
|
*/
|
|
789
789
|
declare function getHostFromUrl(urlLike: string): string | undefined;
|
|
790
790
|
|
|
791
|
-
|
|
791
|
+
/**
|
|
792
|
+
* Describes a supported package manager and its associated CLI commands
|
|
793
|
+
* and lock file conventions.
|
|
794
|
+
*/
|
|
795
|
+
interface PackageManager {
|
|
796
|
+
/** The package manager identifier. */
|
|
797
|
+
type: "npm" | "yarn" | "pnpm" | "bun";
|
|
798
|
+
/** The command used to execute packages (e.g. `npx`, `pnpm`, `bunx`). */
|
|
799
|
+
npx: string;
|
|
800
|
+
/** The command segments used to download and execute packages (e.g. `["npx"]`, `["pnpm", "dlx"]`). */
|
|
801
|
+
dlx: string[];
|
|
802
|
+
/** Lock file names produced by this package manager. */
|
|
803
|
+
lockFiles: string[];
|
|
804
|
+
}
|
|
805
|
+
/**
|
|
806
|
+
* Manage packages using npm.
|
|
807
|
+
*/
|
|
808
|
+
declare const NpmPackageManager: {
|
|
809
|
+
readonly type: "npm";
|
|
810
|
+
readonly npx: "npx";
|
|
811
|
+
readonly dlx: ["npx"];
|
|
812
|
+
readonly lockFiles: ["package-lock.json"];
|
|
813
|
+
};
|
|
814
|
+
/**
|
|
815
|
+
* Manage packages using pnpm.
|
|
816
|
+
*/
|
|
817
|
+
declare const PnpmPackageManager: {
|
|
818
|
+
readonly type: "pnpm";
|
|
819
|
+
readonly npx: "pnpm";
|
|
820
|
+
readonly lockFiles: ["pnpm-lock.yaml"];
|
|
821
|
+
readonly dlx: ["pnpm", "dlx"];
|
|
822
|
+
};
|
|
823
|
+
/**
|
|
824
|
+
* Manage packages using yarn.
|
|
825
|
+
*/
|
|
826
|
+
declare const YarnPackageManager: {
|
|
827
|
+
readonly type: "yarn";
|
|
828
|
+
readonly npx: "yarn";
|
|
829
|
+
readonly dlx: ["yarn", "dlx"];
|
|
830
|
+
readonly lockFiles: ["yarn.lock"];
|
|
831
|
+
};
|
|
832
|
+
/**
|
|
833
|
+
* Manage packages using bun.
|
|
834
|
+
*/
|
|
835
|
+
declare const BunPackageManager: {
|
|
836
|
+
readonly type: "bun";
|
|
837
|
+
readonly npx: "bunx";
|
|
838
|
+
readonly dlx: ["bunx"];
|
|
839
|
+
readonly lockFiles: ["bun.lockb", "bun.lock"];
|
|
840
|
+
};
|
|
841
|
+
|
|
842
|
+
/**
|
|
843
|
+
* Checks whether the provided worker name is valid, this means that:
|
|
844
|
+
* - the name is not empty
|
|
845
|
+
* - the name doesn't start nor ends with a dash
|
|
846
|
+
* - the name doesn't contain special characters besides dashes
|
|
847
|
+
* - the name is not longer than 63 characters
|
|
848
|
+
*
|
|
849
|
+
* See: https://developers.cloudflare.com/workers/configuration/routing/workers-dev/#limitations
|
|
850
|
+
*
|
|
851
|
+
* @param input The name to check
|
|
852
|
+
* @returns Object indicating whether the name is valid, and if not a cause indicating why it isn't
|
|
853
|
+
*/
|
|
854
|
+
declare function checkWorkerNameValidity(input: string): {
|
|
855
|
+
valid: false;
|
|
856
|
+
cause: string;
|
|
857
|
+
} | {
|
|
858
|
+
valid: true;
|
|
859
|
+
};
|
|
860
|
+
/**
|
|
861
|
+
* Given an input string it converts it to a valid worker name.
|
|
862
|
+
*
|
|
863
|
+
* A worker name is valid if:
|
|
864
|
+
* - the name is not empty
|
|
865
|
+
* - the name doesn't start nor ends with a dash
|
|
866
|
+
* - the name doesn't contain special characters besides dashes
|
|
867
|
+
* - the name is not longer than 63 characters
|
|
868
|
+
*
|
|
869
|
+
* See: https://developers.cloudflare.com/workers/configuration/routing/workers-dev/#limitations
|
|
870
|
+
*
|
|
871
|
+
* @param input The input to convert
|
|
872
|
+
* @returns The input itself if it was already valid, the input converted to a valid worker name otherwise
|
|
873
|
+
*/
|
|
874
|
+
declare function toValidWorkerName(input: string): string;
|
|
875
|
+
/**
|
|
876
|
+
* Derives a valid worker name from a project name (or worker name) and project path.
|
|
877
|
+
*
|
|
878
|
+
* The name is determined by (in order of precedence):
|
|
879
|
+
* 1. The WRANGLER_CI_OVERRIDE_NAME environment variable (for CI environments)
|
|
880
|
+
* 2. The provided project/worker name (if non-empty)
|
|
881
|
+
* 3. The directory basename of the project path
|
|
882
|
+
*
|
|
883
|
+
* The resulting name is sanitized to be a valid worker name.
|
|
884
|
+
*
|
|
885
|
+
* @param projectOrWorkerName An optional project or worker name to use
|
|
886
|
+
* @param projectPath The path to the project directory (used as fallback)
|
|
887
|
+
* @returns A valid worker name
|
|
888
|
+
*/
|
|
889
|
+
declare function getWorkerName(projectOrWorkerName: string | undefined, projectPath: string): string;
|
|
890
|
+
/**
|
|
891
|
+
* Derives a valid worker name from a project directory.
|
|
892
|
+
*
|
|
893
|
+
* The name is determined by (in order of precedence):
|
|
894
|
+
* 1. The WRANGLER_CI_OVERRIDE_NAME environment variable (for CI environments)
|
|
895
|
+
* 2. The `name` field from package.json in the project directory
|
|
896
|
+
* 3. The directory basename
|
|
897
|
+
*
|
|
898
|
+
* The resulting name is sanitized to be a valid worker name.
|
|
899
|
+
*
|
|
900
|
+
* @param projectPath The path to the project directory
|
|
901
|
+
* @returns A valid worker name
|
|
902
|
+
*/
|
|
903
|
+
declare function getWorkerNameFromProject(projectPath: string): string;
|
|
904
|
+
|
|
905
|
+
export { APIError, Binding, type BindingLocalSupport, BunPackageManager, CommandLineArgsError, type CompatDate, Config, type ConfigBindingFieldName, type ConfigBindingOptions, DeprecationError, Diagnostics, type EphemeralDirectory, FatalError, type GetGlobalConfigPathOptions, JsonFriendlyFatalError, type Location, Logger, type Message, MissingConfigError, type NormalizeAndValidateConfigArgs, NpmPackageManager, type NpmVersionCheckResult, type PackageJSON, type PackageManager, ParseError, type ParseFile, PatchConfigError, PnpmPackageManager, RawConfig, type ResolveConfigPathOptions, Route, type TelemetryMessage, type Tunnel, type TunnelOptions, UserError, WorkerMetadataBinding, YarnPackageManager, assertNever, bucketFormatMessage, checkWorkerNameValidity, configFileName, configFormat, createFatalError, experimental_patchConfig, experimental_readRawConfig, fetchLatestNpmVersion, findWranglerConfig, formatConfigSnippet, formatTime, friendlyBindingNames, getBindingLocalSupport, getBindingTypeFriendlyName, getBooleanEnvironmentVariableFactory, getEnvironmentVariableFactory, getGlobalConfigPath, getGlobalWranglerConfigPath, getHostFromRoute, getHostFromUrl, getTodaysCompatDate, getWorkerName, getWorkerNameFromProject, getWranglerHiddenDirPath, getWranglerTmpDir, getZoneFromRoute, hasProperty, indexLocation, isCompatDate, isDirectory, isDockerfile, isOptionalProperty, isPagesConfig, isRedirectedConfig, isRequiredProperty, isValidR2BucketName, mapWorkerMetadataBindings, normalizeAndValidateConfig, parseByteSize, parseHumanDuration, parseJSON, parseJSONC, parseNonHyphenedUuid, parsePackageJSON, parseTOML, readFileSync, readFileSyncToBuffer, removeDir, removeDirSync, resolveWranglerConfigPath, retryOnAPIFailure, searchLocation, spawnCloudflared, startTunnel, sweepStaleWranglerTmpDirs, toValidWorkerName, validatePagesConfig };
|
package/dist/index.mjs
CHANGED
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
export { assertNever, constructWranglerConfig, getTodaysCompatDate, isCompatDate, mapWorkerMetadataBindings } from './chunk-J6D57QVQ.mjs';
|
|
2
2
|
export { MetricsRegistry } from './chunk-O4YGOZSW.mjs';
|
|
3
|
-
import { isDirectory, UserError, isRedirectedRawConfig, dedent, configFileName, formatConfigSnippet, FatalError, removeDirSync, ParseError, parseJSON, APIError, readFileSync as readFileSync$1, parseTOML, modify, applyEdits, format, dist_default, parseJSONC } from './chunk-ULVYGN52.mjs';
|
|
3
|
+
import { isDirectory, UserError, isRedirectedRawConfig, dedent, configFileName, formatConfigSnippet, FatalError, removeDirSync, ParseError, parseJSON, APIError, parsePackageJSON, readFileSync as readFileSync$1, parseTOML, modify, applyEdits, format, dist_default, parseJSONC } from './chunk-ULVYGN52.mjs';
|
|
4
4
|
export { APIError, CommandLineArgsError, DeprecationError, ENVIRONMENT_TAG_PREFIX, FatalError, INHERIT_SYMBOL, JSON_CONFIG_FORMATS, JsonFriendlyFatalError, MissingConfigError, PATH_TO_DEPLOY_CONFIG, ParseError, SERVICE_TAG_PREFIX, UserError, configFileName, configFormat, createFatalError, experimental_readRawConfig, findWranglerConfig, formatConfigSnippet, indexLocation, isDirectory, isRedirectedConfig, parseByteSize, parseHumanDuration, parseJSON, parseJSONC, parseNonHyphenedUuid, parsePackageJSON, parseTOML, readFileSync, readFileSyncToBuffer, removeDir, removeDirSync, resolveWranglerConfigPath, searchLocation } from './chunk-ULVYGN52.mjs';
|
|
5
5
|
import { __commonJS, __name, __require, __export, __toESM, __reExport } from './chunk-DCOBXSFB.mjs';
|
|
6
6
|
import fs2, { accessSync, constants, writeFileSync, renameSync, existsSync, unlinkSync, mkdirSync, chmodSync, readFileSync } from 'node:fs';
|
|
7
7
|
import assert from 'node:assert';
|
|
8
|
-
import path3, { join, dirname } from 'node:path';
|
|
8
|
+
import path3, { join, dirname, basename, resolve } from 'node:path';
|
|
9
9
|
import os, { arch } from 'node:os';
|
|
10
10
|
import { execFileSync, spawn } from 'node:child_process';
|
|
11
11
|
import { createHash } from 'node:crypto';
|
|
@@ -827,8 +827,8 @@ var require_command_exists = __commonJS({
|
|
|
827
827
|
var isPathName = /[\\]/.test(s);
|
|
828
828
|
if (isPathName) {
|
|
829
829
|
var dirname2 = '"' + path5.dirname(s) + '"';
|
|
830
|
-
var
|
|
831
|
-
return dirname2 + ":" +
|
|
830
|
+
var basename2 = '"' + path5.basename(s) + '"';
|
|
831
|
+
return dirname2 + ":" + basename2;
|
|
832
832
|
}
|
|
833
833
|
return '"' + s + '"';
|
|
834
834
|
}, "cleanInput");
|
|
@@ -836,10 +836,10 @@ var require_command_exists = __commonJS({
|
|
|
836
836
|
module.exports = /* @__PURE__ */ __name(function commandExists(commandName, callback) {
|
|
837
837
|
var cleanedCommandName = cleanInput(commandName);
|
|
838
838
|
if (!callback && typeof Promise !== "undefined") {
|
|
839
|
-
return new Promise(function(
|
|
839
|
+
return new Promise(function(resolve2, reject) {
|
|
840
840
|
commandExists(commandName, function(error, output) {
|
|
841
841
|
if (output) {
|
|
842
|
-
|
|
842
|
+
resolve2(commandName);
|
|
843
843
|
} else {
|
|
844
844
|
reject(error);
|
|
845
845
|
}
|
|
@@ -1757,7 +1757,7 @@ var require_update_check = __commonJS({
|
|
|
1757
1757
|
});
|
|
1758
1758
|
await writeFile(file, content, "utf8");
|
|
1759
1759
|
}, "updateCache");
|
|
1760
|
-
var loadPackage = /* @__PURE__ */ __name((url, authInfo) => new Promise((
|
|
1760
|
+
var loadPackage = /* @__PURE__ */ __name((url, authInfo) => new Promise((resolve2, reject) => {
|
|
1761
1761
|
const options = {
|
|
1762
1762
|
host: url.hostname,
|
|
1763
1763
|
path: url.pathname,
|
|
@@ -1788,7 +1788,7 @@ var require_update_check = __commonJS({
|
|
|
1788
1788
|
response.on("end", () => {
|
|
1789
1789
|
try {
|
|
1790
1790
|
const parsedData = JSON.parse(rawData);
|
|
1791
|
-
|
|
1791
|
+
resolve2(parsedData);
|
|
1792
1792
|
} catch (e2) {
|
|
1793
1793
|
reject(e2);
|
|
1794
1794
|
}
|
|
@@ -10143,6 +10143,55 @@ var validateServiceBinding = /* @__PURE__ */ __name((diagnostics, field, value)
|
|
|
10143
10143
|
);
|
|
10144
10144
|
isValid2 = false;
|
|
10145
10145
|
}
|
|
10146
|
+
if (hasProperty(value, "dev") && value.dev !== void 0) {
|
|
10147
|
+
if (typeof value.dev !== "object" || value.dev === null || Array.isArray(value.dev)) {
|
|
10148
|
+
diagnostics.errors.push(
|
|
10149
|
+
`"${field}" bindings should have an object "dev" field but got ${JSON.stringify(
|
|
10150
|
+
value.dev
|
|
10151
|
+
)}.`
|
|
10152
|
+
);
|
|
10153
|
+
isValid2 = false;
|
|
10154
|
+
} else {
|
|
10155
|
+
if (!hasProperty(value.dev, "plugin") || typeof value.dev.plugin !== "object" || value.dev.plugin === null || Array.isArray(value.dev.plugin)) {
|
|
10156
|
+
diagnostics.errors.push(
|
|
10157
|
+
`"${field}.dev" should have an object "plugin" field but got ${JSON.stringify(
|
|
10158
|
+
value.dev.plugin
|
|
10159
|
+
)}.`
|
|
10160
|
+
);
|
|
10161
|
+
isValid2 = false;
|
|
10162
|
+
} else {
|
|
10163
|
+
if (!isRequiredProperty(value.dev.plugin, "package", "string")) {
|
|
10164
|
+
diagnostics.errors.push(
|
|
10165
|
+
`"${field}.dev.plugin" should have a string "package" field but got ${JSON.stringify(
|
|
10166
|
+
value.dev.plugin.package
|
|
10167
|
+
)}.`
|
|
10168
|
+
);
|
|
10169
|
+
isValid2 = false;
|
|
10170
|
+
}
|
|
10171
|
+
if (!isRequiredProperty(value.dev.plugin, "name", "string")) {
|
|
10172
|
+
diagnostics.errors.push(
|
|
10173
|
+
`"${field}.dev.plugin" should have a string "name" field but got ${JSON.stringify(
|
|
10174
|
+
value.dev.plugin.name
|
|
10175
|
+
)}.`
|
|
10176
|
+
);
|
|
10177
|
+
isValid2 = false;
|
|
10178
|
+
}
|
|
10179
|
+
}
|
|
10180
|
+
if (hasProperty(value.dev, "options") && value.dev.options !== void 0 && (typeof value.dev.options !== "object" || value.dev.options === null || Array.isArray(value.dev.options))) {
|
|
10181
|
+
diagnostics.errors.push(
|
|
10182
|
+
`"${field}.dev.options" should be an object but got ${JSON.stringify(
|
|
10183
|
+
value.dev.options
|
|
10184
|
+
)}.`
|
|
10185
|
+
);
|
|
10186
|
+
isValid2 = false;
|
|
10187
|
+
}
|
|
10188
|
+
}
|
|
10189
|
+
if (value.remote === true) {
|
|
10190
|
+
diagnostics.warnings.push(
|
|
10191
|
+
`"${field}" binding has both "dev" and "remote" set; "remote" is ignored when "dev" is present and the binding is routed through the local Miniflare plugin.`
|
|
10192
|
+
);
|
|
10193
|
+
}
|
|
10194
|
+
}
|
|
10146
10195
|
if (!isRemoteValid(value, field, diagnostics)) {
|
|
10147
10196
|
isValid2 = false;
|
|
10148
10197
|
}
|
|
@@ -12271,7 +12320,7 @@ function terminateCloudflared(cloudflared) {
|
|
|
12271
12320
|
}
|
|
12272
12321
|
__name(terminateCloudflared, "terminateCloudflared");
|
|
12273
12322
|
function waitForQuickTunnelReady(cloudflared, timeoutMs, options) {
|
|
12274
|
-
return new Promise((
|
|
12323
|
+
return new Promise((resolve2, reject) => {
|
|
12275
12324
|
let resolved = false;
|
|
12276
12325
|
let stderrOutput = "";
|
|
12277
12326
|
const logger = options?.logger;
|
|
@@ -12299,7 +12348,7 @@ function waitForQuickTunnelReady(cloudflared, timeoutMs, options) {
|
|
|
12299
12348
|
if (match && !resolved) {
|
|
12300
12349
|
resolved = true;
|
|
12301
12350
|
clearTimeout(timeoutId);
|
|
12302
|
-
|
|
12351
|
+
resolve2({ mode: "quick", publicUrl: new URL(match[0]) });
|
|
12303
12352
|
}
|
|
12304
12353
|
});
|
|
12305
12354
|
}
|
|
@@ -12818,6 +12867,93 @@ function getHostFromUrl(urlLike) {
|
|
|
12818
12867
|
}
|
|
12819
12868
|
}
|
|
12820
12869
|
__name(getHostFromUrl, "getHostFromUrl");
|
|
12870
|
+
|
|
12871
|
+
// src/package-manager.ts
|
|
12872
|
+
var NpmPackageManager = {
|
|
12873
|
+
type: "npm",
|
|
12874
|
+
npx: "npx",
|
|
12875
|
+
dlx: ["npx"],
|
|
12876
|
+
lockFiles: ["package-lock.json"]
|
|
12877
|
+
};
|
|
12878
|
+
var PnpmPackageManager = {
|
|
12879
|
+
type: "pnpm",
|
|
12880
|
+
npx: "pnpm",
|
|
12881
|
+
lockFiles: ["pnpm-lock.yaml"],
|
|
12882
|
+
dlx: ["pnpm", "dlx"]
|
|
12883
|
+
};
|
|
12884
|
+
var YarnPackageManager = {
|
|
12885
|
+
type: "yarn",
|
|
12886
|
+
npx: "yarn",
|
|
12887
|
+
dlx: ["yarn", "dlx"],
|
|
12888
|
+
lockFiles: ["yarn.lock"]
|
|
12889
|
+
};
|
|
12890
|
+
var BunPackageManager = {
|
|
12891
|
+
type: "bun",
|
|
12892
|
+
npx: "bunx",
|
|
12893
|
+
dlx: ["bunx"],
|
|
12894
|
+
lockFiles: ["bun.lockb", "bun.lock"]
|
|
12895
|
+
};
|
|
12896
|
+
var invalidWorkerNameCharsRegex = /[^a-z0-9- ]/g;
|
|
12897
|
+
var invalidWorkerNameStartEndRegex = /^(-+)|(-+)$/g;
|
|
12898
|
+
var workerNameLengthLimit = 63;
|
|
12899
|
+
function checkWorkerNameValidity(input) {
|
|
12900
|
+
if (!input) {
|
|
12901
|
+
return {
|
|
12902
|
+
valid: false,
|
|
12903
|
+
cause: "Worker names cannot be empty."
|
|
12904
|
+
};
|
|
12905
|
+
}
|
|
12906
|
+
if (input.match(invalidWorkerNameStartEndRegex)) {
|
|
12907
|
+
return {
|
|
12908
|
+
valid: false,
|
|
12909
|
+
cause: "Worker names cannot start or end with a dash."
|
|
12910
|
+
};
|
|
12911
|
+
}
|
|
12912
|
+
if (input.match(invalidWorkerNameCharsRegex)) {
|
|
12913
|
+
return {
|
|
12914
|
+
valid: false,
|
|
12915
|
+
cause: "Project names must only contain lowercase characters, numbers, and dashes."
|
|
12916
|
+
};
|
|
12917
|
+
}
|
|
12918
|
+
if (input.length > workerNameLengthLimit) {
|
|
12919
|
+
return {
|
|
12920
|
+
valid: false,
|
|
12921
|
+
cause: "Project names must be less than 63 characters."
|
|
12922
|
+
};
|
|
12923
|
+
}
|
|
12924
|
+
return { valid: true };
|
|
12925
|
+
}
|
|
12926
|
+
__name(checkWorkerNameValidity, "checkWorkerNameValidity");
|
|
12927
|
+
function toValidWorkerName(input) {
|
|
12928
|
+
if (checkWorkerNameValidity(input).valid) {
|
|
12929
|
+
return input;
|
|
12930
|
+
}
|
|
12931
|
+
input = input.replaceAll("_", "-").replace(invalidWorkerNameCharsRegex, "-").replace(invalidWorkerNameStartEndRegex, "").slice(0, workerNameLengthLimit);
|
|
12932
|
+
if (!input.length) {
|
|
12933
|
+
return "my-worker";
|
|
12934
|
+
}
|
|
12935
|
+
return input;
|
|
12936
|
+
}
|
|
12937
|
+
__name(toValidWorkerName, "toValidWorkerName");
|
|
12938
|
+
function getWorkerName(projectOrWorkerName = "", projectPath) {
|
|
12939
|
+
const rawName = getCIOverrideName() ?? (projectOrWorkerName || basename(projectPath));
|
|
12940
|
+
return toValidWorkerName(rawName);
|
|
12941
|
+
}
|
|
12942
|
+
__name(getWorkerName, "getWorkerName");
|
|
12943
|
+
function getWorkerNameFromProject(projectPath) {
|
|
12944
|
+
const packageJsonPath = resolve(projectPath, "package.json");
|
|
12945
|
+
let packageJsonName;
|
|
12946
|
+
try {
|
|
12947
|
+
const packageJson = parsePackageJSON(
|
|
12948
|
+
readFileSync$1(packageJsonPath),
|
|
12949
|
+
packageJsonPath
|
|
12950
|
+
);
|
|
12951
|
+
packageJsonName = packageJson.name;
|
|
12952
|
+
} catch {
|
|
12953
|
+
}
|
|
12954
|
+
return getWorkerName(packageJsonName, projectPath);
|
|
12955
|
+
}
|
|
12956
|
+
__name(getWorkerNameFromProject, "getWorkerNameFromProject");
|
|
12821
12957
|
/*! Bundled license information:
|
|
12822
12958
|
|
|
12823
12959
|
deep-extend/lib/deep-extend.js:
|
|
@@ -12852,4 +12988,4 @@ safe-buffer/index.js:
|
|
|
12852
12988
|
(*! safe-buffer. MIT License. Feross Aboukhadijeh <https://feross.org/opensource> *)
|
|
12853
12989
|
*/
|
|
12854
12990
|
|
|
12855
|
-
export { COMPLIANCE_REGION_CONFIG_PUBLIC, COMPLIANCE_REGION_CONFIG_UNKNOWN, Diagnostics, LOGGER_LEVELS, PatchConfigError, addAuthorizationHeader, bucketFormatMessage, defaultWranglerConfig, experimental_patchConfig, extractAccountTag, extractWAFBlockRayId, fetchInternalBase, fetchKVGetValueBase, fetchLatestNpmVersion, fetchListResultBase, fetchResultBase, formatTime, friendlyBindingNames, getBindingLocalSupport, getBindingTypeFriendlyName, getBooleanEnvironmentVariableFactory, getBrowserRenderingHeadfulFromEnv, getBuildConditionsFromEnv, getBuildPlatformFromEnv, getC3CommandFromEnv, getCIGeneratePreviewAlias, getCIMatchTag, getCIOverrideName, getCIOverrideNetworkModeHost, getCfFetchEnabledFromEnv, getCfFetchPathFromEnv, getCloudflareApiBaseUrl, getCloudflareApiEnvironmentFromEnv, getCloudflareComplianceRegion, getCloudflareEnv, getCloudflareIncludeProcessEnvFromEnv, getCloudflareLoadDevVarsFromDotEnv, getCloudflaredPathFromEnv, getComplianceRegionSubdomain, getD1ExtraLocationChoices, getDisableConfigWatching, getDockerPath, getEnvironmentVariableFactory, getGlobalConfigPath, getGlobalWranglerConfigPath, getHostFromRoute, getHostFromUrl, getLocalExplorerEnabledFromEnv, getOpenNextDeployFromEnv, getOutputFileDirectoryFromEnv, getOutputFilePathFromEnv, getRegistryPath, getSanitizeLogs, getSubdomainMixedStateCheckDisabled, getTraceHeader, getWorkersCIBranchName, getWranglerCacheDirFromEnv, getWranglerHiddenDirPath, getWranglerHideBanner, getWranglerSendErrorReportsFromEnv, getWranglerSendMetricsFromEnv, getWranglerTmpDir, getZoneFromRoute, hasCursor, hasMorePages, hasProperty, isDockerfile, isOptionalProperty, isPagesConfig, isRequiredProperty, isValidR2BucketName, isWAFBlockResponse, maybeAddTraceHeader, normalizeAndValidateConfig, performApiFetchBase, renderError, retryOnAPIFailure, spawnCloudflared, startTunnel, sweepStaleWranglerTmpDirs, throwFetchError, truncate, validatePagesConfig };
|
|
12991
|
+
export { BunPackageManager, COMPLIANCE_REGION_CONFIG_PUBLIC, COMPLIANCE_REGION_CONFIG_UNKNOWN, Diagnostics, LOGGER_LEVELS, NpmPackageManager, PatchConfigError, PnpmPackageManager, YarnPackageManager, addAuthorizationHeader, bucketFormatMessage, checkWorkerNameValidity, defaultWranglerConfig, experimental_patchConfig, extractAccountTag, extractWAFBlockRayId, fetchInternalBase, fetchKVGetValueBase, fetchLatestNpmVersion, fetchListResultBase, fetchResultBase, formatTime, friendlyBindingNames, getBindingLocalSupport, getBindingTypeFriendlyName, getBooleanEnvironmentVariableFactory, getBrowserRenderingHeadfulFromEnv, getBuildConditionsFromEnv, getBuildPlatformFromEnv, getC3CommandFromEnv, getCIGeneratePreviewAlias, getCIMatchTag, getCIOverrideName, getCIOverrideNetworkModeHost, getCfFetchEnabledFromEnv, getCfFetchPathFromEnv, getCloudflareApiBaseUrl, getCloudflareApiEnvironmentFromEnv, getCloudflareComplianceRegion, getCloudflareEnv, getCloudflareIncludeProcessEnvFromEnv, getCloudflareLoadDevVarsFromDotEnv, getCloudflaredPathFromEnv, getComplianceRegionSubdomain, getD1ExtraLocationChoices, getDisableConfigWatching, getDockerPath, getEnvironmentVariableFactory, getGlobalConfigPath, getGlobalWranglerConfigPath, getHostFromRoute, getHostFromUrl, getLocalExplorerEnabledFromEnv, getOpenNextDeployFromEnv, getOutputFileDirectoryFromEnv, getOutputFilePathFromEnv, getRegistryPath, getSanitizeLogs, getSubdomainMixedStateCheckDisabled, getTraceHeader, getWorkerName, getWorkerNameFromProject, getWorkersCIBranchName, getWranglerCacheDirFromEnv, getWranglerHiddenDirPath, getWranglerHideBanner, getWranglerSendErrorReportsFromEnv, getWranglerSendMetricsFromEnv, getWranglerTmpDir, getZoneFromRoute, hasCursor, hasMorePages, hasProperty, isDockerfile, isOptionalProperty, isPagesConfig, isRequiredProperty, isValidR2BucketName, isWAFBlockResponse, maybeAddTraceHeader, normalizeAndValidateConfig, performApiFetchBase, renderError, retryOnAPIFailure, spawnCloudflared, startTunnel, sweepStaleWranglerTmpDirs, throwFetchError, toValidWorkerName, truncate, validatePagesConfig };
|
package/dist/metafile-esm.json
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"inputs":{"src/compatibility-date.ts":{"bytes":1130,"imports":[{"path":"node:assert","kind":"import-statement","external":true},{"path":"<runtime>","kind":"import-statement","external":true}],"format":"esm"},"src/assert-never.ts":{"bytes":46,"imports":[{"path":"<runtime>","kind":"import-statement","external":true}],"format":"esm"},"src/map-worker-metadata-bindings.ts":{"bytes":10882,"imports":[{"path":"src/assert-never.ts","kind":"import-statement","original":"./assert-never"},{"path":"<runtime>","kind":"import-statement","external":true}],"format":"esm"},"src/construct-wrangler-config.ts":{"bytes":3834,"imports":[{"path":"src/compatibility-date.ts","kind":"import-statement","original":"./compatibility-date"},{"path":"src/map-worker-metadata-bindings.ts","kind":"import-statement","original":"./map-worker-metadata-bindings"},{"path":"<runtime>","kind":"import-statement","external":true}],"format":"esm"},"src/browser.ts":{"bytes":71,"imports":[{"path":"src/construct-wrangler-config.ts","kind":"import-statement","original":"./construct-wrangler-config"}],"format":"esm"},"src/config/environment.ts":{"bytes":50147,"imports":[],"format":"esm"},"src/config/config.ts":{"bytes":12130,"imports":[],"format":"esm"},"../../node_modules/.pnpm/smol-toml@1.5.2/node_modules/smol-toml/dist/error.js":{"bytes":2787,"imports":[{"path":"<runtime>","kind":"import-statement","external":true}],"format":"esm"},"../../node_modules/.pnpm/smol-toml@1.5.2/node_modules/smol-toml/dist/util.js":{"bytes":3985,"imports":[{"path":"../../node_modules/.pnpm/smol-toml@1.5.2/node_modules/smol-toml/dist/error.js","kind":"import-statement","original":"./error.js"},{"path":"<runtime>","kind":"import-statement","external":true}],"format":"esm"},"../../node_modules/.pnpm/smol-toml@1.5.2/node_modules/smol-toml/dist/date.js":{"bytes":4937,"imports":[{"path":"<runtime>","kind":"import-statement","external":true}],"format":"esm"},"../../node_modules/.pnpm/smol-toml@1.5.2/node_modules/smol-toml/dist/primitive.js":{"bytes":6532,"imports":[{"path":"../../node_modules/.pnpm/smol-toml@1.5.2/node_modules/smol-toml/dist/util.js","kind":"import-statement","original":"./util.js"},{"path":"../../node_modules/.pnpm/smol-toml@1.5.2/node_modules/smol-toml/dist/date.js","kind":"import-statement","original":"./date.js"},{"path":"../../node_modules/.pnpm/smol-toml@1.5.2/node_modules/smol-toml/dist/error.js","kind":"import-statement","original":"./error.js"},{"path":"<runtime>","kind":"import-statement","external":true}],"format":"esm"},"../../node_modules/.pnpm/smol-toml@1.5.2/node_modules/smol-toml/dist/extract.js":{"bytes":4687,"imports":[{"path":"../../node_modules/.pnpm/smol-toml@1.5.2/node_modules/smol-toml/dist/primitive.js","kind":"import-statement","original":"./primitive.js"},{"path":"../../node_modules/.pnpm/smol-toml@1.5.2/node_modules/smol-toml/dist/struct.js","kind":"import-statement","original":"./struct.js"},{"path":"../../node_modules/.pnpm/smol-toml@1.5.2/node_modules/smol-toml/dist/util.js","kind":"import-statement","original":"./util.js"},{"path":"../../node_modules/.pnpm/smol-toml@1.5.2/node_modules/smol-toml/dist/error.js","kind":"import-statement","original":"./error.js"},{"path":"<runtime>","kind":"import-statement","external":true}],"format":"esm"},"../../node_modules/.pnpm/smol-toml@1.5.2/node_modules/smol-toml/dist/struct.js":{"bytes":7675,"imports":[{"path":"../../node_modules/.pnpm/smol-toml@1.5.2/node_modules/smol-toml/dist/primitive.js","kind":"import-statement","original":"./primitive.js"},{"path":"../../node_modules/.pnpm/smol-toml@1.5.2/node_modules/smol-toml/dist/extract.js","kind":"import-statement","original":"./extract.js"},{"path":"../../node_modules/.pnpm/smol-toml@1.5.2/node_modules/smol-toml/dist/util.js","kind":"import-statement","original":"./util.js"},{"path":"../../node_modules/.pnpm/smol-toml@1.5.2/node_modules/smol-toml/dist/error.js","kind":"import-statement","original":"./error.js"},{"path":"<runtime>","kind":"import-statement","external":true}],"format":"esm"},"../../node_modules/.pnpm/smol-toml@1.5.2/node_modules/smol-toml/dist/parse.js":{"bytes":5694,"imports":[{"path":"../../node_modules/.pnpm/smol-toml@1.5.2/node_modules/smol-toml/dist/struct.js","kind":"import-statement","original":"./struct.js"},{"path":"../../node_modules/.pnpm/smol-toml@1.5.2/node_modules/smol-toml/dist/extract.js","kind":"import-statement","original":"./extract.js"},{"path":"../../node_modules/.pnpm/smol-toml@1.5.2/node_modules/smol-toml/dist/util.js","kind":"import-statement","original":"./util.js"},{"path":"../../node_modules/.pnpm/smol-toml@1.5.2/node_modules/smol-toml/dist/error.js","kind":"import-statement","original":"./error.js"},{"path":"<runtime>","kind":"import-statement","external":true}],"format":"esm"},"../../node_modules/.pnpm/smol-toml@1.5.2/node_modules/smol-toml/dist/stringify.js":{"bytes":6453,"imports":[{"path":"<runtime>","kind":"import-statement","external":true}],"format":"esm"},"../../node_modules/.pnpm/smol-toml@1.5.2/node_modules/smol-toml/dist/index.js":{"bytes":1883,"imports":[{"path":"../../node_modules/.pnpm/smol-toml@1.5.2/node_modules/smol-toml/dist/parse.js","kind":"import-statement","original":"./parse.js"},{"path":"../../node_modules/.pnpm/smol-toml@1.5.2/node_modules/smol-toml/dist/stringify.js","kind":"import-statement","original":"./stringify.js"},{"path":"../../node_modules/.pnpm/smol-toml@1.5.2/node_modules/smol-toml/dist/date.js","kind":"import-statement","original":"./date.js"},{"path":"../../node_modules/.pnpm/smol-toml@1.5.2/node_modules/smol-toml/dist/error.js","kind":"import-statement","original":"./error.js"}],"format":"esm"},"../../node_modules/.pnpm/jsonc-parser@3.2.0/node_modules/jsonc-parser/lib/esm/impl/scanner.js":{"bytes":19188,"imports":[{"path":"<runtime>","kind":"import-statement","external":true}],"format":"esm"},"../../node_modules/.pnpm/jsonc-parser@3.2.0/node_modules/jsonc-parser/lib/esm/impl/format.js":{"bytes":10250,"imports":[{"path":"../../node_modules/.pnpm/jsonc-parser@3.2.0/node_modules/jsonc-parser/lib/esm/impl/scanner.js","kind":"import-statement","original":"./scanner"},{"path":"<runtime>","kind":"import-statement","external":true}],"format":"esm"},"../../node_modules/.pnpm/jsonc-parser@3.2.0/node_modules/jsonc-parser/lib/esm/impl/parser.js":{"bytes":24708,"imports":[{"path":"../../node_modules/.pnpm/jsonc-parser@3.2.0/node_modules/jsonc-parser/lib/esm/impl/scanner.js","kind":"import-statement","original":"./scanner"},{"path":"<runtime>","kind":"import-statement","external":true}],"format":"esm"},"../../node_modules/.pnpm/jsonc-parser@3.2.0/node_modules/jsonc-parser/lib/esm/impl/edit.js":{"bytes":8613,"imports":[{"path":"../../node_modules/.pnpm/jsonc-parser@3.2.0/node_modules/jsonc-parser/lib/esm/impl/format.js","kind":"import-statement","original":"./format"},{"path":"../../node_modules/.pnpm/jsonc-parser@3.2.0/node_modules/jsonc-parser/lib/esm/impl/parser.js","kind":"import-statement","original":"./parser"},{"path":"<runtime>","kind":"import-statement","external":true}],"format":"esm"},"../../node_modules/.pnpm/jsonc-parser@3.2.0/node_modules/jsonc-parser/lib/esm/main.js":{"bytes":9363,"imports":[{"path":"../../node_modules/.pnpm/jsonc-parser@3.2.0/node_modules/jsonc-parser/lib/esm/impl/format.js","kind":"import-statement","original":"./impl/format"},{"path":"../../node_modules/.pnpm/jsonc-parser@3.2.0/node_modules/jsonc-parser/lib/esm/impl/edit.js","kind":"import-statement","original":"./impl/edit"},{"path":"../../node_modules/.pnpm/jsonc-parser@3.2.0/node_modules/jsonc-parser/lib/esm/impl/scanner.js","kind":"import-statement","original":"./impl/scanner"},{"path":"../../node_modules/.pnpm/jsonc-parser@3.2.0/node_modules/jsonc-parser/lib/esm/impl/parser.js","kind":"import-statement","original":"./impl/parser"},{"path":"<runtime>","kind":"import-statement","external":true}],"format":"esm"},"src/errors.ts":{"bytes":2592,"imports":[{"path":"<runtime>","kind":"import-statement","external":true}],"format":"esm"},"src/parse.ts":{"bytes":9692,"imports":[{"path":"node:fs","kind":"import-statement","external":true},{"path":"node:path","kind":"import-statement","external":true},{"path":"../../node_modules/.pnpm/jsonc-parser@3.2.0/node_modules/jsonc-parser/lib/esm/main.js","kind":"import-statement","original":"jsonc-parser"},{"path":"../../node_modules/.pnpm/smol-toml@1.5.2/node_modules/smol-toml/dist/index.js","kind":"import-statement","original":"smol-toml"},{"path":"src/errors.ts","kind":"import-statement","original":"./errors"},{"path":"<runtime>","kind":"import-statement","external":true}],"format":"esm"},"../../node_modules/.pnpm/empathic@2.0.0/node_modules/empathic/resolve.mjs":{"bytes":971,"imports":[{"path":"node:module","kind":"import-statement","external":true},{"path":"node:path","kind":"import-statement","external":true},{"path":"node:url","kind":"import-statement","external":true},{"path":"<runtime>","kind":"import-statement","external":true}],"format":"esm"},"../../node_modules/.pnpm/empathic@2.0.0/node_modules/empathic/walk.mjs":{"bytes":535,"imports":[{"path":"node:path","kind":"import-statement","external":true},{"path":"../../node_modules/.pnpm/empathic@2.0.0/node_modules/empathic/resolve.mjs","kind":"import-statement","original":"empathic/resolve"},{"path":"<runtime>","kind":"import-statement","external":true}],"format":"esm"},"../../node_modules/.pnpm/empathic@2.0.0/node_modules/empathic/find.mjs":{"bytes":2033,"imports":[{"path":"node:path","kind":"import-statement","external":true},{"path":"node:fs","kind":"import-statement","external":true},{"path":"../../node_modules/.pnpm/empathic@2.0.0/node_modules/empathic/walk.mjs","kind":"import-statement","original":"empathic/walk"},{"path":"<runtime>","kind":"import-statement","external":true}],"format":"esm"},"../../node_modules/.pnpm/ts-dedent@2.2.0/node_modules/ts-dedent/esm/index.js":{"bytes":1634,"imports":[{"path":"<runtime>","kind":"import-statement","external":true}],"format":"esm"},"src/constants.ts":{"bytes":427,"imports":[],"format":"esm"},"src/config/config-helpers.ts":{"bytes":5252,"imports":[{"path":"node:fs","kind":"import-statement","external":true},{"path":"node:path","kind":"import-statement","external":true},{"path":"../../node_modules/.pnpm/empathic@2.0.0/node_modules/empathic/find.mjs","kind":"import-statement","original":"empathic/find"},{"path":"../../node_modules/.pnpm/ts-dedent@2.2.0/node_modules/ts-dedent/esm/index.js","kind":"import-statement","original":"ts-dedent"},{"path":"src/constants.ts","kind":"import-statement","original":"../constants"},{"path":"src/errors.ts","kind":"import-statement","original":"../errors"},{"path":"src/parse.ts","kind":"import-statement","original":"../parse"},{"path":"<runtime>","kind":"import-statement","external":true}],"format":"esm"},"src/config/index.ts":{"bytes":3449,"imports":[{"path":"../../node_modules/.pnpm/smol-toml@1.5.2/node_modules/smol-toml/dist/index.js","kind":"import-statement","original":"smol-toml"},{"path":"src/parse.ts","kind":"import-statement","original":"../parse"},{"path":"src/config/config-helpers.ts","kind":"import-statement","original":"./config-helpers"},{"path":"<runtime>","kind":"import-statement","external":true}],"format":"esm"},"src/config/patch-config.ts":{"bytes":3360,"imports":[{"path":"node:fs","kind":"import-statement","external":true},{"path":"../../node_modules/.pnpm/jsonc-parser@3.2.0/node_modules/jsonc-parser/lib/esm/main.js","kind":"import-statement","original":"jsonc-parser"},{"path":"../../node_modules/.pnpm/smol-toml@1.5.2/node_modules/smol-toml/dist/index.js","kind":"import-statement","original":"smol-toml"},{"path":"src/parse.ts","kind":"import-statement","original":"../parse"},{"path":"<runtime>","kind":"import-statement","external":true}],"format":"esm"},"src/worker.ts":{"bytes":10096,"imports":[],"format":"esm"},"src/types.ts":{"bytes":19589,"imports":[],"format":"esm"},"../../node_modules/.pnpm/itty-time@2.0.2/node_modules/itty-time/index.mjs":{"bytes":505,"imports":[{"path":"<runtime>","kind":"import-statement","external":true}],"format":"esm"},"../../node_modules/.pnpm/zod@3.22.3/node_modules/zod/lib/index.mjs":{"bytes":139434,"imports":[{"path":"<runtime>","kind":"import-statement","external":true}],"format":"esm"},"../workflows-shared/src/lib/validators.ts":{"bytes":2050,"imports":[{"path":"../../node_modules/.pnpm/itty-time@2.0.2/node_modules/itty-time/index.mjs","kind":"import-statement","original":"itty-time"},{"path":"../../node_modules/.pnpm/zod@3.22.3/node_modules/zod/lib/index.mjs","kind":"import-statement","original":"zod"},{"path":"<runtime>","kind":"import-statement","external":true}],"format":"esm"},"../../node_modules/.pnpm/xdg-app-paths@8.3.0/node_modules/xdg-app-paths/dist/cjs/lib/XDGAppPaths.js":{"bytes":7763,"imports":[{"path":"<runtime>","kind":"import-statement","external":true}],"format":"cjs"},"../../node_modules/.pnpm/xdg-portable@10.6.0/node_modules/xdg-portable/dist/cjs/lib/XDG.js":{"bytes":9611,"imports":[{"path":"<runtime>","kind":"import-statement","external":true}],"format":"cjs"},"../../node_modules/.pnpm/os-paths@7.4.0/node_modules/os-paths/dist/cjs/lib/OSPaths.js":{"bytes":7979,"imports":[{"path":"<runtime>","kind":"import-statement","external":true}],"format":"cjs"},"../../node_modules/.pnpm/os-paths@7.4.0/node_modules/os-paths/dist/cjs/platform-adapters/node.js":{"bytes":1787,"imports":[{"path":"os","kind":"require-call","external":true},{"path":"path","kind":"require-call","external":true},{"path":"<runtime>","kind":"import-statement","external":true}],"format":"cjs"},"../../node_modules/.pnpm/os-paths@7.4.0/node_modules/os-paths/dist/cjs/mod.cjs.js":{"bytes":484,"imports":[{"path":"../../node_modules/.pnpm/os-paths@7.4.0/node_modules/os-paths/dist/cjs/lib/OSPaths.js","kind":"require-call","original":"./lib/OSPaths.js"},{"path":"../../node_modules/.pnpm/os-paths@7.4.0/node_modules/os-paths/dist/cjs/platform-adapters/node.js","kind":"require-call","original":"./platform-adapters/node.js"}],"format":"cjs"},"../../node_modules/.pnpm/xdg-portable@10.6.0/node_modules/xdg-portable/dist/cjs/platform-adapters/node.js":{"bytes":1971,"imports":[{"path":"path","kind":"require-call","external":true},{"path":"../../node_modules/.pnpm/os-paths@7.4.0/node_modules/os-paths/dist/cjs/mod.cjs.js","kind":"require-call","original":"os-paths"},{"path":"<runtime>","kind":"import-statement","external":true}],"format":"cjs"},"../../node_modules/.pnpm/xdg-portable@10.6.0/node_modules/xdg-portable/dist/cjs/mod.cjs.js":{"bytes":464,"imports":[{"path":"../../node_modules/.pnpm/xdg-portable@10.6.0/node_modules/xdg-portable/dist/cjs/lib/XDG.js","kind":"require-call","original":"./lib/XDG.js"},{"path":"../../node_modules/.pnpm/xdg-portable@10.6.0/node_modules/xdg-portable/dist/cjs/platform-adapters/node.js","kind":"require-call","original":"./platform-adapters/node.js"}],"format":"cjs"},"../../node_modules/.pnpm/xdg-app-paths@8.3.0/node_modules/xdg-app-paths/dist/cjs/platform-adapters/node.js":{"bytes":3254,"imports":[{"path":"path","kind":"require-call","external":true},{"path":"../../node_modules/.pnpm/xdg-portable@10.6.0/node_modules/xdg-portable/dist/cjs/mod.cjs.js","kind":"require-call","original":"xdg-portable"},{"path":"<runtime>","kind":"import-statement","external":true}],"format":"cjs"},"../../node_modules/.pnpm/xdg-app-paths@8.3.0/node_modules/xdg-app-paths/dist/cjs/mod.cjs.js":{"bytes":500,"imports":[{"path":"../../node_modules/.pnpm/xdg-app-paths@8.3.0/node_modules/xdg-app-paths/dist/cjs/lib/XDGAppPaths.js","kind":"require-call","original":"./lib/XDGAppPaths.js"},{"path":"../../node_modules/.pnpm/xdg-app-paths@8.3.0/node_modules/xdg-app-paths/dist/cjs/platform-adapters/node.js","kind":"require-call","original":"./platform-adapters/node.js"}],"format":"cjs"},"../../node_modules/.pnpm/xdg-app-paths@8.3.0/node_modules/xdg-app-paths/dist/cjs/esm-wrapper/mod.esm.js":{"bytes":148,"imports":[{"path":"../../node_modules/.pnpm/xdg-app-paths@8.3.0/node_modules/xdg-app-paths/dist/cjs/mod.cjs.js","kind":"import-statement","original":"../mod.cjs.js"},{"path":"../../node_modules/.pnpm/xdg-app-paths@8.3.0/node_modules/xdg-app-paths/dist/cjs/mod.cjs.js","kind":"import-statement","original":"../mod.cjs.js"}],"format":"esm"},"src/fs-helpers.ts":{"bytes":2580,"imports":[{"path":"node:fs","kind":"import-statement","external":true},{"path":"<runtime>","kind":"import-statement","external":true}],"format":"esm"},"src/global-wrangler-config-path.ts":{"bytes":1906,"imports":[{"path":"node:os","kind":"import-statement","external":true},{"path":"node:path","kind":"import-statement","external":true},{"path":"../../node_modules/.pnpm/xdg-app-paths@8.3.0/node_modules/xdg-app-paths/dist/cjs/esm-wrapper/mod.esm.js","kind":"import-statement","original":"xdg-app-paths"},{"path":"src/fs-helpers.ts","kind":"import-statement","original":"./fs-helpers"},{"path":"<runtime>","kind":"import-statement","external":true}],"format":"esm"},"src/environment-variables/factory.ts":{"bytes":10999,"imports":[{"path":"src/errors.ts","kind":"import-statement","original":"../errors"},{"path":"<runtime>","kind":"import-statement","external":true}],"format":"esm"},"src/environment-variables/misc-variables.ts":{"bytes":14256,"imports":[{"path":"node:path","kind":"import-statement","external":true},{"path":"../../node_modules/.pnpm/ts-dedent@2.2.0/node_modules/ts-dedent/esm/index.js","kind":"import-statement","original":"ts-dedent"},{"path":"src/errors.ts","kind":"import-statement","original":"../errors"},{"path":"src/global-wrangler-config-path.ts","kind":"import-statement","original":"../global-wrangler-config-path"},{"path":"src/environment-variables/factory.ts","kind":"import-statement","original":"./factory"},{"path":"<runtime>","kind":"import-statement","external":true}],"format":"esm"},"src/config/diagnostics.ts":{"bytes":2606,"imports":[{"path":"<runtime>","kind":"import-statement","external":true}],"format":"esm"},"src/config/validation-helpers.ts":{"bytes":19739,"imports":[{"path":"<runtime>","kind":"import-statement","external":true}],"format":"esm"},"src/config/validation.ts":{"bytes":155409,"imports":[{"path":"node:assert","kind":"import-statement","external":true},{"path":"node:fs","kind":"import-statement","external":true},{"path":"node:path","kind":"import-statement","external":true},{"path":"../workflows-shared/src/lib/validators.ts","kind":"import-statement","original":"@cloudflare/workflows-shared/src/lib/validators"},{"path":"../../node_modules/.pnpm/ts-dedent@2.2.0/node_modules/ts-dedent/esm/index.js","kind":"import-statement","original":"ts-dedent"},{"path":"src/environment-variables/misc-variables.ts","kind":"import-statement","original":"../environment-variables/misc-variables"},{"path":"src/errors.ts","kind":"import-statement","original":"../errors"},{"path":"src/fs-helpers.ts","kind":"import-statement","original":"../fs-helpers"},{"path":"src/config/config-helpers.ts","kind":"import-statement","original":"./config-helpers"},{"path":"src/config/diagnostics.ts","kind":"import-statement","original":"./diagnostics"},{"path":"src/config/validation-helpers.ts","kind":"import-statement","original":"./validation-helpers"},{"path":"src/config/index.ts","kind":"import-statement","original":"."},{"path":"<runtime>","kind":"import-statement","external":true}],"format":"esm"},"src/config/binding-local-support.ts":{"bytes":3081,"imports":[{"path":"<runtime>","kind":"import-statement","external":true}],"format":"esm"},"src/config/validation-pages.ts":{"bytes":5938,"imports":[{"path":"src/errors.ts","kind":"import-statement","original":"../errors"},{"path":"src/config/config.ts","kind":"import-statement","original":"./config"},{"path":"src/config/diagnostics.ts","kind":"import-statement","original":"./diagnostics"},{"path":"src/config/validation-helpers.ts","kind":"import-statement","original":"./validation-helpers"},{"path":"<runtime>","kind":"import-statement","external":true}],"format":"esm"},"../../node_modules/.pnpm/signal-exit@3.0.7/node_modules/signal-exit/signals.js":{"bytes":1295,"imports":[],"format":"cjs"},"../../node_modules/.pnpm/signal-exit@3.0.7/node_modules/signal-exit/index.js":{"bytes":5708,"imports":[{"path":"assert","kind":"require-call","external":true},{"path":"../../node_modules/.pnpm/signal-exit@3.0.7/node_modules/signal-exit/signals.js","kind":"require-call","original":"./signals.js"},{"path":"events","kind":"require-call","external":true},{"path":"<runtime>","kind":"import-statement","external":true}],"format":"cjs"},"src/wrangler-tmp-dir.ts":{"bytes":2977,"imports":[{"path":"node:fs","kind":"import-statement","external":true},{"path":"node:path","kind":"import-statement","external":true},{"path":"../../node_modules/.pnpm/signal-exit@3.0.7/node_modules/signal-exit/index.js","kind":"import-statement","original":"signal-exit"},{"path":"src/fs-helpers.ts","kind":"import-statement","original":"./fs-helpers"},{"path":"<runtime>","kind":"import-statement","external":true}],"format":"esm"},"src/prometheus-metrics.ts":{"bytes":2014,"imports":[{"path":"<runtime>","kind":"import-statement","external":true}],"format":"esm"},"../../node_modules/.pnpm/command-exists@1.2.9/node_modules/command-exists/lib/command-exists.js":{"bytes":4450,"imports":[{"path":"child_process","kind":"require-call","external":true},{"path":"child_process","kind":"require-call","external":true},{"path":"fs","kind":"require-call","external":true},{"path":"path","kind":"require-call","external":true},{"path":"<runtime>","kind":"import-statement","external":true}],"format":"cjs"},"../../node_modules/.pnpm/command-exists@1.2.9/node_modules/command-exists/index.js":{"bytes":50,"imports":[{"path":"../../node_modules/.pnpm/command-exists@1.2.9/node_modules/command-exists/lib/command-exists.js","kind":"require-call","original":"./lib/command-exists"}],"format":"cjs"},"src/cloudflared.ts":{"bytes":22311,"imports":[{"path":"node:child_process","kind":"import-statement","external":true},{"path":"node:crypto","kind":"import-statement","external":true},{"path":"node:fs","kind":"import-statement","external":true},{"path":"node:os","kind":"import-statement","external":true},{"path":"node:path","kind":"import-statement","external":true},{"path":"../../node_modules/.pnpm/command-exists@1.2.9/node_modules/command-exists/index.js","kind":"import-statement","original":"command-exists"},{"path":"undici","kind":"import-statement","external":true},{"path":"src/environment-variables/misc-variables.ts","kind":"import-statement","original":"./environment-variables/misc-variables"},{"path":"src/errors.ts","kind":"import-statement","original":"./errors"},{"path":"src/fs-helpers.ts","kind":"import-statement","original":"./fs-helpers"},{"path":"src/global-wrangler-config-path.ts","kind":"import-statement","original":"./global-wrangler-config-path"},{"path":"<runtime>","kind":"import-statement","external":true}],"format":"esm"},"src/tunnel.ts":{"bytes":8650,"imports":[{"path":"src/cloudflared.ts","kind":"import-statement","original":"./cloudflared"},{"path":"src/errors.ts","kind":"import-statement","original":"./errors"},{"path":"<runtime>","kind":"import-statement","external":true}],"format":"esm"},"src/cfetch/errors.ts":{"bytes":697,"imports":[{"path":"src/parse.ts","kind":"import-statement","original":"../parse"},{"path":"<runtime>","kind":"import-statement","external":true}],"format":"esm"},"src/cfetch/index.ts":{"bytes":14339,"imports":[{"path":"node:assert","kind":"import-statement","external":true},{"path":"node:url","kind":"import-statement","external":true},{"path":"undici","kind":"import-statement","external":true},{"path":"src/environment-variables/misc-variables.ts","kind":"import-statement","original":"../environment-variables/misc-variables"},{"path":"src/errors.ts","kind":"import-statement","original":"../errors"},{"path":"src/parse.ts","kind":"import-statement","original":"../parse"},{"path":"src/cfetch/errors.ts","kind":"import-statement","original":"./errors"},{"path":"<runtime>","kind":"import-statement","external":true}],"format":"esm"},"../../node_modules/.pnpm/ini@1.3.8/node_modules/ini/ini.js":{"bytes":4976,"imports":[{"path":"<runtime>","kind":"import-statement","external":true}],"format":"cjs"},"../../node_modules/.pnpm/strip-json-comments@2.0.1/node_modules/strip-json-comments/index.js":{"bytes":1700,"imports":[{"path":"<runtime>","kind":"import-statement","external":true}],"format":"cjs"},"../../node_modules/.pnpm/rc@1.2.8/node_modules/rc/lib/utils.js":{"bytes":2759,"imports":[{"path":"fs","kind":"require-call","external":true},{"path":"../../node_modules/.pnpm/ini@1.3.8/node_modules/ini/ini.js","kind":"require-call","original":"ini"},{"path":"path","kind":"require-call","external":true},{"path":"../../node_modules/.pnpm/strip-json-comments@2.0.1/node_modules/strip-json-comments/index.js","kind":"require-call","original":"strip-json-comments"},{"path":"<runtime>","kind":"import-statement","external":true}],"format":"cjs"},"../../node_modules/.pnpm/deep-extend@0.6.0/node_modules/deep-extend/lib/deep-extend.js":{"bytes":4293,"imports":[{"path":"<runtime>","kind":"import-statement","external":true}],"format":"cjs"},"../../node_modules/.pnpm/minimist@1.2.6/node_modules/minimist/index.js":{"bytes":7807,"imports":[{"path":"<runtime>","kind":"import-statement","external":true}],"format":"cjs"},"../../node_modules/.pnpm/rc@1.2.8/node_modules/rc/index.js":{"bytes":1503,"imports":[{"path":"../../node_modules/.pnpm/rc@1.2.8/node_modules/rc/lib/utils.js","kind":"require-call","original":"./lib/utils"},{"path":"path","kind":"require-call","external":true},{"path":"../../node_modules/.pnpm/deep-extend@0.6.0/node_modules/deep-extend/lib/deep-extend.js","kind":"require-call","original":"deep-extend"},{"path":"../../node_modules/.pnpm/minimist@1.2.6/node_modules/minimist/index.js","kind":"require-call","original":"minimist"},{"path":"<runtime>","kind":"import-statement","external":true}],"format":"cjs"},"../../node_modules/.pnpm/registry-url@3.1.0/node_modules/registry-url/index.js":{"bytes":228,"imports":[{"path":"../../node_modules/.pnpm/rc@1.2.8/node_modules/rc/index.js","kind":"require-call","original":"rc"}],"format":"cjs"},"../../node_modules/.pnpm/safe-buffer@5.2.1/node_modules/safe-buffer/index.js":{"bytes":1670,"imports":[{"path":"buffer","kind":"require-call","external":true},{"path":"<runtime>","kind":"import-statement","external":true}],"format":"cjs"},"../../node_modules/.pnpm/registry-auth-token@3.3.2/node_modules/registry-auth-token/base64.js":{"bytes":322,"imports":[{"path":"../../node_modules/.pnpm/safe-buffer@5.2.1/node_modules/safe-buffer/index.js","kind":"require-call","original":"safe-buffer"},{"path":"<runtime>","kind":"import-statement","external":true}],"format":"cjs"},"../../node_modules/.pnpm/registry-auth-token@3.3.2/node_modules/registry-auth-token/index.js":{"bytes":3203,"imports":[{"path":"url","kind":"require-call","external":true},{"path":"../../node_modules/.pnpm/registry-auth-token@3.3.2/node_modules/registry-auth-token/base64.js","kind":"require-call","original":"./base64"},{"path":"../../node_modules/.pnpm/rc@1.2.8/node_modules/rc/index.js","kind":"require-call","original":"rc"},{"path":"<runtime>","kind":"import-statement","external":true}],"format":"cjs"},"../../node_modules/.pnpm/update-check@1.5.4/node_modules/update-check/index.js":{"bytes":4426,"imports":[{"path":"url","kind":"require-call","external":true},{"path":"path","kind":"require-call","external":true},{"path":"fs","kind":"require-call","external":true},{"path":"util","kind":"require-call","external":true},{"path":"os","kind":"require-call","external":true},{"path":"../../node_modules/.pnpm/registry-url@3.1.0/node_modules/registry-url/index.js","kind":"require-call","original":"registry-url"},{"path":"https","kind":"require-call","external":true},{"path":"http","kind":"require-call","external":true},{"path":"../../node_modules/.pnpm/registry-auth-token@3.3.2/node_modules/registry-auth-token/index.js","kind":"require-call","original":"registry-auth-token"},{"path":"<runtime>","kind":"import-statement","external":true}],"format":"cjs"},"src/update-check.ts":{"bytes":2303,"imports":[{"path":"node:timers/promises","kind":"import-statement","external":true},{"path":"../../node_modules/.pnpm/update-check@1.5.4/node_modules/update-check/index.js","kind":"import-statement","original":"update-check"},{"path":"<runtime>","kind":"import-statement","external":true}],"format":"esm"},"src/logger.ts":{"bytes":557,"imports":[],"format":"esm"},"src/retry.ts":{"bytes":1045,"imports":[{"path":"node:timers/promises","kind":"import-statement","external":true},{"path":"src/parse.ts","kind":"import-statement","original":"./parse"},{"path":"<runtime>","kind":"import-statement","external":true}],"format":"esm"},"src/format-time.ts":{"bytes":106,"imports":[{"path":"<runtime>","kind":"import-statement","external":true}],"format":"esm"},"src/route-utils.ts":{"bytes":2919,"imports":[{"path":"<runtime>","kind":"import-statement","external":true}],"format":"esm"},"src/index.ts":{"bytes":3245,"imports":[{"path":"src/config/environment.ts","kind":"import-statement","original":"./config/environment"},{"path":"src/config/config.ts","kind":"import-statement","original":"./config/config"},{"path":"src/config/index.ts","kind":"import-statement","original":"./config"},{"path":"src/config/patch-config.ts","kind":"import-statement","original":"./config/patch-config"},{"path":"src/worker.ts","kind":"import-statement","original":"./worker"},{"path":"src/types.ts","kind":"import-statement","original":"./types"},{"path":"src/parse.ts","kind":"import-statement","original":"./parse"},{"path":"src/config/validation.ts","kind":"import-statement","original":"./config/validation"},{"path":"src/config/binding-local-support.ts","kind":"import-statement","original":"./config/binding-local-support"},{"path":"src/config/validation-pages.ts","kind":"import-statement","original":"./config/validation-pages"},{"path":"src/config/diagnostics.ts","kind":"import-statement","original":"./config/diagnostics"},{"path":"src/config/validation-helpers.ts","kind":"import-statement","original":"./config/validation-helpers"},{"path":"src/config/config-helpers.ts","kind":"import-statement","original":"./config/config-helpers"},{"path":"src/errors.ts","kind":"import-statement","original":"./errors"},{"path":"src/assert-never.ts","kind":"import-statement","original":"./assert-never"},{"path":"src/constants.ts","kind":"import-statement","original":"./constants"},{"path":"src/map-worker-metadata-bindings.ts","kind":"import-statement","original":"./map-worker-metadata-bindings"},{"path":"src/construct-wrangler-config.ts","kind":"import-statement","original":"./construct-wrangler-config"},{"path":"src/environment-variables/factory.ts","kind":"import-statement","original":"./environment-variables/factory"},{"path":"src/environment-variables/misc-variables.ts","kind":"import-statement","original":"./environment-variables/misc-variables"},{"path":"src/global-wrangler-config-path.ts","kind":"import-statement","original":"./global-wrangler-config-path"},{"path":"src/compatibility-date.ts","kind":"import-statement","original":"./compatibility-date"},{"path":"src/config/validation.ts","kind":"import-statement","original":"./config/validation"},{"path":"src/fs-helpers.ts","kind":"import-statement","original":"./fs-helpers"},{"path":"src/wrangler-tmp-dir.ts","kind":"import-statement","original":"./wrangler-tmp-dir"},{"path":"src/prometheus-metrics.ts","kind":"import-statement","original":"./prometheus-metrics"},{"path":"src/tunnel.ts","kind":"import-statement","original":"./tunnel"},{"path":"src/cloudflared.ts","kind":"import-statement","original":"./cloudflared"},{"path":"src/cfetch/index.ts","kind":"import-statement","original":"./cfetch"},{"path":"src/update-check.ts","kind":"import-statement","original":"./update-check"},{"path":"src/logger.ts","kind":"import-statement","original":"./logger"},{"path":"src/retry.ts","kind":"import-statement","original":"./retry"},{"path":"src/format-time.ts","kind":"import-statement","original":"./format-time"},{"path":"src/route-utils.ts","kind":"import-statement","original":"./route-utils"}],"format":"esm"},"src/test-helpers/normalize.ts":{"bytes":3274,"imports":[{"path":"<runtime>","kind":"import-statement","external":true}],"format":"esm"},"src/test-helpers/mock.ts":{"bytes":2796,"imports":[{"path":"node:util","kind":"import-statement","external":true},{"path":"vitest","kind":"import-statement","external":true},{"path":"src/test-helpers/normalize.ts","kind":"import-statement","original":"./normalize"},{"path":"<runtime>","kind":"import-statement","external":true}],"format":"esm"},"src/test-helpers/run-in-tmp.ts":{"bytes":1085,"imports":[{"path":"node:fs","kind":"import-statement","external":true},{"path":"node:os","kind":"import-statement","external":true},{"path":"node:path","kind":"import-statement","external":true},{"path":"vitest","kind":"import-statement","external":true},{"path":"src/fs-helpers.ts","kind":"import-statement","original":"../fs-helpers"},{"path":"<runtime>","kind":"import-statement","external":true}],"format":"esm"},"src/test-helpers/seed.ts":{"bytes":500,"imports":[{"path":"node:fs/promises","kind":"import-statement","external":true},{"path":"node:path","kind":"import-statement","external":true},{"path":"<runtime>","kind":"import-statement","external":true}],"format":"esm"},"src/test-helpers/wrangler-config.ts":{"bytes":1835,"imports":[{"path":"node:fs","kind":"import-statement","external":true},{"path":"node:path","kind":"import-statement","external":true},{"path":"src/config/index.ts","kind":"import-statement","original":"../config"},{"path":"src/constants.ts","kind":"import-statement","original":"../constants"},{"path":"src/parse.ts","kind":"import-statement","original":"../parse"},{"path":"<runtime>","kind":"import-statement","external":true}],"format":"esm"},"src/test-helpers/index.ts":{"bytes":409,"imports":[{"path":"src/test-helpers/mock.ts","kind":"import-statement","original":"./mock"},{"path":"src/test-helpers/normalize.ts","kind":"import-statement","original":"./normalize"},{"path":"src/test-helpers/run-in-tmp.ts","kind":"import-statement","original":"./run-in-tmp"},{"path":"src/test-helpers/seed.ts","kind":"import-statement","original":"./seed"},{"path":"src/test-helpers/wrangler-config.ts","kind":"import-statement","original":"./wrangler-config"}],"format":"esm"}},"outputs":{"dist/browser.mjs":{"imports":[{"path":"dist/chunk-J6D57QVQ.mjs","kind":"import-statement"},{"path":"dist/chunk-DCOBXSFB.mjs","kind":"import-statement"}],"exports":["constructWranglerConfig"],"entryPoint":"src/browser.ts","inputs":{"src/browser.ts":{"bytesInOutput":0}},"bytes":135},"dist/index.mjs":{"imports":[{"path":"dist/chunk-J6D57QVQ.mjs","kind":"import-statement"},{"path":"dist/chunk-O4YGOZSW.mjs","kind":"import-statement"},{"path":"dist/chunk-ULVYGN52.mjs","kind":"import-statement"},{"path":"dist/chunk-DCOBXSFB.mjs","kind":"import-statement"},{"path":"os","kind":"require-call","external":true},{"path":"path","kind":"require-call","external":true},{"path":"path","kind":"require-call","external":true},{"path":"path","kind":"require-call","external":true},{"path":"assert","kind":"require-call","external":true},{"path":"events","kind":"require-call","external":true},{"path":"child_process","kind":"require-call","external":true},{"path":"child_process","kind":"require-call","external":true},{"path":"fs","kind":"require-call","external":true},{"path":"path","kind":"require-call","external":true},{"path":"fs","kind":"require-call","external":true},{"path":"path","kind":"require-call","external":true},{"path":"path","kind":"require-call","external":true},{"path":"buffer","kind":"require-call","external":true},{"path":"url","kind":"require-call","external":true},{"path":"url","kind":"require-call","external":true},{"path":"path","kind":"require-call","external":true},{"path":"fs","kind":"require-call","external":true},{"path":"util","kind":"require-call","external":true},{"path":"os","kind":"require-call","external":true},{"path":"https","kind":"require-call","external":true},{"path":"http","kind":"require-call","external":true},{"path":"node:fs","kind":"import-statement","external":true},{"path":"node:assert","kind":"import-statement","external":true},{"path":"node:fs","kind":"import-statement","external":true},{"path":"node:path","kind":"import-statement","external":true},{"path":"node:path","kind":"import-statement","external":true},{"path":"node:os","kind":"import-statement","external":true},{"path":"node:path","kind":"import-statement","external":true},{"path":"node:fs","kind":"import-statement","external":true},{"path":"node:path","kind":"import-statement","external":true},{"path":"node:child_process","kind":"import-statement","external":true},{"path":"node:crypto","kind":"import-statement","external":true},{"path":"node:fs","kind":"import-statement","external":true},{"path":"node:os","kind":"import-statement","external":true},{"path":"node:path","kind":"import-statement","external":true},{"path":"undici","kind":"import-statement","external":true},{"path":"node:assert","kind":"import-statement","external":true},{"path":"node:url","kind":"import-statement","external":true},{"path":"undici","kind":"import-statement","external":true},{"path":"node:timers/promises","kind":"import-statement","external":true},{"path":"node:timers/promises","kind":"import-statement","external":true}],"exports":["APIError","COMPLIANCE_REGION_CONFIG_PUBLIC","COMPLIANCE_REGION_CONFIG_UNKNOWN","CommandLineArgsError","DeprecationError","Diagnostics","ENVIRONMENT_TAG_PREFIX","FatalError","INHERIT_SYMBOL","JSON_CONFIG_FORMATS","JsonFriendlyFatalError","LOGGER_LEVELS","MetricsRegistry","MissingConfigError","PATH_TO_DEPLOY_CONFIG","ParseError","PatchConfigError","SERVICE_TAG_PREFIX","UserError","addAuthorizationHeader","assertNever","bucketFormatMessage","configFileName","configFormat","constructWranglerConfig","createFatalError","defaultWranglerConfig","experimental_patchConfig","experimental_readRawConfig","extractAccountTag","extractWAFBlockRayId","fetchInternalBase","fetchKVGetValueBase","fetchLatestNpmVersion","fetchListResultBase","fetchResultBase","findWranglerConfig","formatConfigSnippet","formatTime","friendlyBindingNames","getBindingLocalSupport","getBindingTypeFriendlyName","getBooleanEnvironmentVariableFactory","getBrowserRenderingHeadfulFromEnv","getBuildConditionsFromEnv","getBuildPlatformFromEnv","getC3CommandFromEnv","getCIGeneratePreviewAlias","getCIMatchTag","getCIOverrideName","getCIOverrideNetworkModeHost","getCfFetchEnabledFromEnv","getCfFetchPathFromEnv","getCloudflareApiBaseUrl","getCloudflareApiEnvironmentFromEnv","getCloudflareComplianceRegion","getCloudflareEnv","getCloudflareIncludeProcessEnvFromEnv","getCloudflareLoadDevVarsFromDotEnv","getCloudflaredPathFromEnv","getComplianceRegionSubdomain","getD1ExtraLocationChoices","getDisableConfigWatching","getDockerPath","getEnvironmentVariableFactory","getGlobalConfigPath","getGlobalWranglerConfigPath","getHostFromRoute","getHostFromUrl","getLocalExplorerEnabledFromEnv","getOpenNextDeployFromEnv","getOutputFileDirectoryFromEnv","getOutputFilePathFromEnv","getRegistryPath","getSanitizeLogs","getSubdomainMixedStateCheckDisabled","getTodaysCompatDate","getTraceHeader","getWorkersCIBranchName","getWranglerCacheDirFromEnv","getWranglerHiddenDirPath","getWranglerHideBanner","getWranglerSendErrorReportsFromEnv","getWranglerSendMetricsFromEnv","getWranglerTmpDir","getZoneFromRoute","hasCursor","hasMorePages","hasProperty","indexLocation","isCompatDate","isDirectory","isDockerfile","isOptionalProperty","isPagesConfig","isRedirectedConfig","isRequiredProperty","isValidR2BucketName","isWAFBlockResponse","mapWorkerMetadataBindings","maybeAddTraceHeader","normalizeAndValidateConfig","parseByteSize","parseHumanDuration","parseJSON","parseJSONC","parseNonHyphenedUuid","parsePackageJSON","parseTOML","performApiFetchBase","readFileSync","readFileSyncToBuffer","removeDir","removeDirSync","renderError","resolveWranglerConfigPath","retryOnAPIFailure","searchLocation","spawnCloudflared","startTunnel","sweepStaleWranglerTmpDirs","throwFetchError","truncate","validatePagesConfig"],"entryPoint":"src/index.ts","inputs":{"../../node_modules/.pnpm/xdg-app-paths@8.3.0/node_modules/xdg-app-paths/dist/cjs/lib/XDGAppPaths.js":{"bytesInOutput":4302},"../../node_modules/.pnpm/xdg-portable@10.6.0/node_modules/xdg-portable/dist/cjs/lib/XDG.js":{"bytesInOutput":5184},"../../node_modules/.pnpm/os-paths@7.4.0/node_modules/os-paths/dist/cjs/lib/OSPaths.js":{"bytesInOutput":4128},"../../node_modules/.pnpm/os-paths@7.4.0/node_modules/os-paths/dist/cjs/platform-adapters/node.js":{"bytesInOutput":1544},"../../node_modules/.pnpm/os-paths@7.4.0/node_modules/os-paths/dist/cjs/mod.cjs.js":{"bytesInOutput":312},"../../node_modules/.pnpm/xdg-portable@10.6.0/node_modules/xdg-portable/dist/cjs/platform-adapters/node.js":{"bytesInOutput":1739},"../../node_modules/.pnpm/xdg-portable@10.6.0/node_modules/xdg-portable/dist/cjs/mod.cjs.js":{"bytesInOutput":307},"../../node_modules/.pnpm/xdg-app-paths@8.3.0/node_modules/xdg-app-paths/dist/cjs/platform-adapters/node.js":{"bytesInOutput":2291},"../../node_modules/.pnpm/xdg-app-paths@8.3.0/node_modules/xdg-app-paths/dist/cjs/mod.cjs.js":{"bytesInOutput":340},"../../node_modules/.pnpm/signal-exit@3.0.7/node_modules/signal-exit/signals.js":{"bytesInOutput":791},"../../node_modules/.pnpm/signal-exit@3.0.7/node_modules/signal-exit/index.js":{"bytesInOutput":5367},"../../node_modules/.pnpm/command-exists@1.2.9/node_modules/command-exists/lib/command-exists.js":{"bytesInOutput":5231},"../../node_modules/.pnpm/command-exists@1.2.9/node_modules/command-exists/index.js":{"bytesInOutput":222},"../../node_modules/.pnpm/ini@1.3.8/node_modules/ini/ini.js":{"bytesInOutput":5248},"../../node_modules/.pnpm/strip-json-comments@2.0.1/node_modules/strip-json-comments/index.js":{"bytesInOutput":2342},"../../node_modules/.pnpm/rc@1.2.8/node_modules/rc/lib/utils.js":{"bytesInOutput":2416},"../../node_modules/.pnpm/deep-extend@0.6.0/node_modules/deep-extend/lib/deep-extend.js":{"bytesInOutput":2890},"../../node_modules/.pnpm/minimist@1.2.6/node_modules/minimist/index.js":{"bytesInOutput":7513},"../../node_modules/.pnpm/rc@1.2.8/node_modules/rc/index.js":{"bytesInOutput":1849},"../../node_modules/.pnpm/registry-url@3.1.0/node_modules/registry-url/index.js":{"bytesInOutput":405},"../../node_modules/.pnpm/safe-buffer@5.2.1/node_modules/safe-buffer/index.js":{"bytesInOutput":1877},"../../node_modules/.pnpm/registry-auth-token@3.3.2/node_modules/registry-auth-token/base64.js":{"bytesInOutput":595},"../../node_modules/.pnpm/registry-auth-token@3.3.2/node_modules/registry-auth-token/index.js":{"bytesInOutput":3560},"../../node_modules/.pnpm/update-check@1.5.4/node_modules/update-check/index.js":{"bytesInOutput":5298},"src/index.ts":{"bytesInOutput":0},"src/config/config.ts":{"bytesInOutput":3346},"src/config/patch-config.ts":{"bytesInOutput":1912},"src/config/validation.ts":{"bytesInOutput":147468},"../../node_modules/.pnpm/itty-time@2.0.2/node_modules/itty-time/index.mjs":{"bytesInOutput":135},"../../node_modules/.pnpm/zod@3.22.3/node_modules/zod/lib/index.mjs":{"bytesInOutput":113408},"../workflows-shared/src/lib/validators.ts":{"bytesInOutput":863},"src/environment-variables/misc-variables.ts":{"bytesInOutput":6100},"src/global-wrangler-config-path.ts":{"bytesInOutput":664},"../../node_modules/.pnpm/xdg-app-paths@8.3.0/node_modules/xdg-app-paths/dist/cjs/esm-wrapper/mod.esm.js":{"bytesInOutput":251},"src/environment-variables/factory.ts":{"bytesInOutput":1924},"src/config/diagnostics.ts":{"bytesInOutput":2250},"src/config/validation-helpers.ts":{"bytesInOutput":12493},"src/config/binding-local-support.ts":{"bytesInOutput":2113},"src/config/validation-pages.ts":{"bytesInOutput":4503},"src/wrangler-tmp-dir.ts":{"bytesInOutput":1782},"src/cloudflared.ts":{"bytesInOutput":16974},"src/tunnel.ts":{"bytesInOutput":7963},"src/cfetch/index.ts":{"bytesInOutput":11713},"src/cfetch/errors.ts":{"bytesInOutput":624},"src/update-check.ts":{"bytesInOutput":877},"src/logger.ts":{"bytesInOutput":92},"src/retry.ts":{"bytesInOutput":851},"src/format-time.ts":{"bytesInOutput":117},"src/route-utils.ts":{"bytesInOutput":1041}},"bytes":413901},"dist/chunk-J6D57QVQ.mjs":{"imports":[{"path":"dist/chunk-DCOBXSFB.mjs","kind":"import-statement"},{"path":"node:assert","kind":"import-statement","external":true}],"exports":["assertNever","constructWranglerConfig","getTodaysCompatDate","isCompatDate","mapWorkerMetadataBindings"],"inputs":{"src/compatibility-date.ts":{"bytesInOutput":508},"src/assert-never.ts":{"bytesInOutput":69},"src/map-worker-metadata-bindings.ts":{"bytesInOutput":11064},"src/construct-wrangler-config.ts":{"bytesInOutput":1637}},"bytes":13580},"dist/prometheus-metrics.mjs":{"imports":[{"path":"dist/chunk-O4YGOZSW.mjs","kind":"import-statement"},{"path":"dist/chunk-DCOBXSFB.mjs","kind":"import-statement"}],"exports":["MetricsRegistry"],"entryPoint":"src/prometheus-metrics.ts","inputs":{},"bytes":119},"dist/chunk-O4YGOZSW.mjs":{"imports":[{"path":"dist/chunk-DCOBXSFB.mjs","kind":"import-statement"}],"exports":["MetricsRegistry"],"inputs":{"src/prometheus-metrics.ts":{"bytesInOutput":1217}},"bytes":1327},"dist/test-helpers/index.mjs":{"imports":[{"path":"dist/chunk-ULVYGN52.mjs","kind":"import-statement"},{"path":"dist/chunk-DCOBXSFB.mjs","kind":"import-statement"},{"path":"node:util","kind":"import-statement","external":true},{"path":"vitest","kind":"import-statement","external":true},{"path":"node:fs","kind":"import-statement","external":true},{"path":"node:os","kind":"import-statement","external":true},{"path":"node:path","kind":"import-statement","external":true},{"path":"vitest","kind":"import-statement","external":true},{"path":"node:fs/promises","kind":"import-statement","external":true},{"path":"node:path","kind":"import-statement","external":true},{"path":"node:fs","kind":"import-statement","external":true},{"path":"node:path","kind":"import-statement","external":true}],"exports":["createDeferred","mockConsoleMethods","mockCreateDate","mockEndDate","mockModifiedDate","mockQueuedDate","mockStartDate","normalizeString","readWranglerConfig","runInTempDir","seed","writeDeployRedirectConfig","writeRedirectedWranglerConfig","writeWranglerConfig"],"entryPoint":"src/test-helpers/index.ts","inputs":{"src/test-helpers/mock.ts":{"bytesInOutput":2636},"src/test-helpers/normalize.ts":{"bytesInOutput":2741},"src/test-helpers/index.ts":{"bytesInOutput":0},"src/test-helpers/run-in-tmp.ts":{"bytesInOutput":837},"src/test-helpers/seed.ts":{"bytesInOutput":345},"src/test-helpers/wrangler-config.ts":{"bytesInOutput":1745}},"bytes":8967},"dist/chunk-ULVYGN52.mjs":{"imports":[{"path":"dist/chunk-DCOBXSFB.mjs","kind":"import-statement"},{"path":"node:fs","kind":"import-statement","external":true},{"path":"node:path","kind":"import-statement","external":true},{"path":"node:fs","kind":"import-statement","external":true},{"path":"node:path","kind":"import-statement","external":true},{"path":"node:path","kind":"import-statement","external":true},{"path":"node:fs","kind":"import-statement","external":true},{"path":"node:path","kind":"import-statement","external":true},{"path":"node:path","kind":"import-statement","external":true},{"path":"node:fs","kind":"import-statement","external":true}],"exports":["APIError","CommandLineArgsError","DeprecationError","ENVIRONMENT_TAG_PREFIX","FatalError","INHERIT_SYMBOL","JSON_CONFIG_FORMATS","JsonFriendlyFatalError","MissingConfigError","PATH_TO_DEPLOY_CONFIG","ParseError","SERVICE_TAG_PREFIX","UserError","applyEdits","configFileName","configFormat","createFatalError","dedent","dist_default","experimental_readRawConfig","findWranglerConfig","format","formatConfigSnippet","indexLocation","isDirectory","isRedirectedConfig","isRedirectedRawConfig","modify","parseByteSize","parseHumanDuration","parseJSON","parseJSONC","parseNonHyphenedUuid","parsePackageJSON","parseTOML","readFileSync","readFileSyncToBuffer","removeDir","removeDirSync","resolveWranglerConfigPath","searchLocation"],"inputs":{"src/errors.ts":{"bytesInOutput":1499},"src/parse.ts":{"bytesInOutput":7709},"../../node_modules/.pnpm/jsonc-parser@3.2.0/node_modules/jsonc-parser/lib/esm/impl/scanner.js":{"bytesInOutput":13719},"../../node_modules/.pnpm/jsonc-parser@3.2.0/node_modules/jsonc-parser/lib/esm/impl/format.js":{"bytesInOutput":7379},"../../node_modules/.pnpm/jsonc-parser@3.2.0/node_modules/jsonc-parser/lib/esm/impl/parser.js":{"bytesInOutput":13841},"../../node_modules/.pnpm/jsonc-parser@3.2.0/node_modules/jsonc-parser/lib/esm/impl/edit.js":{"bytesInOutput":6542},"../../node_modules/.pnpm/jsonc-parser@3.2.0/node_modules/jsonc-parser/lib/esm/main.js":{"bytesInOutput":4978},"../../node_modules/.pnpm/smol-toml@1.5.2/node_modules/smol-toml/dist/error.js":{"bytesInOutput":1202},"../../node_modules/.pnpm/smol-toml@1.5.2/node_modules/smol-toml/dist/util.js":{"bytesInOutput":2207},"../../node_modules/.pnpm/smol-toml@1.5.2/node_modules/smol-toml/dist/date.js":{"bytesInOutput":2493},"../../node_modules/.pnpm/smol-toml@1.5.2/node_modules/smol-toml/dist/primitive.js":{"bytesInOutput":3824},"../../node_modules/.pnpm/smol-toml@1.5.2/node_modules/smol-toml/dist/extract.js":{"bytesInOutput":2447},"../../node_modules/.pnpm/smol-toml@1.5.2/node_modules/smol-toml/dist/struct.js":{"bytesInOutput":4706},"../../node_modules/.pnpm/smol-toml@1.5.2/node_modules/smol-toml/dist/parse.js":{"bytesInOutput":3069},"../../node_modules/.pnpm/smol-toml@1.5.2/node_modules/smol-toml/dist/stringify.js":{"bytesInOutput":4707},"../../node_modules/.pnpm/smol-toml@1.5.2/node_modules/smol-toml/dist/index.js":{"bytesInOutput":70},"src/constants.ts":{"bytesInOutput":245},"src/config/config-helpers.ts":{"bytesInOutput":3664},"../../node_modules/.pnpm/empathic@2.0.0/node_modules/empathic/find.mjs":{"bytesInOutput":352},"../../node_modules/.pnpm/empathic@2.0.0/node_modules/empathic/walk.mjs":{"bytesInOutput":342},"../../node_modules/.pnpm/empathic@2.0.0/node_modules/empathic/resolve.mjs":{"bytesInOutput":199},"../../node_modules/.pnpm/ts-dedent@2.2.0/node_modules/ts-dedent/esm/index.js":{"bytesInOutput":1494},"src/config/index.ts":{"bytesInOutput":1696},"src/fs-helpers.ts":{"bytesInOutput":673}},"bytes":107082},"dist/chunk-DCOBXSFB.mjs":{"imports":[],"exports":["__commonJS","__export","__name","__reExport","__require","__toESM"],"inputs":{},"bytes":2136}}}
|
|
1
|
+
{"inputs":{"src/compatibility-date.ts":{"bytes":1130,"imports":[{"path":"node:assert","kind":"import-statement","external":true},{"path":"<runtime>","kind":"import-statement","external":true}],"format":"esm"},"src/assert-never.ts":{"bytes":46,"imports":[{"path":"<runtime>","kind":"import-statement","external":true}],"format":"esm"},"src/map-worker-metadata-bindings.ts":{"bytes":10882,"imports":[{"path":"src/assert-never.ts","kind":"import-statement","original":"./assert-never"},{"path":"<runtime>","kind":"import-statement","external":true}],"format":"esm"},"src/construct-wrangler-config.ts":{"bytes":3834,"imports":[{"path":"src/compatibility-date.ts","kind":"import-statement","original":"./compatibility-date"},{"path":"src/map-worker-metadata-bindings.ts","kind":"import-statement","original":"./map-worker-metadata-bindings"},{"path":"<runtime>","kind":"import-statement","external":true}],"format":"esm"},"src/browser.ts":{"bytes":71,"imports":[{"path":"src/construct-wrangler-config.ts","kind":"import-statement","original":"./construct-wrangler-config"}],"format":"esm"},"src/config/environment.ts":{"bytes":50147,"imports":[],"format":"esm"},"src/config/config.ts":{"bytes":12130,"imports":[],"format":"esm"},"../../node_modules/.pnpm/smol-toml@1.5.2/node_modules/smol-toml/dist/error.js":{"bytes":2787,"imports":[{"path":"<runtime>","kind":"import-statement","external":true}],"format":"esm"},"../../node_modules/.pnpm/smol-toml@1.5.2/node_modules/smol-toml/dist/util.js":{"bytes":3985,"imports":[{"path":"../../node_modules/.pnpm/smol-toml@1.5.2/node_modules/smol-toml/dist/error.js","kind":"import-statement","original":"./error.js"},{"path":"<runtime>","kind":"import-statement","external":true}],"format":"esm"},"../../node_modules/.pnpm/smol-toml@1.5.2/node_modules/smol-toml/dist/date.js":{"bytes":4937,"imports":[{"path":"<runtime>","kind":"import-statement","external":true}],"format":"esm"},"../../node_modules/.pnpm/smol-toml@1.5.2/node_modules/smol-toml/dist/primitive.js":{"bytes":6532,"imports":[{"path":"../../node_modules/.pnpm/smol-toml@1.5.2/node_modules/smol-toml/dist/util.js","kind":"import-statement","original":"./util.js"},{"path":"../../node_modules/.pnpm/smol-toml@1.5.2/node_modules/smol-toml/dist/date.js","kind":"import-statement","original":"./date.js"},{"path":"../../node_modules/.pnpm/smol-toml@1.5.2/node_modules/smol-toml/dist/error.js","kind":"import-statement","original":"./error.js"},{"path":"<runtime>","kind":"import-statement","external":true}],"format":"esm"},"../../node_modules/.pnpm/smol-toml@1.5.2/node_modules/smol-toml/dist/extract.js":{"bytes":4687,"imports":[{"path":"../../node_modules/.pnpm/smol-toml@1.5.2/node_modules/smol-toml/dist/primitive.js","kind":"import-statement","original":"./primitive.js"},{"path":"../../node_modules/.pnpm/smol-toml@1.5.2/node_modules/smol-toml/dist/struct.js","kind":"import-statement","original":"./struct.js"},{"path":"../../node_modules/.pnpm/smol-toml@1.5.2/node_modules/smol-toml/dist/util.js","kind":"import-statement","original":"./util.js"},{"path":"../../node_modules/.pnpm/smol-toml@1.5.2/node_modules/smol-toml/dist/error.js","kind":"import-statement","original":"./error.js"},{"path":"<runtime>","kind":"import-statement","external":true}],"format":"esm"},"../../node_modules/.pnpm/smol-toml@1.5.2/node_modules/smol-toml/dist/struct.js":{"bytes":7675,"imports":[{"path":"../../node_modules/.pnpm/smol-toml@1.5.2/node_modules/smol-toml/dist/primitive.js","kind":"import-statement","original":"./primitive.js"},{"path":"../../node_modules/.pnpm/smol-toml@1.5.2/node_modules/smol-toml/dist/extract.js","kind":"import-statement","original":"./extract.js"},{"path":"../../node_modules/.pnpm/smol-toml@1.5.2/node_modules/smol-toml/dist/util.js","kind":"import-statement","original":"./util.js"},{"path":"../../node_modules/.pnpm/smol-toml@1.5.2/node_modules/smol-toml/dist/error.js","kind":"import-statement","original":"./error.js"},{"path":"<runtime>","kind":"import-statement","external":true}],"format":"esm"},"../../node_modules/.pnpm/smol-toml@1.5.2/node_modules/smol-toml/dist/parse.js":{"bytes":5694,"imports":[{"path":"../../node_modules/.pnpm/smol-toml@1.5.2/node_modules/smol-toml/dist/struct.js","kind":"import-statement","original":"./struct.js"},{"path":"../../node_modules/.pnpm/smol-toml@1.5.2/node_modules/smol-toml/dist/extract.js","kind":"import-statement","original":"./extract.js"},{"path":"../../node_modules/.pnpm/smol-toml@1.5.2/node_modules/smol-toml/dist/util.js","kind":"import-statement","original":"./util.js"},{"path":"../../node_modules/.pnpm/smol-toml@1.5.2/node_modules/smol-toml/dist/error.js","kind":"import-statement","original":"./error.js"},{"path":"<runtime>","kind":"import-statement","external":true}],"format":"esm"},"../../node_modules/.pnpm/smol-toml@1.5.2/node_modules/smol-toml/dist/stringify.js":{"bytes":6453,"imports":[{"path":"<runtime>","kind":"import-statement","external":true}],"format":"esm"},"../../node_modules/.pnpm/smol-toml@1.5.2/node_modules/smol-toml/dist/index.js":{"bytes":1883,"imports":[{"path":"../../node_modules/.pnpm/smol-toml@1.5.2/node_modules/smol-toml/dist/parse.js","kind":"import-statement","original":"./parse.js"},{"path":"../../node_modules/.pnpm/smol-toml@1.5.2/node_modules/smol-toml/dist/stringify.js","kind":"import-statement","original":"./stringify.js"},{"path":"../../node_modules/.pnpm/smol-toml@1.5.2/node_modules/smol-toml/dist/date.js","kind":"import-statement","original":"./date.js"},{"path":"../../node_modules/.pnpm/smol-toml@1.5.2/node_modules/smol-toml/dist/error.js","kind":"import-statement","original":"./error.js"}],"format":"esm"},"../../node_modules/.pnpm/jsonc-parser@3.2.0/node_modules/jsonc-parser/lib/esm/impl/scanner.js":{"bytes":19188,"imports":[{"path":"<runtime>","kind":"import-statement","external":true}],"format":"esm"},"../../node_modules/.pnpm/jsonc-parser@3.2.0/node_modules/jsonc-parser/lib/esm/impl/format.js":{"bytes":10250,"imports":[{"path":"../../node_modules/.pnpm/jsonc-parser@3.2.0/node_modules/jsonc-parser/lib/esm/impl/scanner.js","kind":"import-statement","original":"./scanner"},{"path":"<runtime>","kind":"import-statement","external":true}],"format":"esm"},"../../node_modules/.pnpm/jsonc-parser@3.2.0/node_modules/jsonc-parser/lib/esm/impl/parser.js":{"bytes":24708,"imports":[{"path":"../../node_modules/.pnpm/jsonc-parser@3.2.0/node_modules/jsonc-parser/lib/esm/impl/scanner.js","kind":"import-statement","original":"./scanner"},{"path":"<runtime>","kind":"import-statement","external":true}],"format":"esm"},"../../node_modules/.pnpm/jsonc-parser@3.2.0/node_modules/jsonc-parser/lib/esm/impl/edit.js":{"bytes":8613,"imports":[{"path":"../../node_modules/.pnpm/jsonc-parser@3.2.0/node_modules/jsonc-parser/lib/esm/impl/format.js","kind":"import-statement","original":"./format"},{"path":"../../node_modules/.pnpm/jsonc-parser@3.2.0/node_modules/jsonc-parser/lib/esm/impl/parser.js","kind":"import-statement","original":"./parser"},{"path":"<runtime>","kind":"import-statement","external":true}],"format":"esm"},"../../node_modules/.pnpm/jsonc-parser@3.2.0/node_modules/jsonc-parser/lib/esm/main.js":{"bytes":9363,"imports":[{"path":"../../node_modules/.pnpm/jsonc-parser@3.2.0/node_modules/jsonc-parser/lib/esm/impl/format.js","kind":"import-statement","original":"./impl/format"},{"path":"../../node_modules/.pnpm/jsonc-parser@3.2.0/node_modules/jsonc-parser/lib/esm/impl/edit.js","kind":"import-statement","original":"./impl/edit"},{"path":"../../node_modules/.pnpm/jsonc-parser@3.2.0/node_modules/jsonc-parser/lib/esm/impl/scanner.js","kind":"import-statement","original":"./impl/scanner"},{"path":"../../node_modules/.pnpm/jsonc-parser@3.2.0/node_modules/jsonc-parser/lib/esm/impl/parser.js","kind":"import-statement","original":"./impl/parser"},{"path":"<runtime>","kind":"import-statement","external":true}],"format":"esm"},"src/errors.ts":{"bytes":2592,"imports":[{"path":"<runtime>","kind":"import-statement","external":true}],"format":"esm"},"src/parse.ts":{"bytes":9692,"imports":[{"path":"node:fs","kind":"import-statement","external":true},{"path":"node:path","kind":"import-statement","external":true},{"path":"../../node_modules/.pnpm/jsonc-parser@3.2.0/node_modules/jsonc-parser/lib/esm/main.js","kind":"import-statement","original":"jsonc-parser"},{"path":"../../node_modules/.pnpm/smol-toml@1.5.2/node_modules/smol-toml/dist/index.js","kind":"import-statement","original":"smol-toml"},{"path":"src/errors.ts","kind":"import-statement","original":"./errors"},{"path":"<runtime>","kind":"import-statement","external":true}],"format":"esm"},"../../node_modules/.pnpm/empathic@2.0.0/node_modules/empathic/resolve.mjs":{"bytes":971,"imports":[{"path":"node:module","kind":"import-statement","external":true},{"path":"node:path","kind":"import-statement","external":true},{"path":"node:url","kind":"import-statement","external":true},{"path":"<runtime>","kind":"import-statement","external":true}],"format":"esm"},"../../node_modules/.pnpm/empathic@2.0.0/node_modules/empathic/walk.mjs":{"bytes":535,"imports":[{"path":"node:path","kind":"import-statement","external":true},{"path":"../../node_modules/.pnpm/empathic@2.0.0/node_modules/empathic/resolve.mjs","kind":"import-statement","original":"empathic/resolve"},{"path":"<runtime>","kind":"import-statement","external":true}],"format":"esm"},"../../node_modules/.pnpm/empathic@2.0.0/node_modules/empathic/find.mjs":{"bytes":2033,"imports":[{"path":"node:path","kind":"import-statement","external":true},{"path":"node:fs","kind":"import-statement","external":true},{"path":"../../node_modules/.pnpm/empathic@2.0.0/node_modules/empathic/walk.mjs","kind":"import-statement","original":"empathic/walk"},{"path":"<runtime>","kind":"import-statement","external":true}],"format":"esm"},"../../node_modules/.pnpm/ts-dedent@2.2.0/node_modules/ts-dedent/esm/index.js":{"bytes":1634,"imports":[{"path":"<runtime>","kind":"import-statement","external":true}],"format":"esm"},"src/constants.ts":{"bytes":427,"imports":[],"format":"esm"},"src/config/config-helpers.ts":{"bytes":5252,"imports":[{"path":"node:fs","kind":"import-statement","external":true},{"path":"node:path","kind":"import-statement","external":true},{"path":"../../node_modules/.pnpm/empathic@2.0.0/node_modules/empathic/find.mjs","kind":"import-statement","original":"empathic/find"},{"path":"../../node_modules/.pnpm/ts-dedent@2.2.0/node_modules/ts-dedent/esm/index.js","kind":"import-statement","original":"ts-dedent"},{"path":"src/constants.ts","kind":"import-statement","original":"../constants"},{"path":"src/errors.ts","kind":"import-statement","original":"../errors"},{"path":"src/parse.ts","kind":"import-statement","original":"../parse"},{"path":"<runtime>","kind":"import-statement","external":true}],"format":"esm"},"src/config/index.ts":{"bytes":3449,"imports":[{"path":"../../node_modules/.pnpm/smol-toml@1.5.2/node_modules/smol-toml/dist/index.js","kind":"import-statement","original":"smol-toml"},{"path":"src/parse.ts","kind":"import-statement","original":"../parse"},{"path":"src/config/config-helpers.ts","kind":"import-statement","original":"./config-helpers"},{"path":"<runtime>","kind":"import-statement","external":true}],"format":"esm"},"src/config/patch-config.ts":{"bytes":3360,"imports":[{"path":"node:fs","kind":"import-statement","external":true},{"path":"../../node_modules/.pnpm/jsonc-parser@3.2.0/node_modules/jsonc-parser/lib/esm/main.js","kind":"import-statement","original":"jsonc-parser"},{"path":"../../node_modules/.pnpm/smol-toml@1.5.2/node_modules/smol-toml/dist/index.js","kind":"import-statement","original":"smol-toml"},{"path":"src/parse.ts","kind":"import-statement","original":"../parse"},{"path":"<runtime>","kind":"import-statement","external":true}],"format":"esm"},"src/worker.ts":{"bytes":10150,"imports":[],"format":"esm"},"src/types.ts":{"bytes":19589,"imports":[],"format":"esm"},"../../node_modules/.pnpm/itty-time@2.0.2/node_modules/itty-time/index.mjs":{"bytes":505,"imports":[{"path":"<runtime>","kind":"import-statement","external":true}],"format":"esm"},"../../node_modules/.pnpm/zod@3.22.3/node_modules/zod/lib/index.mjs":{"bytes":139434,"imports":[{"path":"<runtime>","kind":"import-statement","external":true}],"format":"esm"},"../workflows-shared/src/lib/validators.ts":{"bytes":2050,"imports":[{"path":"../../node_modules/.pnpm/itty-time@2.0.2/node_modules/itty-time/index.mjs","kind":"import-statement","original":"itty-time"},{"path":"../../node_modules/.pnpm/zod@3.22.3/node_modules/zod/lib/index.mjs","kind":"import-statement","original":"zod"},{"path":"<runtime>","kind":"import-statement","external":true}],"format":"esm"},"../../node_modules/.pnpm/xdg-app-paths@8.3.0/node_modules/xdg-app-paths/dist/cjs/lib/XDGAppPaths.js":{"bytes":7763,"imports":[{"path":"<runtime>","kind":"import-statement","external":true}],"format":"cjs"},"../../node_modules/.pnpm/xdg-portable@10.6.0/node_modules/xdg-portable/dist/cjs/lib/XDG.js":{"bytes":9611,"imports":[{"path":"<runtime>","kind":"import-statement","external":true}],"format":"cjs"},"../../node_modules/.pnpm/os-paths@7.4.0/node_modules/os-paths/dist/cjs/lib/OSPaths.js":{"bytes":7979,"imports":[{"path":"<runtime>","kind":"import-statement","external":true}],"format":"cjs"},"../../node_modules/.pnpm/os-paths@7.4.0/node_modules/os-paths/dist/cjs/platform-adapters/node.js":{"bytes":1787,"imports":[{"path":"os","kind":"require-call","external":true},{"path":"path","kind":"require-call","external":true},{"path":"<runtime>","kind":"import-statement","external":true}],"format":"cjs"},"../../node_modules/.pnpm/os-paths@7.4.0/node_modules/os-paths/dist/cjs/mod.cjs.js":{"bytes":484,"imports":[{"path":"../../node_modules/.pnpm/os-paths@7.4.0/node_modules/os-paths/dist/cjs/lib/OSPaths.js","kind":"require-call","original":"./lib/OSPaths.js"},{"path":"../../node_modules/.pnpm/os-paths@7.4.0/node_modules/os-paths/dist/cjs/platform-adapters/node.js","kind":"require-call","original":"./platform-adapters/node.js"}],"format":"cjs"},"../../node_modules/.pnpm/xdg-portable@10.6.0/node_modules/xdg-portable/dist/cjs/platform-adapters/node.js":{"bytes":1971,"imports":[{"path":"path","kind":"require-call","external":true},{"path":"../../node_modules/.pnpm/os-paths@7.4.0/node_modules/os-paths/dist/cjs/mod.cjs.js","kind":"require-call","original":"os-paths"},{"path":"<runtime>","kind":"import-statement","external":true}],"format":"cjs"},"../../node_modules/.pnpm/xdg-portable@10.6.0/node_modules/xdg-portable/dist/cjs/mod.cjs.js":{"bytes":464,"imports":[{"path":"../../node_modules/.pnpm/xdg-portable@10.6.0/node_modules/xdg-portable/dist/cjs/lib/XDG.js","kind":"require-call","original":"./lib/XDG.js"},{"path":"../../node_modules/.pnpm/xdg-portable@10.6.0/node_modules/xdg-portable/dist/cjs/platform-adapters/node.js","kind":"require-call","original":"./platform-adapters/node.js"}],"format":"cjs"},"../../node_modules/.pnpm/xdg-app-paths@8.3.0/node_modules/xdg-app-paths/dist/cjs/platform-adapters/node.js":{"bytes":3254,"imports":[{"path":"path","kind":"require-call","external":true},{"path":"../../node_modules/.pnpm/xdg-portable@10.6.0/node_modules/xdg-portable/dist/cjs/mod.cjs.js","kind":"require-call","original":"xdg-portable"},{"path":"<runtime>","kind":"import-statement","external":true}],"format":"cjs"},"../../node_modules/.pnpm/xdg-app-paths@8.3.0/node_modules/xdg-app-paths/dist/cjs/mod.cjs.js":{"bytes":500,"imports":[{"path":"../../node_modules/.pnpm/xdg-app-paths@8.3.0/node_modules/xdg-app-paths/dist/cjs/lib/XDGAppPaths.js","kind":"require-call","original":"./lib/XDGAppPaths.js"},{"path":"../../node_modules/.pnpm/xdg-app-paths@8.3.0/node_modules/xdg-app-paths/dist/cjs/platform-adapters/node.js","kind":"require-call","original":"./platform-adapters/node.js"}],"format":"cjs"},"../../node_modules/.pnpm/xdg-app-paths@8.3.0/node_modules/xdg-app-paths/dist/cjs/esm-wrapper/mod.esm.js":{"bytes":148,"imports":[{"path":"../../node_modules/.pnpm/xdg-app-paths@8.3.0/node_modules/xdg-app-paths/dist/cjs/mod.cjs.js","kind":"import-statement","original":"../mod.cjs.js"},{"path":"../../node_modules/.pnpm/xdg-app-paths@8.3.0/node_modules/xdg-app-paths/dist/cjs/mod.cjs.js","kind":"import-statement","original":"../mod.cjs.js"}],"format":"esm"},"src/fs-helpers.ts":{"bytes":2580,"imports":[{"path":"node:fs","kind":"import-statement","external":true},{"path":"<runtime>","kind":"import-statement","external":true}],"format":"esm"},"src/global-wrangler-config-path.ts":{"bytes":1906,"imports":[{"path":"node:os","kind":"import-statement","external":true},{"path":"node:path","kind":"import-statement","external":true},{"path":"../../node_modules/.pnpm/xdg-app-paths@8.3.0/node_modules/xdg-app-paths/dist/cjs/esm-wrapper/mod.esm.js","kind":"import-statement","original":"xdg-app-paths"},{"path":"src/fs-helpers.ts","kind":"import-statement","original":"./fs-helpers"},{"path":"<runtime>","kind":"import-statement","external":true}],"format":"esm"},"src/environment-variables/factory.ts":{"bytes":10999,"imports":[{"path":"src/errors.ts","kind":"import-statement","original":"../errors"},{"path":"<runtime>","kind":"import-statement","external":true}],"format":"esm"},"src/environment-variables/misc-variables.ts":{"bytes":14256,"imports":[{"path":"node:path","kind":"import-statement","external":true},{"path":"../../node_modules/.pnpm/ts-dedent@2.2.0/node_modules/ts-dedent/esm/index.js","kind":"import-statement","original":"ts-dedent"},{"path":"src/errors.ts","kind":"import-statement","original":"../errors"},{"path":"src/global-wrangler-config-path.ts","kind":"import-statement","original":"../global-wrangler-config-path"},{"path":"src/environment-variables/factory.ts","kind":"import-statement","original":"./factory"},{"path":"<runtime>","kind":"import-statement","external":true}],"format":"esm"},"src/config/diagnostics.ts":{"bytes":2606,"imports":[{"path":"<runtime>","kind":"import-statement","external":true}],"format":"esm"},"src/config/validation-helpers.ts":{"bytes":19739,"imports":[{"path":"<runtime>","kind":"import-statement","external":true}],"format":"esm"},"src/config/validation.ts":{"bytes":157368,"imports":[{"path":"node:assert","kind":"import-statement","external":true},{"path":"node:fs","kind":"import-statement","external":true},{"path":"node:path","kind":"import-statement","external":true},{"path":"../workflows-shared/src/lib/validators.ts","kind":"import-statement","original":"@cloudflare/workflows-shared/src/lib/validators"},{"path":"../../node_modules/.pnpm/ts-dedent@2.2.0/node_modules/ts-dedent/esm/index.js","kind":"import-statement","original":"ts-dedent"},{"path":"src/environment-variables/misc-variables.ts","kind":"import-statement","original":"../environment-variables/misc-variables"},{"path":"src/errors.ts","kind":"import-statement","original":"../errors"},{"path":"src/fs-helpers.ts","kind":"import-statement","original":"../fs-helpers"},{"path":"src/config/config-helpers.ts","kind":"import-statement","original":"./config-helpers"},{"path":"src/config/diagnostics.ts","kind":"import-statement","original":"./diagnostics"},{"path":"src/config/validation-helpers.ts","kind":"import-statement","original":"./validation-helpers"},{"path":"src/config/index.ts","kind":"import-statement","original":"."},{"path":"<runtime>","kind":"import-statement","external":true}],"format":"esm"},"src/config/binding-local-support.ts":{"bytes":3081,"imports":[{"path":"<runtime>","kind":"import-statement","external":true}],"format":"esm"},"src/config/validation-pages.ts":{"bytes":5938,"imports":[{"path":"src/errors.ts","kind":"import-statement","original":"../errors"},{"path":"src/config/config.ts","kind":"import-statement","original":"./config"},{"path":"src/config/diagnostics.ts","kind":"import-statement","original":"./diagnostics"},{"path":"src/config/validation-helpers.ts","kind":"import-statement","original":"./validation-helpers"},{"path":"<runtime>","kind":"import-statement","external":true}],"format":"esm"},"../../node_modules/.pnpm/signal-exit@3.0.7/node_modules/signal-exit/signals.js":{"bytes":1295,"imports":[],"format":"cjs"},"../../node_modules/.pnpm/signal-exit@3.0.7/node_modules/signal-exit/index.js":{"bytes":5708,"imports":[{"path":"assert","kind":"require-call","external":true},{"path":"../../node_modules/.pnpm/signal-exit@3.0.7/node_modules/signal-exit/signals.js","kind":"require-call","original":"./signals.js"},{"path":"events","kind":"require-call","external":true},{"path":"<runtime>","kind":"import-statement","external":true}],"format":"cjs"},"src/wrangler-tmp-dir.ts":{"bytes":2977,"imports":[{"path":"node:fs","kind":"import-statement","external":true},{"path":"node:path","kind":"import-statement","external":true},{"path":"../../node_modules/.pnpm/signal-exit@3.0.7/node_modules/signal-exit/index.js","kind":"import-statement","original":"signal-exit"},{"path":"src/fs-helpers.ts","kind":"import-statement","original":"./fs-helpers"},{"path":"<runtime>","kind":"import-statement","external":true}],"format":"esm"},"src/prometheus-metrics.ts":{"bytes":2014,"imports":[{"path":"<runtime>","kind":"import-statement","external":true}],"format":"esm"},"../../node_modules/.pnpm/command-exists@1.2.9/node_modules/command-exists/lib/command-exists.js":{"bytes":4450,"imports":[{"path":"child_process","kind":"require-call","external":true},{"path":"child_process","kind":"require-call","external":true},{"path":"fs","kind":"require-call","external":true},{"path":"path","kind":"require-call","external":true},{"path":"<runtime>","kind":"import-statement","external":true}],"format":"cjs"},"../../node_modules/.pnpm/command-exists@1.2.9/node_modules/command-exists/index.js":{"bytes":50,"imports":[{"path":"../../node_modules/.pnpm/command-exists@1.2.9/node_modules/command-exists/lib/command-exists.js","kind":"require-call","original":"./lib/command-exists"}],"format":"cjs"},"src/cloudflared.ts":{"bytes":22311,"imports":[{"path":"node:child_process","kind":"import-statement","external":true},{"path":"node:crypto","kind":"import-statement","external":true},{"path":"node:fs","kind":"import-statement","external":true},{"path":"node:os","kind":"import-statement","external":true},{"path":"node:path","kind":"import-statement","external":true},{"path":"../../node_modules/.pnpm/command-exists@1.2.9/node_modules/command-exists/index.js","kind":"import-statement","original":"command-exists"},{"path":"undici","kind":"import-statement","external":true},{"path":"src/environment-variables/misc-variables.ts","kind":"import-statement","original":"./environment-variables/misc-variables"},{"path":"src/errors.ts","kind":"import-statement","original":"./errors"},{"path":"src/fs-helpers.ts","kind":"import-statement","original":"./fs-helpers"},{"path":"src/global-wrangler-config-path.ts","kind":"import-statement","original":"./global-wrangler-config-path"},{"path":"<runtime>","kind":"import-statement","external":true}],"format":"esm"},"src/tunnel.ts":{"bytes":8650,"imports":[{"path":"src/cloudflared.ts","kind":"import-statement","original":"./cloudflared"},{"path":"src/errors.ts","kind":"import-statement","original":"./errors"},{"path":"<runtime>","kind":"import-statement","external":true}],"format":"esm"},"src/cfetch/errors.ts":{"bytes":697,"imports":[{"path":"src/parse.ts","kind":"import-statement","original":"../parse"},{"path":"<runtime>","kind":"import-statement","external":true}],"format":"esm"},"src/cfetch/index.ts":{"bytes":14339,"imports":[{"path":"node:assert","kind":"import-statement","external":true},{"path":"node:url","kind":"import-statement","external":true},{"path":"undici","kind":"import-statement","external":true},{"path":"src/environment-variables/misc-variables.ts","kind":"import-statement","original":"../environment-variables/misc-variables"},{"path":"src/errors.ts","kind":"import-statement","original":"../errors"},{"path":"src/parse.ts","kind":"import-statement","original":"../parse"},{"path":"src/cfetch/errors.ts","kind":"import-statement","original":"./errors"},{"path":"<runtime>","kind":"import-statement","external":true}],"format":"esm"},"../../node_modules/.pnpm/ini@1.3.8/node_modules/ini/ini.js":{"bytes":4976,"imports":[{"path":"<runtime>","kind":"import-statement","external":true}],"format":"cjs"},"../../node_modules/.pnpm/strip-json-comments@2.0.1/node_modules/strip-json-comments/index.js":{"bytes":1700,"imports":[{"path":"<runtime>","kind":"import-statement","external":true}],"format":"cjs"},"../../node_modules/.pnpm/rc@1.2.8/node_modules/rc/lib/utils.js":{"bytes":2759,"imports":[{"path":"fs","kind":"require-call","external":true},{"path":"../../node_modules/.pnpm/ini@1.3.8/node_modules/ini/ini.js","kind":"require-call","original":"ini"},{"path":"path","kind":"require-call","external":true},{"path":"../../node_modules/.pnpm/strip-json-comments@2.0.1/node_modules/strip-json-comments/index.js","kind":"require-call","original":"strip-json-comments"},{"path":"<runtime>","kind":"import-statement","external":true}],"format":"cjs"},"../../node_modules/.pnpm/deep-extend@0.6.0/node_modules/deep-extend/lib/deep-extend.js":{"bytes":4293,"imports":[{"path":"<runtime>","kind":"import-statement","external":true}],"format":"cjs"},"../../node_modules/.pnpm/minimist@1.2.6/node_modules/minimist/index.js":{"bytes":7807,"imports":[{"path":"<runtime>","kind":"import-statement","external":true}],"format":"cjs"},"../../node_modules/.pnpm/rc@1.2.8/node_modules/rc/index.js":{"bytes":1503,"imports":[{"path":"../../node_modules/.pnpm/rc@1.2.8/node_modules/rc/lib/utils.js","kind":"require-call","original":"./lib/utils"},{"path":"path","kind":"require-call","external":true},{"path":"../../node_modules/.pnpm/deep-extend@0.6.0/node_modules/deep-extend/lib/deep-extend.js","kind":"require-call","original":"deep-extend"},{"path":"../../node_modules/.pnpm/minimist@1.2.6/node_modules/minimist/index.js","kind":"require-call","original":"minimist"},{"path":"<runtime>","kind":"import-statement","external":true}],"format":"cjs"},"../../node_modules/.pnpm/registry-url@3.1.0/node_modules/registry-url/index.js":{"bytes":228,"imports":[{"path":"../../node_modules/.pnpm/rc@1.2.8/node_modules/rc/index.js","kind":"require-call","original":"rc"}],"format":"cjs"},"../../node_modules/.pnpm/safe-buffer@5.2.1/node_modules/safe-buffer/index.js":{"bytes":1670,"imports":[{"path":"buffer","kind":"require-call","external":true},{"path":"<runtime>","kind":"import-statement","external":true}],"format":"cjs"},"../../node_modules/.pnpm/registry-auth-token@3.3.2/node_modules/registry-auth-token/base64.js":{"bytes":322,"imports":[{"path":"../../node_modules/.pnpm/safe-buffer@5.2.1/node_modules/safe-buffer/index.js","kind":"require-call","original":"safe-buffer"},{"path":"<runtime>","kind":"import-statement","external":true}],"format":"cjs"},"../../node_modules/.pnpm/registry-auth-token@3.3.2/node_modules/registry-auth-token/index.js":{"bytes":3203,"imports":[{"path":"url","kind":"require-call","external":true},{"path":"../../node_modules/.pnpm/registry-auth-token@3.3.2/node_modules/registry-auth-token/base64.js","kind":"require-call","original":"./base64"},{"path":"../../node_modules/.pnpm/rc@1.2.8/node_modules/rc/index.js","kind":"require-call","original":"rc"},{"path":"<runtime>","kind":"import-statement","external":true}],"format":"cjs"},"../../node_modules/.pnpm/update-check@1.5.4/node_modules/update-check/index.js":{"bytes":4426,"imports":[{"path":"url","kind":"require-call","external":true},{"path":"path","kind":"require-call","external":true},{"path":"fs","kind":"require-call","external":true},{"path":"util","kind":"require-call","external":true},{"path":"os","kind":"require-call","external":true},{"path":"../../node_modules/.pnpm/registry-url@3.1.0/node_modules/registry-url/index.js","kind":"require-call","original":"registry-url"},{"path":"https","kind":"require-call","external":true},{"path":"http","kind":"require-call","external":true},{"path":"../../node_modules/.pnpm/registry-auth-token@3.3.2/node_modules/registry-auth-token/index.js","kind":"require-call","original":"registry-auth-token"},{"path":"<runtime>","kind":"import-statement","external":true}],"format":"cjs"},"src/update-check.ts":{"bytes":2303,"imports":[{"path":"node:timers/promises","kind":"import-statement","external":true},{"path":"../../node_modules/.pnpm/update-check@1.5.4/node_modules/update-check/index.js","kind":"import-statement","original":"update-check"},{"path":"<runtime>","kind":"import-statement","external":true}],"format":"esm"},"src/logger.ts":{"bytes":557,"imports":[],"format":"esm"},"src/retry.ts":{"bytes":1045,"imports":[{"path":"node:timers/promises","kind":"import-statement","external":true},{"path":"src/parse.ts","kind":"import-statement","original":"./parse"},{"path":"<runtime>","kind":"import-statement","external":true}],"format":"esm"},"src/format-time.ts":{"bytes":106,"imports":[{"path":"<runtime>","kind":"import-statement","external":true}],"format":"esm"},"src/route-utils.ts":{"bytes":2919,"imports":[{"path":"<runtime>","kind":"import-statement","external":true}],"format":"esm"},"src/package-manager.ts":{"bytes":1287,"imports":[],"format":"esm"},"src/worker-name.ts":{"bytes":4368,"imports":[{"path":"node:path","kind":"import-statement","external":true},{"path":"src/environment-variables/misc-variables.ts","kind":"import-statement","original":"./environment-variables/misc-variables"},{"path":"src/parse.ts","kind":"import-statement","original":"./parse"},{"path":"<runtime>","kind":"import-statement","external":true}],"format":"esm"},"src/index.ts":{"bytes":3545,"imports":[{"path":"src/config/environment.ts","kind":"import-statement","original":"./config/environment"},{"path":"src/config/config.ts","kind":"import-statement","original":"./config/config"},{"path":"src/config/index.ts","kind":"import-statement","original":"./config"},{"path":"src/config/patch-config.ts","kind":"import-statement","original":"./config/patch-config"},{"path":"src/worker.ts","kind":"import-statement","original":"./worker"},{"path":"src/types.ts","kind":"import-statement","original":"./types"},{"path":"src/parse.ts","kind":"import-statement","original":"./parse"},{"path":"src/config/validation.ts","kind":"import-statement","original":"./config/validation"},{"path":"src/config/binding-local-support.ts","kind":"import-statement","original":"./config/binding-local-support"},{"path":"src/config/validation-pages.ts","kind":"import-statement","original":"./config/validation-pages"},{"path":"src/config/diagnostics.ts","kind":"import-statement","original":"./config/diagnostics"},{"path":"src/config/validation-helpers.ts","kind":"import-statement","original":"./config/validation-helpers"},{"path":"src/config/config-helpers.ts","kind":"import-statement","original":"./config/config-helpers"},{"path":"src/errors.ts","kind":"import-statement","original":"./errors"},{"path":"src/assert-never.ts","kind":"import-statement","original":"./assert-never"},{"path":"src/constants.ts","kind":"import-statement","original":"./constants"},{"path":"src/map-worker-metadata-bindings.ts","kind":"import-statement","original":"./map-worker-metadata-bindings"},{"path":"src/construct-wrangler-config.ts","kind":"import-statement","original":"./construct-wrangler-config"},{"path":"src/environment-variables/factory.ts","kind":"import-statement","original":"./environment-variables/factory"},{"path":"src/environment-variables/misc-variables.ts","kind":"import-statement","original":"./environment-variables/misc-variables"},{"path":"src/global-wrangler-config-path.ts","kind":"import-statement","original":"./global-wrangler-config-path"},{"path":"src/compatibility-date.ts","kind":"import-statement","original":"./compatibility-date"},{"path":"src/config/validation.ts","kind":"import-statement","original":"./config/validation"},{"path":"src/fs-helpers.ts","kind":"import-statement","original":"./fs-helpers"},{"path":"src/wrangler-tmp-dir.ts","kind":"import-statement","original":"./wrangler-tmp-dir"},{"path":"src/prometheus-metrics.ts","kind":"import-statement","original":"./prometheus-metrics"},{"path":"src/tunnel.ts","kind":"import-statement","original":"./tunnel"},{"path":"src/cloudflared.ts","kind":"import-statement","original":"./cloudflared"},{"path":"src/cfetch/index.ts","kind":"import-statement","original":"./cfetch"},{"path":"src/update-check.ts","kind":"import-statement","original":"./update-check"},{"path":"src/logger.ts","kind":"import-statement","original":"./logger"},{"path":"src/retry.ts","kind":"import-statement","original":"./retry"},{"path":"src/format-time.ts","kind":"import-statement","original":"./format-time"},{"path":"src/route-utils.ts","kind":"import-statement","original":"./route-utils"},{"path":"src/package-manager.ts","kind":"import-statement","original":"./package-manager"},{"path":"src/worker-name.ts","kind":"import-statement","original":"./worker-name"}],"format":"esm"},"src/test-helpers/normalize.ts":{"bytes":3274,"imports":[{"path":"<runtime>","kind":"import-statement","external":true}],"format":"esm"},"src/test-helpers/mock.ts":{"bytes":2796,"imports":[{"path":"node:util","kind":"import-statement","external":true},{"path":"vitest","kind":"import-statement","external":true},{"path":"src/test-helpers/normalize.ts","kind":"import-statement","original":"./normalize"},{"path":"<runtime>","kind":"import-statement","external":true}],"format":"esm"},"src/test-helpers/run-in-tmp.ts":{"bytes":1085,"imports":[{"path":"node:fs","kind":"import-statement","external":true},{"path":"node:os","kind":"import-statement","external":true},{"path":"node:path","kind":"import-statement","external":true},{"path":"vitest","kind":"import-statement","external":true},{"path":"src/fs-helpers.ts","kind":"import-statement","original":"../fs-helpers"},{"path":"<runtime>","kind":"import-statement","external":true}],"format":"esm"},"src/test-helpers/seed.ts":{"bytes":500,"imports":[{"path":"node:fs/promises","kind":"import-statement","external":true},{"path":"node:path","kind":"import-statement","external":true},{"path":"<runtime>","kind":"import-statement","external":true}],"format":"esm"},"src/test-helpers/wrangler-config.ts":{"bytes":1835,"imports":[{"path":"node:fs","kind":"import-statement","external":true},{"path":"node:path","kind":"import-statement","external":true},{"path":"src/config/index.ts","kind":"import-statement","original":"../config"},{"path":"src/constants.ts","kind":"import-statement","original":"../constants"},{"path":"src/parse.ts","kind":"import-statement","original":"../parse"},{"path":"<runtime>","kind":"import-statement","external":true}],"format":"esm"},"src/test-helpers/index.ts":{"bytes":409,"imports":[{"path":"src/test-helpers/mock.ts","kind":"import-statement","original":"./mock"},{"path":"src/test-helpers/normalize.ts","kind":"import-statement","original":"./normalize"},{"path":"src/test-helpers/run-in-tmp.ts","kind":"import-statement","original":"./run-in-tmp"},{"path":"src/test-helpers/seed.ts","kind":"import-statement","original":"./seed"},{"path":"src/test-helpers/wrangler-config.ts","kind":"import-statement","original":"./wrangler-config"}],"format":"esm"}},"outputs":{"dist/browser.mjs":{"imports":[{"path":"dist/chunk-J6D57QVQ.mjs","kind":"import-statement"},{"path":"dist/chunk-DCOBXSFB.mjs","kind":"import-statement"}],"exports":["constructWranglerConfig"],"entryPoint":"src/browser.ts","inputs":{"src/browser.ts":{"bytesInOutput":0}},"bytes":135},"dist/index.mjs":{"imports":[{"path":"dist/chunk-J6D57QVQ.mjs","kind":"import-statement"},{"path":"dist/chunk-O4YGOZSW.mjs","kind":"import-statement"},{"path":"dist/chunk-ULVYGN52.mjs","kind":"import-statement"},{"path":"dist/chunk-DCOBXSFB.mjs","kind":"import-statement"},{"path":"os","kind":"require-call","external":true},{"path":"path","kind":"require-call","external":true},{"path":"path","kind":"require-call","external":true},{"path":"path","kind":"require-call","external":true},{"path":"assert","kind":"require-call","external":true},{"path":"events","kind":"require-call","external":true},{"path":"child_process","kind":"require-call","external":true},{"path":"child_process","kind":"require-call","external":true},{"path":"fs","kind":"require-call","external":true},{"path":"path","kind":"require-call","external":true},{"path":"fs","kind":"require-call","external":true},{"path":"path","kind":"require-call","external":true},{"path":"path","kind":"require-call","external":true},{"path":"buffer","kind":"require-call","external":true},{"path":"url","kind":"require-call","external":true},{"path":"url","kind":"require-call","external":true},{"path":"path","kind":"require-call","external":true},{"path":"fs","kind":"require-call","external":true},{"path":"util","kind":"require-call","external":true},{"path":"os","kind":"require-call","external":true},{"path":"https","kind":"require-call","external":true},{"path":"http","kind":"require-call","external":true},{"path":"node:fs","kind":"import-statement","external":true},{"path":"node:assert","kind":"import-statement","external":true},{"path":"node:fs","kind":"import-statement","external":true},{"path":"node:path","kind":"import-statement","external":true},{"path":"node:path","kind":"import-statement","external":true},{"path":"node:os","kind":"import-statement","external":true},{"path":"node:path","kind":"import-statement","external":true},{"path":"node:fs","kind":"import-statement","external":true},{"path":"node:path","kind":"import-statement","external":true},{"path":"node:child_process","kind":"import-statement","external":true},{"path":"node:crypto","kind":"import-statement","external":true},{"path":"node:fs","kind":"import-statement","external":true},{"path":"node:os","kind":"import-statement","external":true},{"path":"node:path","kind":"import-statement","external":true},{"path":"undici","kind":"import-statement","external":true},{"path":"node:assert","kind":"import-statement","external":true},{"path":"node:url","kind":"import-statement","external":true},{"path":"undici","kind":"import-statement","external":true},{"path":"node:timers/promises","kind":"import-statement","external":true},{"path":"node:timers/promises","kind":"import-statement","external":true},{"path":"node:path","kind":"import-statement","external":true}],"exports":["APIError","BunPackageManager","COMPLIANCE_REGION_CONFIG_PUBLIC","COMPLIANCE_REGION_CONFIG_UNKNOWN","CommandLineArgsError","DeprecationError","Diagnostics","ENVIRONMENT_TAG_PREFIX","FatalError","INHERIT_SYMBOL","JSON_CONFIG_FORMATS","JsonFriendlyFatalError","LOGGER_LEVELS","MetricsRegistry","MissingConfigError","NpmPackageManager","PATH_TO_DEPLOY_CONFIG","ParseError","PatchConfigError","PnpmPackageManager","SERVICE_TAG_PREFIX","UserError","YarnPackageManager","addAuthorizationHeader","assertNever","bucketFormatMessage","checkWorkerNameValidity","configFileName","configFormat","constructWranglerConfig","createFatalError","defaultWranglerConfig","experimental_patchConfig","experimental_readRawConfig","extractAccountTag","extractWAFBlockRayId","fetchInternalBase","fetchKVGetValueBase","fetchLatestNpmVersion","fetchListResultBase","fetchResultBase","findWranglerConfig","formatConfigSnippet","formatTime","friendlyBindingNames","getBindingLocalSupport","getBindingTypeFriendlyName","getBooleanEnvironmentVariableFactory","getBrowserRenderingHeadfulFromEnv","getBuildConditionsFromEnv","getBuildPlatformFromEnv","getC3CommandFromEnv","getCIGeneratePreviewAlias","getCIMatchTag","getCIOverrideName","getCIOverrideNetworkModeHost","getCfFetchEnabledFromEnv","getCfFetchPathFromEnv","getCloudflareApiBaseUrl","getCloudflareApiEnvironmentFromEnv","getCloudflareComplianceRegion","getCloudflareEnv","getCloudflareIncludeProcessEnvFromEnv","getCloudflareLoadDevVarsFromDotEnv","getCloudflaredPathFromEnv","getComplianceRegionSubdomain","getD1ExtraLocationChoices","getDisableConfigWatching","getDockerPath","getEnvironmentVariableFactory","getGlobalConfigPath","getGlobalWranglerConfigPath","getHostFromRoute","getHostFromUrl","getLocalExplorerEnabledFromEnv","getOpenNextDeployFromEnv","getOutputFileDirectoryFromEnv","getOutputFilePathFromEnv","getRegistryPath","getSanitizeLogs","getSubdomainMixedStateCheckDisabled","getTodaysCompatDate","getTraceHeader","getWorkerName","getWorkerNameFromProject","getWorkersCIBranchName","getWranglerCacheDirFromEnv","getWranglerHiddenDirPath","getWranglerHideBanner","getWranglerSendErrorReportsFromEnv","getWranglerSendMetricsFromEnv","getWranglerTmpDir","getZoneFromRoute","hasCursor","hasMorePages","hasProperty","indexLocation","isCompatDate","isDirectory","isDockerfile","isOptionalProperty","isPagesConfig","isRedirectedConfig","isRequiredProperty","isValidR2BucketName","isWAFBlockResponse","mapWorkerMetadataBindings","maybeAddTraceHeader","normalizeAndValidateConfig","parseByteSize","parseHumanDuration","parseJSON","parseJSONC","parseNonHyphenedUuid","parsePackageJSON","parseTOML","performApiFetchBase","readFileSync","readFileSyncToBuffer","removeDir","removeDirSync","renderError","resolveWranglerConfigPath","retryOnAPIFailure","searchLocation","spawnCloudflared","startTunnel","sweepStaleWranglerTmpDirs","throwFetchError","toValidWorkerName","truncate","validatePagesConfig"],"entryPoint":"src/index.ts","inputs":{"../../node_modules/.pnpm/xdg-app-paths@8.3.0/node_modules/xdg-app-paths/dist/cjs/lib/XDGAppPaths.js":{"bytesInOutput":4302},"../../node_modules/.pnpm/xdg-portable@10.6.0/node_modules/xdg-portable/dist/cjs/lib/XDG.js":{"bytesInOutput":5184},"../../node_modules/.pnpm/os-paths@7.4.0/node_modules/os-paths/dist/cjs/lib/OSPaths.js":{"bytesInOutput":4128},"../../node_modules/.pnpm/os-paths@7.4.0/node_modules/os-paths/dist/cjs/platform-adapters/node.js":{"bytesInOutput":1544},"../../node_modules/.pnpm/os-paths@7.4.0/node_modules/os-paths/dist/cjs/mod.cjs.js":{"bytesInOutput":312},"../../node_modules/.pnpm/xdg-portable@10.6.0/node_modules/xdg-portable/dist/cjs/platform-adapters/node.js":{"bytesInOutput":1739},"../../node_modules/.pnpm/xdg-portable@10.6.0/node_modules/xdg-portable/dist/cjs/mod.cjs.js":{"bytesInOutput":307},"../../node_modules/.pnpm/xdg-app-paths@8.3.0/node_modules/xdg-app-paths/dist/cjs/platform-adapters/node.js":{"bytesInOutput":2291},"../../node_modules/.pnpm/xdg-app-paths@8.3.0/node_modules/xdg-app-paths/dist/cjs/mod.cjs.js":{"bytesInOutput":340},"../../node_modules/.pnpm/signal-exit@3.0.7/node_modules/signal-exit/signals.js":{"bytesInOutput":791},"../../node_modules/.pnpm/signal-exit@3.0.7/node_modules/signal-exit/index.js":{"bytesInOutput":5367},"../../node_modules/.pnpm/command-exists@1.2.9/node_modules/command-exists/lib/command-exists.js":{"bytesInOutput":5235},"../../node_modules/.pnpm/command-exists@1.2.9/node_modules/command-exists/index.js":{"bytesInOutput":222},"../../node_modules/.pnpm/ini@1.3.8/node_modules/ini/ini.js":{"bytesInOutput":5248},"../../node_modules/.pnpm/strip-json-comments@2.0.1/node_modules/strip-json-comments/index.js":{"bytesInOutput":2342},"../../node_modules/.pnpm/rc@1.2.8/node_modules/rc/lib/utils.js":{"bytesInOutput":2416},"../../node_modules/.pnpm/deep-extend@0.6.0/node_modules/deep-extend/lib/deep-extend.js":{"bytesInOutput":2890},"../../node_modules/.pnpm/minimist@1.2.6/node_modules/minimist/index.js":{"bytesInOutput":7513},"../../node_modules/.pnpm/rc@1.2.8/node_modules/rc/index.js":{"bytesInOutput":1849},"../../node_modules/.pnpm/registry-url@3.1.0/node_modules/registry-url/index.js":{"bytesInOutput":405},"../../node_modules/.pnpm/safe-buffer@5.2.1/node_modules/safe-buffer/index.js":{"bytesInOutput":1877},"../../node_modules/.pnpm/registry-auth-token@3.3.2/node_modules/registry-auth-token/base64.js":{"bytesInOutput":595},"../../node_modules/.pnpm/registry-auth-token@3.3.2/node_modules/registry-auth-token/index.js":{"bytesInOutput":3560},"../../node_modules/.pnpm/update-check@1.5.4/node_modules/update-check/index.js":{"bytesInOutput":5300},"src/index.ts":{"bytesInOutput":0},"src/config/config.ts":{"bytesInOutput":3346},"src/config/patch-config.ts":{"bytesInOutput":1912},"src/config/validation.ts":{"bytesInOutput":149461},"../../node_modules/.pnpm/itty-time@2.0.2/node_modules/itty-time/index.mjs":{"bytesInOutput":135},"../../node_modules/.pnpm/zod@3.22.3/node_modules/zod/lib/index.mjs":{"bytesInOutput":113408},"../workflows-shared/src/lib/validators.ts":{"bytesInOutput":863},"src/environment-variables/misc-variables.ts":{"bytesInOutput":6100},"src/global-wrangler-config-path.ts":{"bytesInOutput":664},"../../node_modules/.pnpm/xdg-app-paths@8.3.0/node_modules/xdg-app-paths/dist/cjs/esm-wrapper/mod.esm.js":{"bytesInOutput":251},"src/environment-variables/factory.ts":{"bytesInOutput":1924},"src/config/diagnostics.ts":{"bytesInOutput":2250},"src/config/validation-helpers.ts":{"bytesInOutput":12493},"src/config/binding-local-support.ts":{"bytesInOutput":2113},"src/config/validation-pages.ts":{"bytesInOutput":4503},"src/wrangler-tmp-dir.ts":{"bytesInOutput":1782},"src/cloudflared.ts":{"bytesInOutput":16974},"src/tunnel.ts":{"bytesInOutput":7965},"src/cfetch/index.ts":{"bytesInOutput":11713},"src/cfetch/errors.ts":{"bytesInOutput":624},"src/update-check.ts":{"bytesInOutput":877},"src/logger.ts":{"bytesInOutput":92},"src/retry.ts":{"bytesInOutput":851},"src/format-time.ts":{"bytesInOutput":117},"src/route-utils.ts":{"bytesInOutput":1041},"src/package-manager.ts":{"bytesInOutput":453},"src/worker-name.ts":{"bytesInOutput":1946}},"bytes":418530},"dist/chunk-J6D57QVQ.mjs":{"imports":[{"path":"dist/chunk-DCOBXSFB.mjs","kind":"import-statement"},{"path":"node:assert","kind":"import-statement","external":true}],"exports":["assertNever","constructWranglerConfig","getTodaysCompatDate","isCompatDate","mapWorkerMetadataBindings"],"inputs":{"src/compatibility-date.ts":{"bytesInOutput":508},"src/assert-never.ts":{"bytesInOutput":69},"src/map-worker-metadata-bindings.ts":{"bytesInOutput":11064},"src/construct-wrangler-config.ts":{"bytesInOutput":1637}},"bytes":13580},"dist/prometheus-metrics.mjs":{"imports":[{"path":"dist/chunk-O4YGOZSW.mjs","kind":"import-statement"},{"path":"dist/chunk-DCOBXSFB.mjs","kind":"import-statement"}],"exports":["MetricsRegistry"],"entryPoint":"src/prometheus-metrics.ts","inputs":{},"bytes":119},"dist/chunk-O4YGOZSW.mjs":{"imports":[{"path":"dist/chunk-DCOBXSFB.mjs","kind":"import-statement"}],"exports":["MetricsRegistry"],"inputs":{"src/prometheus-metrics.ts":{"bytesInOutput":1217}},"bytes":1327},"dist/test-helpers/index.mjs":{"imports":[{"path":"dist/chunk-ULVYGN52.mjs","kind":"import-statement"},{"path":"dist/chunk-DCOBXSFB.mjs","kind":"import-statement"},{"path":"node:util","kind":"import-statement","external":true},{"path":"vitest","kind":"import-statement","external":true},{"path":"node:fs","kind":"import-statement","external":true},{"path":"node:os","kind":"import-statement","external":true},{"path":"node:path","kind":"import-statement","external":true},{"path":"vitest","kind":"import-statement","external":true},{"path":"node:fs/promises","kind":"import-statement","external":true},{"path":"node:path","kind":"import-statement","external":true},{"path":"node:fs","kind":"import-statement","external":true},{"path":"node:path","kind":"import-statement","external":true}],"exports":["createDeferred","mockConsoleMethods","mockCreateDate","mockEndDate","mockModifiedDate","mockQueuedDate","mockStartDate","normalizeString","readWranglerConfig","runInTempDir","seed","writeDeployRedirectConfig","writeRedirectedWranglerConfig","writeWranglerConfig"],"entryPoint":"src/test-helpers/index.ts","inputs":{"src/test-helpers/mock.ts":{"bytesInOutput":2636},"src/test-helpers/normalize.ts":{"bytesInOutput":2741},"src/test-helpers/index.ts":{"bytesInOutput":0},"src/test-helpers/run-in-tmp.ts":{"bytesInOutput":837},"src/test-helpers/seed.ts":{"bytesInOutput":345},"src/test-helpers/wrangler-config.ts":{"bytesInOutput":1745}},"bytes":8967},"dist/chunk-ULVYGN52.mjs":{"imports":[{"path":"dist/chunk-DCOBXSFB.mjs","kind":"import-statement"},{"path":"node:fs","kind":"import-statement","external":true},{"path":"node:path","kind":"import-statement","external":true},{"path":"node:fs","kind":"import-statement","external":true},{"path":"node:path","kind":"import-statement","external":true},{"path":"node:path","kind":"import-statement","external":true},{"path":"node:fs","kind":"import-statement","external":true},{"path":"node:path","kind":"import-statement","external":true},{"path":"node:path","kind":"import-statement","external":true},{"path":"node:fs","kind":"import-statement","external":true}],"exports":["APIError","CommandLineArgsError","DeprecationError","ENVIRONMENT_TAG_PREFIX","FatalError","INHERIT_SYMBOL","JSON_CONFIG_FORMATS","JsonFriendlyFatalError","MissingConfigError","PATH_TO_DEPLOY_CONFIG","ParseError","SERVICE_TAG_PREFIX","UserError","applyEdits","configFileName","configFormat","createFatalError","dedent","dist_default","experimental_readRawConfig","findWranglerConfig","format","formatConfigSnippet","indexLocation","isDirectory","isRedirectedConfig","isRedirectedRawConfig","modify","parseByteSize","parseHumanDuration","parseJSON","parseJSONC","parseNonHyphenedUuid","parsePackageJSON","parseTOML","readFileSync","readFileSyncToBuffer","removeDir","removeDirSync","resolveWranglerConfigPath","searchLocation"],"inputs":{"src/errors.ts":{"bytesInOutput":1499},"src/parse.ts":{"bytesInOutput":7709},"../../node_modules/.pnpm/jsonc-parser@3.2.0/node_modules/jsonc-parser/lib/esm/impl/scanner.js":{"bytesInOutput":13719},"../../node_modules/.pnpm/jsonc-parser@3.2.0/node_modules/jsonc-parser/lib/esm/impl/format.js":{"bytesInOutput":7379},"../../node_modules/.pnpm/jsonc-parser@3.2.0/node_modules/jsonc-parser/lib/esm/impl/parser.js":{"bytesInOutput":13841},"../../node_modules/.pnpm/jsonc-parser@3.2.0/node_modules/jsonc-parser/lib/esm/impl/edit.js":{"bytesInOutput":6542},"../../node_modules/.pnpm/jsonc-parser@3.2.0/node_modules/jsonc-parser/lib/esm/main.js":{"bytesInOutput":4978},"../../node_modules/.pnpm/smol-toml@1.5.2/node_modules/smol-toml/dist/error.js":{"bytesInOutput":1202},"../../node_modules/.pnpm/smol-toml@1.5.2/node_modules/smol-toml/dist/util.js":{"bytesInOutput":2207},"../../node_modules/.pnpm/smol-toml@1.5.2/node_modules/smol-toml/dist/date.js":{"bytesInOutput":2493},"../../node_modules/.pnpm/smol-toml@1.5.2/node_modules/smol-toml/dist/primitive.js":{"bytesInOutput":3824},"../../node_modules/.pnpm/smol-toml@1.5.2/node_modules/smol-toml/dist/extract.js":{"bytesInOutput":2447},"../../node_modules/.pnpm/smol-toml@1.5.2/node_modules/smol-toml/dist/struct.js":{"bytesInOutput":4706},"../../node_modules/.pnpm/smol-toml@1.5.2/node_modules/smol-toml/dist/parse.js":{"bytesInOutput":3069},"../../node_modules/.pnpm/smol-toml@1.5.2/node_modules/smol-toml/dist/stringify.js":{"bytesInOutput":4707},"../../node_modules/.pnpm/smol-toml@1.5.2/node_modules/smol-toml/dist/index.js":{"bytesInOutput":70},"src/constants.ts":{"bytesInOutput":245},"src/config/config-helpers.ts":{"bytesInOutput":3664},"../../node_modules/.pnpm/empathic@2.0.0/node_modules/empathic/find.mjs":{"bytesInOutput":352},"../../node_modules/.pnpm/empathic@2.0.0/node_modules/empathic/walk.mjs":{"bytesInOutput":342},"../../node_modules/.pnpm/empathic@2.0.0/node_modules/empathic/resolve.mjs":{"bytesInOutput":199},"../../node_modules/.pnpm/ts-dedent@2.2.0/node_modules/ts-dedent/esm/index.js":{"bytesInOutput":1494},"src/config/index.ts":{"bytesInOutput":1696},"src/fs-helpers.ts":{"bytesInOutput":673}},"bytes":107082},"dist/chunk-DCOBXSFB.mjs":{"imports":[],"exports":["__commonJS","__export","__name","__reExport","__require","__toESM"],"inputs":{},"bytes":2136}}}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@cloudflare/workers-utils",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.24.0",
|
|
4
4
|
"description": "Internal utility package for workers-sdk. Not intended for external use — APIs may change without notice.",
|
|
5
5
|
"homepage": "https://github.com/cloudflare/workers-sdk/tree/main/packages/workers-utils#readme",
|
|
6
6
|
"bugs": {
|
|
@@ -33,7 +33,7 @@
|
|
|
33
33
|
}
|
|
34
34
|
},
|
|
35
35
|
"dependencies": {
|
|
36
|
-
"undici": "7.
|
|
36
|
+
"undici": "7.28.0"
|
|
37
37
|
},
|
|
38
38
|
"devDependencies": {
|
|
39
39
|
"@types/command-exists": "^1.2.0",
|
|
@@ -54,9 +54,9 @@
|
|
|
54
54
|
"update-check": "^1.5.4",
|
|
55
55
|
"vitest": "4.1.0",
|
|
56
56
|
"xdg-app-paths": "^8.3.0",
|
|
57
|
-
"@cloudflare/workers-shared": "0.19.
|
|
58
|
-
"@cloudflare/
|
|
59
|
-
"@cloudflare/
|
|
57
|
+
"@cloudflare/workers-shared": "0.19.7",
|
|
58
|
+
"@cloudflare/workers-tsconfig": "0.0.0",
|
|
59
|
+
"@cloudflare/workflows-shared": "0.11.2"
|
|
60
60
|
},
|
|
61
61
|
"peerDependencies": {
|
|
62
62
|
"vitest": "^4.1.0"
|