@cloudflare/workers-utils 0.22.1 → 0.23.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/browser.d.mts +6 -3
- package/dist/browser.mjs +1 -2
- package/dist/{chunk-UFU4JGIG.mjs → chunk-J6D57QVQ.mjs} +3 -40
- package/dist/{chunk-GMTGAG26.mjs → chunk-ULVYGN52.mjs} +8 -2
- package/dist/{config-CXobNAeT.d.mts → config-BT23LDfr.d.mts} +28 -4
- package/dist/index.d.mts +42 -4
- package/dist/index.mjs +112 -15
- package/dist/metafile-esm.json +1 -1
- package/dist/test-helpers/index.d.mts +1 -1
- package/dist/test-helpers/index.mjs +1 -2
- package/package.json +1 -1
- package/dist/chunk-OZQVB3L3.mjs +0 -8
package/dist/browser.d.mts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { T as TailConsumer, az as WorkerMetadata, R as RawConfig } from './config-
|
|
1
|
+
import { T as TailConsumer, az as WorkerMetadata, R as RawConfig } from './config-BT23LDfr.mjs';
|
|
2
2
|
import { AssetConfig } from '@cloudflare/workers-shared';
|
|
3
3
|
import { Cloudflare } from 'cloudflare';
|
|
4
4
|
|
|
@@ -34,9 +34,12 @@ interface APIWorkerConfig {
|
|
|
34
34
|
};
|
|
35
35
|
}
|
|
36
36
|
/**
|
|
37
|
-
* Given
|
|
37
|
+
* Given information about a Worker,
|
|
38
38
|
* construct a Wrangler config file for the application.
|
|
39
|
+
*
|
|
40
|
+
* @param config - The Worker configuration sourced from the Cloudflare API
|
|
41
|
+
* @returns A Wrangler-compatible raw config object
|
|
39
42
|
*/
|
|
40
|
-
declare function constructWranglerConfig(
|
|
43
|
+
declare function constructWranglerConfig(config: APIWorkerConfig): RawConfig;
|
|
41
44
|
|
|
42
45
|
export { constructWranglerConfig };
|
package/dist/browser.mjs
CHANGED
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
import { ENVIRONMENT_TAG_PREFIX, SERVICE_TAG_PREFIX } from './chunk-OZQVB3L3.mjs';
|
|
2
1
|
import { __name } from './chunk-DCOBXSFB.mjs';
|
|
3
2
|
import assert from 'node:assert';
|
|
4
3
|
|
|
@@ -299,9 +298,9 @@ function mapWorkerMetadataBindings(bindings) {
|
|
|
299
298
|
}
|
|
300
299
|
];
|
|
301
300
|
break;
|
|
302
|
-
case "
|
|
301
|
+
case "websearch":
|
|
303
302
|
{
|
|
304
|
-
configObj.
|
|
303
|
+
configObj.websearch = {
|
|
305
304
|
binding: binding.name
|
|
306
305
|
};
|
|
307
306
|
}
|
|
@@ -436,7 +435,7 @@ function mapWorkerMetadataBindings(bindings) {
|
|
|
436
435
|
__name(mapWorkerMetadataBindings, "mapWorkerMetadataBindings");
|
|
437
436
|
|
|
438
437
|
// src/construct-wrangler-config.ts
|
|
439
|
-
function
|
|
438
|
+
function constructWranglerConfig(config) {
|
|
440
439
|
const mappedBindings = mapWorkerMetadataBindings(config.bindings);
|
|
441
440
|
const durableObjectClassNames = config.bindings.filter(
|
|
442
441
|
(binding) => binding.type === "durable_object_namespace" && binding.script_name === config.name
|
|
@@ -484,42 +483,6 @@ function convertWorkerToWranglerConfig(config) {
|
|
|
484
483
|
...mappedBindings
|
|
485
484
|
};
|
|
486
485
|
}
|
|
487
|
-
__name(convertWorkerToWranglerConfig, "convertWorkerToWranglerConfig");
|
|
488
|
-
function constructWranglerConfig(workerOrWorkers) {
|
|
489
|
-
let workers;
|
|
490
|
-
if (Array.isArray(workerOrWorkers)) {
|
|
491
|
-
workers = workerOrWorkers;
|
|
492
|
-
} else {
|
|
493
|
-
workers = [workerOrWorkers];
|
|
494
|
-
}
|
|
495
|
-
const topLevelEnv = workers.find(
|
|
496
|
-
(w) => !w.tags?.some((t) => t.startsWith(ENVIRONMENT_TAG_PREFIX))
|
|
497
|
-
);
|
|
498
|
-
const workerName = topLevelEnv?.name ?? workers[0].name;
|
|
499
|
-
const entrypoint = topLevelEnv?.entrypoint ?? workers[0].entrypoint;
|
|
500
|
-
let combinedConfig;
|
|
501
|
-
if (topLevelEnv) {
|
|
502
|
-
combinedConfig = convertWorkerToWranglerConfig(topLevelEnv);
|
|
503
|
-
} else {
|
|
504
|
-
combinedConfig = {
|
|
505
|
-
name: workerName,
|
|
506
|
-
main: entrypoint
|
|
507
|
-
};
|
|
508
|
-
}
|
|
509
|
-
for (const env of workers) {
|
|
510
|
-
const serviceTag = env.tags?.find(
|
|
511
|
-
(t) => t === `${SERVICE_TAG_PREFIX}${workerName}`
|
|
512
|
-
);
|
|
513
|
-
const envTag = env.tags?.find((t) => t.startsWith(ENVIRONMENT_TAG_PREFIX));
|
|
514
|
-
if (serviceTag !== `${SERVICE_TAG_PREFIX}${workerName}` || envTag === void 0) {
|
|
515
|
-
continue;
|
|
516
|
-
}
|
|
517
|
-
const [_, envName] = envTag.split("=");
|
|
518
|
-
combinedConfig.env ??= {};
|
|
519
|
-
combinedConfig.env[envName] = convertWorkerToWranglerConfig(env);
|
|
520
|
-
}
|
|
521
|
-
return combinedConfig;
|
|
522
|
-
}
|
|
523
486
|
__name(constructWranglerConfig, "constructWranglerConfig");
|
|
524
487
|
|
|
525
488
|
export { assertNever, constructWranglerConfig, getTodaysCompatDate, isCompatDate, mapWorkerMetadataBindings };
|
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
import { PATH_TO_DEPLOY_CONFIG } from './chunk-OZQVB3L3.mjs';
|
|
2
1
|
import { __name } from './chunk-DCOBXSFB.mjs';
|
|
3
2
|
import fs, { readFileSync as readFileSync$1, statSync, existsSync } from 'node:fs';
|
|
4
3
|
import path, { resolve, isAbsolute, dirname, join } from 'node:path';
|
|
@@ -2652,6 +2651,13 @@ function removeBOMAndValidate(buffer, file2) {
|
|
|
2652
2651
|
return content;
|
|
2653
2652
|
}
|
|
2654
2653
|
__name(removeBOMAndValidate, "removeBOMAndValidate");
|
|
2654
|
+
|
|
2655
|
+
// src/constants.ts
|
|
2656
|
+
var INHERIT_SYMBOL = Symbol.for("inherit_binding");
|
|
2657
|
+
var SERVICE_TAG_PREFIX = "cf:service=";
|
|
2658
|
+
var ENVIRONMENT_TAG_PREFIX = "cf:environment=";
|
|
2659
|
+
var PATH_TO_DEPLOY_CONFIG = ".wrangler/deploy/config.json";
|
|
2660
|
+
var JSON_CONFIG_FORMATS = ["json", "jsonc"];
|
|
2655
2661
|
function absolute(input, root) {
|
|
2656
2662
|
return isAbsolute(input) ? input : resolve(root || ".", input);
|
|
2657
2663
|
}
|
|
@@ -3179,4 +3185,4 @@ smol-toml/dist/index.js:
|
|
|
3179
3185
|
*)
|
|
3180
3186
|
*/
|
|
3181
3187
|
|
|
3182
|
-
export { APIError, CommandLineArgsError, DeprecationError, FatalError, JsonFriendlyFatalError, MissingConfigError, ParseError, UserError, applyEdits, configFileName, configFormat, createFatalError, dedent, dist_default, experimental_readRawConfig, findWranglerConfig, format2 as format, formatConfigSnippet, indexLocation, isDirectory, isRedirectedConfig, isRedirectedRawConfig, modify, parseByteSize, parseHumanDuration, parseJSON, parseJSONC, parseNonHyphenedUuid, parsePackageJSON, parseTOML, readFileSync, readFileSyncToBuffer, removeDir, removeDirSync, resolveWranglerConfigPath, searchLocation };
|
|
3188
|
+
export { APIError, CommandLineArgsError, DeprecationError, ENVIRONMENT_TAG_PREFIX, FatalError, INHERIT_SYMBOL, JSON_CONFIG_FORMATS, JsonFriendlyFatalError, MissingConfigError, PATH_TO_DEPLOY_CONFIG, ParseError, SERVICE_TAG_PREFIX, UserError, applyEdits, configFileName, configFormat, createFatalError, dedent, dist_default, experimental_readRawConfig, findWranglerConfig, format2 as format, formatConfigSnippet, indexLocation, isDirectory, isRedirectedConfig, isRedirectedRawConfig, modify, parseByteSize, parseHumanDuration, parseJSON, parseJSONC, parseNonHyphenedUuid, parsePackageJSON, parseTOML, readFileSync, readFileSyncToBuffer, removeDir, removeDirSync, resolveWranglerConfigPath, searchLocation };
|
|
@@ -198,6 +198,7 @@ interface CfD1Database {
|
|
|
198
198
|
database_internal_env?: string;
|
|
199
199
|
migrations_table?: string;
|
|
200
200
|
migrations_dir?: string;
|
|
201
|
+
migrations_pattern?: string;
|
|
201
202
|
remote?: boolean;
|
|
202
203
|
raw?: boolean;
|
|
203
204
|
}
|
|
@@ -526,7 +527,7 @@ type WorkerMetadataBinding = {
|
|
|
526
527
|
name: string;
|
|
527
528
|
instance_name: string;
|
|
528
529
|
} | {
|
|
529
|
-
type: "
|
|
530
|
+
type: "websearch";
|
|
530
531
|
name: string;
|
|
531
532
|
} | {
|
|
532
533
|
type: "agent_memory";
|
|
@@ -858,7 +859,7 @@ type Binding = {
|
|
|
858
859
|
} & BindingOmit<CfAISearchNamespace>) | ({
|
|
859
860
|
type: "ai_search";
|
|
860
861
|
} & BindingOmit<CfAISearch>) | ({
|
|
861
|
-
type: "
|
|
862
|
+
type: "websearch";
|
|
862
863
|
} & BindingOmit<CfWebSearch>) | ({
|
|
863
864
|
type: "agent_memory";
|
|
864
865
|
} & BindingOmit<CfAgentMemory>) | ({
|
|
@@ -927,6 +928,14 @@ type Entry = {
|
|
|
927
928
|
exports: string[];
|
|
928
929
|
};
|
|
929
930
|
|
|
931
|
+
/**
|
|
932
|
+
* Wrangler configuration types. The JSDoc on these fields is also the source
|
|
933
|
+
* of truth for the equivalent fields in `@cloudflare/config`
|
|
934
|
+
* (`packages/config/src/types.ts` — `UserConfig` — and the binding option
|
|
935
|
+
* interfaces in `packages/config/src/config.ts`). When editing prose here,
|
|
936
|
+
* mirror the changes there.
|
|
937
|
+
*/
|
|
938
|
+
|
|
930
939
|
/**
|
|
931
940
|
* The `Environment` interface declares all the configuration fields that
|
|
932
941
|
* can be specified for an environment.
|
|
@@ -1814,6 +1823,21 @@ interface EnvironmentNonInheritable {
|
|
|
1814
1823
|
migrations_table?: string;
|
|
1815
1824
|
/** The path to the directory of migrations for this D1 database (defaults to './migrations'). */
|
|
1816
1825
|
migrations_dir?: string;
|
|
1826
|
+
/**
|
|
1827
|
+
* A glob pattern (relative to the Wrangler config file) used to discover
|
|
1828
|
+
* migration files for this D1 database. Defaults to `${migrations_dir}/*.sql`
|
|
1829
|
+
* if not specified.
|
|
1830
|
+
*
|
|
1831
|
+
* Use this to opt in to nested layouts such as `migrations/*\/migration.sql`
|
|
1832
|
+
* (as produced by some ORMs).
|
|
1833
|
+
*
|
|
1834
|
+
* When `migrations_pattern` is set, `migrations_dir` must also be set, and
|
|
1835
|
+
* `migrations_pattern` must start with `${migrations_dir}/`. This keeps the
|
|
1836
|
+
* relationship between the two settings explicit and lets Wrangler record
|
|
1837
|
+
* each migration's name in the migrations table as a path relative to
|
|
1838
|
+
* `migrations_dir`.
|
|
1839
|
+
*/
|
|
1840
|
+
migrations_pattern?: string;
|
|
1817
1841
|
/** Internal use only. */
|
|
1818
1842
|
database_internal_env?: string;
|
|
1819
1843
|
/** Whether the D1 database should be remote or not in local development */
|
|
@@ -1902,7 +1926,7 @@ interface EnvironmentNonInheritable {
|
|
|
1902
1926
|
* @default {}
|
|
1903
1927
|
* @nonInheritable
|
|
1904
1928
|
*/
|
|
1905
|
-
|
|
1929
|
+
websearch: {
|
|
1906
1930
|
/** The binding name used to refer to Web Search in the Worker. */
|
|
1907
1931
|
binding: string;
|
|
1908
1932
|
/** Whether the Web Search binding should be remote or not in local development */
|
|
@@ -2699,4 +2723,4 @@ interface EnvironmentMap {
|
|
|
2699
2723
|
}
|
|
2700
2724
|
declare const defaultWranglerConfig: Config;
|
|
2701
2725
|
|
|
2702
|
-
export { type CfVectorize as $, type Assets as A, type Binding as B, type ComputedFields as C, type DurableObjectMigration as D, type Environment as E, type CfWasmModuleBindings as F, type CfTextBlobBindings as G, type CfBrowserBinding as H, type CfAIBinding as I, type CfImagesBinding as J, type CfMediaBinding as K, type CfStreamBinding as L, type CfVersionMetadataBinding as M, type CfDataBlobBindings as N, type Observability as O, type PreviewsConfig as P, type CfDurableObject as Q, type RawConfig as R, type StreamingTailConsumer as S, type TailConsumer as T, type UserLimits as U, type CfWorkflow as V, type WorkerMetadataBinding as W, type CfQueue as X, type CfR2Bucket as Y, type ZoneIdRoute as Z, type CfD1Database as _, type RedirectedRawConfig as a, type CfAISearchNamespace as a0, type CfAISearch as a1, type CfWebSearch as a2, type CfAgentMemory as a3, type CfSecretsStoreSecrets as a4, type CfArtifacts as a5, type CfHelloWorld as a6, type CfFlagship as a7, type CfWorkerLoader as a8, type CfRateLimit as a9, type ServiceMetadataRes as aA, type ServiceFetch as aB, type File as aC, type BinaryFile as aD, type Trigger as aE, type Entry as aF, INHERIT_SYMBOL as aG, SERVICE_TAG_PREFIX as aH, ENVIRONMENT_TAG_PREFIX as aI, PATH_TO_DEPLOY_CONFIG as aJ, JSON_CONFIG_FORMATS as aK, type CfHyperdrive as aa, type CfService as ab, type CfVpcService as ac, type CfVpcNetwork as ad, type CfAnalyticsEngineDataset as ae, type CfDispatchNamespace as af, type CfMTlsCertificate as ag, type CfLogfwdr as ah, type CfLogfwdrBinding as ai, type CfAssetsBinding as aj, type CfPipeline as ak, type CfUnsafeBinding as al, type CfCapnp as am, type CfUnsafe as an, type CfDurableObjectMigrations as ao, type CfPlacement as ap, type CfTailConsumer as aq, type CfUserLimits as ar, type CfWorkerInit as as, type CfWorkerContext as at, type CfWorkerSourceMap as au, type Json as av, type AssetConfigMetadata as aw, type AssetsOptions as ax, type LegacyAssetPaths as ay, type WorkerMetadata as az, type Config as b, type
|
|
2726
|
+
export { type CfVectorize as $, type Assets as A, type Binding as B, type ComputedFields as C, type DurableObjectMigration as D, type Environment as E, type CfWasmModuleBindings as F, type CfTextBlobBindings as G, type CfBrowserBinding as H, type CfAIBinding as I, type CfImagesBinding as J, type CfMediaBinding as K, type CfStreamBinding as L, type CfVersionMetadataBinding as M, type CfDataBlobBindings as N, type Observability as O, type PreviewsConfig as P, type CfDurableObject as Q, type RawConfig as R, type StreamingTailConsumer as S, type TailConsumer as T, type UserLimits as U, type CfWorkflow as V, type WorkerMetadataBinding as W, type CfQueue as X, type CfR2Bucket as Y, type ZoneIdRoute as Z, type CfD1Database as _, type RedirectedRawConfig as a, type CfAISearchNamespace as a0, type CfAISearch as a1, type CfWebSearch as a2, type CfAgentMemory as a3, type CfSecretsStoreSecrets as a4, type CfArtifacts as a5, type CfHelloWorld as a6, type CfFlagship as a7, type CfWorkerLoader as a8, type CfRateLimit as a9, type ServiceMetadataRes as aA, type ServiceFetch as aB, type File as aC, type BinaryFile as aD, type Trigger as aE, type Entry as aF, INHERIT_SYMBOL as aG, SERVICE_TAG_PREFIX as aH, ENVIRONMENT_TAG_PREFIX as aI, PATH_TO_DEPLOY_CONFIG as aJ, JSON_CONFIG_FORMATS as aK, type CfHyperdrive as aa, type CfService as ab, type CfVpcService as ac, type CfVpcNetwork as ad, type CfAnalyticsEngineDataset as ae, type CfDispatchNamespace as af, type CfMTlsCertificate as ag, type CfLogfwdr as ah, type CfLogfwdrBinding as ai, type CfAssetsBinding as aj, type CfPipeline as ak, type CfUnsafeBinding as al, type CfCapnp as am, type CfUnsafe as an, type CfDurableObjectMigrations as ao, type CfPlacement as ap, type CfTailConsumer as aq, type CfUserLimits as ar, type CfWorkerInit as as, type CfWorkerContext as at, type CfWorkerSourceMap as au, type Json as av, type AssetConfigMetadata as aw, type AssetsOptions as ax, type LegacyAssetPaths as ay, type WorkerMetadata as az, type Config as b, type Route as c, type RawDevConfig as d, type ConfigFields as e, type RawEnvironment as f, defaultWranglerConfig as g, type ZoneNameRoute as h, type CustomDomainRoute as i, type CloudchamberConfig as j, type ContainerApp as k, type DurableObjectBindings as l, type WorkflowBinding as m, type EnvironmentNonInheritable as n, type Rule as o, type ConfigModuleRuleType as p, type DispatchNamespaceOutbound as q, type CacheOptions as r, type DockerConfiguration as s, type ContainerEngine as t, type CfScriptFormat as u, type CfModuleType as v, type CfModule as w, type CfVars as x, type CfKvNamespace as y, type CfSendEmailBindings as z };
|
package/dist/index.d.mts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { C as ComputedFields, B as Binding, R as RawConfig, b as Config, W as WorkerMetadataBinding } from './config-
|
|
2
|
-
export { aw as AssetConfigMetadata, A as Assets, ax as AssetsOptions, aD as BinaryFile, r as CacheOptions, I as CfAIBinding, a1 as CfAISearch, a0 as CfAISearchNamespace, a3 as CfAgentMemory, ae as CfAnalyticsEngineDataset, a5 as CfArtifacts, aj as CfAssetsBinding, H as CfBrowserBinding, am as CfCapnp, _ as CfD1Database, N as CfDataBlobBindings, af as CfDispatchNamespace, Q as CfDurableObject, ao as CfDurableObjectMigrations, a7 as CfFlagship, a6 as CfHelloWorld, aa as CfHyperdrive, J as CfImagesBinding, y as CfKvNamespace, ah as CfLogfwdr, ai as CfLogfwdrBinding, ag as CfMTlsCertificate, K as CfMediaBinding, w as CfModule, v as CfModuleType, ak as CfPipeline, ap as CfPlacement, X as CfQueue, Y as CfR2Bucket, a9 as CfRateLimit, u as CfScriptFormat, a4 as CfSecretsStoreSecrets, z as CfSendEmailBindings, ab as CfService, L as CfStreamBinding, aq as CfTailConsumer, G as CfTextBlobBindings, an as CfUnsafe, al as CfUnsafeBinding, ar as CfUserLimits, x as CfVars, $ as CfVectorize, M as CfVersionMetadataBinding, ad as CfVpcNetwork, ac as CfVpcService, F as CfWasmModuleBindings, a2 as CfWebSearch, at as CfWorkerContext, as as CfWorkerInit, a8 as CfWorkerLoader, au as CfWorkerSourceMap, V as CfWorkflow, j as CloudchamberConfig,
|
|
1
|
+
import { C as ComputedFields, B as Binding, R as RawConfig, b as Config, W as WorkerMetadataBinding, c as Route } from './config-BT23LDfr.mjs';
|
|
2
|
+
export { aw as AssetConfigMetadata, A as Assets, ax as AssetsOptions, aD as BinaryFile, r as CacheOptions, I as CfAIBinding, a1 as CfAISearch, a0 as CfAISearchNamespace, a3 as CfAgentMemory, ae as CfAnalyticsEngineDataset, a5 as CfArtifacts, aj as CfAssetsBinding, H as CfBrowserBinding, am as CfCapnp, _ as CfD1Database, N as CfDataBlobBindings, af as CfDispatchNamespace, Q as CfDurableObject, ao as CfDurableObjectMigrations, a7 as CfFlagship, a6 as CfHelloWorld, aa as CfHyperdrive, J as CfImagesBinding, y as CfKvNamespace, ah as CfLogfwdr, ai as CfLogfwdrBinding, ag as CfMTlsCertificate, K as CfMediaBinding, w as CfModule, v as CfModuleType, ak as CfPipeline, ap as CfPlacement, X as CfQueue, Y as CfR2Bucket, a9 as CfRateLimit, u as CfScriptFormat, a4 as CfSecretsStoreSecrets, z as CfSendEmailBindings, ab as CfService, L as CfStreamBinding, aq as CfTailConsumer, G as CfTextBlobBindings, an as CfUnsafe, al as CfUnsafeBinding, ar as CfUserLimits, x as CfVars, $ as CfVectorize, M as CfVersionMetadataBinding, ad as CfVpcNetwork, ac as CfVpcService, F as CfWasmModuleBindings, a2 as CfWebSearch, at as CfWorkerContext, as as CfWorkerInit, a8 as CfWorkerLoader, au as CfWorkerSourceMap, V as CfWorkflow, j as CloudchamberConfig, e as ConfigFields, p as ConfigModuleRuleType, k as ContainerApp, t as ContainerEngine, i as CustomDomainRoute, q as DispatchNamespaceOutbound, s as DockerConfiguration, l as DurableObjectBindings, D as DurableObjectMigration, aI as ENVIRONMENT_TAG_PREFIX, aF as Entry, E as Environment, n as EnvironmentNonInheritable, aC as File, aG as INHERIT_SYMBOL, aK as JSON_CONFIG_FORMATS, av as Json, ay as LegacyAssetPaths, O as Observability, aJ as PATH_TO_DEPLOY_CONFIG, P as PreviewsConfig, d as RawDevConfig, f as RawEnvironment, a as RedirectedRawConfig, o as Rule, aH as SERVICE_TAG_PREFIX, aB as ServiceFetch, aA as ServiceMetadataRes, S as StreamingTailConsumer, T as TailConsumer, aE as Trigger, U as UserLimits, az as WorkerMetadata, m as WorkflowBinding, Z as ZoneIdRoute, h as ZoneNameRoute, g as defaultWranglerConfig } from './config-BT23LDfr.mjs';
|
|
3
3
|
import * as jsoncParser from 'jsonc-parser';
|
|
4
4
|
export { constructWranglerConfig } from './browser.mjs';
|
|
5
5
|
export { Counter, MetricsRegistry } from './prometheus-metrics.mjs';
|
|
@@ -92,7 +92,7 @@ declare const bucketFormatMessage = "Bucket names must begin and end with an alp
|
|
|
92
92
|
* Config field names for bindings (e.g., "kv_namespaces", "d1_databases").
|
|
93
93
|
* These are the keys used in Wrangler's config file
|
|
94
94
|
*/
|
|
95
|
-
type ConfigBindingFieldName = "data_blobs" | "durable_objects" | "kv_namespaces" | "send_email" | "queues" | "d1_databases" | "vectorize" | "ai_search_namespaces" | "ai_search" | "
|
|
95
|
+
type ConfigBindingFieldName = "data_blobs" | "durable_objects" | "kv_namespaces" | "send_email" | "queues" | "d1_databases" | "vectorize" | "ai_search_namespaces" | "ai_search" | "websearch" | "agent_memory" | "hyperdrive" | "r2_buckets" | "logfwdr" | "services" | "analytics_engine_datasets" | "text_blobs" | "browser" | "ai" | "images" | "stream" | "media" | "version_metadata" | "unsafe" | "vars" | "wasm_modules" | "dispatch_namespaces" | "mtls_certificates" | "workflows" | "pipelines" | "secrets_store_secrets" | "artifacts" | "ratelimits" | "assets" | "unsafe_hello_world" | "flagship" | "worker_loaders" | "vpc_services" | "vpc_networks";
|
|
96
96
|
/**
|
|
97
97
|
* @deprecated new code should use getBindingTypeFriendlyName() instead
|
|
98
98
|
*/
|
|
@@ -978,6 +978,7 @@ interface FetchResult<ResponseType = unknown> {
|
|
|
978
978
|
result_info?: unknown;
|
|
979
979
|
}
|
|
980
980
|
type FetchResultFetcher = <ResponseType>(complianceConfig: ComplianceConfig, resource: string, init?: RequestInit, queryParams?: URLSearchParams, abortSignal?: AbortSignal) => Promise<ResponseType>;
|
|
981
|
+
type FetchListResultFetcher = <ResponseType>(complianceConfig: ComplianceConfig, resource: string, init?: RequestInit, queryParams?: URLSearchParams) => Promise<ResponseType[]>;
|
|
981
982
|
/**
|
|
982
983
|
*
|
|
983
984
|
* Note this requires its caller to handle credentials
|
|
@@ -1037,4 +1038,41 @@ type NpmVersionCheckResult = {
|
|
|
1037
1038
|
*/
|
|
1038
1039
|
declare function fetchLatestNpmVersion(name: string, version: string): Promise<NpmVersionCheckResult>;
|
|
1039
1040
|
|
|
1040
|
-
|
|
1041
|
+
declare function retryOnAPIFailure<T>(action: () => T | Promise<T>, logger: Logger, backoff?: number, attempts?: number, abortSignal?: AbortSignal): Promise<T>;
|
|
1042
|
+
|
|
1043
|
+
declare function formatTime(duration: number): string;
|
|
1044
|
+
|
|
1045
|
+
/**
|
|
1046
|
+
* Get the hostname on which to run a Worker.
|
|
1047
|
+
*
|
|
1048
|
+
* The most accurate place is usually
|
|
1049
|
+
* `route.pattern`, as that includes any subdomains. For example:
|
|
1050
|
+
* ```js
|
|
1051
|
+
* {
|
|
1052
|
+
* pattern: foo.example.com
|
|
1053
|
+
* zone_name: example.com
|
|
1054
|
+
* }
|
|
1055
|
+
* ```
|
|
1056
|
+
* However, in the case of patterns that _can't_ be parsed as a hostname
|
|
1057
|
+
* (primarily the pattern `*/ declare function getHostFromRoute(route: Route): string | undefined;
|
|
1058
|
+
/**
|
|
1059
|
+
* Best-effort derivation of the Cloudflare zone name that owns a given route,
|
|
1060
|
+
* for use as the `CF-Worker` header value on outbound subrequests in local
|
|
1061
|
+
* development (see https://developers.cloudflare.com/fundamentals/reference/http-headers/#cf-worker).
|
|
1062
|
+
*
|
|
1063
|
+
* In production, `CF-Worker` is set to the zone name — for a route
|
|
1064
|
+
* `foo.example.com/*` on zone `example.com`, the header is `example.com`.
|
|
1065
|
+
* When the user has explicitly told us the zone name in their route config
|
|
1066
|
+
* (`zone_name`), use it. Otherwise, fall back to {@link getHostFromRoute},
|
|
1067
|
+
* which returns the route pattern's hostname — this is the closest local
|
|
1068
|
+
* approximation without performing an API lookup, and matches the behaviour
|
|
1069
|
+
* users see when their route's hostname is already the apex (e.g.
|
|
1070
|
+
* `example.com/*`).
|
|
1071
|
+
*/
|
|
1072
|
+
declare function getZoneFromRoute(route: Route): string | undefined;
|
|
1073
|
+
/**
|
|
1074
|
+
* Given something that resembles a URL, try to extract a host from it.
|
|
1075
|
+
*/
|
|
1076
|
+
declare function getHostFromUrl(urlLike: string): string | undefined;
|
|
1077
|
+
|
|
1078
|
+
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 FetchListResultFetcher, 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, Route, 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, formatTime, friendlyBindingNames, getBindingLocalSupport, getBindingTypeFriendlyName, getBooleanEnvironmentVariableFactory, getBrowserRenderingHeadfulFromEnv, getBuildConditionsFromEnv, getBuildPlatformFromEnv, getC3CommandFromEnv, getCIGeneratePreviewAlias, getCIMatchTag, getCIOverrideName, getCIOverrideNetworkModeHost, getCfFetchEnabledFromEnv, getCfFetchPathFromEnv, getCloudflareApiBaseUrl, getCloudflareApiEnvironmentFromEnv, getCloudflareComplianceRegion, getCloudflareEnv, getCloudflareIncludeProcessEnvFromEnv, getCloudflareLoadDevVarsFromDotEnv, getCloudflaredPathFromEnv, getComplianceRegionSubdomain, getD1ExtraLocationChoices, getDisableConfigWatching, getDockerPath, getEnvironmentVariableFactory, getGlobalWranglerConfigPath, getHostFromRoute, getHostFromUrl, getLocalExplorerEnabledFromEnv, getOpenNextDeployFromEnv, getOutputFileDirectoryFromEnv, getOutputFilePathFromEnv, getRegistryPath, getSanitizeLogs, getSubdomainMixedStateCheckDisabled, getTodaysCompatDate, getTraceHeader, getWorkersCIBranchName, getWranglerCacheDirFromEnv, getWranglerHiddenDirPath, getWranglerHideBanner, getWranglerSendErrorReportsFromEnv, getWranglerSendMetricsFromEnv, getWranglerTmpDir, getZoneFromRoute, hasCursor, hasMorePages, hasProperty, indexLocation, isCompatDate, isDirectory, isDockerfile, isOptionalProperty, isPagesConfig, isRedirectedConfig, isRequiredProperty, isValidR2BucketName, isWAFBlockResponse, mapWorkerMetadataBindings, maybeAddTraceHeader, normalizeAndValidateConfig, parseByteSize, parseHumanDuration, parseJSON, parseJSONC, parseNonHyphenedUuid, parsePackageJSON, parseTOML, performApiFetchBase, readFileSync, readFileSyncToBuffer, removeDir, removeDirSync, renderError, resolveWranglerConfigPath, retryOnAPIFailure, searchLocation, spawnCloudflared, startTunnel, sweepStaleWranglerTmpDirs, throwFetchError, truncate, validatePagesConfig };
|
package/dist/index.mjs
CHANGED
|
@@ -1,8 +1,7 @@
|
|
|
1
|
-
export { assertNever, constructWranglerConfig, getTodaysCompatDate, isCompatDate, mapWorkerMetadataBindings } from './chunk-
|
|
1
|
+
export { assertNever, constructWranglerConfig, getTodaysCompatDate, isCompatDate, mapWorkerMetadataBindings } from './chunk-J6D57QVQ.mjs';
|
|
2
2
|
export { MetricsRegistry } from './chunk-O4YGOZSW.mjs';
|
|
3
|
-
import { isDirectory, UserError, isRedirectedRawConfig, dedent, configFileName, formatConfigSnippet, FatalError, removeDirSync, ParseError, parseJSON, APIError, readFileSync as readFileSync$1, parseTOML, modify, applyEdits, format, dist_default, parseJSONC } from './chunk-
|
|
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-
|
|
5
|
-
export { ENVIRONMENT_TAG_PREFIX, INHERIT_SYMBOL, JSON_CONFIG_FORMATS, PATH_TO_DEPLOY_CONFIG, SERVICE_TAG_PREFIX } from './chunk-OZQVB3L3.mjs';
|
|
3
|
+
import { isDirectory, UserError, isRedirectedRawConfig, dedent, configFileName, formatConfigSnippet, FatalError, removeDirSync, ParseError, parseJSON, APIError, readFileSync as readFileSync$1, parseTOML, modify, applyEdits, format, dist_default, parseJSONC } from './chunk-ULVYGN52.mjs';
|
|
4
|
+
export { APIError, CommandLineArgsError, DeprecationError, ENVIRONMENT_TAG_PREFIX, FatalError, INHERIT_SYMBOL, JSON_CONFIG_FORMATS, JsonFriendlyFatalError, MissingConfigError, PATH_TO_DEPLOY_CONFIG, ParseError, SERVICE_TAG_PREFIX, UserError, configFileName, configFormat, createFatalError, experimental_readRawConfig, findWranglerConfig, formatConfigSnippet, indexLocation, isDirectory, isRedirectedConfig, parseByteSize, parseHumanDuration, parseJSON, parseJSONC, parseNonHyphenedUuid, parsePackageJSON, parseTOML, readFileSync, readFileSyncToBuffer, removeDir, removeDirSync, resolveWranglerConfigPath, searchLocation } from './chunk-ULVYGN52.mjs';
|
|
6
5
|
import { __commonJS, __name, __require, __export, __toESM, __reExport } from './chunk-DCOBXSFB.mjs';
|
|
7
6
|
import fs2, { accessSync, constants, writeFileSync, renameSync, existsSync, unlinkSync, mkdirSync, chmodSync, readFileSync } from 'node:fs';
|
|
8
7
|
import assert from 'node:assert';
|
|
@@ -13,6 +12,7 @@ import { createHash } from 'node:crypto';
|
|
|
13
12
|
import { fetch, Headers, FormData, Response } from 'undici';
|
|
14
13
|
import { URLSearchParams } from 'node:url';
|
|
15
14
|
import * as timersPromises from 'node:timers/promises';
|
|
15
|
+
import { setTimeout as setTimeout$1 } from 'node:timers/promises';
|
|
16
16
|
|
|
17
17
|
// ../../node_modules/.pnpm/xdg-app-paths@8.3.0/node_modules/xdg-app-paths/dist/cjs/lib/XDGAppPaths.js
|
|
18
18
|
var require_XDGAppPaths = __commonJS({
|
|
@@ -1911,7 +1911,7 @@ var defaultWranglerConfig = {
|
|
|
1911
1911
|
vectorize: [],
|
|
1912
1912
|
ai_search_namespaces: [],
|
|
1913
1913
|
ai_search: [],
|
|
1914
|
-
|
|
1914
|
+
websearch: void 0,
|
|
1915
1915
|
agent_memory: [],
|
|
1916
1916
|
hyperdrive: [],
|
|
1917
1917
|
workflows: [],
|
|
@@ -6588,7 +6588,7 @@ var friendlyBindingNames = {
|
|
|
6588
6588
|
vectorize: "Vectorize Index",
|
|
6589
6589
|
ai_search_namespaces: "AI Search Namespace",
|
|
6590
6590
|
ai_search: "AI Search Instance",
|
|
6591
|
-
|
|
6591
|
+
websearch: "Web Search",
|
|
6592
6592
|
agent_memory: "Agent Memory",
|
|
6593
6593
|
hyperdrive: "Hyperdrive Config",
|
|
6594
6594
|
r2_buckets: "R2 Bucket",
|
|
@@ -6642,7 +6642,7 @@ var bindingTypeFriendlyNames = {
|
|
|
6642
6642
|
vectorize: "Vectorize Index",
|
|
6643
6643
|
ai_search_namespace: "AI Search Namespace",
|
|
6644
6644
|
ai_search: "AI Search Instance",
|
|
6645
|
-
|
|
6645
|
+
websearch: "Web Search",
|
|
6646
6646
|
agent_memory: "Agent Memory",
|
|
6647
6647
|
hyperdrive: "Hyperdrive Config",
|
|
6648
6648
|
service: "Worker",
|
|
@@ -7314,8 +7314,8 @@ function normalizeAndValidateRoute(diagnostics, topLevelEnv, rawEnv) {
|
|
|
7314
7314
|
);
|
|
7315
7315
|
}
|
|
7316
7316
|
__name(normalizeAndValidateRoute, "normalizeAndValidateRoute");
|
|
7317
|
-
function validateRoutes(diagnostics, topLevelEnv, rawEnv) {
|
|
7318
|
-
|
|
7317
|
+
function validateRoutes(diagnostics, topLevelEnv, rawEnv, envName) {
|
|
7318
|
+
const result = inheritable(
|
|
7319
7319
|
diagnostics,
|
|
7320
7320
|
topLevelEnv,
|
|
7321
7321
|
rawEnv,
|
|
@@ -7323,6 +7323,18 @@ function validateRoutes(diagnostics, topLevelEnv, rawEnv) {
|
|
|
7323
7323
|
all(isRouteArray, isMutuallyExclusiveWith(rawEnv, "route")),
|
|
7324
7324
|
void 0
|
|
7325
7325
|
);
|
|
7326
|
+
if (topLevelEnv !== void 0 && envName !== void 0 && rawEnv.routes === void 0) {
|
|
7327
|
+
const customDomainRoutes = topLevelEnv.routes?.filter(
|
|
7328
|
+
(r2) => typeof r2 === "object" && r2 !== null && r2.custom_domain === true
|
|
7329
|
+
);
|
|
7330
|
+
if (customDomainRoutes && customDomainRoutes.length > 0) {
|
|
7331
|
+
const customDomains = customDomainRoutes.map((r2) => r2.pattern).join(", ");
|
|
7332
|
+
diagnostics.warnings.push(
|
|
7333
|
+
`The "env.${envName}" environment inherits the top-level \`routes\` configuration, which includes the custom domain(s): ${customDomains}. Deploying this environment will reassign these custom domains away from the top-level Worker. Add \`"routes": []\` to "env.${envName}" to prevent inheritance, or copy the route configuration from the top level to hide this warning.`
|
|
7334
|
+
);
|
|
7335
|
+
}
|
|
7336
|
+
}
|
|
7337
|
+
return result;
|
|
7326
7338
|
}
|
|
7327
7339
|
__name(validateRoutes, "validateRoutes");
|
|
7328
7340
|
function normalizeAndValidatePlacement(diagnostics, topLevelEnv, rawEnv) {
|
|
@@ -7538,7 +7550,12 @@ function normalizeAndValidateEnvironment(diagnostics, configPath, rawEnv, isDisp
|
|
|
7538
7550
|
void 0,
|
|
7539
7551
|
void 0
|
|
7540
7552
|
);
|
|
7541
|
-
const routes = validateRoutes(
|
|
7553
|
+
const routes = validateRoutes(
|
|
7554
|
+
diagnostics,
|
|
7555
|
+
topLevelEnv,
|
|
7556
|
+
rawEnv,
|
|
7557
|
+
topLevelEnv === void 0 ? void 0 : envName
|
|
7558
|
+
);
|
|
7542
7559
|
const workers_dev = inheritable(
|
|
7543
7560
|
diagnostics,
|
|
7544
7561
|
topLevelEnv,
|
|
@@ -7838,13 +7855,13 @@ function normalizeAndValidateEnvironment(diagnostics, configPath, rawEnv, isDisp
|
|
|
7838
7855
|
validateBindingArray(envName, validateAISearchBinding),
|
|
7839
7856
|
[]
|
|
7840
7857
|
),
|
|
7841
|
-
|
|
7858
|
+
websearch: notInheritable(
|
|
7842
7859
|
diagnostics,
|
|
7843
7860
|
topLevelEnv,
|
|
7844
7861
|
rawConfig,
|
|
7845
7862
|
rawEnv,
|
|
7846
7863
|
envName,
|
|
7847
|
-
"
|
|
7864
|
+
"websearch",
|
|
7848
7865
|
validateNamedSimpleBinding(envName),
|
|
7849
7866
|
void 0
|
|
7850
7867
|
),
|
|
@@ -8941,7 +8958,7 @@ var validateUnsafeBinding = /* @__PURE__ */ __name((diagnostics, field, value) =
|
|
|
8941
8958
|
"ai",
|
|
8942
8959
|
"ai_search_namespace",
|
|
8943
8960
|
"ai_search",
|
|
8944
|
-
"
|
|
8961
|
+
"websearch",
|
|
8945
8962
|
"agent_memory",
|
|
8946
8963
|
"kv_namespace",
|
|
8947
8964
|
"durable_object_namespace",
|
|
@@ -9752,12 +9769,21 @@ var validateD1Binding = /* @__PURE__ */ __name((diagnostics, field, value) => {
|
|
|
9752
9769
|
if (!isRemoteValid(value, field, diagnostics)) {
|
|
9753
9770
|
isValid2 = false;
|
|
9754
9771
|
}
|
|
9772
|
+
if (!isOptionalProperty(value, "migrations_pattern", "string")) {
|
|
9773
|
+
diagnostics.errors.push(
|
|
9774
|
+
`"${field}" bindings should, optionally, have a string "migrations_pattern" field but got ${JSON.stringify(
|
|
9775
|
+
value
|
|
9776
|
+
)}.`
|
|
9777
|
+
);
|
|
9778
|
+
isValid2 = false;
|
|
9779
|
+
}
|
|
9755
9780
|
validateAdditionalProperties(diagnostics, field, Object.keys(value), [
|
|
9756
9781
|
"binding",
|
|
9757
9782
|
"database_id",
|
|
9758
9783
|
"database_internal_env",
|
|
9759
9784
|
"database_name",
|
|
9760
9785
|
"migrations_dir",
|
|
9786
|
+
"migrations_pattern",
|
|
9761
9787
|
"migrations_table",
|
|
9762
9788
|
"preview_database_id",
|
|
9763
9789
|
"remote"
|
|
@@ -11350,7 +11376,7 @@ var BINDING_LOCAL_SUPPORT = {
|
|
|
11350
11376
|
flagship: "DO-NOT-USE-this-resource-will-never-have-a-local-simulator",
|
|
11351
11377
|
vpc_service: "DO-NOT-USE-this-resource-will-never-have-a-local-simulator",
|
|
11352
11378
|
vpc_network: "DO-NOT-USE-this-resource-will-never-have-a-local-simulator",
|
|
11353
|
-
|
|
11379
|
+
websearch: "DO-NOT-USE-this-resource-will-never-have-a-local-simulator",
|
|
11354
11380
|
agent_memory: "DO-NOT-USE-this-resource-will-never-have-a-local-simulator"
|
|
11355
11381
|
};
|
|
11356
11382
|
function getBindingLocalSupport(type) {
|
|
@@ -12680,6 +12706,77 @@ async function fetchLatestNpmVersion(name, version) {
|
|
|
12680
12706
|
return { status: "update-available", latest: result.latest };
|
|
12681
12707
|
}
|
|
12682
12708
|
__name(fetchLatestNpmVersion, "fetchLatestNpmVersion");
|
|
12709
|
+
var MAX_ATTEMPTS = 3;
|
|
12710
|
+
async function retryOnAPIFailure(action, logger, backoff = 0, attempts = MAX_ATTEMPTS, abortSignal) {
|
|
12711
|
+
try {
|
|
12712
|
+
return await action();
|
|
12713
|
+
} catch (err) {
|
|
12714
|
+
if (err instanceof APIError) {
|
|
12715
|
+
if (!err.isRetryable()) {
|
|
12716
|
+
throw err;
|
|
12717
|
+
}
|
|
12718
|
+
} else if (err instanceof DOMException && err.name === "TimeoutError") ; else if (!(err instanceof TypeError)) {
|
|
12719
|
+
throw err;
|
|
12720
|
+
}
|
|
12721
|
+
logger.debug(`Retrying API call after error...`);
|
|
12722
|
+
logger.debug(err);
|
|
12723
|
+
if (attempts <= 1) {
|
|
12724
|
+
throw err;
|
|
12725
|
+
}
|
|
12726
|
+
await setTimeout$1(backoff, void 0, { signal: abortSignal });
|
|
12727
|
+
return retryOnAPIFailure(
|
|
12728
|
+
action,
|
|
12729
|
+
logger,
|
|
12730
|
+
backoff + 1e3,
|
|
12731
|
+
attempts - 1,
|
|
12732
|
+
abortSignal
|
|
12733
|
+
);
|
|
12734
|
+
}
|
|
12735
|
+
}
|
|
12736
|
+
__name(retryOnAPIFailure, "retryOnAPIFailure");
|
|
12737
|
+
|
|
12738
|
+
// src/format-time.ts
|
|
12739
|
+
function formatTime(duration) {
|
|
12740
|
+
return `(${(duration / 1e3).toFixed(2)} sec)`;
|
|
12741
|
+
}
|
|
12742
|
+
__name(formatTime, "formatTime");
|
|
12743
|
+
|
|
12744
|
+
// src/route-utils.ts
|
|
12745
|
+
function getHostFromRoute(route) {
|
|
12746
|
+
let host;
|
|
12747
|
+
if (typeof route === "string") {
|
|
12748
|
+
host = getHostFromUrl(route);
|
|
12749
|
+
} else if (typeof route === "object") {
|
|
12750
|
+
host = getHostFromUrl(route.pattern);
|
|
12751
|
+
if (host === void 0 && "zone_name" in route) {
|
|
12752
|
+
host = getHostFromUrl(route.zone_name);
|
|
12753
|
+
}
|
|
12754
|
+
}
|
|
12755
|
+
return host;
|
|
12756
|
+
}
|
|
12757
|
+
__name(getHostFromRoute, "getHostFromRoute");
|
|
12758
|
+
function getZoneFromRoute(route) {
|
|
12759
|
+
if (typeof route === "object" && "zone_name" in route && route.zone_name) {
|
|
12760
|
+
return route.zone_name;
|
|
12761
|
+
}
|
|
12762
|
+
return getHostFromRoute(route);
|
|
12763
|
+
}
|
|
12764
|
+
__name(getZoneFromRoute, "getZoneFromRoute");
|
|
12765
|
+
function getHostFromUrl(urlLike) {
|
|
12766
|
+
if (urlLike.startsWith("*/") || urlLike.startsWith("http://*/") || urlLike.startsWith("https://*/")) {
|
|
12767
|
+
return void 0;
|
|
12768
|
+
}
|
|
12769
|
+
urlLike = urlLike.replace(/\*(\.)?/g, "");
|
|
12770
|
+
if (!(urlLike.startsWith("http://") || urlLike.startsWith("https://"))) {
|
|
12771
|
+
urlLike = "http://" + urlLike;
|
|
12772
|
+
}
|
|
12773
|
+
try {
|
|
12774
|
+
return new URL(urlLike).host;
|
|
12775
|
+
} catch {
|
|
12776
|
+
return void 0;
|
|
12777
|
+
}
|
|
12778
|
+
}
|
|
12779
|
+
__name(getHostFromUrl, "getHostFromUrl");
|
|
12683
12780
|
/*! Bundled license information:
|
|
12684
12781
|
|
|
12685
12782
|
deep-extend/lib/deep-extend.js:
|
|
@@ -12714,4 +12811,4 @@ safe-buffer/index.js:
|
|
|
12714
12811
|
(*! safe-buffer. MIT License. Feross Aboukhadijeh <https://feross.org/opensource> *)
|
|
12715
12812
|
*/
|
|
12716
12813
|
|
|
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 };
|
|
12814
|
+
export { COMPLIANCE_REGION_CONFIG_PUBLIC, COMPLIANCE_REGION_CONFIG_UNKNOWN, Diagnostics, PatchConfigError, addAuthorizationHeader, bucketFormatMessage, defaultWranglerConfig, experimental_patchConfig, extractAccountTag, extractWAFBlockRayId, fetchInternalBase, fetchLatestNpmVersion, fetchListResultBase, fetchResultBase, formatTime, friendlyBindingNames, getBindingLocalSupport, getBindingTypeFriendlyName, getBooleanEnvironmentVariableFactory, getBrowserRenderingHeadfulFromEnv, getBuildConditionsFromEnv, getBuildPlatformFromEnv, getC3CommandFromEnv, getCIGeneratePreviewAlias, getCIMatchTag, getCIOverrideName, getCIOverrideNetworkModeHost, getCfFetchEnabledFromEnv, getCfFetchPathFromEnv, getCloudflareApiBaseUrl, getCloudflareApiEnvironmentFromEnv, getCloudflareComplianceRegion, getCloudflareEnv, getCloudflareIncludeProcessEnvFromEnv, getCloudflareLoadDevVarsFromDotEnv, getCloudflaredPathFromEnv, getComplianceRegionSubdomain, getD1ExtraLocationChoices, getDisableConfigWatching, getDockerPath, getEnvironmentVariableFactory, getGlobalWranglerConfigPath, getHostFromRoute, getHostFromUrl, getLocalExplorerEnabledFromEnv, getOpenNextDeployFromEnv, getOutputFileDirectoryFromEnv, getOutputFilePathFromEnv, getRegistryPath, getSanitizeLogs, getSubdomainMixedStateCheckDisabled, getTraceHeader, getWorkersCIBranchName, getWranglerCacheDirFromEnv, getWranglerHiddenDirPath, getWranglerHideBanner, getWranglerSendErrorReportsFromEnv, getWranglerSendMetricsFromEnv, getWranglerTmpDir, getZoneFromRoute, hasCursor, hasMorePages, hasProperty, isDockerfile, isOptionalProperty, isPagesConfig, isRequiredProperty, isValidR2BucketName, isWAFBlockResponse, maybeAddTraceHeader, normalizeAndValidateConfig, performApiFetchBase, renderError, retryOnAPIFailure, spawnCloudflared, startTunnel, sweepStaleWranglerTmpDirs, throwFetchError, truncate, validatePagesConfig };
|
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":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}}}
|
|
1
|
+
{"inputs":{"src/compatibility-date.ts":{"bytes":1130,"imports":[{"path":"node:assert","kind":"import-statement","external":true},{"path":"<runtime>","kind":"import-statement","external":true}],"format":"esm"},"src/assert-never.ts":{"bytes":46,"imports":[{"path":"<runtime>","kind":"import-statement","external":true}],"format":"esm"},"src/map-worker-metadata-bindings.ts":{"bytes":10882,"imports":[{"path":"src/assert-never.ts","kind":"import-statement","original":"./assert-never"},{"path":"<runtime>","kind":"import-statement","external":true}],"format":"esm"},"src/construct-wrangler-config.ts":{"bytes":3834,"imports":[{"path":"src/compatibility-date.ts","kind":"import-statement","original":"./compatibility-date"},{"path":"src/map-worker-metadata-bindings.ts","kind":"import-statement","original":"./map-worker-metadata-bindings"},{"path":"<runtime>","kind":"import-statement","external":true}],"format":"esm"},"src/browser.ts":{"bytes":71,"imports":[{"path":"src/construct-wrangler-config.ts","kind":"import-statement","original":"./construct-wrangler-config"}],"format":"esm"},"src/config/environment.ts":{"bytes":50147,"imports":[],"format":"esm"},"src/config/config.ts":{"bytes":12130,"imports":[],"format":"esm"},"../../node_modules/.pnpm/smol-toml@1.5.2/node_modules/smol-toml/dist/error.js":{"bytes":2787,"imports":[{"path":"<runtime>","kind":"import-statement","external":true}],"format":"esm"},"../../node_modules/.pnpm/smol-toml@1.5.2/node_modules/smol-toml/dist/util.js":{"bytes":3985,"imports":[{"path":"../../node_modules/.pnpm/smol-toml@1.5.2/node_modules/smol-toml/dist/error.js","kind":"import-statement","original":"./error.js"},{"path":"<runtime>","kind":"import-statement","external":true}],"format":"esm"},"../../node_modules/.pnpm/smol-toml@1.5.2/node_modules/smol-toml/dist/date.js":{"bytes":4937,"imports":[{"path":"<runtime>","kind":"import-statement","external":true}],"format":"esm"},"../../node_modules/.pnpm/smol-toml@1.5.2/node_modules/smol-toml/dist/primitive.js":{"bytes":6532,"imports":[{"path":"../../node_modules/.pnpm/smol-toml@1.5.2/node_modules/smol-toml/dist/util.js","kind":"import-statement","original":"./util.js"},{"path":"../../node_modules/.pnpm/smol-toml@1.5.2/node_modules/smol-toml/dist/date.js","kind":"import-statement","original":"./date.js"},{"path":"../../node_modules/.pnpm/smol-toml@1.5.2/node_modules/smol-toml/dist/error.js","kind":"import-statement","original":"./error.js"},{"path":"<runtime>","kind":"import-statement","external":true}],"format":"esm"},"../../node_modules/.pnpm/smol-toml@1.5.2/node_modules/smol-toml/dist/extract.js":{"bytes":4687,"imports":[{"path":"../../node_modules/.pnpm/smol-toml@1.5.2/node_modules/smol-toml/dist/primitive.js","kind":"import-statement","original":"./primitive.js"},{"path":"../../node_modules/.pnpm/smol-toml@1.5.2/node_modules/smol-toml/dist/struct.js","kind":"import-statement","original":"./struct.js"},{"path":"../../node_modules/.pnpm/smol-toml@1.5.2/node_modules/smol-toml/dist/util.js","kind":"import-statement","original":"./util.js"},{"path":"../../node_modules/.pnpm/smol-toml@1.5.2/node_modules/smol-toml/dist/error.js","kind":"import-statement","original":"./error.js"},{"path":"<runtime>","kind":"import-statement","external":true}],"format":"esm"},"../../node_modules/.pnpm/smol-toml@1.5.2/node_modules/smol-toml/dist/struct.js":{"bytes":7675,"imports":[{"path":"../../node_modules/.pnpm/smol-toml@1.5.2/node_modules/smol-toml/dist/primitive.js","kind":"import-statement","original":"./primitive.js"},{"path":"../../node_modules/.pnpm/smol-toml@1.5.2/node_modules/smol-toml/dist/extract.js","kind":"import-statement","original":"./extract.js"},{"path":"../../node_modules/.pnpm/smol-toml@1.5.2/node_modules/smol-toml/dist/util.js","kind":"import-statement","original":"./util.js"},{"path":"../../node_modules/.pnpm/smol-toml@1.5.2/node_modules/smol-toml/dist/error.js","kind":"import-statement","original":"./error.js"},{"path":"<runtime>","kind":"import-statement","external":true}],"format":"esm"},"../../node_modules/.pnpm/smol-toml@1.5.2/node_modules/smol-toml/dist/parse.js":{"bytes":5694,"imports":[{"path":"../../node_modules/.pnpm/smol-toml@1.5.2/node_modules/smol-toml/dist/struct.js","kind":"import-statement","original":"./struct.js"},{"path":"../../node_modules/.pnpm/smol-toml@1.5.2/node_modules/smol-toml/dist/extract.js","kind":"import-statement","original":"./extract.js"},{"path":"../../node_modules/.pnpm/smol-toml@1.5.2/node_modules/smol-toml/dist/util.js","kind":"import-statement","original":"./util.js"},{"path":"../../node_modules/.pnpm/smol-toml@1.5.2/node_modules/smol-toml/dist/error.js","kind":"import-statement","original":"./error.js"},{"path":"<runtime>","kind":"import-statement","external":true}],"format":"esm"},"../../node_modules/.pnpm/smol-toml@1.5.2/node_modules/smol-toml/dist/stringify.js":{"bytes":6453,"imports":[{"path":"<runtime>","kind":"import-statement","external":true}],"format":"esm"},"../../node_modules/.pnpm/smol-toml@1.5.2/node_modules/smol-toml/dist/index.js":{"bytes":1883,"imports":[{"path":"../../node_modules/.pnpm/smol-toml@1.5.2/node_modules/smol-toml/dist/parse.js","kind":"import-statement","original":"./parse.js"},{"path":"../../node_modules/.pnpm/smol-toml@1.5.2/node_modules/smol-toml/dist/stringify.js","kind":"import-statement","original":"./stringify.js"},{"path":"../../node_modules/.pnpm/smol-toml@1.5.2/node_modules/smol-toml/dist/date.js","kind":"import-statement","original":"./date.js"},{"path":"../../node_modules/.pnpm/smol-toml@1.5.2/node_modules/smol-toml/dist/error.js","kind":"import-statement","original":"./error.js"}],"format":"esm"},"../../node_modules/.pnpm/jsonc-parser@3.2.0/node_modules/jsonc-parser/lib/esm/impl/scanner.js":{"bytes":19188,"imports":[{"path":"<runtime>","kind":"import-statement","external":true}],"format":"esm"},"../../node_modules/.pnpm/jsonc-parser@3.2.0/node_modules/jsonc-parser/lib/esm/impl/format.js":{"bytes":10250,"imports":[{"path":"../../node_modules/.pnpm/jsonc-parser@3.2.0/node_modules/jsonc-parser/lib/esm/impl/scanner.js","kind":"import-statement","original":"./scanner"},{"path":"<runtime>","kind":"import-statement","external":true}],"format":"esm"},"../../node_modules/.pnpm/jsonc-parser@3.2.0/node_modules/jsonc-parser/lib/esm/impl/parser.js":{"bytes":24708,"imports":[{"path":"../../node_modules/.pnpm/jsonc-parser@3.2.0/node_modules/jsonc-parser/lib/esm/impl/scanner.js","kind":"import-statement","original":"./scanner"},{"path":"<runtime>","kind":"import-statement","external":true}],"format":"esm"},"../../node_modules/.pnpm/jsonc-parser@3.2.0/node_modules/jsonc-parser/lib/esm/impl/edit.js":{"bytes":8613,"imports":[{"path":"../../node_modules/.pnpm/jsonc-parser@3.2.0/node_modules/jsonc-parser/lib/esm/impl/format.js","kind":"import-statement","original":"./format"},{"path":"../../node_modules/.pnpm/jsonc-parser@3.2.0/node_modules/jsonc-parser/lib/esm/impl/parser.js","kind":"import-statement","original":"./parser"},{"path":"<runtime>","kind":"import-statement","external":true}],"format":"esm"},"../../node_modules/.pnpm/jsonc-parser@3.2.0/node_modules/jsonc-parser/lib/esm/main.js":{"bytes":9363,"imports":[{"path":"../../node_modules/.pnpm/jsonc-parser@3.2.0/node_modules/jsonc-parser/lib/esm/impl/format.js","kind":"import-statement","original":"./impl/format"},{"path":"../../node_modules/.pnpm/jsonc-parser@3.2.0/node_modules/jsonc-parser/lib/esm/impl/edit.js","kind":"import-statement","original":"./impl/edit"},{"path":"../../node_modules/.pnpm/jsonc-parser@3.2.0/node_modules/jsonc-parser/lib/esm/impl/scanner.js","kind":"import-statement","original":"./impl/scanner"},{"path":"../../node_modules/.pnpm/jsonc-parser@3.2.0/node_modules/jsonc-parser/lib/esm/impl/parser.js","kind":"import-statement","original":"./impl/parser"},{"path":"<runtime>","kind":"import-statement","external":true}],"format":"esm"},"src/errors.ts":{"bytes":2592,"imports":[{"path":"<runtime>","kind":"import-statement","external":true}],"format":"esm"},"src/parse.ts":{"bytes":9692,"imports":[{"path":"node:fs","kind":"import-statement","external":true},{"path":"node:path","kind":"import-statement","external":true},{"path":"../../node_modules/.pnpm/jsonc-parser@3.2.0/node_modules/jsonc-parser/lib/esm/main.js","kind":"import-statement","original":"jsonc-parser"},{"path":"../../node_modules/.pnpm/smol-toml@1.5.2/node_modules/smol-toml/dist/index.js","kind":"import-statement","original":"smol-toml"},{"path":"src/errors.ts","kind":"import-statement","original":"./errors"},{"path":"<runtime>","kind":"import-statement","external":true}],"format":"esm"},"../../node_modules/.pnpm/empathic@2.0.0/node_modules/empathic/resolve.mjs":{"bytes":971,"imports":[{"path":"node:module","kind":"import-statement","external":true},{"path":"node:path","kind":"import-statement","external":true},{"path":"node:url","kind":"import-statement","external":true},{"path":"<runtime>","kind":"import-statement","external":true}],"format":"esm"},"../../node_modules/.pnpm/empathic@2.0.0/node_modules/empathic/walk.mjs":{"bytes":535,"imports":[{"path":"node:path","kind":"import-statement","external":true},{"path":"../../node_modules/.pnpm/empathic@2.0.0/node_modules/empathic/resolve.mjs","kind":"import-statement","original":"empathic/resolve"},{"path":"<runtime>","kind":"import-statement","external":true}],"format":"esm"},"../../node_modules/.pnpm/empathic@2.0.0/node_modules/empathic/find.mjs":{"bytes":2033,"imports":[{"path":"node:path","kind":"import-statement","external":true},{"path":"node:fs","kind":"import-statement","external":true},{"path":"../../node_modules/.pnpm/empathic@2.0.0/node_modules/empathic/walk.mjs","kind":"import-statement","original":"empathic/walk"},{"path":"<runtime>","kind":"import-statement","external":true}],"format":"esm"},"../../node_modules/.pnpm/ts-dedent@2.2.0/node_modules/ts-dedent/esm/index.js":{"bytes":1634,"imports":[{"path":"<runtime>","kind":"import-statement","external":true}],"format":"esm"},"src/constants.ts":{"bytes":427,"imports":[],"format":"esm"},"src/config/config-helpers.ts":{"bytes":5252,"imports":[{"path":"node:fs","kind":"import-statement","external":true},{"path":"node:path","kind":"import-statement","external":true},{"path":"../../node_modules/.pnpm/empathic@2.0.0/node_modules/empathic/find.mjs","kind":"import-statement","original":"empathic/find"},{"path":"../../node_modules/.pnpm/ts-dedent@2.2.0/node_modules/ts-dedent/esm/index.js","kind":"import-statement","original":"ts-dedent"},{"path":"src/constants.ts","kind":"import-statement","original":"../constants"},{"path":"src/errors.ts","kind":"import-statement","original":"../errors"},{"path":"src/parse.ts","kind":"import-statement","original":"../parse"},{"path":"<runtime>","kind":"import-statement","external":true}],"format":"esm"},"src/config/index.ts":{"bytes":3449,"imports":[{"path":"../../node_modules/.pnpm/smol-toml@1.5.2/node_modules/smol-toml/dist/index.js","kind":"import-statement","original":"smol-toml"},{"path":"src/parse.ts","kind":"import-statement","original":"../parse"},{"path":"src/config/config-helpers.ts","kind":"import-statement","original":"./config-helpers"},{"path":"<runtime>","kind":"import-statement","external":true}],"format":"esm"},"src/config/patch-config.ts":{"bytes":3360,"imports":[{"path":"node:fs","kind":"import-statement","external":true},{"path":"../../node_modules/.pnpm/jsonc-parser@3.2.0/node_modules/jsonc-parser/lib/esm/main.js","kind":"import-statement","original":"jsonc-parser"},{"path":"../../node_modules/.pnpm/smol-toml@1.5.2/node_modules/smol-toml/dist/index.js","kind":"import-statement","original":"smol-toml"},{"path":"src/parse.ts","kind":"import-statement","original":"../parse"},{"path":"<runtime>","kind":"import-statement","external":true}],"format":"esm"},"src/worker.ts":{"bytes":10096,"imports":[],"format":"esm"},"src/types.ts":{"bytes":11902,"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":155409,"imports":[{"path":"node:assert","kind":"import-statement","external":true},{"path":"node:fs","kind":"import-statement","external":true},{"path":"node:path","kind":"import-statement","external":true},{"path":"../workflows-shared/src/lib/validators.ts","kind":"import-statement","original":"@cloudflare/workflows-shared/src/lib/validators"},{"path":"../../node_modules/.pnpm/ts-dedent@2.2.0/node_modules/ts-dedent/esm/index.js","kind":"import-statement","original":"ts-dedent"},{"path":"src/environment-variables/misc-variables.ts","kind":"import-statement","original":"../environment-variables/misc-variables"},{"path":"src/errors.ts","kind":"import-statement","original":"../errors"},{"path":"src/fs-helpers.ts","kind":"import-statement","original":"../fs-helpers"},{"path":"src/config/config-helpers.ts","kind":"import-statement","original":"./config-helpers"},{"path":"src/config/diagnostics.ts","kind":"import-statement","original":"./diagnostics"},{"path":"src/config/validation-helpers.ts","kind":"import-statement","original":"./validation-helpers"},{"path":"src/config/index.ts","kind":"import-statement","original":"."},{"path":"<runtime>","kind":"import-statement","external":true}],"format":"esm"},"src/config/binding-local-support.ts":{"bytes":3081,"imports":[{"path":"<runtime>","kind":"import-statement","external":true}],"format":"esm"},"src/config/validation-pages.ts":{"bytes":5938,"imports":[{"path":"src/errors.ts","kind":"import-statement","original":"../errors"},{"path":"src/config/config.ts","kind":"import-statement","original":"./config"},{"path":"src/config/diagnostics.ts","kind":"import-statement","original":"./diagnostics"},{"path":"src/config/validation-helpers.ts","kind":"import-statement","original":"./validation-helpers"},{"path":"<runtime>","kind":"import-statement","external":true}],"format":"esm"},"../../node_modules/.pnpm/signal-exit@3.0.7/node_modules/signal-exit/signals.js":{"bytes":1295,"imports":[],"format":"cjs"},"../../node_modules/.pnpm/signal-exit@3.0.7/node_modules/signal-exit/index.js":{"bytes":5708,"imports":[{"path":"assert","kind":"require-call","external":true},{"path":"../../node_modules/.pnpm/signal-exit@3.0.7/node_modules/signal-exit/signals.js","kind":"require-call","original":"./signals.js"},{"path":"events","kind":"require-call","external":true},{"path":"<runtime>","kind":"import-statement","external":true}],"format":"cjs"},"src/wrangler-tmp-dir.ts":{"bytes":2977,"imports":[{"path":"node:fs","kind":"import-statement","external":true},{"path":"node:path","kind":"import-statement","external":true},{"path":"../../node_modules/.pnpm/signal-exit@3.0.7/node_modules/signal-exit/index.js","kind":"import-statement","original":"signal-exit"},{"path":"src/fs-helpers.ts","kind":"import-statement","original":"./fs-helpers"},{"path":"<runtime>","kind":"import-statement","external":true}],"format":"esm"},"src/prometheus-metrics.ts":{"bytes":2014,"imports":[{"path":"<runtime>","kind":"import-statement","external":true}],"format":"esm"},"../../node_modules/.pnpm/command-exists@1.2.9/node_modules/command-exists/lib/command-exists.js":{"bytes":4450,"imports":[{"path":"child_process","kind":"require-call","external":true},{"path":"child_process","kind":"require-call","external":true},{"path":"fs","kind":"require-call","external":true},{"path":"path","kind":"require-call","external":true},{"path":"<runtime>","kind":"import-statement","external":true}],"format":"cjs"},"../../node_modules/.pnpm/command-exists@1.2.9/node_modules/command-exists/index.js":{"bytes":50,"imports":[{"path":"../../node_modules/.pnpm/command-exists@1.2.9/node_modules/command-exists/lib/command-exists.js","kind":"require-call","original":"./lib/command-exists"}],"format":"cjs"},"src/cloudflared.ts":{"bytes":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":12846,"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/retry.ts":{"bytes":1045,"imports":[{"path":"node:timers/promises","kind":"import-statement","external":true},{"path":"src/parse.ts","kind":"import-statement","original":"./parse"},{"path":"<runtime>","kind":"import-statement","external":true}],"format":"esm"},"src/format-time.ts":{"bytes":106,"imports":[{"path":"<runtime>","kind":"import-statement","external":true}],"format":"esm"},"src/route-utils.ts":{"bytes":2919,"imports":[{"path":"<runtime>","kind":"import-statement","external":true}],"format":"esm"},"src/index.ts":{"bytes":3085,"imports":[{"path":"src/config/environment.ts","kind":"import-statement","original":"./config/environment"},{"path":"src/config/config.ts","kind":"import-statement","original":"./config/config"},{"path":"src/config/index.ts","kind":"import-statement","original":"./config"},{"path":"src/config/patch-config.ts","kind":"import-statement","original":"./config/patch-config"},{"path":"src/worker.ts","kind":"import-statement","original":"./worker"},{"path":"src/types.ts","kind":"import-statement","original":"./types"},{"path":"src/parse.ts","kind":"import-statement","original":"./parse"},{"path":"src/config/validation.ts","kind":"import-statement","original":"./config/validation"},{"path":"src/config/binding-local-support.ts","kind":"import-statement","original":"./config/binding-local-support"},{"path":"src/config/validation-pages.ts","kind":"import-statement","original":"./config/validation-pages"},{"path":"src/config/diagnostics.ts","kind":"import-statement","original":"./config/diagnostics"},{"path":"src/config/validation-helpers.ts","kind":"import-statement","original":"./config/validation-helpers"},{"path":"src/config/config-helpers.ts","kind":"import-statement","original":"./config/config-helpers"},{"path":"src/errors.ts","kind":"import-statement","original":"./errors"},{"path":"src/assert-never.ts","kind":"import-statement","original":"./assert-never"},{"path":"src/constants.ts","kind":"import-statement","original":"./constants"},{"path":"src/map-worker-metadata-bindings.ts","kind":"import-statement","original":"./map-worker-metadata-bindings"},{"path":"src/construct-wrangler-config.ts","kind":"import-statement","original":"./construct-wrangler-config"},{"path":"src/environment-variables/factory.ts","kind":"import-statement","original":"./environment-variables/factory"},{"path":"src/environment-variables/misc-variables.ts","kind":"import-statement","original":"./environment-variables/misc-variables"},{"path":"src/global-wrangler-config-path.ts","kind":"import-statement","original":"./global-wrangler-config-path"},{"path":"src/compatibility-date.ts","kind":"import-statement","original":"./compatibility-date"},{"path":"src/config/validation.ts","kind":"import-statement","original":"./config/validation"},{"path":"src/fs-helpers.ts","kind":"import-statement","original":"./fs-helpers"},{"path":"src/wrangler-tmp-dir.ts","kind":"import-statement","original":"./wrangler-tmp-dir"},{"path":"src/prometheus-metrics.ts","kind":"import-statement","original":"./prometheus-metrics"},{"path":"src/tunnel.ts","kind":"import-statement","original":"./tunnel"},{"path":"src/cloudflared.ts","kind":"import-statement","original":"./cloudflared"},{"path":"src/cfetch/index.ts","kind":"import-statement","original":"./cfetch"},{"path":"src/update-check.ts","kind":"import-statement","original":"./update-check"},{"path":"src/retry.ts","kind":"import-statement","original":"./retry"},{"path":"src/format-time.ts","kind":"import-statement","original":"./format-time"},{"path":"src/route-utils.ts","kind":"import-statement","original":"./route-utils"}],"format":"esm"},"src/test-helpers/normalize.ts":{"bytes":3274,"imports":[{"path":"<runtime>","kind":"import-statement","external":true}],"format":"esm"},"src/test-helpers/mock.ts":{"bytes":2796,"imports":[{"path":"node:util","kind":"import-statement","external":true},{"path":"vitest","kind":"import-statement","external":true},{"path":"src/test-helpers/normalize.ts","kind":"import-statement","original":"./normalize"},{"path":"<runtime>","kind":"import-statement","external":true}],"format":"esm"},"src/test-helpers/run-in-tmp.ts":{"bytes":1085,"imports":[{"path":"node:fs","kind":"import-statement","external":true},{"path":"node:os","kind":"import-statement","external":true},{"path":"node:path","kind":"import-statement","external":true},{"path":"vitest","kind":"import-statement","external":true},{"path":"src/fs-helpers.ts","kind":"import-statement","original":"../fs-helpers"},{"path":"<runtime>","kind":"import-statement","external":true}],"format":"esm"},"src/test-helpers/seed.ts":{"bytes":500,"imports":[{"path":"node:fs/promises","kind":"import-statement","external":true},{"path":"node:path","kind":"import-statement","external":true},{"path":"<runtime>","kind":"import-statement","external":true}],"format":"esm"},"src/test-helpers/wrangler-config.ts":{"bytes":1835,"imports":[{"path":"node:fs","kind":"import-statement","external":true},{"path":"node:path","kind":"import-statement","external":true},{"path":"src/config/index.ts","kind":"import-statement","original":"../config"},{"path":"src/constants.ts","kind":"import-statement","original":"../constants"},{"path":"src/parse.ts","kind":"import-statement","original":"../parse"},{"path":"<runtime>","kind":"import-statement","external":true}],"format":"esm"},"src/test-helpers/index.ts":{"bytes":409,"imports":[{"path":"src/test-helpers/mock.ts","kind":"import-statement","original":"./mock"},{"path":"src/test-helpers/normalize.ts","kind":"import-statement","original":"./normalize"},{"path":"src/test-helpers/run-in-tmp.ts","kind":"import-statement","original":"./run-in-tmp"},{"path":"src/test-helpers/seed.ts","kind":"import-statement","original":"./seed"},{"path":"src/test-helpers/wrangler-config.ts","kind":"import-statement","original":"./wrangler-config"}],"format":"esm"}},"outputs":{"dist/browser.mjs":{"imports":[{"path":"dist/chunk-J6D57QVQ.mjs","kind":"import-statement"},{"path":"dist/chunk-DCOBXSFB.mjs","kind":"import-statement"}],"exports":["constructWranglerConfig"],"entryPoint":"src/browser.ts","inputs":{"src/browser.ts":{"bytesInOutput":0}},"bytes":135},"dist/index.mjs":{"imports":[{"path":"dist/chunk-J6D57QVQ.mjs","kind":"import-statement"},{"path":"dist/chunk-O4YGOZSW.mjs","kind":"import-statement"},{"path":"dist/chunk-ULVYGN52.mjs","kind":"import-statement"},{"path":"dist/chunk-DCOBXSFB.mjs","kind":"import-statement"},{"path":"os","kind":"require-call","external":true},{"path":"path","kind":"require-call","external":true},{"path":"path","kind":"require-call","external":true},{"path":"path","kind":"require-call","external":true},{"path":"assert","kind":"require-call","external":true},{"path":"events","kind":"require-call","external":true},{"path":"child_process","kind":"require-call","external":true},{"path":"child_process","kind":"require-call","external":true},{"path":"fs","kind":"require-call","external":true},{"path":"path","kind":"require-call","external":true},{"path":"fs","kind":"require-call","external":true},{"path":"path","kind":"require-call","external":true},{"path":"path","kind":"require-call","external":true},{"path":"buffer","kind":"require-call","external":true},{"path":"url","kind":"require-call","external":true},{"path":"url","kind":"require-call","external":true},{"path":"path","kind":"require-call","external":true},{"path":"fs","kind":"require-call","external":true},{"path":"util","kind":"require-call","external":true},{"path":"os","kind":"require-call","external":true},{"path":"https","kind":"require-call","external":true},{"path":"http","kind":"require-call","external":true},{"path":"node:fs","kind":"import-statement","external":true},{"path":"node:assert","kind":"import-statement","external":true},{"path":"node:fs","kind":"import-statement","external":true},{"path":"node:path","kind":"import-statement","external":true},{"path":"node:path","kind":"import-statement","external":true},{"path":"node:os","kind":"import-statement","external":true},{"path":"node:path","kind":"import-statement","external":true},{"path":"node:fs","kind":"import-statement","external":true},{"path":"node:path","kind":"import-statement","external":true},{"path":"node:child_process","kind":"import-statement","external":true},{"path":"node:crypto","kind":"import-statement","external":true},{"path":"node:fs","kind":"import-statement","external":true},{"path":"node:os","kind":"import-statement","external":true},{"path":"node:path","kind":"import-statement","external":true},{"path":"undici","kind":"import-statement","external":true},{"path":"node:assert","kind":"import-statement","external":true},{"path":"node:url","kind":"import-statement","external":true},{"path":"undici","kind":"import-statement","external":true},{"path":"node:timers/promises","kind":"import-statement","external":true},{"path":"node:timers/promises","kind":"import-statement","external":true}],"exports":["APIError","COMPLIANCE_REGION_CONFIG_PUBLIC","COMPLIANCE_REGION_CONFIG_UNKNOWN","CommandLineArgsError","DeprecationError","Diagnostics","ENVIRONMENT_TAG_PREFIX","FatalError","INHERIT_SYMBOL","JSON_CONFIG_FORMATS","JsonFriendlyFatalError","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","formatTime","friendlyBindingNames","getBindingLocalSupport","getBindingTypeFriendlyName","getBooleanEnvironmentVariableFactory","getBrowserRenderingHeadfulFromEnv","getBuildConditionsFromEnv","getBuildPlatformFromEnv","getC3CommandFromEnv","getCIGeneratePreviewAlias","getCIMatchTag","getCIOverrideName","getCIOverrideNetworkModeHost","getCfFetchEnabledFromEnv","getCfFetchPathFromEnv","getCloudflareApiBaseUrl","getCloudflareApiEnvironmentFromEnv","getCloudflareComplianceRegion","getCloudflareEnv","getCloudflareIncludeProcessEnvFromEnv","getCloudflareLoadDevVarsFromDotEnv","getCloudflaredPathFromEnv","getComplianceRegionSubdomain","getD1ExtraLocationChoices","getDisableConfigWatching","getDockerPath","getEnvironmentVariableFactory","getGlobalWranglerConfigPath","getHostFromRoute","getHostFromUrl","getLocalExplorerEnabledFromEnv","getOpenNextDeployFromEnv","getOutputFileDirectoryFromEnv","getOutputFilePathFromEnv","getRegistryPath","getSanitizeLogs","getSubdomainMixedStateCheckDisabled","getTodaysCompatDate","getTraceHeader","getWorkersCIBranchName","getWranglerCacheDirFromEnv","getWranglerHiddenDirPath","getWranglerHideBanner","getWranglerSendErrorReportsFromEnv","getWranglerSendMetricsFromEnv","getWranglerTmpDir","getZoneFromRoute","hasCursor","hasMorePages","hasProperty","indexLocation","isCompatDate","isDirectory","isDockerfile","isOptionalProperty","isPagesConfig","isRedirectedConfig","isRequiredProperty","isValidR2BucketName","isWAFBlockResponse","mapWorkerMetadataBindings","maybeAddTraceHeader","normalizeAndValidateConfig","parseByteSize","parseHumanDuration","parseJSON","parseJSONC","parseNonHyphenedUuid","parsePackageJSON","parseTOML","performApiFetchBase","readFileSync","readFileSyncToBuffer","removeDir","removeDirSync","renderError","resolveWranglerConfigPath","retryOnAPIFailure","searchLocation","spawnCloudflared","startTunnel","sweepStaleWranglerTmpDirs","throwFetchError","truncate","validatePagesConfig"],"entryPoint":"src/index.ts","inputs":{"../../node_modules/.pnpm/xdg-app-paths@8.3.0/node_modules/xdg-app-paths/dist/cjs/lib/XDGAppPaths.js":{"bytesInOutput":4302},"../../node_modules/.pnpm/xdg-portable@10.6.0/node_modules/xdg-portable/dist/cjs/lib/XDG.js":{"bytesInOutput":5184},"../../node_modules/.pnpm/os-paths@7.4.0/node_modules/os-paths/dist/cjs/lib/OSPaths.js":{"bytesInOutput":4128},"../../node_modules/.pnpm/os-paths@7.4.0/node_modules/os-paths/dist/cjs/platform-adapters/node.js":{"bytesInOutput":1544},"../../node_modules/.pnpm/os-paths@7.4.0/node_modules/os-paths/dist/cjs/mod.cjs.js":{"bytesInOutput":312},"../../node_modules/.pnpm/xdg-portable@10.6.0/node_modules/xdg-portable/dist/cjs/platform-adapters/node.js":{"bytesInOutput":1739},"../../node_modules/.pnpm/xdg-portable@10.6.0/node_modules/xdg-portable/dist/cjs/mod.cjs.js":{"bytesInOutput":307},"../../node_modules/.pnpm/xdg-app-paths@8.3.0/node_modules/xdg-app-paths/dist/cjs/platform-adapters/node.js":{"bytesInOutput":2291},"../../node_modules/.pnpm/xdg-app-paths@8.3.0/node_modules/xdg-app-paths/dist/cjs/mod.cjs.js":{"bytesInOutput":340},"../../node_modules/.pnpm/signal-exit@3.0.7/node_modules/signal-exit/signals.js":{"bytesInOutput":791},"../../node_modules/.pnpm/signal-exit@3.0.7/node_modules/signal-exit/index.js":{"bytesInOutput":5367},"../../node_modules/.pnpm/command-exists@1.2.9/node_modules/command-exists/lib/command-exists.js":{"bytesInOutput":5231},"../../node_modules/.pnpm/command-exists@1.2.9/node_modules/command-exists/index.js":{"bytesInOutput":222},"../../node_modules/.pnpm/ini@1.3.8/node_modules/ini/ini.js":{"bytesInOutput":5248},"../../node_modules/.pnpm/strip-json-comments@2.0.1/node_modules/strip-json-comments/index.js":{"bytesInOutput":2342},"../../node_modules/.pnpm/rc@1.2.8/node_modules/rc/lib/utils.js":{"bytesInOutput":2416},"../../node_modules/.pnpm/deep-extend@0.6.0/node_modules/deep-extend/lib/deep-extend.js":{"bytesInOutput":2890},"../../node_modules/.pnpm/minimist@1.2.6/node_modules/minimist/index.js":{"bytesInOutput":7513},"../../node_modules/.pnpm/rc@1.2.8/node_modules/rc/index.js":{"bytesInOutput":1849},"../../node_modules/.pnpm/registry-url@3.1.0/node_modules/registry-url/index.js":{"bytesInOutput":405},"../../node_modules/.pnpm/safe-buffer@5.2.1/node_modules/safe-buffer/index.js":{"bytesInOutput":1877},"../../node_modules/.pnpm/registry-auth-token@3.3.2/node_modules/registry-auth-token/base64.js":{"bytesInOutput":595},"../../node_modules/.pnpm/registry-auth-token@3.3.2/node_modules/registry-auth-token/index.js":{"bytesInOutput":3560},"../../node_modules/.pnpm/update-check@1.5.4/node_modules/update-check/index.js":{"bytesInOutput":5298},"src/index.ts":{"bytesInOutput":0},"src/config/config.ts":{"bytesInOutput":3346},"src/config/patch-config.ts":{"bytesInOutput":1912},"src/config/validation.ts":{"bytesInOutput":147468},"../../node_modules/.pnpm/itty-time@2.0.2/node_modules/itty-time/index.mjs":{"bytesInOutput":135},"../../node_modules/.pnpm/zod@3.22.3/node_modules/zod/lib/index.mjs":{"bytesInOutput":113408},"../workflows-shared/src/lib/validators.ts":{"bytesInOutput":863},"src/environment-variables/misc-variables.ts":{"bytesInOutput":6100},"src/global-wrangler-config-path.ts":{"bytesInOutput":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":2113},"src/config/validation-pages.ts":{"bytesInOutput":4503},"src/wrangler-tmp-dir.ts":{"bytesInOutput":1782},"src/cloudflared.ts":{"bytesInOutput":16974},"src/tunnel.ts":{"bytesInOutput":7963},"src/cfetch/index.ts":{"bytesInOutput":10872},"src/cfetch/errors.ts":{"bytesInOutput":624},"src/update-check.ts":{"bytesInOutput":877},"src/retry.ts":{"bytesInOutput":851},"src/format-time.ts":{"bytesInOutput":117},"src/route-utils.ts":{"bytesInOutput":1041}},"bytes":412616},"dist/chunk-J6D57QVQ.mjs":{"imports":[{"path":"dist/chunk-DCOBXSFB.mjs","kind":"import-statement"},{"path":"node:assert","kind":"import-statement","external":true}],"exports":["assertNever","constructWranglerConfig","getTodaysCompatDate","isCompatDate","mapWorkerMetadataBindings"],"inputs":{"src/compatibility-date.ts":{"bytesInOutput":508},"src/assert-never.ts":{"bytesInOutput":69},"src/map-worker-metadata-bindings.ts":{"bytesInOutput":11064},"src/construct-wrangler-config.ts":{"bytesInOutput":1637}},"bytes":13580},"dist/prometheus-metrics.mjs":{"imports":[{"path":"dist/chunk-O4YGOZSW.mjs","kind":"import-statement"},{"path":"dist/chunk-DCOBXSFB.mjs","kind":"import-statement"}],"exports":["MetricsRegistry"],"entryPoint":"src/prometheus-metrics.ts","inputs":{},"bytes":119},"dist/chunk-O4YGOZSW.mjs":{"imports":[{"path":"dist/chunk-DCOBXSFB.mjs","kind":"import-statement"}],"exports":["MetricsRegistry"],"inputs":{"src/prometheus-metrics.ts":{"bytesInOutput":1217}},"bytes":1327},"dist/test-helpers/index.mjs":{"imports":[{"path":"dist/chunk-ULVYGN52.mjs","kind":"import-statement"},{"path":"dist/chunk-DCOBXSFB.mjs","kind":"import-statement"},{"path":"node:util","kind":"import-statement","external":true},{"path":"vitest","kind":"import-statement","external":true},{"path":"node:fs","kind":"import-statement","external":true},{"path":"node:os","kind":"import-statement","external":true},{"path":"node:path","kind":"import-statement","external":true},{"path":"vitest","kind":"import-statement","external":true},{"path":"node:fs/promises","kind":"import-statement","external":true},{"path":"node:path","kind":"import-statement","external":true},{"path":"node:fs","kind":"import-statement","external":true},{"path":"node:path","kind":"import-statement","external":true}],"exports":["createDeferred","mockConsoleMethods","mockCreateDate","mockEndDate","mockModifiedDate","mockQueuedDate","mockStartDate","normalizeString","readWranglerConfig","runInTempDir","seed","writeDeployRedirectConfig","writeRedirectedWranglerConfig","writeWranglerConfig"],"entryPoint":"src/test-helpers/index.ts","inputs":{"src/test-helpers/mock.ts":{"bytesInOutput":2636},"src/test-helpers/normalize.ts":{"bytesInOutput":2741},"src/test-helpers/index.ts":{"bytesInOutput":0},"src/test-helpers/run-in-tmp.ts":{"bytesInOutput":837},"src/test-helpers/seed.ts":{"bytesInOutput":345},"src/test-helpers/wrangler-config.ts":{"bytesInOutput":1745}},"bytes":8967},"dist/chunk-ULVYGN52.mjs":{"imports":[{"path":"dist/chunk-DCOBXSFB.mjs","kind":"import-statement"},{"path":"node:fs","kind":"import-statement","external":true},{"path":"node:path","kind":"import-statement","external":true},{"path":"node:fs","kind":"import-statement","external":true},{"path":"node:path","kind":"import-statement","external":true},{"path":"node:path","kind":"import-statement","external":true},{"path":"node:fs","kind":"import-statement","external":true},{"path":"node:path","kind":"import-statement","external":true},{"path":"node:path","kind":"import-statement","external":true},{"path":"node:fs","kind":"import-statement","external":true}],"exports":["APIError","CommandLineArgsError","DeprecationError","ENVIRONMENT_TAG_PREFIX","FatalError","INHERIT_SYMBOL","JSON_CONFIG_FORMATS","JsonFriendlyFatalError","MissingConfigError","PATH_TO_DEPLOY_CONFIG","ParseError","SERVICE_TAG_PREFIX","UserError","applyEdits","configFileName","configFormat","createFatalError","dedent","dist_default","experimental_readRawConfig","findWranglerConfig","format","formatConfigSnippet","indexLocation","isDirectory","isRedirectedConfig","isRedirectedRawConfig","modify","parseByteSize","parseHumanDuration","parseJSON","parseJSONC","parseNonHyphenedUuid","parsePackageJSON","parseTOML","readFileSync","readFileSyncToBuffer","removeDir","removeDirSync","resolveWranglerConfigPath","searchLocation"],"inputs":{"src/errors.ts":{"bytesInOutput":1499},"src/parse.ts":{"bytesInOutput":7709},"../../node_modules/.pnpm/jsonc-parser@3.2.0/node_modules/jsonc-parser/lib/esm/impl/scanner.js":{"bytesInOutput":13719},"../../node_modules/.pnpm/jsonc-parser@3.2.0/node_modules/jsonc-parser/lib/esm/impl/format.js":{"bytesInOutput":7379},"../../node_modules/.pnpm/jsonc-parser@3.2.0/node_modules/jsonc-parser/lib/esm/impl/parser.js":{"bytesInOutput":13841},"../../node_modules/.pnpm/jsonc-parser@3.2.0/node_modules/jsonc-parser/lib/esm/impl/edit.js":{"bytesInOutput":6542},"../../node_modules/.pnpm/jsonc-parser@3.2.0/node_modules/jsonc-parser/lib/esm/main.js":{"bytesInOutput":4978},"../../node_modules/.pnpm/smol-toml@1.5.2/node_modules/smol-toml/dist/error.js":{"bytesInOutput":1202},"../../node_modules/.pnpm/smol-toml@1.5.2/node_modules/smol-toml/dist/util.js":{"bytesInOutput":2207},"../../node_modules/.pnpm/smol-toml@1.5.2/node_modules/smol-toml/dist/date.js":{"bytesInOutput":2493},"../../node_modules/.pnpm/smol-toml@1.5.2/node_modules/smol-toml/dist/primitive.js":{"bytesInOutput":3824},"../../node_modules/.pnpm/smol-toml@1.5.2/node_modules/smol-toml/dist/extract.js":{"bytesInOutput":2447},"../../node_modules/.pnpm/smol-toml@1.5.2/node_modules/smol-toml/dist/struct.js":{"bytesInOutput":4706},"../../node_modules/.pnpm/smol-toml@1.5.2/node_modules/smol-toml/dist/parse.js":{"bytesInOutput":3069},"../../node_modules/.pnpm/smol-toml@1.5.2/node_modules/smol-toml/dist/stringify.js":{"bytesInOutput":4707},"../../node_modules/.pnpm/smol-toml@1.5.2/node_modules/smol-toml/dist/index.js":{"bytesInOutput":70},"src/constants.ts":{"bytesInOutput":245},"src/config/config-helpers.ts":{"bytesInOutput":3664},"../../node_modules/.pnpm/empathic@2.0.0/node_modules/empathic/find.mjs":{"bytesInOutput":352},"../../node_modules/.pnpm/empathic@2.0.0/node_modules/empathic/walk.mjs":{"bytesInOutput":342},"../../node_modules/.pnpm/empathic@2.0.0/node_modules/empathic/resolve.mjs":{"bytesInOutput":199},"../../node_modules/.pnpm/ts-dedent@2.2.0/node_modules/ts-dedent/esm/index.js":{"bytesInOutput":1494},"src/config/index.ts":{"bytesInOutput":1696},"src/fs-helpers.ts":{"bytesInOutput":673}},"bytes":107082},"dist/chunk-DCOBXSFB.mjs":{"imports":[],"exports":["__commonJS","__export","__name","__reExport","__require","__toESM"],"inputs":{},"bytes":2136}}}
|
|
@@ -1,5 +1,4 @@
|
|
|
1
|
-
import { removeDir, formatConfigSnippet, parseTOML, parseJSONC } from '../chunk-
|
|
2
|
-
import { PATH_TO_DEPLOY_CONFIG } from '../chunk-OZQVB3L3.mjs';
|
|
1
|
+
import { removeDir, formatConfigSnippet, PATH_TO_DEPLOY_CONFIG, parseTOML, parseJSONC } from '../chunk-ULVYGN52.mjs';
|
|
3
2
|
import { __name } from '../chunk-DCOBXSFB.mjs';
|
|
4
3
|
import * as util from 'node:util';
|
|
5
4
|
import { beforeEach, vi, afterEach } from 'vitest';
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@cloudflare/workers-utils",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.23.0",
|
|
4
4
|
"description": "Internal utility package for workers-sdk. Not intended for external use — APIs may change without notice.",
|
|
5
5
|
"homepage": "https://github.com/cloudflare/workers-sdk/tree/main/packages/workers-utils#readme",
|
|
6
6
|
"bugs": {
|
package/dist/chunk-OZQVB3L3.mjs
DELETED
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
// src/constants.ts
|
|
2
|
-
var INHERIT_SYMBOL = Symbol.for("inherit_binding");
|
|
3
|
-
var SERVICE_TAG_PREFIX = "cf:service=";
|
|
4
|
-
var ENVIRONMENT_TAG_PREFIX = "cf:environment=";
|
|
5
|
-
var PATH_TO_DEPLOY_CONFIG = ".wrangler/deploy/config.json";
|
|
6
|
-
var JSON_CONFIG_FORMATS = ["json", "jsonc"];
|
|
7
|
-
|
|
8
|
-
export { ENVIRONMENT_TAG_PREFIX, INHERIT_SYMBOL, JSON_CONFIG_FORMATS, PATH_TO_DEPLOY_CONFIG, SERVICE_TAG_PREFIX };
|