@cloudflare/workers-utils 0.22.0 → 0.22.1
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.mjs +1 -1
- package/dist/{chunk-AKFE3ND4.mjs → chunk-UFU4JGIG.mjs} +1 -2
- package/dist/index.d.mts +74 -4
- package/dist/index.mjs +352 -9
- package/dist/metafile-esm.json +1 -1
- package/package.json +8 -8
package/dist/browser.mjs
CHANGED
package/dist/index.d.mts
CHANGED
|
@@ -4,6 +4,8 @@ import * as jsoncParser from 'jsonc-parser';
|
|
|
4
4
|
export { constructWranglerConfig } from './browser.mjs';
|
|
5
5
|
export { Counter, MetricsRegistry } from './prometheus-metrics.mjs';
|
|
6
6
|
import { ChildProcess } from 'node:child_process';
|
|
7
|
+
import { URLSearchParams } from 'node:url';
|
|
8
|
+
import { RequestInit, Response, Headers } from 'undici';
|
|
7
9
|
import '@cloudflare/workers-shared';
|
|
8
10
|
import 'cloudflare';
|
|
9
11
|
|
|
@@ -894,7 +896,7 @@ declare function getWranglerTmpDir(projectRoot: string | undefined, prefix: stri
|
|
|
894
896
|
* the latest version and download URL, matching cloudflared's own update mechanism.
|
|
895
897
|
*/
|
|
896
898
|
|
|
897
|
-
interface Logger {
|
|
899
|
+
interface Logger$1 {
|
|
898
900
|
log: typeof console.log;
|
|
899
901
|
warn: typeof console.warn;
|
|
900
902
|
debug: typeof console.debug;
|
|
@@ -907,7 +909,7 @@ declare function spawnCloudflared(args: string[], options?: {
|
|
|
907
909
|
env?: Record<string, string>;
|
|
908
910
|
skipVersionCheck?: boolean;
|
|
909
911
|
confirmDownload?: (message: string) => Promise<boolean>;
|
|
910
|
-
logger?: Logger;
|
|
912
|
+
logger?: Logger$1;
|
|
911
913
|
}): Promise<ChildProcess>;
|
|
912
914
|
|
|
913
915
|
interface QuickTunnelResult {
|
|
@@ -931,7 +933,7 @@ interface TunnelOptions {
|
|
|
931
933
|
expiryMs?: number;
|
|
932
934
|
reminderIntervalMs?: number;
|
|
933
935
|
extendHint?: string;
|
|
934
|
-
logger?: Logger;
|
|
936
|
+
logger?: Logger$1;
|
|
935
937
|
}
|
|
936
938
|
/**
|
|
937
939
|
* Start a Cloudflare Quick Tunnel for a local dev origin.
|
|
@@ -943,6 +945,74 @@ interface TunnelOptions {
|
|
|
943
945
|
*/
|
|
944
946
|
declare function startTunnel(options: TunnelOptions): Tunnel;
|
|
945
947
|
|
|
948
|
+
interface FetchError {
|
|
949
|
+
code: number;
|
|
950
|
+
documentation_url?: string;
|
|
951
|
+
message: string;
|
|
952
|
+
error_chain?: FetchError[];
|
|
953
|
+
}
|
|
954
|
+
|
|
955
|
+
type Logger = {
|
|
956
|
+
debug: (...args: unknown[]) => void;
|
|
957
|
+
debugWithSanitization: (label: string, ...args: unknown[]) => void;
|
|
958
|
+
log: (...args: unknown[]) => void;
|
|
959
|
+
info: (...args: unknown[]) => void;
|
|
960
|
+
warn: (...args: unknown[]) => void;
|
|
961
|
+
error: (...args: unknown[]) => void;
|
|
962
|
+
};
|
|
963
|
+
|
|
964
|
+
type ApiCredentials = {
|
|
965
|
+
apiToken: string;
|
|
966
|
+
} | {
|
|
967
|
+
authKey: string;
|
|
968
|
+
authEmail: string;
|
|
969
|
+
};
|
|
970
|
+
interface FetchResult<ResponseType = unknown> {
|
|
971
|
+
success: boolean;
|
|
972
|
+
result: ResponseType;
|
|
973
|
+
errors: FetchError[];
|
|
974
|
+
messages?: (string | {
|
|
975
|
+
code?: number;
|
|
976
|
+
message: string;
|
|
977
|
+
})[];
|
|
978
|
+
result_info?: unknown;
|
|
979
|
+
}
|
|
980
|
+
type FetchResultFetcher = <ResponseType>(complianceConfig: ComplianceConfig, resource: string, init?: RequestInit, queryParams?: URLSearchParams, abortSignal?: AbortSignal) => Promise<ResponseType>;
|
|
981
|
+
/**
|
|
982
|
+
*
|
|
983
|
+
* Note this requires its caller to handle credentials
|
|
984
|
+
* (need to call requireLoggedIn and requireApiToken)
|
|
985
|
+
*/
|
|
986
|
+
declare function performApiFetchBase(complianceConfig: ComplianceConfig, resource: string, init: RequestInit | undefined, userAgent: string, logger: Logger, queryParams?: URLSearchParams, abortSignal?: AbortSignal, credentials?: ApiCredentials): Promise<Response>;
|
|
987
|
+
declare function fetchInternalBase<ResponseType>(complianceConfig: ComplianceConfig, resource: string, init: RequestInit | undefined, userAgent: string, logger: Logger, queryParams?: URLSearchParams, abortSignal?: AbortSignal, credentials?: ApiCredentials): Promise<{
|
|
988
|
+
response: ResponseType;
|
|
989
|
+
status: number;
|
|
990
|
+
}>;
|
|
991
|
+
declare function fetchResultBase<ResponseType>(complianceConfig: ComplianceConfig, resource: string, init: RequestInit | undefined, userAgent: string, logger: Logger, queryParams?: URLSearchParams, abortSignal?: AbortSignal, credentials?: ApiCredentials): Promise<ResponseType>;
|
|
992
|
+
declare function fetchListResultBase<ResponseType>(complianceConfig: ComplianceConfig, resource: string, init: RequestInit | undefined, userAgent: string, logger: Logger, queryParams?: URLSearchParams, credentials?: ApiCredentials): Promise<ResponseType[]>;
|
|
993
|
+
declare function truncate(text: string, maxLength: number): string;
|
|
994
|
+
declare function isWAFBlockResponse(headers: Headers): boolean;
|
|
995
|
+
declare function extractWAFBlockRayId(headers: Headers): string | undefined;
|
|
996
|
+
declare function extractAccountTag(resource: string): string | undefined;
|
|
997
|
+
interface PageResultInfo {
|
|
998
|
+
page: number;
|
|
999
|
+
per_page: number;
|
|
1000
|
+
count: number;
|
|
1001
|
+
total_count: number;
|
|
1002
|
+
}
|
|
1003
|
+
declare function hasMorePages(result_info: unknown): result_info is PageResultInfo;
|
|
1004
|
+
declare function renderError(err: FetchError | {
|
|
1005
|
+
code?: number;
|
|
1006
|
+
message?: string;
|
|
1007
|
+
documentation_url?: string;
|
|
1008
|
+
}, level?: number): string;
|
|
1009
|
+
declare function addAuthorizationHeader(headers: Headers, auth: ApiCredentials, overrideExisting?: boolean): void;
|
|
1010
|
+
declare function throwFetchError(resource: string, response: FetchResult<unknown>, status: number): never;
|
|
1011
|
+
declare function hasCursor(result_info: unknown): result_info is {
|
|
1012
|
+
cursor: string;
|
|
1013
|
+
};
|
|
1014
|
+
declare function maybeAddTraceHeader(headers: Headers): void;
|
|
1015
|
+
|
|
946
1016
|
type NpmVersionCheckResult = {
|
|
947
1017
|
status: "up-to-date";
|
|
948
1018
|
} | {
|
|
@@ -967,4 +1037,4 @@ type NpmVersionCheckResult = {
|
|
|
967
1037
|
*/
|
|
968
1038
|
declare function fetchLatestNpmVersion(name: string, version: string): Promise<NpmVersionCheckResult>;
|
|
969
1039
|
|
|
970
|
-
export { APIError, Binding, type BindingLocalSupport, COMPLIANCE_REGION_CONFIG_PUBLIC, COMPLIANCE_REGION_CONFIG_UNKNOWN, CommandLineArgsError, type CompatDate, type ComplianceConfig, Config, type ConfigBindingFieldName, type ConfigBindingOptions, DeprecationError, Diagnostics, type EphemeralDirectory, FatalError, JsonFriendlyFatalError, type Location, type Message, MissingConfigError, type NormalizeAndValidateConfigArgs, type NpmVersionCheckResult, type PackageJSON, ParseError, type ParseFile, PatchConfigError, RawConfig, type ResolveConfigPathOptions, type TelemetryMessage, type Tunnel, type TunnelOptions, UserError, WorkerMetadataBinding, assertNever, bucketFormatMessage, configFileName, configFormat, createFatalError, experimental_patchConfig, experimental_readRawConfig, fetchLatestNpmVersion, findWranglerConfig, formatConfigSnippet, 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, getGlobalWranglerConfigPath, getLocalExplorerEnabledFromEnv, getOpenNextDeployFromEnv, getOutputFileDirectoryFromEnv, getOutputFilePathFromEnv, getRegistryPath, getSanitizeLogs, getSubdomainMixedStateCheckDisabled, getTodaysCompatDate, getTraceHeader, getWorkersCIBranchName, getWranglerCacheDirFromEnv, getWranglerHiddenDirPath, getWranglerHideBanner, getWranglerSendErrorReportsFromEnv, getWranglerSendMetricsFromEnv, getWranglerTmpDir, hasProperty, indexLocation, isCompatDate, isDirectory, isDockerfile, isOptionalProperty, isPagesConfig, isRedirectedConfig, isRequiredProperty, isValidR2BucketName, mapWorkerMetadataBindings, normalizeAndValidateConfig, parseByteSize, parseHumanDuration, parseJSON, parseJSONC, parseNonHyphenedUuid, parsePackageJSON, parseTOML, readFileSync, readFileSyncToBuffer, removeDir, removeDirSync, resolveWranglerConfigPath, searchLocation, spawnCloudflared, startTunnel, sweepStaleWranglerTmpDirs, validatePagesConfig };
|
|
1040
|
+
export { APIError, type ApiCredentials, Binding, type BindingLocalSupport, COMPLIANCE_REGION_CONFIG_PUBLIC, COMPLIANCE_REGION_CONFIG_UNKNOWN, CommandLineArgsError, type CompatDate, type ComplianceConfig, Config, type ConfigBindingFieldName, type ConfigBindingOptions, DeprecationError, Diagnostics, type EphemeralDirectory, FatalError, type FetchResult, type FetchResultFetcher, JsonFriendlyFatalError, type Location, type Logger, type Message, MissingConfigError, type NormalizeAndValidateConfigArgs, type NpmVersionCheckResult, type PackageJSON, ParseError, type ParseFile, PatchConfigError, RawConfig, type ResolveConfigPathOptions, type TelemetryMessage, type Tunnel, type TunnelOptions, UserError, WorkerMetadataBinding, addAuthorizationHeader, assertNever, bucketFormatMessage, configFileName, configFormat, createFatalError, experimental_patchConfig, experimental_readRawConfig, extractAccountTag, extractWAFBlockRayId, fetchInternalBase, fetchLatestNpmVersion, fetchListResultBase, fetchResultBase, findWranglerConfig, formatConfigSnippet, 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, getGlobalWranglerConfigPath, getLocalExplorerEnabledFromEnv, getOpenNextDeployFromEnv, getOutputFileDirectoryFromEnv, getOutputFilePathFromEnv, getRegistryPath, getSanitizeLogs, getSubdomainMixedStateCheckDisabled, getTodaysCompatDate, getTraceHeader, getWorkersCIBranchName, getWranglerCacheDirFromEnv, getWranglerHiddenDirPath, getWranglerHideBanner, getWranglerSendErrorReportsFromEnv, getWranglerSendMetricsFromEnv, getWranglerTmpDir, 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, searchLocation, spawnCloudflared, startTunnel, sweepStaleWranglerTmpDirs, throwFetchError, truncate, validatePagesConfig };
|
package/dist/index.mjs
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
export { assertNever, constructWranglerConfig, getTodaysCompatDate, isCompatDate, mapWorkerMetadataBindings } from './chunk-
|
|
1
|
+
export { assertNever, constructWranglerConfig, getTodaysCompatDate, isCompatDate, mapWorkerMetadataBindings } from './chunk-UFU4JGIG.mjs';
|
|
2
2
|
export { MetricsRegistry } from './chunk-O4YGOZSW.mjs';
|
|
3
|
-
import { isDirectory, UserError, isRedirectedRawConfig, dedent, configFileName, formatConfigSnippet, FatalError, removeDirSync, readFileSync as readFileSync$1, parseTOML, modify, applyEdits, format, dist_default, parseJSONC } from './chunk-GMTGAG26.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-GMTGAG26.mjs';
|
|
4
4
|
export { APIError, CommandLineArgsError, DeprecationError, FatalError, JsonFriendlyFatalError, MissingConfigError, ParseError, 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-GMTGAG26.mjs';
|
|
5
5
|
export { ENVIRONMENT_TAG_PREFIX, INHERIT_SYMBOL, JSON_CONFIG_FORMATS, PATH_TO_DEPLOY_CONFIG, SERVICE_TAG_PREFIX } from './chunk-OZQVB3L3.mjs';
|
|
6
6
|
import { __commonJS, __name, __require, __export, __toESM, __reExport } from './chunk-DCOBXSFB.mjs';
|
|
@@ -10,7 +10,8 @@ import path3, { join, dirname } from 'node:path';
|
|
|
10
10
|
import os, { arch } from 'node:os';
|
|
11
11
|
import { execFileSync, spawn } from 'node:child_process';
|
|
12
12
|
import { createHash } from 'node:crypto';
|
|
13
|
-
import { fetch } from 'undici';
|
|
13
|
+
import { fetch, Headers, FormData, Response } from 'undici';
|
|
14
|
+
import { URLSearchParams } from 'node:url';
|
|
14
15
|
import * as timersPromises from 'node:timers/promises';
|
|
15
16
|
|
|
16
17
|
// ../../node_modules/.pnpm/xdg-app-paths@8.3.0/node_modules/xdg-app-paths/dist/cjs/lib/XDGAppPaths.js
|
|
@@ -569,7 +570,7 @@ var require_signal_exit = __commonJS({
|
|
|
569
570
|
};
|
|
570
571
|
};
|
|
571
572
|
} else {
|
|
572
|
-
|
|
573
|
+
assert3 = __require("assert");
|
|
573
574
|
signals = require_signals();
|
|
574
575
|
isWin = /^win/i.test(process2.platform);
|
|
575
576
|
EE = __require("events");
|
|
@@ -592,7 +593,7 @@ var require_signal_exit = __commonJS({
|
|
|
592
593
|
return function() {
|
|
593
594
|
};
|
|
594
595
|
}
|
|
595
|
-
|
|
596
|
+
assert3.equal(typeof cb, "function", "a callback must be provided for exit handler");
|
|
596
597
|
if (loaded === false) {
|
|
597
598
|
load();
|
|
598
599
|
}
|
|
@@ -698,7 +699,7 @@ var require_signal_exit = __commonJS({
|
|
|
698
699
|
}
|
|
699
700
|
}, "processEmit");
|
|
700
701
|
}
|
|
701
|
-
var
|
|
702
|
+
var assert3;
|
|
702
703
|
var signals;
|
|
703
704
|
var isWin;
|
|
704
705
|
var EE;
|
|
@@ -12147,7 +12148,7 @@ function startTunnel(options) {
|
|
|
12147
12148
|
return;
|
|
12148
12149
|
}
|
|
12149
12150
|
logger?.log(
|
|
12150
|
-
`${publicURL ? `
|
|
12151
|
+
`${publicURL ? `Tunnel still open, expires in ${formatTunnelDuration(remainingMs)}: ${publicURL}` : `The tunnel is still open. It expires in ${formatTunnelDuration(remainingMs)}.`}${options.extendHint ? ` ${options.extendHint}` : ""}`
|
|
12151
12152
|
);
|
|
12152
12153
|
}, reminderIntervalMs);
|
|
12153
12154
|
reminderInterval.unref?.();
|
|
@@ -12298,7 +12299,7 @@ function createTunnelStartupError(message, stderrOutput, origin) {
|
|
|
12298
12299
|
cloudflared output:
|
|
12299
12300
|
${stderrOutput || "(no output)"}
|
|
12300
12301
|
|
|
12301
|
-
The local dev server started at ${origin.href}
|
|
12302
|
+
The local dev server started at ${origin.href}
|
|
12302
12303
|
` + (isQuickTunnelRateLimited ? "Cloudflare Quick Tunnel creation was rate limited. Try again in a few minutes, or use a named tunnel if you need more reliable access." : `Check the cloudflared output above for more details, and verify that ${origin.href} is reachable from this machine if this keeps happening.`);
|
|
12303
12304
|
if (isQuickTunnelRateLimited) {
|
|
12304
12305
|
return new UserError(errorMessage, { telemetryMessage: false });
|
|
@@ -12307,6 +12308,348 @@ The local dev server started at ${origin.href}.
|
|
|
12307
12308
|
}
|
|
12308
12309
|
__name(createTunnelStartupError, "createTunnelStartupError");
|
|
12309
12310
|
|
|
12311
|
+
// src/cfetch/errors.ts
|
|
12312
|
+
function buildDetailedError(message, ...extra) {
|
|
12313
|
+
return new ParseError({
|
|
12314
|
+
text: message,
|
|
12315
|
+
notes: extra.map((text) => ({ text })),
|
|
12316
|
+
telemetryMessage: false
|
|
12317
|
+
});
|
|
12318
|
+
}
|
|
12319
|
+
__name(buildDetailedError, "buildDetailedError");
|
|
12320
|
+
function maybeThrowFriendlyError(error) {
|
|
12321
|
+
if (error.message === "workers.api.error.email_verification_required") {
|
|
12322
|
+
throw buildDetailedError(
|
|
12323
|
+
"Please verify your account's email address and try again.",
|
|
12324
|
+
"Check your email for a verification link, or login to https://dash.cloudflare.com and request a new one."
|
|
12325
|
+
);
|
|
12326
|
+
}
|
|
12327
|
+
}
|
|
12328
|
+
__name(maybeThrowFriendlyError, "maybeThrowFriendlyError");
|
|
12329
|
+
|
|
12330
|
+
// src/cfetch/index.ts
|
|
12331
|
+
function logHeaders(headers, logger) {
|
|
12332
|
+
const clone = cloneHeaders(headers);
|
|
12333
|
+
clone.delete("Authorization");
|
|
12334
|
+
logger.debugWithSanitization(
|
|
12335
|
+
"HEADERS:",
|
|
12336
|
+
JSON.stringify(Object.fromEntries(clone), null, 2)
|
|
12337
|
+
);
|
|
12338
|
+
}
|
|
12339
|
+
__name(logHeaders, "logHeaders");
|
|
12340
|
+
async function performApiFetchBase(complianceConfig, resource, init = {}, userAgent, logger, queryParams, abortSignal, credentials) {
|
|
12341
|
+
assert(credentials, "credentials are required for performApiFetch");
|
|
12342
|
+
const method = init.method ?? "GET";
|
|
12343
|
+
assert(
|
|
12344
|
+
resource.startsWith("/"),
|
|
12345
|
+
`CF API fetch - resource path must start with a "/" but got "${resource}"`
|
|
12346
|
+
);
|
|
12347
|
+
const headers = cloneHeaders(new Headers(init.headers));
|
|
12348
|
+
addAuthorizationHeader(headers, credentials);
|
|
12349
|
+
headers.set("User-Agent", userAgent);
|
|
12350
|
+
maybeAddTraceHeader(headers);
|
|
12351
|
+
const queryString = queryParams ? `?${queryParams.toString()}` : "";
|
|
12352
|
+
logger.debug(
|
|
12353
|
+
`-- START CF API REQUEST: ${method} ${getCloudflareApiBaseUrl(complianceConfig)}${resource}`
|
|
12354
|
+
);
|
|
12355
|
+
logger.debugWithSanitization("QUERY STRING:", queryString);
|
|
12356
|
+
logHeaders(headers, logger);
|
|
12357
|
+
logger.debugWithSanitization("INIT:", JSON.stringify({ ...init }, null, 2));
|
|
12358
|
+
if (init.body instanceof FormData) {
|
|
12359
|
+
logger.debugWithSanitization(
|
|
12360
|
+
"BODY:",
|
|
12361
|
+
await new Response(init.body).text(),
|
|
12362
|
+
null,
|
|
12363
|
+
2
|
|
12364
|
+
);
|
|
12365
|
+
}
|
|
12366
|
+
logger.debug("-- END CF API REQUEST");
|
|
12367
|
+
return await fetch(
|
|
12368
|
+
`${getCloudflareApiBaseUrl(complianceConfig)}${resource}${queryString}`,
|
|
12369
|
+
{
|
|
12370
|
+
method,
|
|
12371
|
+
...init,
|
|
12372
|
+
headers,
|
|
12373
|
+
signal: abortSignal
|
|
12374
|
+
}
|
|
12375
|
+
);
|
|
12376
|
+
}
|
|
12377
|
+
__name(performApiFetchBase, "performApiFetchBase");
|
|
12378
|
+
async function fetchInternalBase(complianceConfig, resource, init = {}, userAgent, logger, queryParams, abortSignal, credentials) {
|
|
12379
|
+
const method = init.method ?? "GET";
|
|
12380
|
+
const response = await performApiFetchBase(
|
|
12381
|
+
complianceConfig,
|
|
12382
|
+
resource,
|
|
12383
|
+
init,
|
|
12384
|
+
userAgent,
|
|
12385
|
+
logger,
|
|
12386
|
+
queryParams,
|
|
12387
|
+
abortSignal,
|
|
12388
|
+
credentials
|
|
12389
|
+
);
|
|
12390
|
+
const jsonText = await response.text();
|
|
12391
|
+
logger.debug(
|
|
12392
|
+
"-- START CF API RESPONSE:",
|
|
12393
|
+
response.statusText,
|
|
12394
|
+
response.status
|
|
12395
|
+
);
|
|
12396
|
+
logHeaders(response.headers, logger);
|
|
12397
|
+
logger.debugWithSanitization("RESPONSE:", jsonText);
|
|
12398
|
+
logger.debug("-- END CF API RESPONSE");
|
|
12399
|
+
if (!jsonText && (response.status === 204 || response.status === 205)) {
|
|
12400
|
+
return {
|
|
12401
|
+
response: {
|
|
12402
|
+
result: {},
|
|
12403
|
+
success: true,
|
|
12404
|
+
errors: [],
|
|
12405
|
+
messages: []
|
|
12406
|
+
},
|
|
12407
|
+
status: response.status
|
|
12408
|
+
};
|
|
12409
|
+
}
|
|
12410
|
+
if (isWAFBlockResponse(response.headers)) {
|
|
12411
|
+
throwWAFBlockError(
|
|
12412
|
+
response.headers,
|
|
12413
|
+
method,
|
|
12414
|
+
resource,
|
|
12415
|
+
response.status,
|
|
12416
|
+
response.statusText
|
|
12417
|
+
);
|
|
12418
|
+
}
|
|
12419
|
+
try {
|
|
12420
|
+
const json = parseJSON(jsonText);
|
|
12421
|
+
return { response: json, status: response.status };
|
|
12422
|
+
} catch {
|
|
12423
|
+
const rayId = extractWAFBlockRayId(response.headers);
|
|
12424
|
+
throw new APIError({
|
|
12425
|
+
text: "Received a malformed response from the API",
|
|
12426
|
+
notes: [
|
|
12427
|
+
{
|
|
12428
|
+
text: truncate(jsonText, 100)
|
|
12429
|
+
},
|
|
12430
|
+
{
|
|
12431
|
+
text: `${method} ${resource} -> ${response.status} ${response.statusText}`
|
|
12432
|
+
},
|
|
12433
|
+
...rayId ? [{ text: `Cloudflare Ray ID: ${rayId}` }] : []
|
|
12434
|
+
],
|
|
12435
|
+
status: response.status,
|
|
12436
|
+
telemetryMessage: false
|
|
12437
|
+
});
|
|
12438
|
+
}
|
|
12439
|
+
}
|
|
12440
|
+
__name(fetchInternalBase, "fetchInternalBase");
|
|
12441
|
+
async function fetchResultBase(complianceConfig, resource, init = {}, userAgent, logger, queryParams, abortSignal, credentials) {
|
|
12442
|
+
const { response: json, status } = await fetchInternalBase(
|
|
12443
|
+
complianceConfig,
|
|
12444
|
+
resource,
|
|
12445
|
+
init,
|
|
12446
|
+
userAgent,
|
|
12447
|
+
logger,
|
|
12448
|
+
queryParams,
|
|
12449
|
+
abortSignal,
|
|
12450
|
+
credentials
|
|
12451
|
+
);
|
|
12452
|
+
if (json.success) {
|
|
12453
|
+
return json.result;
|
|
12454
|
+
} else {
|
|
12455
|
+
throwFetchError(resource, json, status);
|
|
12456
|
+
}
|
|
12457
|
+
}
|
|
12458
|
+
__name(fetchResultBase, "fetchResultBase");
|
|
12459
|
+
async function fetchListResultBase(complianceConfig, resource, init = {}, userAgent, logger, queryParams, credentials) {
|
|
12460
|
+
const results = [];
|
|
12461
|
+
let getMoreResults = true;
|
|
12462
|
+
let cursor;
|
|
12463
|
+
while (getMoreResults) {
|
|
12464
|
+
if (cursor) {
|
|
12465
|
+
queryParams = new URLSearchParams(queryParams);
|
|
12466
|
+
queryParams.set("cursor", cursor);
|
|
12467
|
+
}
|
|
12468
|
+
const { response: json, status } = await fetchInternalBase(
|
|
12469
|
+
complianceConfig,
|
|
12470
|
+
resource,
|
|
12471
|
+
init,
|
|
12472
|
+
userAgent,
|
|
12473
|
+
logger,
|
|
12474
|
+
queryParams,
|
|
12475
|
+
void 0,
|
|
12476
|
+
credentials
|
|
12477
|
+
);
|
|
12478
|
+
if (json.success) {
|
|
12479
|
+
results.push(...json.result);
|
|
12480
|
+
if (hasCursor(json.result_info)) {
|
|
12481
|
+
cursor = json.result_info?.cursor;
|
|
12482
|
+
} else {
|
|
12483
|
+
getMoreResults = false;
|
|
12484
|
+
}
|
|
12485
|
+
} else {
|
|
12486
|
+
throwFetchError(resource, json, status);
|
|
12487
|
+
}
|
|
12488
|
+
}
|
|
12489
|
+
return results;
|
|
12490
|
+
}
|
|
12491
|
+
__name(fetchListResultBase, "fetchListResultBase");
|
|
12492
|
+
function truncate(text, maxLength) {
|
|
12493
|
+
const { length } = text;
|
|
12494
|
+
if (length <= maxLength) {
|
|
12495
|
+
return text;
|
|
12496
|
+
}
|
|
12497
|
+
return `${text.substring(0, maxLength)}... (length = ${length})`;
|
|
12498
|
+
}
|
|
12499
|
+
__name(truncate, "truncate");
|
|
12500
|
+
function isWAFBlockResponse(headers) {
|
|
12501
|
+
return headers.get("cf-mitigated") === "challenge";
|
|
12502
|
+
}
|
|
12503
|
+
__name(isWAFBlockResponse, "isWAFBlockResponse");
|
|
12504
|
+
function extractWAFBlockRayId(headers) {
|
|
12505
|
+
return headers.get("cf-ray") ?? void 0;
|
|
12506
|
+
}
|
|
12507
|
+
__name(extractWAFBlockRayId, "extractWAFBlockRayId");
|
|
12508
|
+
function extractAccountTag(resource) {
|
|
12509
|
+
const re = new RegExp("/accounts/([a-zA-Z0-9]+)/?");
|
|
12510
|
+
const matches = re.exec(resource);
|
|
12511
|
+
return matches?.[1];
|
|
12512
|
+
}
|
|
12513
|
+
__name(extractAccountTag, "extractAccountTag");
|
|
12514
|
+
function hasMorePages(result_info) {
|
|
12515
|
+
const page = result_info?.page;
|
|
12516
|
+
const per_page = result_info?.per_page;
|
|
12517
|
+
const total = result_info?.total_count;
|
|
12518
|
+
return page !== void 0 && per_page !== void 0 && total !== void 0 && page * per_page < total;
|
|
12519
|
+
}
|
|
12520
|
+
__name(hasMorePages, "hasMorePages");
|
|
12521
|
+
function renderError(err, level = 0) {
|
|
12522
|
+
const indent = " ".repeat(level);
|
|
12523
|
+
const message = err.message ?? "";
|
|
12524
|
+
const chainedMessages = "error_chain" in err ? err.error_chain?.map(
|
|
12525
|
+
(chainedError) => `
|
|
12526
|
+
|
|
12527
|
+
${indent}- ${renderError(chainedError, level + 1)}`
|
|
12528
|
+
).join("\n") ?? "" : "";
|
|
12529
|
+
return (err.code ? `${message} [code: ${err.code}]` : message) + (err.documentation_url ? `
|
|
12530
|
+
${indent}To learn more about this error, visit: ${err.documentation_url}` : "") + chainedMessages;
|
|
12531
|
+
}
|
|
12532
|
+
__name(renderError, "renderError");
|
|
12533
|
+
function addAuthorizationHeader(headers, auth, overrideExisting = false) {
|
|
12534
|
+
if (!headers.has("Authorization") || overrideExisting) {
|
|
12535
|
+
if ("apiToken" in auth) {
|
|
12536
|
+
const authorizationHeader = `Bearer ${auth.apiToken}`;
|
|
12537
|
+
validateAuthorizationHeaderValue(authorizationHeader);
|
|
12538
|
+
headers.set("Authorization", authorizationHeader);
|
|
12539
|
+
} else {
|
|
12540
|
+
headers.set("X-Auth-Key", auth.authKey);
|
|
12541
|
+
headers.set("X-Auth-Email", auth.authEmail);
|
|
12542
|
+
}
|
|
12543
|
+
}
|
|
12544
|
+
}
|
|
12545
|
+
__name(addAuthorizationHeader, "addAuthorizationHeader");
|
|
12546
|
+
function validateAuthorizationHeaderValue(value) {
|
|
12547
|
+
for (const character of value) {
|
|
12548
|
+
const codePoint = character.codePointAt(0);
|
|
12549
|
+
if (codePoint === void 0 || codePoint > 255) {
|
|
12550
|
+
throw new UserError(
|
|
12551
|
+
`The configured Cloudflare API token contains a character that cannot be used in an HTTP Authorization header: ${formatAuthorizationHeaderCharacter(character, codePoint)}. Recreate or copy the token again, making sure it does not include characters such as ellipses.`,
|
|
12552
|
+
{
|
|
12553
|
+
telemetryMessage: "cfetch auth invalid authorization header"
|
|
12554
|
+
}
|
|
12555
|
+
);
|
|
12556
|
+
}
|
|
12557
|
+
}
|
|
12558
|
+
}
|
|
12559
|
+
__name(validateAuthorizationHeaderValue, "validateAuthorizationHeaderValue");
|
|
12560
|
+
function formatAuthorizationHeaderCharacter(character, codePoint) {
|
|
12561
|
+
if (codePoint === void 0) {
|
|
12562
|
+
return '"\\u{unknown}"';
|
|
12563
|
+
}
|
|
12564
|
+
const codePointLabel = `U+${codePoint.toString(16).toUpperCase().padStart(4, "0")}`;
|
|
12565
|
+
const characterLabel = isPrintableCharacter(character) ? `"${character}"` : `"${escapeCharacter(character)}"`;
|
|
12566
|
+
return `${characterLabel} (${codePointLabel})`;
|
|
12567
|
+
}
|
|
12568
|
+
__name(formatAuthorizationHeaderCharacter, "formatAuthorizationHeaderCharacter");
|
|
12569
|
+
function isPrintableCharacter(character) {
|
|
12570
|
+
return !/[\p{Cc}\p{Cf}\p{Zl}\p{Zp}]/u.test(character);
|
|
12571
|
+
}
|
|
12572
|
+
__name(isPrintableCharacter, "isPrintableCharacter");
|
|
12573
|
+
function escapeCharacter(character) {
|
|
12574
|
+
return Array.from(character).map((c) => {
|
|
12575
|
+
const codePoint = c.codePointAt(0);
|
|
12576
|
+
if (codePoint === void 0) {
|
|
12577
|
+
return "";
|
|
12578
|
+
}
|
|
12579
|
+
return codePoint <= 65535 ? `\\u${codePoint.toString(16).toUpperCase().padStart(4, "0")}` : `\\u{${codePoint.toString(16).toUpperCase()}}`;
|
|
12580
|
+
}).join("");
|
|
12581
|
+
}
|
|
12582
|
+
__name(escapeCharacter, "escapeCharacter");
|
|
12583
|
+
function throwFetchError(resource, response, status) {
|
|
12584
|
+
const errors = response.errors ?? [];
|
|
12585
|
+
for (const error2 of errors) {
|
|
12586
|
+
maybeThrowFriendlyError(error2);
|
|
12587
|
+
}
|
|
12588
|
+
const notes = [
|
|
12589
|
+
...errors.map((err) => ({ text: renderError(err) })),
|
|
12590
|
+
...response.messages?.map((msg) => ({
|
|
12591
|
+
text: typeof msg === "string" ? msg : msg.message ?? String(msg)
|
|
12592
|
+
})) ?? []
|
|
12593
|
+
];
|
|
12594
|
+
if (notes.length === 0) {
|
|
12595
|
+
const raw = response;
|
|
12596
|
+
const fallbackMessage = typeof raw.error === "string" ? `${raw.error}${raw.code ? ` [code: ${raw.code}]` : ""}` : void 0;
|
|
12597
|
+
if (fallbackMessage) {
|
|
12598
|
+
notes.push({ text: fallbackMessage });
|
|
12599
|
+
}
|
|
12600
|
+
}
|
|
12601
|
+
const error = new APIError({
|
|
12602
|
+
text: `A request to the Cloudflare API (${resource}) failed.`,
|
|
12603
|
+
notes,
|
|
12604
|
+
status,
|
|
12605
|
+
telemetryMessage: false
|
|
12606
|
+
});
|
|
12607
|
+
const code = errors[0]?.code;
|
|
12608
|
+
if (code) {
|
|
12609
|
+
error.code = code;
|
|
12610
|
+
}
|
|
12611
|
+
error.accountTag = extractAccountTag(resource);
|
|
12612
|
+
throw error;
|
|
12613
|
+
}
|
|
12614
|
+
__name(throwFetchError, "throwFetchError");
|
|
12615
|
+
function throwWAFBlockError(headers, method, resource, status, statusText) {
|
|
12616
|
+
const rayId = extractWAFBlockRayId(headers);
|
|
12617
|
+
throw new APIError({
|
|
12618
|
+
text: "The Cloudflare API responded with a WAF block page instead of the expected JSON response",
|
|
12619
|
+
notes: [
|
|
12620
|
+
{
|
|
12621
|
+
text: "Cloudflare's firewall (WAF) blocked this API request. This is usually a false positive."
|
|
12622
|
+
},
|
|
12623
|
+
...rayId ? [{ text: `Cloudflare Ray ID: ${rayId}` }] : [],
|
|
12624
|
+
{
|
|
12625
|
+
text: rayId ? "If the issue persists, please open a Cloudflare Support ticket and include the Ray ID above." : "If the issue persists, please open a Cloudflare Support ticket. You can find the Cloudflare Ray ID on the block page in your browser."
|
|
12626
|
+
},
|
|
12627
|
+
{
|
|
12628
|
+
text: `${method} ${resource} -> ${status} ${statusText}`
|
|
12629
|
+
}
|
|
12630
|
+
],
|
|
12631
|
+
status,
|
|
12632
|
+
telemetryMessage: false
|
|
12633
|
+
});
|
|
12634
|
+
}
|
|
12635
|
+
__name(throwWAFBlockError, "throwWAFBlockError");
|
|
12636
|
+
function hasCursor(result_info) {
|
|
12637
|
+
const cursor = result_info?.cursor;
|
|
12638
|
+
return cursor !== void 0 && cursor !== null && cursor !== "";
|
|
12639
|
+
}
|
|
12640
|
+
__name(hasCursor, "hasCursor");
|
|
12641
|
+
function maybeAddTraceHeader(headers) {
|
|
12642
|
+
const traceHeader = getTraceHeader();
|
|
12643
|
+
if (traceHeader) {
|
|
12644
|
+
headers.set("Cf-Trace-Id", traceHeader);
|
|
12645
|
+
}
|
|
12646
|
+
}
|
|
12647
|
+
__name(maybeAddTraceHeader, "maybeAddTraceHeader");
|
|
12648
|
+
function cloneHeaders(headers) {
|
|
12649
|
+
return new Headers(headers);
|
|
12650
|
+
}
|
|
12651
|
+
__name(cloneHeaders, "cloneHeaders");
|
|
12652
|
+
|
|
12310
12653
|
// src/update-check.ts
|
|
12311
12654
|
var import_update_check = __toESM(require_update_check());
|
|
12312
12655
|
var UPDATE_CHECK_TIMEOUT_MS = 3e3;
|
|
@@ -12371,4 +12714,4 @@ safe-buffer/index.js:
|
|
|
12371
12714
|
(*! safe-buffer. MIT License. Feross Aboukhadijeh <https://feross.org/opensource> *)
|
|
12372
12715
|
*/
|
|
12373
12716
|
|
|
12374
|
-
export { COMPLIANCE_REGION_CONFIG_PUBLIC, COMPLIANCE_REGION_CONFIG_UNKNOWN, Diagnostics, PatchConfigError, bucketFormatMessage, defaultWranglerConfig, experimental_patchConfig, fetchLatestNpmVersion, 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, getGlobalWranglerConfigPath, getLocalExplorerEnabledFromEnv, getOpenNextDeployFromEnv, getOutputFileDirectoryFromEnv, getOutputFilePathFromEnv, getRegistryPath, getSanitizeLogs, getSubdomainMixedStateCheckDisabled, getTraceHeader, getWorkersCIBranchName, getWranglerCacheDirFromEnv, getWranglerHiddenDirPath, getWranglerHideBanner, getWranglerSendErrorReportsFromEnv, getWranglerSendMetricsFromEnv, getWranglerTmpDir, hasProperty, isDockerfile, isOptionalProperty, isPagesConfig, isRequiredProperty, isValidR2BucketName, normalizeAndValidateConfig, spawnCloudflared, startTunnel, sweepStaleWranglerTmpDirs, validatePagesConfig };
|
|
12717
|
+
export { COMPLIANCE_REGION_CONFIG_PUBLIC, COMPLIANCE_REGION_CONFIG_UNKNOWN, Diagnostics, PatchConfigError, addAuthorizationHeader, bucketFormatMessage, defaultWranglerConfig, experimental_patchConfig, extractAccountTag, extractWAFBlockRayId, fetchInternalBase, fetchLatestNpmVersion, fetchListResultBase, fetchResultBase, 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, getGlobalWranglerConfigPath, getLocalExplorerEnabledFromEnv, getOpenNextDeployFromEnv, getOutputFileDirectoryFromEnv, getOutputFilePathFromEnv, getRegistryPath, getSanitizeLogs, getSubdomainMixedStateCheckDisabled, getTraceHeader, getWorkersCIBranchName, getWranglerCacheDirFromEnv, getWranglerHiddenDirPath, getWranglerHideBanner, getWranglerSendErrorReportsFromEnv, getWranglerSendMetricsFromEnv, getWranglerTmpDir, hasCursor, hasMorePages, hasProperty, isDockerfile, isOptionalProperty, isPagesConfig, isRequiredProperty, isValidR2BucketName, isWAFBlockResponse, maybeAddTraceHeader, normalizeAndValidateConfig, performApiFetchBase, renderError, spawnCloudflared, startTunnel, sweepStaleWranglerTmpDirs, throwFetchError, 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/constants.ts":{"bytes":427,"imports":[],"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":10902,"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":5039,"imports":[{"path":"src/compatibility-date.ts","kind":"import-statement","original":"./compatibility-date"},{"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":"<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":49139,"imports":[],"format":"esm"},"src/config/config.ts":{"bytes":12131,"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/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":10066,"imports":[],"format":"esm"},"src/types.ts":{"bytes":11904,"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":689,"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":154195,"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":3082,"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":22124,"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":8528,"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"},"../../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/index.ts":{"bytes":2839,"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/update-check.ts","kind":"import-statement","original":"./update-check"}],"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-AKFE3ND4.mjs","kind":"import-statement"},{"path":"dist/chunk-OZQVB3L3.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":166},"dist/index.mjs":{"imports":[{"path":"dist/chunk-AKFE3ND4.mjs","kind":"import-statement"},{"path":"dist/chunk-O4YGOZSW.mjs","kind":"import-statement"},{"path":"dist/chunk-GMTGAG26.mjs","kind":"import-statement"},{"path":"dist/chunk-OZQVB3L3.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: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","MetricsRegistry","MissingConfigError","PATH_TO_DEPLOY_CONFIG","ParseError","PatchConfigError","SERVICE_TAG_PREFIX","UserError","assertNever","bucketFormatMessage","configFileName","configFormat","constructWranglerConfig","createFatalError","defaultWranglerConfig","experimental_patchConfig","experimental_readRawConfig","fetchLatestNpmVersion","findWranglerConfig","formatConfigSnippet","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","getGlobalWranglerConfigPath","getLocalExplorerEnabledFromEnv","getOpenNextDeployFromEnv","getOutputFileDirectoryFromEnv","getOutputFilePathFromEnv","getRegistryPath","getSanitizeLogs","getSubdomainMixedStateCheckDisabled","getTodaysCompatDate","getTraceHeader","getWorkersCIBranchName","getWranglerCacheDirFromEnv","getWranglerHiddenDirPath","getWranglerHideBanner","getWranglerSendErrorReportsFromEnv","getWranglerSendMetricsFromEnv","getWranglerTmpDir","hasProperty","indexLocation","isCompatDate","isDirectory","isDockerfile","isOptionalProperty","isPagesConfig","isRedirectedConfig","isRequiredProperty","isValidR2BucketName","mapWorkerMetadataBindings","normalizeAndValidateConfig","parseByteSize","parseHumanDuration","parseJSON","parseJSONC","parseNonHyphenedUuid","parsePackageJSON","parseTOML","readFileSync","readFileSyncToBuffer","removeDir","removeDirSync","resolveWranglerConfigPath","searchLocation","spawnCloudflared","startTunnel","sweepStaleWranglerTmpDirs","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":3347},"src/config/patch-config.ts":{"bytesInOutput":1912},"src/config/validation.ts":{"bytesInOutput":146275},"../../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":393},"../../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":2114},"src/config/validation-pages.ts":{"bytesInOutput":4503},"src/wrangler-tmp-dir.ts":{"bytesInOutput":1782},"src/cloudflared.ts":{"bytesInOutput":16974},"src/tunnel.ts":{"bytesInOutput":7900},"src/update-check.ts":{"bytesInOutput":877}},"bytes":397390},"dist/chunk-AKFE3ND4.mjs":{"imports":[{"path":"dist/chunk-OZQVB3L3.mjs","kind":"import-statement"},{"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":11088},"src/construct-wrangler-config.ts":{"bytesInOutput":2837}},"bytes":14891},"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-GMTGAG26.mjs","kind":"import-statement"},{"path":"dist/chunk-OZQVB3L3.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":9007},"dist/chunk-GMTGAG26.mjs":{"imports":[{"path":"dist/chunk-OZQVB3L3.mjs","kind":"import-statement"},{"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","FatalError","JsonFriendlyFatalError","MissingConfigError","ParseError","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/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":106766},"dist/chunk-OZQVB3L3.mjs":{"imports":[],"exports":["ENVIRONMENT_TAG_PREFIX","INHERIT_SYMBOL","JSON_CONFIG_FORMATS","PATH_TO_DEPLOY_CONFIG","SERVICE_TAG_PREFIX"],"inputs":{"src/constants.ts":{"bytesInOutput":245}},"bytes":391},"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/constants.ts":{"bytes":427,"imports":[],"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":10884,"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":5039,"imports":[{"path":"src/compatibility-date.ts","kind":"import-statement","original":"./compatibility-date"},{"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":"<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":49139,"imports":[],"format":"esm"},"src/config/config.ts":{"bytes":12131,"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/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":10066,"imports":[],"format":"esm"},"src/types.ts":{"bytes":11904,"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":689,"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":154195,"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":3082,"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":22124,"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":8591,"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":12654,"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/index.ts":{"bytes":2907,"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"}],"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-UFU4JGIG.mjs","kind":"import-statement"},{"path":"dist/chunk-OZQVB3L3.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":166},"dist/index.mjs":{"imports":[{"path":"dist/chunk-UFU4JGIG.mjs","kind":"import-statement"},{"path":"dist/chunk-O4YGOZSW.mjs","kind":"import-statement"},{"path":"dist/chunk-GMTGAG26.mjs","kind":"import-statement"},{"path":"dist/chunk-OZQVB3L3.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}],"exports":["APIError","COMPLIANCE_REGION_CONFIG_PUBLIC","COMPLIANCE_REGION_CONFIG_UNKNOWN","CommandLineArgsError","DeprecationError","Diagnostics","ENVIRONMENT_TAG_PREFIX","FatalError","INHERIT_SYMBOL","JSON_CONFIG_FORMATS","JsonFriendlyFatalError","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","fetchLatestNpmVersion","fetchListResultBase","fetchResultBase","findWranglerConfig","formatConfigSnippet","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","getGlobalWranglerConfigPath","getLocalExplorerEnabledFromEnv","getOpenNextDeployFromEnv","getOutputFileDirectoryFromEnv","getOutputFilePathFromEnv","getRegistryPath","getSanitizeLogs","getSubdomainMixedStateCheckDisabled","getTodaysCompatDate","getTraceHeader","getWorkersCIBranchName","getWranglerCacheDirFromEnv","getWranglerHiddenDirPath","getWranglerHideBanner","getWranglerSendErrorReportsFromEnv","getWranglerSendMetricsFromEnv","getWranglerTmpDir","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","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":3347},"src/config/patch-config.ts":{"bytesInOutput":1912},"src/config/validation.ts":{"bytesInOutput":146275},"../../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":393},"../../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":2114},"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":10872},"src/cfetch/errors.ts":{"bytesInOutput":624},"src/update-check.ts":{"bytesInOutput":877}},"bytes":409299},"dist/chunk-UFU4JGIG.mjs":{"imports":[{"path":"dist/chunk-OZQVB3L3.mjs","kind":"import-statement"},{"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":11066},"src/construct-wrangler-config.ts":{"bytesInOutput":2837}},"bytes":14869},"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-GMTGAG26.mjs","kind":"import-statement"},{"path":"dist/chunk-OZQVB3L3.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":9007},"dist/chunk-GMTGAG26.mjs":{"imports":[{"path":"dist/chunk-OZQVB3L3.mjs","kind":"import-statement"},{"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","FatalError","JsonFriendlyFatalError","MissingConfigError","ParseError","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/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":106766},"dist/chunk-OZQVB3L3.mjs":{"imports":[],"exports":["ENVIRONMENT_TAG_PREFIX","INHERIT_SYMBOL","JSON_CONFIG_FORMATS","PATH_TO_DEPLOY_CONFIG","SERVICE_TAG_PREFIX"],"inputs":{"src/constants.ts":{"bytesInOutput":245}},"bytes":391},"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.22.
|
|
3
|
+
"version": "0.22.1",
|
|
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": {
|
|
@@ -37,26 +37,26 @@
|
|
|
37
37
|
},
|
|
38
38
|
"devDependencies": {
|
|
39
39
|
"@types/command-exists": "^1.2.0",
|
|
40
|
-
"@types/node": "
|
|
40
|
+
"@types/node": "22.15.17",
|
|
41
41
|
"@types/signal-exit": "^3.0.1",
|
|
42
42
|
"@vitest/ui": "4.1.0",
|
|
43
43
|
"cloudflare": "^5.2.0",
|
|
44
44
|
"command-exists": "^1.2.9",
|
|
45
45
|
"concurrently": "^8.2.2",
|
|
46
46
|
"empathic": "^2.0.0",
|
|
47
|
-
"jsonc-parser": "
|
|
48
|
-
"signal-exit": "
|
|
49
|
-
"smol-toml": "
|
|
47
|
+
"jsonc-parser": "3.2.0",
|
|
48
|
+
"signal-exit": "3.0.7",
|
|
49
|
+
"smol-toml": "1.5.2",
|
|
50
50
|
"ts-dedent": "^2.2.0",
|
|
51
51
|
"tsdown": "^0.15.9",
|
|
52
52
|
"tsup": "8.3.0",
|
|
53
|
-
"typescript": "
|
|
53
|
+
"typescript": "5.8.3",
|
|
54
54
|
"update-check": "^1.5.4",
|
|
55
55
|
"vitest": "4.1.0",
|
|
56
56
|
"xdg-app-paths": "^8.3.0",
|
|
57
57
|
"@cloudflare/workers-shared": "0.19.6",
|
|
58
|
-
"@cloudflare/
|
|
59
|
-
"@cloudflare/
|
|
58
|
+
"@cloudflare/workers-tsconfig": "0.0.0",
|
|
59
|
+
"@cloudflare/workflows-shared": "0.11.1"
|
|
60
60
|
},
|
|
61
61
|
"peerDependencies": {
|
|
62
62
|
"vitest": "^4.1.0"
|