@cloudflare/workers-utils 0.8.1 → 0.9.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.
@@ -1,4 +1,4 @@
1
- import { T as TailConsumer, al as WorkerMetadata, R as RawConfig } from './config-BnGAq8Gv.mjs';
1
+ import { T as TailConsumer, al as WorkerMetadata, R as RawConfig } from './config-DMP1mcQF.mjs';
2
2
  import { AssetConfig } from '@cloudflare/workers-shared';
3
3
  import { Cloudflare } from 'cloudflare';
4
4
 
@@ -24,7 +24,8 @@ interface APIWorkerConfig {
24
24
  bindings: WorkerMetadata["bindings"];
25
25
  observability: Cloudflare.Workers.Beta.Worker.Observability | undefined;
26
26
  limits: {
27
- cpu_ms: number;
27
+ cpu_ms?: number;
28
+ subrequests?: number;
28
29
  } | undefined;
29
30
  placement: Cloudflare.Workers.Beta.Workers.Version.Placement | undefined;
30
31
  subdomain: {
@@ -338,6 +338,7 @@ interface CfTailConsumer {
338
338
  }
339
339
  interface CfUserLimits {
340
340
  cpu_ms?: number;
341
+ subrequests?: number;
341
342
  }
342
343
  /**
343
344
  * Options for creating a `CfWorker`.
@@ -682,6 +683,7 @@ type ServiceMetadataRes = {
682
683
  usage_model: "bundled" | "unbound";
683
684
  limits: {
684
685
  cpu_ms: number;
686
+ subrequests: number;
685
687
  };
686
688
  compatibility_date: string;
687
689
  compatibility_flags: string[];
@@ -1923,7 +1925,9 @@ interface DispatchNamespaceOutbound {
1923
1925
  }
1924
1926
  interface UserLimits {
1925
1927
  /** Maximum allowed CPU time for a Worker's invocation in milliseconds */
1926
- cpu_ms: number;
1928
+ cpu_ms?: number;
1929
+ /** Maximum allowed number of fetch requests that a Worker's invocation can execute */
1930
+ subrequests?: number;
1927
1931
  }
1928
1932
  type Assets = {
1929
1933
  /** Absolute path to assets directory */
package/dist/index.d.mts CHANGED
@@ -1,5 +1,5 @@
1
- import { C as CfWorkerInit, R as RawConfig, b as Config, W as WorkerMetadataBinding } from './config-BnGAq8Gv.mjs';
2
- export { ak as AssetConfigMetadata, A as Assets, G as CfAIBinding, a3 as CfAnalyticsEngineDataset, a8 as CfAssetsBinding, F as CfBrowserBinding, ab as CfCapnp, Q as CfD1Database, K as CfDataBlobBindings, a4 as CfDispatchNamespace, L as CfDurableObject, ad as CfDurableObjectMigrations, Y as CfHelloWorld, a0 as CfHyperdrive, H as CfImagesBinding, x as CfKvNamespace, a6 as CfLogfwdr, a7 as CfLogfwdrBinding, a5 as CfMTlsCertificate, I as CfMediaBinding, v as CfModule, u as CfModuleType, a9 as CfPipeline, ae as CfPlacement, N as CfQueue, P as CfR2Bucket, $ as CfRateLimit, t as CfScriptFormat, X as CfSecretsStoreSecrets, y as CfSendEmailBindings, a1 as CfService, af as CfTailConsumer, B as CfTextBlobBindings, ac as CfUnsafe, aa as CfUnsafeBinding, ag as CfUserLimits, w as CfVars, V as CfVectorize, J as CfVersionMetadataBinding, a2 as CfVpcService, z as CfWasmModuleBindings, ah as CfWorkerContext, _ as CfWorkerLoader, ai as CfWorkerSourceMap, M as CfWorkflow, j as CloudchamberConfig, d as ConfigFields, p as ConfigModuleRuleType, k as ContainerApp, s as ContainerEngine, h as CustomDomainRoute, q as DispatchNamespaceOutbound, r as DockerConfiguration, l as DurableObjectBindings, D as DurableObjectMigration, ap as ENVIRONMENT_TAG_PREFIX, E as Environment, n as EnvironmentNonInheritable, an as INHERIT_SYMBOL, ar as JSON_CONFIG_FORMATS, aj as Json, O as Observability, aq as PATH_TO_DEPLOY_CONFIG, c as RawDevConfig, e as RawEnvironment, a as RedirectedRawConfig, i as Route, o as Rule, ao as SERVICE_TAG_PREFIX, am as ServiceMetadataRes, S as StreamingTailConsumer, T as TailConsumer, U as UserLimits, al as WorkerMetadata, m as WorkflowBinding, Z as ZoneIdRoute, g as ZoneNameRoute, f as defaultWranglerConfig } from './config-BnGAq8Gv.mjs';
1
+ import { C as CfWorkerInit, R as RawConfig, b as Config, W as WorkerMetadataBinding } from './config-DMP1mcQF.mjs';
2
+ export { ak as AssetConfigMetadata, A as Assets, G as CfAIBinding, a3 as CfAnalyticsEngineDataset, a8 as CfAssetsBinding, F as CfBrowserBinding, ab as CfCapnp, Q as CfD1Database, K as CfDataBlobBindings, a4 as CfDispatchNamespace, L as CfDurableObject, ad as CfDurableObjectMigrations, Y as CfHelloWorld, a0 as CfHyperdrive, H as CfImagesBinding, x as CfKvNamespace, a6 as CfLogfwdr, a7 as CfLogfwdrBinding, a5 as CfMTlsCertificate, I as CfMediaBinding, v as CfModule, u as CfModuleType, a9 as CfPipeline, ae as CfPlacement, N as CfQueue, P as CfR2Bucket, $ as CfRateLimit, t as CfScriptFormat, X as CfSecretsStoreSecrets, y as CfSendEmailBindings, a1 as CfService, af as CfTailConsumer, B as CfTextBlobBindings, ac as CfUnsafe, aa as CfUnsafeBinding, ag as CfUserLimits, w as CfVars, V as CfVectorize, J as CfVersionMetadataBinding, a2 as CfVpcService, z as CfWasmModuleBindings, ah as CfWorkerContext, _ as CfWorkerLoader, ai as CfWorkerSourceMap, M as CfWorkflow, j as CloudchamberConfig, d as ConfigFields, p as ConfigModuleRuleType, k as ContainerApp, s as ContainerEngine, h as CustomDomainRoute, q as DispatchNamespaceOutbound, r as DockerConfiguration, l as DurableObjectBindings, D as DurableObjectMigration, ap as ENVIRONMENT_TAG_PREFIX, E as Environment, n as EnvironmentNonInheritable, an as INHERIT_SYMBOL, ar as JSON_CONFIG_FORMATS, aj as Json, O as Observability, aq as PATH_TO_DEPLOY_CONFIG, c as RawDevConfig, e as RawEnvironment, a as RedirectedRawConfig, i as Route, o as Rule, ao as SERVICE_TAG_PREFIX, am as ServiceMetadataRes, S as StreamingTailConsumer, T as TailConsumer, U as UserLimits, al as WorkerMetadata, m as WorkflowBinding, Z as ZoneIdRoute, g as ZoneNameRoute, f as defaultWranglerConfig } from './config-DMP1mcQF.mjs';
3
3
  import * as jsoncParser from 'jsonc-parser';
4
4
  export { constructWranglerConfig } from './browser.mjs';
5
5
  import '@cloudflare/workers-shared';
@@ -112,6 +112,14 @@ declare function normalizeAndValidateConfig(rawConfig: RawConfig, configPath: st
112
112
  config: Config;
113
113
  diagnostics: Diagnostics;
114
114
  };
115
+ /**
116
+ * Returns whether the provided `imagePath` is a path to a Dockerfile.
117
+ *
118
+ * @param imagePath path to Dockerfile or image registry path
119
+ * @param configPath path to the wrangler config file, if any
120
+ * @returns `true` if it is a dockerfile, `false` if it is a registry link, throws if neither
121
+ */
122
+ declare function isDockerfile(imagePath: string, configPath: string | undefined): boolean;
115
123
 
116
124
  declare function configFormat(configPath: string | undefined): "json" | "jsonc" | "toml" | "none";
117
125
  declare function configFileName(configPath: string | undefined): "wrangler.json" | "wrangler.jsonc" | "wrangler.toml" | "Wrangler configuration";
@@ -527,7 +535,7 @@ declare const getWranglerSendErrorReportsFromEnv: () => boolean | undefined;
527
535
  /**
528
536
  * Set `WRANGLER_API_ENVIRONMENT` environment variable to "staging" to tell Wrangler to hit the staging APIs rather than production.
529
537
  */
530
- declare const getCloudflareApiEnvironmentFromEnv: () => "staging" | "production";
538
+ declare const getCloudflareApiEnvironmentFromEnv: () => "production" | "staging";
531
539
  /**
532
540
  * The compliance region to use for the API requests.
533
541
  */
@@ -715,4 +723,14 @@ declare function isCompatDate(str: string): str is CompatDate;
715
723
  */
716
724
  declare function formatCompatibilityDate(date: Date): CompatDate;
717
725
 
718
- export { APIError, COMPLIANCE_REGION_CONFIG_PUBLIC, COMPLIANCE_REGION_CONFIG_UNKNOWN, CfWorkerInit, CommandLineArgsError, type CompatDate, type ComplianceConfig, Config, type ConfigBindingOptions, DeprecationError, FatalError, type File, JsonFriendlyFatalError, type Location, type Message, MissingConfigError, type NormalizeAndValidateConfigArgs, type PackageJSON, ParseError, PatchConfigError, RawConfig, type ResolveConfigPathOptions, type TelemetryMessage, UserError, WorkerMetadataBinding, assertNever, bucketFormatMessage, configFileName, configFormat, createFatalError, experimental_patchConfig, experimental_readRawConfig, findWranglerConfig, formatCompatibilityDate, formatConfigSnippet, friendlyBindingNames, getBooleanEnvironmentVariableFactory, getBuildConditionsFromEnv, getBuildPlatformFromEnv, getC3CommandFromEnv, getCIGeneratePreviewAlias, getCIMatchTag, getCIOverrideName, getCIOverrideNetworkModeHost, getCloudflareApiBaseUrl, getCloudflareApiEnvironmentFromEnv, getCloudflareComplianceRegion, getCloudflareEnv, getCloudflareIncludeProcessEnvFromEnv, getCloudflareLoadDevVarsFromDotEnv, getComplianceRegionSubdomain, getD1ExtraLocationChoices, getDisableConfigWatching, getDockerPath, getEnvironmentVariableFactory, getGlobalWranglerConfigPath, getLocalExplorerEnabledFromEnv, getLocalWorkerdCompatibilityDate, getOpenNextDeployFromEnv, getOutputFileDirectoryFromEnv, getOutputFilePathFromEnv, getRegistryPath, getSanitizeLogs, getSubdomainMixedStateCheckDisabled, getTraceHeader, getWorkersCIBranchName, getWranglerHideBanner, getWranglerSendErrorReportsFromEnv, getWranglerSendMetricsFromEnv, hasProperty, indexLocation, isCompatDate, isOptionalProperty, isPagesConfig, isRequiredProperty, isValidR2BucketName, mapWorkerMetadataBindings, normalizeAndValidateConfig, parseByteSize, parseHumanDuration, parseJSON, parseJSONC, parseNonHyphenedUuid, parsePackageJSON, parseTOML, readFileSync, readFileSyncToBuffer, resolveWranglerConfigPath, searchLocation, validatePagesConfig };
726
+ /**
727
+ * Returns whether the given path is a directory
728
+ *
729
+ * Note: this function never throws; if the path does not exist or is inaccessible, it returns false.
730
+ *
731
+ * @param path The file system path to check
732
+ * @returns `true` if the path is a directory, `false` otherwise
733
+ */
734
+ declare function isDirectory(path: string): boolean;
735
+
736
+ export { APIError, COMPLIANCE_REGION_CONFIG_PUBLIC, COMPLIANCE_REGION_CONFIG_UNKNOWN, CfWorkerInit, CommandLineArgsError, type CompatDate, type ComplianceConfig, Config, type ConfigBindingOptions, DeprecationError, FatalError, type File, JsonFriendlyFatalError, type Location, type Message, MissingConfigError, type NormalizeAndValidateConfigArgs, type PackageJSON, ParseError, PatchConfigError, RawConfig, type ResolveConfigPathOptions, type TelemetryMessage, UserError, WorkerMetadataBinding, assertNever, bucketFormatMessage, configFileName, configFormat, createFatalError, experimental_patchConfig, experimental_readRawConfig, findWranglerConfig, formatCompatibilityDate, formatConfigSnippet, friendlyBindingNames, getBooleanEnvironmentVariableFactory, getBuildConditionsFromEnv, getBuildPlatformFromEnv, getC3CommandFromEnv, getCIGeneratePreviewAlias, getCIMatchTag, getCIOverrideName, getCIOverrideNetworkModeHost, getCloudflareApiBaseUrl, getCloudflareApiEnvironmentFromEnv, getCloudflareComplianceRegion, getCloudflareEnv, getCloudflareIncludeProcessEnvFromEnv, getCloudflareLoadDevVarsFromDotEnv, getComplianceRegionSubdomain, getD1ExtraLocationChoices, getDisableConfigWatching, getDockerPath, getEnvironmentVariableFactory, getGlobalWranglerConfigPath, getLocalExplorerEnabledFromEnv, getLocalWorkerdCompatibilityDate, getOpenNextDeployFromEnv, getOutputFileDirectoryFromEnv, getOutputFilePathFromEnv, getRegistryPath, getSanitizeLogs, getSubdomainMixedStateCheckDisabled, getTraceHeader, getWorkersCIBranchName, getWranglerHideBanner, getWranglerSendErrorReportsFromEnv, getWranglerSendMetricsFromEnv, hasProperty, indexLocation, isCompatDate, isDirectory, isDockerfile, isOptionalProperty, isPagesConfig, isRequiredProperty, isValidR2BucketName, mapWorkerMetadataBindings, normalizeAndValidateConfig, parseByteSize, parseHumanDuration, parseJSON, parseJSONC, parseNonHyphenedUuid, parsePackageJSON, parseTOML, readFileSync, readFileSyncToBuffer, resolveWranglerConfigPath, searchLocation, validatePagesConfig };
package/dist/index.mjs CHANGED
@@ -3,9 +3,9 @@ import { UserError, isRedirectedRawConfig, dedent, configFileName, formatConfigS
3
3
  export { APIError, CommandLineArgsError, DeprecationError, FatalError, JsonFriendlyFatalError, MissingConfigError, ParseError, UserError, configFileName, configFormat, createFatalError, experimental_readRawConfig, findWranglerConfig, formatConfigSnippet, indexLocation, parseByteSize, parseHumanDuration, parseJSON, parseJSONC, parseNonHyphenedUuid, parsePackageJSON, parseTOML, readFileSync, readFileSyncToBuffer, resolveWranglerConfigPath, searchLocation } from './chunk-AT3LIX2I.mjs';
4
4
  import { __commonJS, __name, __require, __export, __toESM, __reExport } from './chunk-LDFBMPMW.mjs';
5
5
  export { ENVIRONMENT_TAG_PREFIX, INHERIT_SYMBOL, JSON_CONFIG_FORMATS, PATH_TO_DEPLOY_CONFIG, SERVICE_TAG_PREFIX } from './chunk-LDFBMPMW.mjs';
6
- import fs, { statSync, existsSync, writeFileSync } from 'node:fs';
6
+ import fs, { writeFileSync } from 'node:fs';
7
7
  import assert from 'node:assert';
8
- import path4 from 'node:path';
8
+ import path3 from 'node:path';
9
9
  import os from 'node:os';
10
10
 
11
11
  // ../../node_modules/.pnpm/xdg-app-paths@8.3.0/node_modules/xdg-app-paths/dist/cjs/lib/XDGAppPaths.js
@@ -30,7 +30,7 @@ var require_XDGAppPaths = __commonJS({
30
30
  }
31
31
  __name(typeOf, "typeOf");
32
32
  function Adapt(adapter_) {
33
- var meta = adapter_.meta, path5 = adapter_.path, xdg = adapter_.xdg;
33
+ var meta = adapter_.meta, path4 = adapter_.path, xdg = adapter_.xdg;
34
34
  var XDGAppPaths_ = /* @__PURE__ */ function() {
35
35
  function XDGAppPaths_2(options_) {
36
36
  if (options_ === void 0) {
@@ -53,7 +53,7 @@ var require_XDGAppPaths = __commonJS({
53
53
  meta.mainFilename()
54
54
  ];
55
55
  var nameFallback = "$eval";
56
- var name = path5.parse(((_c = namePriorityList.find(function(e) {
56
+ var name = path4.parse(((_c = namePriorityList.find(function(e) {
57
57
  return isString2(e);
58
58
  })) !== null && _c !== void 0 ? _c : nameFallback) + suffix).name;
59
59
  XDGAppPaths.$name = /* @__PURE__ */ __name(function $name() {
@@ -74,28 +74,28 @@ var require_XDGAppPaths = __commonJS({
74
74
  }
75
75
  __name(finalPathSegment, "finalPathSegment");
76
76
  XDGAppPaths.cache = /* @__PURE__ */ __name(function cache(dirOptions) {
77
- return path5.join(xdg.cache(), finalPathSegment(dirOptions));
77
+ return path4.join(xdg.cache(), finalPathSegment(dirOptions));
78
78
  }, "cache");
79
79
  XDGAppPaths.config = /* @__PURE__ */ __name(function config(dirOptions) {
80
- return path5.join(xdg.config(), finalPathSegment(dirOptions));
80
+ return path4.join(xdg.config(), finalPathSegment(dirOptions));
81
81
  }, "config");
82
82
  XDGAppPaths.data = /* @__PURE__ */ __name(function data(dirOptions) {
83
- return path5.join(xdg.data(), finalPathSegment(dirOptions));
83
+ return path4.join(xdg.data(), finalPathSegment(dirOptions));
84
84
  }, "data");
85
85
  XDGAppPaths.runtime = /* @__PURE__ */ __name(function runtime(dirOptions) {
86
- return xdg.runtime() ? path5.join(xdg.runtime(), finalPathSegment(dirOptions)) : void 0;
86
+ return xdg.runtime() ? path4.join(xdg.runtime(), finalPathSegment(dirOptions)) : void 0;
87
87
  }, "runtime");
88
88
  XDGAppPaths.state = /* @__PURE__ */ __name(function state(dirOptions) {
89
- return path5.join(xdg.state(), finalPathSegment(dirOptions));
89
+ return path4.join(xdg.state(), finalPathSegment(dirOptions));
90
90
  }, "state");
91
91
  XDGAppPaths.configDirs = /* @__PURE__ */ __name(function configDirs(dirOptions) {
92
92
  return xdg.configDirs().map(function(s) {
93
- return path5.join(s, finalPathSegment(dirOptions));
93
+ return path4.join(s, finalPathSegment(dirOptions));
94
94
  });
95
95
  }, "configDirs");
96
96
  XDGAppPaths.dataDirs = /* @__PURE__ */ __name(function dataDirs(dirOptions) {
97
97
  return xdg.dataDirs().map(function(s) {
98
- return path5.join(s, finalPathSegment(dirOptions));
98
+ return path4.join(s, finalPathSegment(dirOptions));
99
99
  });
100
100
  }, "dataDirs");
101
101
  return XDGAppPaths;
@@ -121,7 +121,7 @@ var require_XDG = __commonJS({
121
121
  exports.__esModule = true;
122
122
  exports.Adapt = void 0;
123
123
  function Adapt(adapter_) {
124
- var env = adapter_.env, osPaths = adapter_.osPaths, path5 = adapter_.path;
124
+ var env = adapter_.env, osPaths = adapter_.osPaths, path4 = adapter_.path;
125
125
  var isMacOS = /^darwin$/i.test(adapter_.process.platform);
126
126
  var isWinOS = /^win/i.test(adapter_.process.platform);
127
127
  function baseDir() {
@@ -129,7 +129,7 @@ var require_XDG = __commonJS({
129
129
  }
130
130
  __name(baseDir, "baseDir");
131
131
  function valOrPath(val, pathSegments) {
132
- return val || path5.join.apply(path5, pathSegments);
132
+ return val || path4.join.apply(path4, pathSegments);
133
133
  }
134
134
  __name(valOrPath, "valOrPath");
135
135
  var linux = /* @__PURE__ */ __name(function() {
@@ -208,11 +208,11 @@ var require_XDG = __commonJS({
208
208
  XDG.state = extension.state;
209
209
  XDG.configDirs = /* @__PURE__ */ __name(function configDirs() {
210
210
  var pathList = env.get("XDG_CONFIG_DIRS");
211
- return __spreadArray([extension.config()], pathList ? pathList.split(path5.delimiter) : []);
211
+ return __spreadArray([extension.config()], pathList ? pathList.split(path4.delimiter) : []);
212
212
  }, "configDirs");
213
213
  XDG.dataDirs = /* @__PURE__ */ __name(function dataDirs() {
214
214
  var pathList = env.get("XDG_DATA_DIRS");
215
- return __spreadArray([extension.data()], pathList ? pathList.split(path5.delimiter) : []);
215
+ return __spreadArray([extension.data()], pathList ? pathList.split(path4.delimiter) : []);
216
216
  }, "dataDirs");
217
217
  return XDG;
218
218
  }
@@ -241,7 +241,7 @@ var require_OSPaths = __commonJS({
241
241
  }
242
242
  __name(isEmpty, "isEmpty");
243
243
  function Adapt(adapter_) {
244
- var env = adapter_.env, os2 = adapter_.os, path5 = adapter_.path;
244
+ var env = adapter_.env, os2 = adapter_.os, path4 = adapter_.path;
245
245
  var isWinOS = /^win/i.test(adapter_.process.platform);
246
246
  function normalizePath(path_) {
247
247
  return path_ ? adapter_.path.normalize(adapter_.path.join(path_, ".")) : void 0;
@@ -256,7 +256,7 @@ var require_OSPaths = __commonJS({
256
256
  typeof os2.homedir === "function" ? os2.homedir() : void 0,
257
257
  env.get("USERPROFILE"),
258
258
  env.get("HOME"),
259
- env.get("HOMEDRIVE") || env.get("HOMEPATH") ? path5.join(env.get("HOMEDRIVE") || "", env.get("HOMEPATH") || "") : void 0
259
+ env.get("HOMEDRIVE") || env.get("HOMEPATH") ? path4.join(env.get("HOMEDRIVE") || "", env.get("HOMEPATH") || "") : void 0
260
260
  ];
261
261
  return normalizePath(priorityList.find(function(v) {
262
262
  return !isEmpty(v);
@@ -267,7 +267,7 @@ var require_OSPaths = __commonJS({
267
267
  __name(home, "home");
268
268
  function temp() {
269
269
  function joinPathToBase(base, segments) {
270
- return base ? path5.join.apply(path5, __spreadArray([base], segments)) : void 0;
270
+ return base ? path4.join.apply(path4, __spreadArray([base], segments)) : void 0;
271
271
  }
272
272
  __name(joinPathToBase, "joinPathToBase");
273
273
  function posix() {
@@ -372,7 +372,7 @@ var require_node = __commonJS({
372
372
  exports.__esModule = true;
373
373
  exports.adapter = void 0;
374
374
  var os2 = __importStar(__require("os"));
375
- var path5 = __importStar(__require("path"));
375
+ var path4 = __importStar(__require("path"));
376
376
  exports.adapter = {
377
377
  atImportPermissions: { env: true },
378
378
  env: {
@@ -381,7 +381,7 @@ var require_node = __commonJS({
381
381
  }, "get")
382
382
  },
383
383
  os: os2,
384
- path: path5,
384
+ path: path4,
385
385
  process
386
386
  };
387
387
  }
@@ -427,7 +427,7 @@ var require_node2 = __commonJS({
427
427
  };
428
428
  exports.__esModule = true;
429
429
  exports.adapter = void 0;
430
- var path5 = __importStar(__require("path"));
430
+ var path4 = __importStar(__require("path"));
431
431
  var os_paths_1 = __importDefault(require_mod_cjs());
432
432
  exports.adapter = {
433
433
  atImportPermissions: { env: true },
@@ -437,7 +437,7 @@ var require_node2 = __commonJS({
437
437
  }, "get")
438
438
  },
439
439
  osPaths: os_paths_1["default"],
440
- path: path5,
440
+ path: path4,
441
441
  process
442
442
  };
443
443
  }
@@ -483,7 +483,7 @@ var require_node3 = __commonJS({
483
483
  };
484
484
  exports.__esModule = true;
485
485
  exports.adapter = void 0;
486
- var path5 = __importStar(__require("path"));
486
+ var path4 = __importStar(__require("path"));
487
487
  var xdg_portable_1 = __importDefault(require_mod_cjs2());
488
488
  exports.adapter = {
489
489
  atImportPermissions: { env: true, read: true },
@@ -498,7 +498,7 @@ var require_node3 = __commonJS({
498
498
  return process.pkg ? process.execPath : void 0;
499
499
  }, "pkgMainFilename")
500
500
  },
501
- path: path5,
501
+ path: path4,
502
502
  process,
503
503
  xdg: xdg_portable_1["default"]
504
504
  };
@@ -684,225 +684,6 @@ var PatchConfigError = class extends Error {
684
684
  }
685
685
  };
686
686
 
687
- // ../containers-shared/src/client/models/ApplicationRollout.ts
688
- var ApplicationRollout;
689
- ((ApplicationRollout2) => {
690
- ((kind2) => {
691
- kind2["FULL_AUTO"] = "full_auto";
692
- kind2["FULL_MANUAL"] = "full_manual";
693
- kind2["DURABLE_OBJECTS_AUTO"] = "durable_objects_auto";
694
- })(ApplicationRollout2.kind || (ApplicationRollout2.kind = {}));
695
- ((strategy2) => {
696
- strategy2["ROLLING"] = "rolling";
697
- })(ApplicationRollout2.strategy || (ApplicationRollout2.strategy = {}));
698
- ((status2) => {
699
- status2["PENDING"] = "pending";
700
- status2["PROGRESSING"] = "progressing";
701
- status2["COMPLETED"] = "completed";
702
- status2["REVERTED"] = "reverted";
703
- status2["REPLACED"] = "replaced";
704
- })(ApplicationRollout2.status || (ApplicationRollout2.status = {}));
705
- })(ApplicationRollout || (ApplicationRollout = {}));
706
-
707
- // ../containers-shared/src/client/models/BadRequestWithCodeError.ts
708
- var BadRequestWithCodeError;
709
- ((BadRequestWithCodeError2) => {
710
- ((error2) => {
711
- error2["VALIDATE_INPUT"] = "VALIDATE_INPUT";
712
- })(BadRequestWithCodeError2.error || (BadRequestWithCodeError2.error = {}));
713
- })(BadRequestWithCodeError || (BadRequestWithCodeError = {}));
714
-
715
- // ../containers-shared/src/client/models/CreateApplicationRolloutRequest.ts
716
- var CreateApplicationRolloutRequest;
717
- ((CreateApplicationRolloutRequest2) => {
718
- ((strategy2) => {
719
- strategy2["ROLLING"] = "rolling";
720
- })(CreateApplicationRolloutRequest2.strategy || (CreateApplicationRolloutRequest2.strategy = {}));
721
- ((step_percentage2) => {
722
- step_percentage2[step_percentage2["_5"] = 5] = "_5";
723
- step_percentage2[step_percentage2["_10"] = 10] = "_10";
724
- step_percentage2[step_percentage2["_20"] = 20] = "_20";
725
- step_percentage2[step_percentage2["_25"] = 25] = "_25";
726
- step_percentage2[step_percentage2["_50"] = 50] = "_50";
727
- step_percentage2[step_percentage2["_100"] = 100] = "_100";
728
- })(CreateApplicationRolloutRequest2.step_percentage || (CreateApplicationRolloutRequest2.step_percentage = {}));
729
- ((kind2) => {
730
- kind2["FULL_AUTO"] = "full_auto";
731
- kind2["FULL_MANUAL"] = "full_manual";
732
- })(CreateApplicationRolloutRequest2.kind || (CreateApplicationRolloutRequest2.kind = {}));
733
- })(CreateApplicationRolloutRequest || (CreateApplicationRolloutRequest = {}));
734
-
735
- // ../containers-shared/src/client/models/DeploymentNotFoundError.ts
736
- var DeploymentNotFoundError;
737
- ((DeploymentNotFoundError2) => {
738
- ((error2) => {
739
- error2["DEPLOYMENT_NOT_FOUND"] = "DEPLOYMENT_NOT_FOUND";
740
- })(DeploymentNotFoundError2.error || (DeploymentNotFoundError2.error = {}));
741
- })(DeploymentNotFoundError || (DeploymentNotFoundError = {}));
742
-
743
- // ../containers-shared/src/client/models/ImageRegistryAlreadyExistsError.ts
744
- var ImageRegistryAlreadyExistsError;
745
- ((ImageRegistryAlreadyExistsError2) => {
746
- ((error2) => {
747
- error2["IMAGE_REGISTRY_ALREADY_EXISTS"] = "IMAGE_REGISTRY_ALREADY_EXISTS";
748
- })(ImageRegistryAlreadyExistsError2.error || (ImageRegistryAlreadyExistsError2.error = {}));
749
- })(ImageRegistryAlreadyExistsError || (ImageRegistryAlreadyExistsError = {}));
750
-
751
- // ../containers-shared/src/client/models/ImageRegistryIsPublic.ts
752
- var ImageRegistryIsPublic;
753
- ((ImageRegistryIsPublic2) => {
754
- ((error2) => {
755
- error2["IMAGE_REGISTRY_IS_PUBLIC"] = "IMAGE_REGISTRY_IS_PUBLIC";
756
- })(ImageRegistryIsPublic2.error || (ImageRegistryIsPublic2.error = {}));
757
- })(ImageRegistryIsPublic || (ImageRegistryIsPublic = {}));
758
-
759
- // ../containers-shared/src/client/models/ImageRegistryNotAllowedError.ts
760
- var ImageRegistryNotAllowedError;
761
- ((ImageRegistryNotAllowedError2) => {
762
- ((error2) => {
763
- error2["IMAGE_REGISTRY_NOT_ALLOWED"] = "IMAGE_REGISTRY_NOT_ALLOWED";
764
- })(ImageRegistryNotAllowedError2.error || (ImageRegistryNotAllowedError2.error = {}));
765
- })(ImageRegistryNotAllowedError || (ImageRegistryNotAllowedError = {}));
766
-
767
- // ../containers-shared/src/client/models/ImageRegistryNotFoundError.ts
768
- var ImageRegistryNotFoundError;
769
- ((ImageRegistryNotFoundError2) => {
770
- ((error2) => {
771
- error2["IMAGE_REGISTRY_NOT_FOUND"] = "IMAGE_REGISTRY_NOT_FOUND";
772
- })(ImageRegistryNotFoundError2.error || (ImageRegistryNotFoundError2.error = {}));
773
- })(ImageRegistryNotFoundError || (ImageRegistryNotFoundError = {}));
774
-
775
- // ../containers-shared/src/client/models/ImageRegistryProtocolAlreadyExists.ts
776
- var ImageRegistryProtocolAlreadyExists;
777
- ((ImageRegistryProtocolAlreadyExists2) => {
778
- ((error2) => {
779
- error2["IMAGE_REGISTRY_PROTOCOL_ALREADY_EXISTS"] = "IMAGE_REGISTRY_PROTOCOL_ALREADY_EXISTS";
780
- })(ImageRegistryProtocolAlreadyExists2.error || (ImageRegistryProtocolAlreadyExists2.error = {}));
781
- })(ImageRegistryProtocolAlreadyExists || (ImageRegistryProtocolAlreadyExists = {}));
782
-
783
- // ../containers-shared/src/client/models/ImageRegistryProtocolIsReferencedError.ts
784
- var ImageRegistryProtocolIsReferencedError;
785
- ((ImageRegistryProtocolIsReferencedError2) => {
786
- ((error2) => {
787
- error2["IMAGE_REGISTRY_PROTO_IS_REFERENCED"] = "IMAGE_REGISTRY_PROTO_IS_REFERENCED";
788
- })(ImageRegistryProtocolIsReferencedError2.error || (ImageRegistryProtocolIsReferencedError2.error = {}));
789
- })(ImageRegistryProtocolIsReferencedError || (ImageRegistryProtocolIsReferencedError = {}));
790
-
791
- // ../containers-shared/src/client/models/ImageRegistryProtocolNotFound.ts
792
- var ImageRegistryProtocolNotFound;
793
- ((ImageRegistryProtocolNotFound2) => {
794
- ((error2) => {
795
- error2["IMAGE_REGISTRY_PROTOCOL_NOT_FOUND"] = "IMAGE_REGISTRY_PROTOCOL_NOT_FOUND";
796
- })(ImageRegistryProtocolNotFound2.error || (ImageRegistryProtocolNotFound2.error = {}));
797
- })(ImageRegistryProtocolNotFound || (ImageRegistryProtocolNotFound = {}));
798
-
799
- // ../containers-shared/src/client/models/ProvisionerConfiguration.ts
800
- var ProvisionerConfiguration;
801
- ((ProvisionerConfiguration2) => {
802
- ((type2) => {
803
- type2["NONE"] = "none";
804
- type2["CLOUDINIT"] = "cloudinit";
805
- })(ProvisionerConfiguration2.type || (ProvisionerConfiguration2.type = {}));
806
- })(ProvisionerConfiguration || (ProvisionerConfiguration = {}));
807
-
808
- // ../containers-shared/src/client/models/RolloutStep.ts
809
- var RolloutStep;
810
- ((RolloutStep2) => {
811
- ((status2) => {
812
- status2["PENDING"] = "pending";
813
- status2["PROGRESSING"] = "progressing";
814
- status2["REVERTING"] = "reverting";
815
- status2["COMPLETED"] = "completed";
816
- status2["REVERTED"] = "reverted";
817
- })(RolloutStep2.status || (RolloutStep2.status = {}));
818
- })(RolloutStep || (RolloutStep = {}));
819
-
820
- // ../containers-shared/src/client/models/SecretNameAlreadyExists.ts
821
- var SecretNameAlreadyExists;
822
- ((SecretNameAlreadyExists2) => {
823
- ((error2) => {
824
- error2["SECRET_NAME_ALREADY_EXISTS"] = "SECRET_NAME_ALREADY_EXISTS";
825
- })(SecretNameAlreadyExists2.error || (SecretNameAlreadyExists2.error = {}));
826
- })(SecretNameAlreadyExists || (SecretNameAlreadyExists = {}));
827
-
828
- // ../containers-shared/src/client/models/SecretNotFound.ts
829
- var SecretNotFound;
830
- ((SecretNotFound2) => {
831
- ((error2) => {
832
- error2["SECRET_NAME_NOT_FOUND"] = "SECRET_NAME_NOT_FOUND";
833
- })(SecretNotFound2.error || (SecretNotFound2.error = {}));
834
- })(SecretNotFound || (SecretNotFound = {}));
835
-
836
- // ../containers-shared/src/client/models/SSHPublicKeyNotFoundError.ts
837
- var SSHPublicKeyNotFoundError;
838
- ((SSHPublicKeyNotFoundError2) => {
839
- ((error2) => {
840
- error2["SSH_PUBLIC_KEY_NOT_FOUND"] = "SSH_PUBLIC_KEY_NOT_FOUND";
841
- })(SSHPublicKeyNotFoundError2.error || (SSHPublicKeyNotFoundError2.error = {}));
842
- })(SSHPublicKeyNotFoundError || (SSHPublicKeyNotFoundError = {}));
843
-
844
- // ../containers-shared/src/client/models/UpdateApplicationRolloutRequest.ts
845
- var UpdateApplicationRolloutRequest;
846
- ((UpdateApplicationRolloutRequest2) => {
847
- ((action2) => {
848
- action2["NEXT"] = "next";
849
- action2["PREVIOUS"] = "previous";
850
- action2["REVERT"] = "revert";
851
- })(UpdateApplicationRolloutRequest2.action || (UpdateApplicationRolloutRequest2.action = {}));
852
- })(UpdateApplicationRolloutRequest || (UpdateApplicationRolloutRequest = {}));
853
-
854
- // ../containers-shared/src/error.ts
855
- var UserError2 = class extends Error {
856
- static {
857
- __name(this, "UserError");
858
- }
859
- telemetryMessage;
860
- constructor(message, options) {
861
- super(message, options);
862
- Object.setPrototypeOf(this, new.target.prototype);
863
- this.telemetryMessage = options?.telemetryMessage === true ? message : options?.telemetryMessage;
864
- }
865
- };
866
- function isDir(inputPath) {
867
- const stats = statSync(inputPath);
868
- return stats.isDirectory();
869
- }
870
- __name(isDir, "isDir");
871
- var isDockerfile = /* @__PURE__ */ __name((image, configPath) => {
872
- const baseDir = configPath ? path4.dirname(configPath) : process.cwd();
873
- const maybeDockerfile = path4.resolve(baseDir, image);
874
- if (existsSync(maybeDockerfile)) {
875
- if (isDir(maybeDockerfile)) {
876
- throw new UserError2(
877
- `${image} is a directory, you should specify a path to the Dockerfile`
878
- );
879
- }
880
- return true;
881
- }
882
- const errorPrefix = `The image "${image}" does not appear to be a valid path to a Dockerfile, or a valid image registry path:
883
- `;
884
- try {
885
- new URL(`https://${image}`);
886
- } catch (e) {
887
- if (e instanceof Error) {
888
- throw new UserError2(errorPrefix + e.message);
889
- }
890
- throw e;
891
- }
892
- const imageParts = image.split("/");
893
- if (!imageParts[imageParts.length - 1]?.includes(":")) {
894
- throw new UserError2(
895
- errorPrefix + `If this is an image registry path, it needs to include at least a tag ':' (e.g: docker.io/httpd:1)`
896
- );
897
- }
898
- if (image.includes("://")) {
899
- throw new UserError2(
900
- errorPrefix + `Image reference should not include the protocol part (e.g: docker.io/httpd:1, not https://docker.io/httpd:1)`
901
- );
902
- }
903
- return false;
904
- }, "isDockerfile");
905
-
906
687
  // ../workflows-shared/src/lib/validators.ts
907
688
  var MAX_WORKFLOW_NAME_LENGTH = 64;
908
689
  var ALLOWED_STRING_ID_PATTERN = "^[a-zA-Z0-9_][a-zA-Z0-9-_]*$";
@@ -929,19 +710,19 @@ __export(mod_esm_exports, {
929
710
  var import_mod_cjs = __toESM(require_mod_cjs3(), 1);
930
711
  __reExport(mod_esm_exports, __toESM(require_mod_cjs3(), 1));
931
712
  var mod_esm_default = import_mod_cjs.default;
932
-
933
- // src/global-wrangler-config-path.ts
934
- function isDirectory(configPath) {
713
+ function isDirectory(path4) {
935
714
  try {
936
- return fs.statSync(configPath).isDirectory();
715
+ return fs.statSync(path4).isDirectory();
937
716
  } catch {
938
717
  return false;
939
718
  }
940
719
  }
941
720
  __name(isDirectory, "isDirectory");
721
+
722
+ // src/global-wrangler-config-path.ts
942
723
  function getGlobalWranglerConfigPath() {
943
724
  const configDir = mod_esm_default(".wrangler").config();
944
- const legacyConfigDir = path4.join(os.homedir(), ".wrangler");
725
+ const legacyConfigDir = path3.join(os.homedir(), ".wrangler");
945
726
  if (isDirectory(legacyConfigDir)) {
946
727
  return legacyConfigDir;
947
728
  } else {
@@ -1097,7 +878,7 @@ var getBuildPlatformFromEnv = getEnvironmentVariableFactory({
1097
878
  var getRegistryPath = getEnvironmentVariableFactory({
1098
879
  variableName: "WRANGLER_REGISTRY_PATH",
1099
880
  defaultValue() {
1100
- return path4.join(getGlobalWranglerConfigPath(), "registry");
881
+ return path3.join(getGlobalWranglerConfigPath(), "registry");
1101
882
  }
1102
883
  });
1103
884
  var getD1ExtraLocationChoices = getEnvironmentVariableFactory({
@@ -1288,9 +1069,9 @@ Please add "${field}" to "env.${envName}".`
1288
1069
  return rawEnv[field] ?? defaultValue;
1289
1070
  }
1290
1071
  __name(notInheritable, "notInheritable");
1291
- function unwindPropertyPath(root, path5) {
1072
+ function unwindPropertyPath(root, path4) {
1292
1073
  let container = root;
1293
- const parts = path5.split(".");
1074
+ const parts = path4.split(".");
1294
1075
  for (let i = 0; i < parts.length - 1; i++) {
1295
1076
  if (!hasProperty(container, parts[i])) {
1296
1077
  return;
@@ -1605,7 +1386,7 @@ function isPagesConfig(rawConfig) {
1605
1386
  __name(isPagesConfig, "isPagesConfig");
1606
1387
  function normalizeAndValidateConfig(rawConfig, configPath, userConfigPath, args, preserveOriginalMain = false) {
1607
1388
  const diagnostics = new Diagnostics(
1608
- `Processing ${configPath ? path4.relative(process.cwd(), configPath) : "wrangler"} configuration:`
1389
+ `Processing ${configPath ? path3.relative(process.cwd(), configPath) : "wrangler"} configuration:`
1609
1390
  );
1610
1391
  validateOptionalProperty(
1611
1392
  diagnostics,
@@ -1829,13 +1610,13 @@ function normalizeAndValidateBuild(diagnostics, rawEnv, rawBuild, configPath) {
1829
1610
  // be configured in the Wrangler configuration file, but who knows, that may
1830
1611
  // change in the future, so we do a check anyway
1831
1612
  command && configPath ? Array.isArray(watch_dir) ? watch_dir.map(
1832
- (dir) => path4.relative(
1613
+ (dir) => path3.relative(
1833
1614
  process.cwd(),
1834
- path4.join(path4.dirname(configPath), `${dir}`)
1615
+ path3.join(path3.dirname(configPath), `${dir}`)
1835
1616
  )
1836
- ) : path4.relative(
1617
+ ) : path3.relative(
1837
1618
  process.cwd(),
1838
- path4.join(path4.dirname(configPath), `${watch_dir}`)
1619
+ path3.join(path3.dirname(configPath), `${watch_dir}`)
1839
1620
  ) : watch_dir
1840
1621
  ),
1841
1622
  cwd
@@ -1843,11 +1624,11 @@ function normalizeAndValidateBuild(diagnostics, rawEnv, rawBuild, configPath) {
1843
1624
  }
1844
1625
  __name(normalizeAndValidateBuild, "normalizeAndValidateBuild");
1845
1626
  function normalizeAndValidateMainField(configPath, rawMain) {
1846
- const configDir = path4.dirname(configPath ?? "wrangler.toml");
1627
+ const configDir = path3.dirname(configPath ?? "wrangler.toml");
1847
1628
  if (rawMain !== void 0) {
1848
1629
  if (typeof rawMain === "string") {
1849
- const directory = path4.resolve(configDir);
1850
- return path4.resolve(directory, rawMain);
1630
+ const directory = path3.resolve(configDir);
1631
+ return path3.resolve(directory, rawMain);
1851
1632
  } else {
1852
1633
  return rawMain;
1853
1634
  }
@@ -1857,11 +1638,11 @@ function normalizeAndValidateMainField(configPath, rawMain) {
1857
1638
  }
1858
1639
  __name(normalizeAndValidateMainField, "normalizeAndValidateMainField");
1859
1640
  function normalizeAndValidateBaseDirField(configPath, rawDir) {
1860
- const configDir = path4.dirname(configPath ?? "wrangler.toml");
1641
+ const configDir = path3.dirname(configPath ?? "wrangler.toml");
1861
1642
  if (rawDir !== void 0) {
1862
1643
  if (typeof rawDir === "string") {
1863
- const directory = path4.resolve(configDir);
1864
- return path4.resolve(directory, rawDir);
1644
+ const directory = path3.resolve(configDir);
1645
+ return path3.resolve(directory, rawDir);
1865
1646
  } else {
1866
1647
  return rawDir;
1867
1648
  }
@@ -1871,11 +1652,11 @@ function normalizeAndValidateBaseDirField(configPath, rawDir) {
1871
1652
  }
1872
1653
  __name(normalizeAndValidateBaseDirField, "normalizeAndValidateBaseDirField");
1873
1654
  function normalizeAndValidatePagesBuildOutputDir(configPath, rawPagesDir) {
1874
- const configDir = path4.dirname(configPath ?? "wrangler.toml");
1655
+ const configDir = path3.dirname(configPath ?? "wrangler.toml");
1875
1656
  if (rawPagesDir !== void 0) {
1876
1657
  if (typeof rawPagesDir === "string") {
1877
- const directory = path4.resolve(configDir);
1878
- return path4.resolve(directory, rawPagesDir);
1658
+ const directory = path3.resolve(configDir);
1659
+ return path3.resolve(directory, rawPagesDir);
1879
1660
  } else {
1880
1661
  return rawPagesDir;
1881
1662
  }
@@ -2029,9 +1810,9 @@ function normalizeAndValidateSite(diagnostics, configPath, rawConfig, mainEntryP
2029
1810
  `site.entry-point`,
2030
1811
  `Delete the \`site.entry-point\` field, then add the top level \`main\` field to your configuration file:
2031
1812
  \`\`\`
2032
- main = "${path4.join(
1813
+ main = "${path3.join(
2033
1814
  String(rawConfig.site["entry-point"]) || "workers-site",
2034
- path4.extname(String(rawConfig.site["entry-point"]) || "workers-site") ? "" : "index.js"
1815
+ path3.extname(String(rawConfig.site["entry-point"]) || "workers-site") ? "" : "index.js"
2035
1816
  )}"
2036
1817
  \`\`\``,
2037
1818
  false,
@@ -2056,9 +1837,9 @@ Delete the deprecated \`site.entry-point\` field from your config.`
2056
1837
  );
2057
1838
  }
2058
1839
  if (configPath && siteEntryPoint) {
2059
- siteEntryPoint = path4.relative(
1840
+ siteEntryPoint = path3.relative(
2060
1841
  process.cwd(),
2061
- path4.join(path4.dirname(configPath), siteEntryPoint)
1842
+ path3.join(path3.dirname(configPath), siteEntryPoint)
2062
1843
  );
2063
1844
  }
2064
1845
  return {
@@ -2104,9 +1885,9 @@ function normalizeAndValidateModulePaths(diagnostics, configPath, field, rawMapp
2104
1885
  for (const [name, filePath] of Object.entries(rawMapping)) {
2105
1886
  if (isString(diagnostics, `${field}['${name}']`, filePath, void 0)) {
2106
1887
  if (configPath) {
2107
- mapping[name] = configPath ? path4.relative(
1888
+ mapping[name] = configPath ? path3.relative(
2108
1889
  process.cwd(),
2109
- path4.join(path4.dirname(configPath), filePath)
1890
+ path3.join(path3.dirname(configPath), filePath)
2110
1891
  ) : filePath;
2111
1892
  }
2112
1893
  }
@@ -3000,9 +2781,9 @@ function validateAndNormalizeTsconfig(diagnostics, topLevelEnv, rawEnv, configPa
3000
2781
  isString,
3001
2782
  void 0
3002
2783
  );
3003
- return configPath && tsconfig ? path4.relative(
2784
+ return configPath && tsconfig ? path3.relative(
3004
2785
  process.cwd(),
3005
- path4.join(path4.dirname(configPath), tsconfig)
2786
+ path3.join(path3.dirname(configPath), tsconfig)
3006
2787
  ) : tsconfig;
3007
2788
  }
3008
2789
  __name(validateAndNormalizeTsconfig, "validateAndNormalizeTsconfig");
@@ -3773,9 +3554,9 @@ function validateContainerApp(envName, topLevelName, configPath) {
3773
3554
  let resolvedBuildContextPath = void 0;
3774
3555
  try {
3775
3556
  if (isDockerfile(resolvedImage, configPath)) {
3776
- const baseDir = configPath ? path4.dirname(configPath) : process.cwd();
3777
- resolvedImage = path4.resolve(baseDir, resolvedImage);
3778
- resolvedBuildContextPath = containerAppOptional.image_build_context ? path4.resolve(baseDir, containerAppOptional.image_build_context) : path4.dirname(resolvedImage);
3557
+ const baseDir = configPath ? path3.dirname(configPath) : process.cwd();
3558
+ resolvedImage = path3.resolve(baseDir, resolvedImage);
3559
+ resolvedBuildContextPath = containerAppOptional.image_build_context ? path3.resolve(baseDir, containerAppOptional.image_build_context) : path3.dirname(resolvedImage);
3779
3560
  }
3780
3561
  } catch (err) {
3781
3562
  if (err instanceof Error && err.message) {
@@ -5042,13 +4823,20 @@ var validateRateLimitBinding = /* @__PURE__ */ __name((diagnostics, field, value
5042
4823
  }, "validateRateLimitBinding");
5043
4824
  function normalizeAndValidateLimits(diagnostics, topLevelEnv, rawEnv) {
5044
4825
  if (rawEnv.limits) {
5045
- validateRequiredProperty(
4826
+ validateOptionalProperty(
5046
4827
  diagnostics,
5047
4828
  "limits",
5048
4829
  "cpu_ms",
5049
4830
  rawEnv.limits.cpu_ms,
5050
4831
  "number"
5051
4832
  );
4833
+ validateOptionalProperty(
4834
+ diagnostics,
4835
+ "limits",
4836
+ "subrequests",
4837
+ rawEnv.limits.subrequests,
4838
+ "number"
4839
+ );
5052
4840
  }
5053
4841
  return inheritable(
5054
4842
  diagnostics,
@@ -5352,6 +5140,41 @@ function isRemoteValid(targetObject, fieldPath, diagnostics) {
5352
5140
  return true;
5353
5141
  }
5354
5142
  __name(isRemoteValid, "isRemoteValid");
5143
+ function isDockerfile(imagePath, configPath) {
5144
+ const baseDir = configPath ? path3.dirname(configPath) : process.cwd();
5145
+ const maybeDockerfile = path3.resolve(baseDir, imagePath);
5146
+ if (fs.existsSync(maybeDockerfile)) {
5147
+ if (isDirectory(maybeDockerfile)) {
5148
+ throw new UserError(
5149
+ `${imagePath} is a directory, you should specify a path to the Dockerfile`
5150
+ );
5151
+ }
5152
+ return true;
5153
+ }
5154
+ const errorPrefix = `The image "${imagePath}" does not appear to be a valid path to a Dockerfile, or a valid image registry path:
5155
+ `;
5156
+ try {
5157
+ new URL(`https://${imagePath}`);
5158
+ } catch (e) {
5159
+ if (e instanceof Error) {
5160
+ throw new UserError(errorPrefix + e.message);
5161
+ }
5162
+ throw e;
5163
+ }
5164
+ const imageParts = imagePath.split("/");
5165
+ if (!imageParts[imageParts.length - 1]?.includes(":")) {
5166
+ throw new UserError(
5167
+ errorPrefix + `If this is an image registry path, it needs to include at least a tag ':' (e.g: docker.io/httpd:1)`
5168
+ );
5169
+ }
5170
+ if (imagePath.includes("://")) {
5171
+ throw new UserError(
5172
+ errorPrefix + `Image reference should not include the protocol part (e.g: docker.io/httpd:1, not https://docker.io/httpd:1)`
5173
+ );
5174
+ }
5175
+ return false;
5176
+ }
5177
+ __name(isDockerfile, "isDockerfile");
5355
5178
 
5356
5179
  // src/config/validation-pages.ts
5357
5180
  var supportedPagesConfigFields = [
@@ -5481,4 +5304,4 @@ Pages requires Durable Object bindings to specify the name of the Worker where t
5481
5304
  }
5482
5305
  __name(validateDurableObjectBinding2, "validateDurableObjectBinding");
5483
5306
 
5484
- export { COMPLIANCE_REGION_CONFIG_PUBLIC, COMPLIANCE_REGION_CONFIG_UNKNOWN, PatchConfigError, bucketFormatMessage, defaultWranglerConfig, experimental_patchConfig, friendlyBindingNames, getBooleanEnvironmentVariableFactory, getBuildConditionsFromEnv, getBuildPlatformFromEnv, getC3CommandFromEnv, getCIGeneratePreviewAlias, getCIMatchTag, getCIOverrideName, getCIOverrideNetworkModeHost, getCloudflareApiBaseUrl, getCloudflareApiEnvironmentFromEnv, getCloudflareComplianceRegion, getCloudflareEnv, getCloudflareIncludeProcessEnvFromEnv, getCloudflareLoadDevVarsFromDotEnv, getComplianceRegionSubdomain, getD1ExtraLocationChoices, getDisableConfigWatching, getDockerPath, getEnvironmentVariableFactory, getGlobalWranglerConfigPath, getLocalExplorerEnabledFromEnv, getOpenNextDeployFromEnv, getOutputFileDirectoryFromEnv, getOutputFilePathFromEnv, getRegistryPath, getSanitizeLogs, getSubdomainMixedStateCheckDisabled, getTraceHeader, getWorkersCIBranchName, getWranglerHideBanner, getWranglerSendErrorReportsFromEnv, getWranglerSendMetricsFromEnv, hasProperty, isOptionalProperty, isPagesConfig, isRequiredProperty, isValidR2BucketName, normalizeAndValidateConfig, validatePagesConfig };
5307
+ export { COMPLIANCE_REGION_CONFIG_PUBLIC, COMPLIANCE_REGION_CONFIG_UNKNOWN, PatchConfigError, bucketFormatMessage, defaultWranglerConfig, experimental_patchConfig, friendlyBindingNames, getBooleanEnvironmentVariableFactory, getBuildConditionsFromEnv, getBuildPlatformFromEnv, getC3CommandFromEnv, getCIGeneratePreviewAlias, getCIMatchTag, getCIOverrideName, getCIOverrideNetworkModeHost, getCloudflareApiBaseUrl, getCloudflareApiEnvironmentFromEnv, getCloudflareComplianceRegion, getCloudflareEnv, getCloudflareIncludeProcessEnvFromEnv, getCloudflareLoadDevVarsFromDotEnv, getComplianceRegionSubdomain, getD1ExtraLocationChoices, getDisableConfigWatching, getDockerPath, getEnvironmentVariableFactory, getGlobalWranglerConfigPath, getLocalExplorerEnabledFromEnv, getOpenNextDeployFromEnv, getOutputFileDirectoryFromEnv, getOutputFilePathFromEnv, getRegistryPath, getSanitizeLogs, getSubdomainMixedStateCheckDisabled, getTraceHeader, getWorkersCIBranchName, getWranglerHideBanner, getWranglerSendErrorReportsFromEnv, getWranglerSendMetricsFromEnv, hasProperty, isDirectory, isDockerfile, isOptionalProperty, isPagesConfig, isRequiredProperty, isValidR2BucketName, normalizeAndValidateConfig, validatePagesConfig };
@@ -1 +1 @@
1
- {"inputs":{"src/compatibility-date.ts":{"bytes":3472,"imports":[{"path":"node:assert","kind":"import-statement","external":true},{"path":"node:module","kind":"import-statement","external":true},{"path":"node:path","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":8899,"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":4885,"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":40877,"imports":[],"format":"esm"},"src/config/config.ts":{"bytes":11934,"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":2600,"imports":[{"path":"<runtime>","kind":"import-statement","external":true}],"format":"esm"},"src/parse.ts":{"bytes":9544,"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/yocto-queue@1.0.0/node_modules/yocto-queue/index.js":{"bytes":1277,"imports":[{"path":"<runtime>","kind":"import-statement","external":true}],"format":"esm"},"../../node_modules/.pnpm/p-limit@4.0.0/node_modules/p-limit/index.js":{"bytes":1502,"imports":[{"path":"../../node_modules/.pnpm/yocto-queue@1.0.0/node_modules/yocto-queue/index.js","kind":"import-statement","original":"yocto-queue"},{"path":"<runtime>","kind":"import-statement","external":true}],"format":"esm"},"../../node_modules/.pnpm/p-locate@6.0.0/node_modules/p-locate/index.js":{"bytes":1121,"imports":[{"path":"../../node_modules/.pnpm/p-limit@4.0.0/node_modules/p-limit/index.js","kind":"import-statement","original":"p-limit"},{"path":"<runtime>","kind":"import-statement","external":true}],"format":"esm"},"../../node_modules/.pnpm/locate-path@7.1.0/node_modules/locate-path/index.js":{"bytes":1443,"imports":[{"path":"node:process","kind":"import-statement","external":true},{"path":"node:path","kind":"import-statement","external":true},{"path":"node:fs","kind":"import-statement","external":true},{"path":"node:url","kind":"import-statement","external":true},{"path":"../../node_modules/.pnpm/p-locate@6.0.0/node_modules/p-locate/index.js","kind":"import-statement","original":"p-locate"},{"path":"<runtime>","kind":"import-statement","external":true}],"format":"esm"},"../../node_modules/.pnpm/path-exists@5.0.0/node_modules/path-exists/index.js":{"bytes":298,"imports":[{"path":"node:fs","kind":"import-statement","external":true},{"path":"<runtime>","kind":"import-statement","external":true}],"format":"esm"},"../../node_modules/.pnpm/find-up@6.3.0/node_modules/find-up/index.js":{"bytes":2679,"imports":[{"path":"node:path","kind":"import-statement","external":true},{"path":"node:url","kind":"import-statement","external":true},{"path":"../../node_modules/.pnpm/locate-path@7.1.0/node_modules/locate-path/index.js","kind":"import-statement","original":"locate-path"},{"path":"../../node_modules/.pnpm/path-exists@5.0.0/node_modules/path-exists/index.js","kind":"import-statement","original":"path-exists"},{"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":4889,"imports":[{"path":"node:fs","kind":"import-statement","external":true},{"path":"node:path","kind":"import-statement","external":true},{"path":"../../node_modules/.pnpm/find-up@6.3.0/node_modules/find-up/index.js","kind":"import-statement","original":"find-up"},{"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":3417,"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":10809,"imports":[],"format":"esm"},"src/types.ts":{"bytes":5623,"imports":[],"format":"esm"},"../containers-shared/src/client/core/ApiError.ts":{"bytes":686,"imports":[{"path":"<runtime>","kind":"import-statement","external":true}],"format":"esm"},"../containers-shared/src/client/core/CancelablePromise.ts":{"bytes":3230,"imports":[{"path":"<runtime>","kind":"import-statement","external":true}],"format":"esm"},"../containers-shared/src/client/core/OpenAPI.ts":{"bytes":896,"imports":[],"format":"esm"},"../containers-shared/src/client/models/ApplicationAffinityColocation.ts":{"bytes":450,"imports":[],"format":"esm"},"../containers-shared/src/client/models/ApplicationAffinityHardwareGeneration.ts":{"bytes":304,"imports":[],"format":"esm"},"../containers-shared/src/client/models/ApplicationMutationError.ts":{"bytes":960,"imports":[],"format":"esm"},"../containers-shared/src/client/models/ApplicationRollout.ts":{"bytes":2627,"imports":[],"format":"esm"},"../containers-shared/src/client/models/AssignIPv4.ts":{"bytes":163,"imports":[],"format":"esm"},"../containers-shared/src/client/models/AssignIPv6.ts":{"bytes":163,"imports":[],"format":"esm"},"../containers-shared/src/client/models/BadRequestWithCodeError.ts":{"bytes":559,"imports":[],"format":"esm"},"../containers-shared/src/client/models/ContainerNetworkMode.ts":{"bytes":679,"imports":[],"format":"esm"},"../containers-shared/src/client/models/CreateApplicationRolloutRequest.ts":{"bytes":2341,"imports":[],"format":"esm"},"../containers-shared/src/client/models/DeploymentCheckKind.ts":{"bytes":144,"imports":[],"format":"esm"},"../containers-shared/src/client/models/DeploymentCheckType.ts":{"bytes":136,"imports":[],"format":"esm"},"../containers-shared/src/client/models/DeploymentMutationError.ts":{"bytes":542,"imports":[],"format":"esm"},"../containers-shared/src/client/models/DeploymentNotFoundError.ts":{"bytes":357,"imports":[],"format":"esm"},"../containers-shared/src/client/models/DeploymentPlacementState.ts":{"bytes":258,"imports":[],"format":"esm"},"../containers-shared/src/client/models/DeploymentQueuedReason.ts":{"bytes":246,"imports":[],"format":"esm"},"../containers-shared/src/client/models/DeploymentSchedulingState.ts":{"bytes":212,"imports":[],"format":"esm"},"../containers-shared/src/client/models/DeploymentType.ts":{"bytes":943,"imports":[],"format":"esm"},"../containers-shared/src/client/models/DurableObjectStatusHealth.ts":{"bytes":426,"imports":[],"format":"esm"},"../containers-shared/src/client/models/EventName.ts":{"bytes":2451,"imports":[],"format":"esm"},"../containers-shared/src/client/models/EventType.ts":{"bytes":204,"imports":[],"format":"esm"},"../containers-shared/src/client/models/HTTPMethod.ts":{"bytes":284,"imports":[],"format":"esm"},"../containers-shared/src/client/models/ImageRegistryAlreadyExistsError.ts":{"bytes":574,"imports":[],"format":"esm"},"../containers-shared/src/client/models/ImageRegistryIsPublic.ts":{"bytes":364,"imports":[],"format":"esm"},"../containers-shared/src/client/models/ImageRegistryNotAllowedError.ts":{"bytes":589,"imports":[],"format":"esm"},"../containers-shared/src/client/models/ImageRegistryNotFoundError.ts":{"bytes":333,"imports":[],"format":"esm"},"../containers-shared/src/client/models/ImageRegistryPermissions.ts":{"bytes":143,"imports":[],"format":"esm"},"../containers-shared/src/client/models/ImageRegistryProtocolAlreadyExists.ts":{"bytes":340,"imports":[],"format":"esm"},"../containers-shared/src/client/models/ImageRegistryProtocolIsReferencedError.ts":{"bytes":441,"imports":[],"format":"esm"},"../containers-shared/src/client/models/ImageRegistryProtocolNotFound.ts":{"bytes":369,"imports":[],"format":"esm"},"../containers-shared/src/client/models/InstanceType.ts":{"bytes":1084,"imports":[],"format":"esm"},"../containers-shared/src/client/models/IPType.ts":{"bytes":171,"imports":[],"format":"esm"},"../containers-shared/src/client/models/JobStatusHealth.ts":{"bytes":740,"imports":[],"format":"esm"},"../containers-shared/src/client/models/NetworkMode.ts":{"bytes":204,"imports":[],"format":"esm"},"../containers-shared/src/client/models/NodeGroup.ts":{"bytes":335,"imports":[],"format":"esm"},"../containers-shared/src/client/models/PlacementStatusHealth.ts":{"bytes":569,"imports":[],"format":"esm"},"../containers-shared/src/client/models/ProvisionerConfiguration.ts":{"bytes":389,"imports":[],"format":"esm"},"../containers-shared/src/client/models/RolloutStep.ts":{"bytes":1016,"imports":[],"format":"esm"},"../containers-shared/src/client/models/SchedulingPolicy.ts":{"bytes":268,"imports":[],"format":"esm"},"../containers-shared/src/client/models/SecretAccessType.ts":{"bytes":239,"imports":[],"format":"esm"},"../containers-shared/src/client/models/SecretNameAlreadyExists.ts":{"bytes":546,"imports":[],"format":"esm"},"../containers-shared/src/client/models/SecretNotFound.ts":{"bytes":288,"imports":[],"format":"esm"},"../containers-shared/src/client/models/SSHPublicKeyNotFoundError.ts":{"bytes":330,"imports":[],"format":"esm"},"../containers-shared/src/client/models/UpdateApplicationRolloutRequest.ts":{"bytes":913,"imports":[],"format":"esm"},"../containers-shared/src/client/core/request.ts":{"bytes":10464,"imports":[{"path":"../containers-shared/src/client/core/ApiError.ts","kind":"import-statement","original":"./ApiError"},{"path":"../containers-shared/src/client/core/CancelablePromise.ts","kind":"import-statement","original":"./CancelablePromise"},{"path":"./OpenAPI","kind":"import-statement","external":true},{"path":"<runtime>","kind":"import-statement","external":true}],"format":"esm"},"../containers-shared/src/client/services/AccountService.ts":{"bytes":1535,"imports":[{"path":"../containers-shared/src/client/core/OpenAPI.ts","kind":"import-statement","original":"../core/OpenAPI"},{"path":"../containers-shared/src/client/core/request.ts","kind":"import-statement","original":"../core/request"},{"path":"<runtime>","kind":"import-statement","external":true}],"format":"esm"},"../containers-shared/src/client/services/ApplicationsService.ts":{"bytes":15811,"imports":[{"path":"../containers-shared/src/client/core/OpenAPI.ts","kind":"import-statement","original":"../core/OpenAPI"},{"path":"../containers-shared/src/client/core/request.ts","kind":"import-statement","original":"../core/request"},{"path":"<runtime>","kind":"import-statement","external":true}],"format":"esm"},"../containers-shared/src/client/services/DeploymentsService.ts":{"bytes":9316,"imports":[{"path":"../containers-shared/src/client/core/OpenAPI.ts","kind":"import-statement","original":"../core/OpenAPI"},{"path":"../containers-shared/src/client/core/request.ts","kind":"import-statement","original":"../core/request"},{"path":"<runtime>","kind":"import-statement","external":true}],"format":"esm"},"../containers-shared/src/client/services/ImageRegistriesService.ts":{"bytes":6353,"imports":[{"path":"../containers-shared/src/client/core/OpenAPI.ts","kind":"import-statement","original":"../core/OpenAPI"},{"path":"../containers-shared/src/client/core/request.ts","kind":"import-statement","original":"../core/request"},{"path":"<runtime>","kind":"import-statement","external":true}],"format":"esm"},"../containers-shared/src/client/services/IPsService.ts":{"bytes":1441,"imports":[{"path":"../containers-shared/src/client/core/OpenAPI.ts","kind":"import-statement","original":"../core/OpenAPI"},{"path":"../containers-shared/src/client/core/request.ts","kind":"import-statement","original":"../core/request"},{"path":"<runtime>","kind":"import-statement","external":true}],"format":"esm"},"../containers-shared/src/client/services/JobsService.ts":{"bytes":4599,"imports":[{"path":"../containers-shared/src/client/core/OpenAPI.ts","kind":"import-statement","original":"../core/OpenAPI"},{"path":"../containers-shared/src/client/core/request.ts","kind":"import-statement","original":"../core/request"},{"path":"<runtime>","kind":"import-statement","external":true}],"format":"esm"},"../containers-shared/src/client/services/PlacementsService.ts":{"bytes":2733,"imports":[{"path":"../containers-shared/src/client/core/OpenAPI.ts","kind":"import-statement","original":"../core/OpenAPI"},{"path":"../containers-shared/src/client/core/request.ts","kind":"import-statement","original":"../core/request"},{"path":"<runtime>","kind":"import-statement","external":true}],"format":"esm"},"../containers-shared/src/client/services/RolloutsService.ts":{"bytes":4854,"imports":[{"path":"../containers-shared/src/client/core/OpenAPI.ts","kind":"import-statement","original":"../core/OpenAPI"},{"path":"../containers-shared/src/client/core/request.ts","kind":"import-statement","original":"../core/request"},{"path":"<runtime>","kind":"import-statement","external":true}],"format":"esm"},"../containers-shared/src/client/services/SecretsService.ts":{"bytes":3305,"imports":[{"path":"../containers-shared/src/client/core/OpenAPI.ts","kind":"import-statement","original":"../core/OpenAPI"},{"path":"../containers-shared/src/client/core/request.ts","kind":"import-statement","original":"../core/request"},{"path":"<runtime>","kind":"import-statement","external":true}],"format":"esm"},"../containers-shared/src/client/services/SshPublicKeysService.ts":{"bytes":2261,"imports":[{"path":"../containers-shared/src/client/core/OpenAPI.ts","kind":"import-statement","original":"../core/OpenAPI"},{"path":"../containers-shared/src/client/core/request.ts","kind":"import-statement","original":"../core/request"},{"path":"<runtime>","kind":"import-statement","external":true}],"format":"esm"},"../containers-shared/src/client/index.ts":{"bytes":14812,"imports":[{"path":"../containers-shared/src/client/core/ApiError.ts","kind":"import-statement","original":"./core/ApiError"},{"path":"../containers-shared/src/client/core/CancelablePromise.ts","kind":"import-statement","original":"./core/CancelablePromise"},{"path":"../containers-shared/src/client/core/OpenAPI.ts","kind":"import-statement","original":"./core/OpenAPI"},{"path":"../containers-shared/src/client/models/ApplicationAffinityColocation.ts","kind":"import-statement","original":"./models/ApplicationAffinityColocation"},{"path":"../containers-shared/src/client/models/ApplicationAffinityHardwareGeneration.ts","kind":"import-statement","original":"./models/ApplicationAffinityHardwareGeneration"},{"path":"../containers-shared/src/client/models/ApplicationMutationError.ts","kind":"import-statement","original":"./models/ApplicationMutationError"},{"path":"../containers-shared/src/client/models/ApplicationRollout.ts","kind":"import-statement","original":"./models/ApplicationRollout"},{"path":"../containers-shared/src/client/models/AssignIPv4.ts","kind":"import-statement","original":"./models/AssignIPv4"},{"path":"../containers-shared/src/client/models/AssignIPv6.ts","kind":"import-statement","original":"./models/AssignIPv6"},{"path":"../containers-shared/src/client/models/BadRequestWithCodeError.ts","kind":"import-statement","original":"./models/BadRequestWithCodeError"},{"path":"../containers-shared/src/client/models/ContainerNetworkMode.ts","kind":"import-statement","original":"./models/ContainerNetworkMode"},{"path":"../containers-shared/src/client/models/CreateApplicationRolloutRequest.ts","kind":"import-statement","original":"./models/CreateApplicationRolloutRequest"},{"path":"../containers-shared/src/client/models/DeploymentCheckKind.ts","kind":"import-statement","original":"./models/DeploymentCheckKind"},{"path":"../containers-shared/src/client/models/DeploymentCheckType.ts","kind":"import-statement","original":"./models/DeploymentCheckType"},{"path":"../containers-shared/src/client/models/DeploymentMutationError.ts","kind":"import-statement","original":"./models/DeploymentMutationError"},{"path":"../containers-shared/src/client/models/DeploymentNotFoundError.ts","kind":"import-statement","original":"./models/DeploymentNotFoundError"},{"path":"../containers-shared/src/client/models/DeploymentPlacementState.ts","kind":"import-statement","original":"./models/DeploymentPlacementState"},{"path":"../containers-shared/src/client/models/DeploymentQueuedReason.ts","kind":"import-statement","original":"./models/DeploymentQueuedReason"},{"path":"../containers-shared/src/client/models/DeploymentSchedulingState.ts","kind":"import-statement","original":"./models/DeploymentSchedulingState"},{"path":"../containers-shared/src/client/models/DeploymentType.ts","kind":"import-statement","original":"./models/DeploymentType"},{"path":"../containers-shared/src/client/models/DurableObjectStatusHealth.ts","kind":"import-statement","original":"./models/DurableObjectStatusHealth"},{"path":"../containers-shared/src/client/models/EventName.ts","kind":"import-statement","original":"./models/EventName"},{"path":"../containers-shared/src/client/models/EventType.ts","kind":"import-statement","original":"./models/EventType"},{"path":"../containers-shared/src/client/models/HTTPMethod.ts","kind":"import-statement","original":"./models/HTTPMethod"},{"path":"../containers-shared/src/client/models/ImageRegistryAlreadyExistsError.ts","kind":"import-statement","original":"./models/ImageRegistryAlreadyExistsError"},{"path":"../containers-shared/src/client/models/ImageRegistryIsPublic.ts","kind":"import-statement","original":"./models/ImageRegistryIsPublic"},{"path":"../containers-shared/src/client/models/ImageRegistryNotAllowedError.ts","kind":"import-statement","original":"./models/ImageRegistryNotAllowedError"},{"path":"../containers-shared/src/client/models/ImageRegistryNotFoundError.ts","kind":"import-statement","original":"./models/ImageRegistryNotFoundError"},{"path":"../containers-shared/src/client/models/ImageRegistryPermissions.ts","kind":"import-statement","original":"./models/ImageRegistryPermissions"},{"path":"../containers-shared/src/client/models/ImageRegistryProtocolAlreadyExists.ts","kind":"import-statement","original":"./models/ImageRegistryProtocolAlreadyExists"},{"path":"../containers-shared/src/client/models/ImageRegistryProtocolIsReferencedError.ts","kind":"import-statement","original":"./models/ImageRegistryProtocolIsReferencedError"},{"path":"../containers-shared/src/client/models/ImageRegistryProtocolNotFound.ts","kind":"import-statement","original":"./models/ImageRegistryProtocolNotFound"},{"path":"../containers-shared/src/client/models/InstanceType.ts","kind":"import-statement","original":"./models/InstanceType"},{"path":"../containers-shared/src/client/models/IPType.ts","kind":"import-statement","original":"./models/IPType"},{"path":"../containers-shared/src/client/models/JobStatusHealth.ts","kind":"import-statement","original":"./models/JobStatusHealth"},{"path":"../containers-shared/src/client/models/NetworkMode.ts","kind":"import-statement","original":"./models/NetworkMode"},{"path":"../containers-shared/src/client/models/NodeGroup.ts","kind":"import-statement","original":"./models/NodeGroup"},{"path":"../containers-shared/src/client/models/PlacementStatusHealth.ts","kind":"import-statement","original":"./models/PlacementStatusHealth"},{"path":"../containers-shared/src/client/models/ProvisionerConfiguration.ts","kind":"import-statement","original":"./models/ProvisionerConfiguration"},{"path":"../containers-shared/src/client/models/RolloutStep.ts","kind":"import-statement","original":"./models/RolloutStep"},{"path":"../containers-shared/src/client/models/SchedulingPolicy.ts","kind":"import-statement","original":"./models/SchedulingPolicy"},{"path":"../containers-shared/src/client/models/SecretAccessType.ts","kind":"import-statement","original":"./models/SecretAccessType"},{"path":"../containers-shared/src/client/models/SecretNameAlreadyExists.ts","kind":"import-statement","original":"./models/SecretNameAlreadyExists"},{"path":"../containers-shared/src/client/models/SecretNotFound.ts","kind":"import-statement","original":"./models/SecretNotFound"},{"path":"../containers-shared/src/client/models/SSHPublicKeyNotFoundError.ts","kind":"import-statement","original":"./models/SSHPublicKeyNotFoundError"},{"path":"../containers-shared/src/client/models/UpdateApplicationRolloutRequest.ts","kind":"import-statement","original":"./models/UpdateApplicationRolloutRequest"},{"path":"../containers-shared/src/client/services/AccountService.ts","kind":"import-statement","original":"./services/AccountService"},{"path":"../containers-shared/src/client/services/ApplicationsService.ts","kind":"import-statement","original":"./services/ApplicationsService"},{"path":"../containers-shared/src/client/services/DeploymentsService.ts","kind":"import-statement","original":"./services/DeploymentsService"},{"path":"../containers-shared/src/client/services/ImageRegistriesService.ts","kind":"import-statement","original":"./services/ImageRegistriesService"},{"path":"../containers-shared/src/client/services/IPsService.ts","kind":"import-statement","original":"./services/IPsService"},{"path":"../containers-shared/src/client/services/JobsService.ts","kind":"import-statement","original":"./services/JobsService"},{"path":"../containers-shared/src/client/services/PlacementsService.ts","kind":"import-statement","original":"./services/PlacementsService"},{"path":"../containers-shared/src/client/services/RolloutsService.ts","kind":"import-statement","original":"./services/RolloutsService"},{"path":"../containers-shared/src/client/services/SecretsService.ts","kind":"import-statement","original":"./services/SecretsService"},{"path":"../containers-shared/src/client/services/SshPublicKeysService.ts","kind":"import-statement","original":"./services/SshPublicKeysService"}],"format":"esm"},"../containers-shared/src/error.ts":{"bytes":1042,"imports":[{"path":"<runtime>","kind":"import-statement","external":true}],"format":"esm"},"../containers-shared/src/build.ts":{"bytes":2629,"imports":[{"path":"node:child_process","kind":"import-statement","external":true},{"path":"node:fs","kind":"import-statement","external":true},{"path":"../containers-shared/src/error.ts","kind":"import-statement","original":"./error"},{"path":"<runtime>","kind":"import-statement","external":true}],"format":"esm"},"../containers-shared/src/login.ts":{"bytes":1202,"imports":[{"path":"node:child_process","kind":"import-statement","external":true},{"path":"../containers-shared/src/client/index.ts","kind":"import-statement","original":"./client"},{"path":"../containers-shared/src/error.ts","kind":"import-statement","original":"./error"},{"path":"<runtime>","kind":"import-statement","external":true}],"format":"esm"},"../containers-shared/src/registry.ts":{"bytes":538,"imports":[{"path":"../containers-shared/src/knobs.ts","kind":"import-statement","original":"./knobs"},{"path":"<runtime>","kind":"import-statement","external":true}],"format":"esm"},"../containers-shared/src/knobs.ts":{"bytes":870,"imports":[{"path":"../containers-shared/src/registry.ts","kind":"import-statement","original":"./registry"},{"path":"<runtime>","kind":"import-statement","external":true}],"format":"esm"},"../containers-shared/src/inspect.ts":{"bytes":820,"imports":[{"path":"node:child_process","kind":"import-statement","external":true},{"path":"../containers-shared/src/error.ts","kind":"import-statement","original":"./error"},{"path":"<runtime>","kind":"import-statement","external":true}],"format":"esm"},"../containers-shared/src/utils.ts":{"bytes":10888,"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:path","kind":"import-statement","external":true},{"path":"../containers-shared/src/error.ts","kind":"import-statement","original":"./error"},{"path":"../containers-shared/src/inspect.ts","kind":"import-statement","original":"./inspect"},{"path":"<runtime>","kind":"import-statement","external":true}],"format":"esm"},"../containers-shared/src/types.ts":{"bytes":3384,"imports":[],"format":"esm"},"../containers-shared/src/client/models/ExternalRegistryKind.ts":{"bytes":188,"imports":[],"format":"esm"},"../containers-shared/src/images.ts":{"bytes":8379,"imports":[{"path":"../containers-shared/src/build.ts","kind":"import-statement","original":"./build"},{"path":"../containers-shared/src/client/models/ExternalRegistryKind.ts","kind":"import-statement","original":"./client/models/ExternalRegistryKind"},{"path":"../containers-shared/src/error.ts","kind":"import-statement","original":"./error"},{"path":"../containers-shared/src/knobs.ts","kind":"import-statement","original":"./knobs"},{"path":"../containers-shared/src/login.ts","kind":"import-statement","original":"./login"},{"path":"../containers-shared/src/registry.ts","kind":"import-statement","original":"./registry"},{"path":"../containers-shared/src/utils.ts","kind":"import-statement","original":"./utils"},{"path":"<runtime>","kind":"import-statement","external":true}],"format":"esm"},"../containers-shared/index.ts":{"bytes":268,"imports":[{"path":"../containers-shared/src/client/index.ts","kind":"import-statement","original":"./src/client"},{"path":"../containers-shared/src/build.ts","kind":"import-statement","original":"./src/build"},{"path":"../containers-shared/src/login.ts","kind":"import-statement","original":"./src/login"},{"path":"../containers-shared/src/knobs.ts","kind":"import-statement","original":"./src/knobs"},{"path":"../containers-shared/src/utils.ts","kind":"import-statement","original":"./src/utils"},{"path":"../containers-shared/src/types.ts","kind":"import-statement","original":"./src/types"},{"path":"../containers-shared/src/inspect.ts","kind":"import-statement","original":"./src/inspect"},{"path":"../containers-shared/src/registry.ts","kind":"import-statement","original":"./src/registry"},{"path":"../containers-shared/src/images.ts","kind":"import-statement","original":"./src/images"}],"format":"esm"},"../workflows-shared/src/lib/validators.ts":{"bytes":1108,"imports":[{"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/global-wrangler-config-path.ts":{"bytes":820,"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":"../../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":"<runtime>","kind":"import-statement","external":true}],"format":"esm"},"src/environment-variables/factory.ts":{"bytes":9855,"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":11655,"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":2230,"imports":[{"path":"<runtime>","kind":"import-statement","external":true}],"format":"esm"},"src/config/validation-helpers.ts":{"bytes":19697,"imports":[{"path":"<runtime>","kind":"import-statement","external":true}],"format":"esm"},"src/config/validation.ts":{"bytes":124591,"imports":[{"path":"node:assert","kind":"import-statement","external":true},{"path":"node:path","kind":"import-statement","external":true},{"path":"../containers-shared/index.ts","kind":"import-statement","original":"@cloudflare/containers-shared"},{"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/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/validation-pages.ts":{"bytes":5899,"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"},"src/index.ts":{"bytes":2003,"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/validation-pages.ts","kind":"import-statement","original":"./config/validation-pages"},{"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"}],"format":"esm"},"src/test-helpers/normalize.ts":{"bytes":3274,"imports":[{"path":"<runtime>","kind":"import-statement","external":true}],"format":"esm"},"src/test-helpers/mock-console.ts":{"bytes":2413,"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":1718,"imports":[{"path":"node:fs","kind":"import-statement","external":true},{"path":"node:fs/promises","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":"<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":401,"imports":[{"path":"src/test-helpers/mock-console.ts","kind":"import-statement","original":"./mock-console"},{"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-4233U5MA.mjs","kind":"import-statement"},{"path":"dist/chunk-LDFBMPMW.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-4233U5MA.mjs","kind":"import-statement"},{"path":"dist/chunk-AT3LIX2I.mjs","kind":"import-statement"},{"path":"dist/chunk-LDFBMPMW.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":"node:fs","kind":"import-statement","external":true},{"path":"node:assert","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:os","kind":"import-statement","external":true},{"path":"node:path","kind":"import-statement","external":true}],"exports":["APIError","COMPLIANCE_REGION_CONFIG_PUBLIC","COMPLIANCE_REGION_CONFIG_UNKNOWN","CommandLineArgsError","DeprecationError","ENVIRONMENT_TAG_PREFIX","FatalError","INHERIT_SYMBOL","JSON_CONFIG_FORMATS","JsonFriendlyFatalError","MissingConfigError","PATH_TO_DEPLOY_CONFIG","ParseError","PatchConfigError","SERVICE_TAG_PREFIX","UserError","assertNever","bucketFormatMessage","configFileName","configFormat","constructWranglerConfig","createFatalError","defaultWranglerConfig","experimental_patchConfig","experimental_readRawConfig","findWranglerConfig","formatCompatibilityDate","formatConfigSnippet","friendlyBindingNames","getBooleanEnvironmentVariableFactory","getBuildConditionsFromEnv","getBuildPlatformFromEnv","getC3CommandFromEnv","getCIGeneratePreviewAlias","getCIMatchTag","getCIOverrideName","getCIOverrideNetworkModeHost","getCloudflareApiBaseUrl","getCloudflareApiEnvironmentFromEnv","getCloudflareComplianceRegion","getCloudflareEnv","getCloudflareIncludeProcessEnvFromEnv","getCloudflareLoadDevVarsFromDotEnv","getComplianceRegionSubdomain","getD1ExtraLocationChoices","getDisableConfigWatching","getDockerPath","getEnvironmentVariableFactory","getGlobalWranglerConfigPath","getLocalExplorerEnabledFromEnv","getLocalWorkerdCompatibilityDate","getOpenNextDeployFromEnv","getOutputFileDirectoryFromEnv","getOutputFilePathFromEnv","getRegistryPath","getSanitizeLogs","getSubdomainMixedStateCheckDisabled","getTraceHeader","getWorkersCIBranchName","getWranglerHideBanner","getWranglerSendErrorReportsFromEnv","getWranglerSendMetricsFromEnv","hasProperty","indexLocation","isCompatDate","isOptionalProperty","isPagesConfig","isRequiredProperty","isValidR2BucketName","mapWorkerMetadataBindings","normalizeAndValidateConfig","parseByteSize","parseHumanDuration","parseJSON","parseJSONC","parseNonHyphenedUuid","parsePackageJSON","parseTOML","readFileSync","readFileSyncToBuffer","resolveWranglerConfigPath","searchLocation","validatePagesConfig"],"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":4292},"../../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},"src/index.ts":{"bytesInOutput":0},"src/config/config.ts":{"bytesInOutput":3152},"src/config/patch-config.ts":{"bytesInOutput":1912},"src/config/validation.ts":{"bytesInOutput":118139},"../containers-shared/src/client/index.ts":{"bytesInOutput":0},"../containers-shared/src/client/models/ApplicationRollout.ts":{"bytesInOutput":815},"../containers-shared/src/client/models/BadRequestWithCodeError.ts":{"bytesInOutput":291},"../containers-shared/src/client/models/CreateApplicationRolloutRequest.ts":{"bytesInOutput":1094},"../containers-shared/src/client/models/DeploymentNotFoundError.ts":{"bytesInOutput":303},"../containers-shared/src/client/models/ImageRegistryAlreadyExistsError.ts":{"bytesInOutput":369},"../containers-shared/src/client/models/ImageRegistryIsPublic.ts":{"bytesInOutput":299},"../containers-shared/src/client/models/ImageRegistryNotAllowedError.ts":{"bytesInOutput":345},"../containers-shared/src/client/models/ImageRegistryNotFoundError.ts":{"bytesInOutput":329},"../containers-shared/src/client/models/ImageRegistryProtocolAlreadyExists.ts":{"bytesInOutput":405},"../containers-shared/src/client/models/ImageRegistryProtocolIsReferencedError.ts":{"bytesInOutput":421},"../containers-shared/src/client/models/ImageRegistryProtocolNotFound.ts":{"bytesInOutput":365},"../containers-shared/src/client/models/ProvisionerConfiguration.ts":{"bytesInOutput":309},"../containers-shared/src/client/models/RolloutStep.ts":{"bytesInOutput":373},"../containers-shared/src/client/models/SecretNameAlreadyExists.ts":{"bytesInOutput":315},"../containers-shared/src/client/models/SecretNotFound.ts":{"bytesInOutput":251},"../containers-shared/src/client/models/SSHPublicKeyNotFoundError.ts":{"bytesInOutput":323},"../containers-shared/src/client/models/UpdateApplicationRolloutRequest.ts":{"bytesInOutput":397},"../containers-shared/index.ts":{"bytesInOutput":0},"../containers-shared/src/error.ts":{"bytesInOutput":332},"../containers-shared/src/utils.ts":{"bytesInOutput":1394},"../workflows-shared/src/lib/validators.ts":{"bytesInOutput":566},"src/environment-variables/misc-variables.ts":{"bytesInOutput":5438},"src/global-wrangler-config-path.ts":{"bytesInOutput":586},"../../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":1850},"src/config/diagnostics.ts":{"bytesInOutput":1876},"src/config/validation-helpers.ts":{"bytesInOutput":12440},"src/config/validation-pages.ts":{"bytesInOutput":4456}},"bytes":185396},"dist/chunk-4233U5MA.mjs":{"imports":[{"path":"dist/chunk-LDFBMPMW.mjs","kind":"import-statement"},{"path":"node:assert","kind":"import-statement","external":true},{"path":"node:module","kind":"import-statement","external":true},{"path":"node:path","kind":"import-statement","external":true}],"exports":["assertNever","constructWranglerConfig","formatCompatibilityDate","getLocalWorkerdCompatibilityDate","isCompatDate","mapWorkerMetadataBindings"],"inputs":{"src/compatibility-date.ts":{"bytesInOutput":1376},"src/assert-never.ts":{"bytesInOutput":69},"src/map-worker-metadata-bindings.ts":{"bytesInOutput":8897},"src/construct-wrangler-config.ts":{"bytesInOutput":2797}},"bytes":13529},"dist/test-helpers/index.mjs":{"imports":[{"path":"dist/chunk-AT3LIX2I.mjs","kind":"import-statement"},{"path":"dist/chunk-LDFBMPMW.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:fs/promises","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":["mockConsoleMethods","mockCreateDate","mockEndDate","mockModifiedDate","mockQueuedDate","mockStartDate","normalizeString","readWranglerConfig","runInTempDir","seed","writeDeployRedirectConfig","writeRedirectedWranglerConfig","writeWranglerConfig"],"entryPoint":"src/test-helpers/index.ts","inputs":{"src/test-helpers/mock-console.ts":{"bytesInOutput":2271},"src/test-helpers/normalize.ts":{"bytesInOutput":2741},"src/test-helpers/index.ts":{"bytesInOutput":0},"src/test-helpers/run-in-tmp.ts":{"bytesInOutput":915},"src/test-helpers/seed.ts":{"bytesInOutput":345},"src/test-helpers/wrangler-config.ts":{"bytesInOutput":1745}},"bytes":8665},"dist/chunk-AT3LIX2I.mjs":{"imports":[{"path":"dist/chunk-LDFBMPMW.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:url","kind":"import-statement","external":true},{"path":"node:process","kind":"import-statement","external":true},{"path":"node:path","kind":"import-statement","external":true},{"path":"node:fs","kind":"import-statement","external":true},{"path":"node:url","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","isRedirectedRawConfig","modify","parseByteSize","parseHumanDuration","parseJSON","parseJSONC","parseNonHyphenedUuid","parsePackageJSON","parseTOML","readFileSync","readFileSyncToBuffer","resolveWranglerConfigPath","searchLocation"],"inputs":{"src/errors.ts":{"bytesInOutput":1625},"src/parse.ts":{"bytesInOutput":7594},"../../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":3340},"../../node_modules/.pnpm/find-up@6.3.0/node_modules/find-up/index.js":{"bytesInOutput":1504},"../../node_modules/.pnpm/locate-path@7.1.0/node_modules/locate-path/index.js":{"bytesInOutput":1083},"../../node_modules/.pnpm/ts-dedent@2.2.0/node_modules/ts-dedent/esm/index.js":{"bytesInOutput":1494},"src/config/index.ts":{"bytesInOutput":1696}},"bytes":107195},"dist/chunk-LDFBMPMW.mjs":{"imports":[],"exports":["ENVIRONMENT_TAG_PREFIX","INHERIT_SYMBOL","JSON_CONFIG_FORMATS","PATH_TO_DEPLOY_CONFIG","SERVICE_TAG_PREFIX","__commonJS","__export","__name","__reExport","__require","__toESM"],"inputs":{"src/constants.ts":{"bytesInOutput":245}},"bytes":2516}}}
1
+ {"inputs":{"src/compatibility-date.ts":{"bytes":3472,"imports":[{"path":"node:assert","kind":"import-statement","external":true},{"path":"node:module","kind":"import-statement","external":true},{"path":"node:path","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":8899,"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":4908,"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":40989,"imports":[],"format":"esm"},"src/config/config.ts":{"bytes":11934,"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":2600,"imports":[{"path":"<runtime>","kind":"import-statement","external":true}],"format":"esm"},"src/parse.ts":{"bytes":9544,"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/yocto-queue@1.0.0/node_modules/yocto-queue/index.js":{"bytes":1277,"imports":[{"path":"<runtime>","kind":"import-statement","external":true}],"format":"esm"},"../../node_modules/.pnpm/p-limit@4.0.0/node_modules/p-limit/index.js":{"bytes":1502,"imports":[{"path":"../../node_modules/.pnpm/yocto-queue@1.0.0/node_modules/yocto-queue/index.js","kind":"import-statement","original":"yocto-queue"},{"path":"<runtime>","kind":"import-statement","external":true}],"format":"esm"},"../../node_modules/.pnpm/p-locate@6.0.0/node_modules/p-locate/index.js":{"bytes":1121,"imports":[{"path":"../../node_modules/.pnpm/p-limit@4.0.0/node_modules/p-limit/index.js","kind":"import-statement","original":"p-limit"},{"path":"<runtime>","kind":"import-statement","external":true}],"format":"esm"},"../../node_modules/.pnpm/locate-path@7.1.0/node_modules/locate-path/index.js":{"bytes":1443,"imports":[{"path":"node:process","kind":"import-statement","external":true},{"path":"node:path","kind":"import-statement","external":true},{"path":"node:fs","kind":"import-statement","external":true},{"path":"node:url","kind":"import-statement","external":true},{"path":"../../node_modules/.pnpm/p-locate@6.0.0/node_modules/p-locate/index.js","kind":"import-statement","original":"p-locate"},{"path":"<runtime>","kind":"import-statement","external":true}],"format":"esm"},"../../node_modules/.pnpm/path-exists@5.0.0/node_modules/path-exists/index.js":{"bytes":298,"imports":[{"path":"node:fs","kind":"import-statement","external":true},{"path":"<runtime>","kind":"import-statement","external":true}],"format":"esm"},"../../node_modules/.pnpm/find-up@6.3.0/node_modules/find-up/index.js":{"bytes":2679,"imports":[{"path":"node:path","kind":"import-statement","external":true},{"path":"node:url","kind":"import-statement","external":true},{"path":"../../node_modules/.pnpm/locate-path@7.1.0/node_modules/locate-path/index.js","kind":"import-statement","original":"locate-path"},{"path":"../../node_modules/.pnpm/path-exists@5.0.0/node_modules/path-exists/index.js","kind":"import-statement","original":"path-exists"},{"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":4889,"imports":[{"path":"node:fs","kind":"import-statement","external":true},{"path":"node:path","kind":"import-statement","external":true},{"path":"../../node_modules/.pnpm/find-up@6.3.0/node_modules/find-up/index.js","kind":"import-statement","original":"find-up"},{"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":3417,"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":10832,"imports":[],"format":"esm"},"src/types.ts":{"bytes":5648,"imports":[],"format":"esm"},"../workflows-shared/src/lib/validators.ts":{"bytes":1108,"imports":[{"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":445,"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":9855,"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":11655,"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":2230,"imports":[{"path":"<runtime>","kind":"import-statement","external":true}],"format":"esm"},"src/config/validation-helpers.ts":{"bytes":19697,"imports":[{"path":"<runtime>","kind":"import-statement","external":true}],"format":"esm"},"src/config/validation.ts":{"bytes":126307,"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/validation-pages.ts":{"bytes":5899,"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"},"src/index.ts":{"bytes":2101,"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/validation-pages.ts","kind":"import-statement","original":"./config/validation-pages"},{"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"}],"format":"esm"},"src/test-helpers/normalize.ts":{"bytes":3274,"imports":[{"path":"<runtime>","kind":"import-statement","external":true}],"format":"esm"},"src/test-helpers/mock-console.ts":{"bytes":2413,"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":1718,"imports":[{"path":"node:fs","kind":"import-statement","external":true},{"path":"node:fs/promises","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":"<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":401,"imports":[{"path":"src/test-helpers/mock-console.ts","kind":"import-statement","original":"./mock-console"},{"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-4233U5MA.mjs","kind":"import-statement"},{"path":"dist/chunk-LDFBMPMW.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-4233U5MA.mjs","kind":"import-statement"},{"path":"dist/chunk-AT3LIX2I.mjs","kind":"import-statement"},{"path":"dist/chunk-LDFBMPMW.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":"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}],"exports":["APIError","COMPLIANCE_REGION_CONFIG_PUBLIC","COMPLIANCE_REGION_CONFIG_UNKNOWN","CommandLineArgsError","DeprecationError","ENVIRONMENT_TAG_PREFIX","FatalError","INHERIT_SYMBOL","JSON_CONFIG_FORMATS","JsonFriendlyFatalError","MissingConfigError","PATH_TO_DEPLOY_CONFIG","ParseError","PatchConfigError","SERVICE_TAG_PREFIX","UserError","assertNever","bucketFormatMessage","configFileName","configFormat","constructWranglerConfig","createFatalError","defaultWranglerConfig","experimental_patchConfig","experimental_readRawConfig","findWranglerConfig","formatCompatibilityDate","formatConfigSnippet","friendlyBindingNames","getBooleanEnvironmentVariableFactory","getBuildConditionsFromEnv","getBuildPlatformFromEnv","getC3CommandFromEnv","getCIGeneratePreviewAlias","getCIMatchTag","getCIOverrideName","getCIOverrideNetworkModeHost","getCloudflareApiBaseUrl","getCloudflareApiEnvironmentFromEnv","getCloudflareComplianceRegion","getCloudflareEnv","getCloudflareIncludeProcessEnvFromEnv","getCloudflareLoadDevVarsFromDotEnv","getComplianceRegionSubdomain","getD1ExtraLocationChoices","getDisableConfigWatching","getDockerPath","getEnvironmentVariableFactory","getGlobalWranglerConfigPath","getLocalExplorerEnabledFromEnv","getLocalWorkerdCompatibilityDate","getOpenNextDeployFromEnv","getOutputFileDirectoryFromEnv","getOutputFilePathFromEnv","getRegistryPath","getSanitizeLogs","getSubdomainMixedStateCheckDisabled","getTraceHeader","getWorkersCIBranchName","getWranglerHideBanner","getWranglerSendErrorReportsFromEnv","getWranglerSendMetricsFromEnv","hasProperty","indexLocation","isCompatDate","isDirectory","isDockerfile","isOptionalProperty","isPagesConfig","isRequiredProperty","isValidR2BucketName","mapWorkerMetadataBindings","normalizeAndValidateConfig","parseByteSize","parseHumanDuration","parseJSON","parseJSONC","parseNonHyphenedUuid","parsePackageJSON","parseTOML","readFileSync","readFileSyncToBuffer","resolveWranglerConfigPath","searchLocation","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":4292},"../../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},"src/index.ts":{"bytesInOutput":0},"src/config/config.ts":{"bytesInOutput":3152},"src/config/patch-config.ts":{"bytesInOutput":1912},"src/config/validation.ts":{"bytesInOutput":119534},"../workflows-shared/src/lib/validators.ts":{"bytesInOutput":566},"src/environment-variables/misc-variables.ts":{"bytesInOutput":5438},"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/fs-helpers.ts":{"bytesInOutput":181},"src/environment-variables/factory.ts":{"bytesInOutput":1850},"src/config/diagnostics.ts":{"bytesInOutput":1876},"src/config/validation-helpers.ts":{"bytesInOutput":12440},"src/config/validation-pages.ts":{"bytesInOutput":4456}},"bytes":176797},"dist/chunk-4233U5MA.mjs":{"imports":[{"path":"dist/chunk-LDFBMPMW.mjs","kind":"import-statement"},{"path":"node:assert","kind":"import-statement","external":true},{"path":"node:module","kind":"import-statement","external":true},{"path":"node:path","kind":"import-statement","external":true}],"exports":["assertNever","constructWranglerConfig","formatCompatibilityDate","getLocalWorkerdCompatibilityDate","isCompatDate","mapWorkerMetadataBindings"],"inputs":{"src/compatibility-date.ts":{"bytesInOutput":1376},"src/assert-never.ts":{"bytesInOutput":69},"src/map-worker-metadata-bindings.ts":{"bytesInOutput":8897},"src/construct-wrangler-config.ts":{"bytesInOutput":2797}},"bytes":13529},"dist/test-helpers/index.mjs":{"imports":[{"path":"dist/chunk-AT3LIX2I.mjs","kind":"import-statement"},{"path":"dist/chunk-LDFBMPMW.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:fs/promises","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":["mockConsoleMethods","mockCreateDate","mockEndDate","mockModifiedDate","mockQueuedDate","mockStartDate","normalizeString","readWranglerConfig","runInTempDir","seed","writeDeployRedirectConfig","writeRedirectedWranglerConfig","writeWranglerConfig"],"entryPoint":"src/test-helpers/index.ts","inputs":{"src/test-helpers/mock-console.ts":{"bytesInOutput":2271},"src/test-helpers/normalize.ts":{"bytesInOutput":2741},"src/test-helpers/index.ts":{"bytesInOutput":0},"src/test-helpers/run-in-tmp.ts":{"bytesInOutput":915},"src/test-helpers/seed.ts":{"bytesInOutput":345},"src/test-helpers/wrangler-config.ts":{"bytesInOutput":1745}},"bytes":8665},"dist/chunk-AT3LIX2I.mjs":{"imports":[{"path":"dist/chunk-LDFBMPMW.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:url","kind":"import-statement","external":true},{"path":"node:process","kind":"import-statement","external":true},{"path":"node:path","kind":"import-statement","external":true},{"path":"node:fs","kind":"import-statement","external":true},{"path":"node:url","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","isRedirectedRawConfig","modify","parseByteSize","parseHumanDuration","parseJSON","parseJSONC","parseNonHyphenedUuid","parsePackageJSON","parseTOML","readFileSync","readFileSyncToBuffer","resolveWranglerConfigPath","searchLocation"],"inputs":{"src/errors.ts":{"bytesInOutput":1625},"src/parse.ts":{"bytesInOutput":7594},"../../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":3340},"../../node_modules/.pnpm/find-up@6.3.0/node_modules/find-up/index.js":{"bytesInOutput":1504},"../../node_modules/.pnpm/locate-path@7.1.0/node_modules/locate-path/index.js":{"bytesInOutput":1083},"../../node_modules/.pnpm/ts-dedent@2.2.0/node_modules/ts-dedent/esm/index.js":{"bytesInOutput":1494},"src/config/index.ts":{"bytesInOutput":1696}},"bytes":107195},"dist/chunk-LDFBMPMW.mjs":{"imports":[],"exports":["ENVIRONMENT_TAG_PREFIX","INHERIT_SYMBOL","JSON_CONFIG_FORMATS","PATH_TO_DEPLOY_CONFIG","SERVICE_TAG_PREFIX","__commonJS","__export","__name","__reExport","__require","__toESM"],"inputs":{"src/constants.ts":{"bytesInOutput":245}},"bytes":2516}}}
@@ -1,4 +1,4 @@
1
- import { R as RawConfig, a as RedirectedRawConfig } from '../config-BnGAq8Gv.mjs';
1
+ import { R as RawConfig, a as RedirectedRawConfig } from '../config-DMP1mcQF.mjs';
2
2
  import '@cloudflare/workers-shared';
3
3
 
4
4
  declare function mockConsoleMethods(): {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@cloudflare/workers-utils",
3
- "version": "0.8.1",
3
+ "version": "0.9.0",
4
4
  "description": "Utility package for common Worker operations",
5
5
  "homepage": "https://github.com/cloudflare/workers-sdk#readme",
6
6
  "bugs": {
@@ -42,10 +42,9 @@
42
42
  "typescript": "~5.8.3",
43
43
  "vitest": "~3.2.0",
44
44
  "xdg-app-paths": "^8.3.0",
45
- "@cloudflare/containers-shared": "0.8.0",
45
+ "@cloudflare/eslint-config-shared": "1.2.1",
46
46
  "@cloudflare/workers-shared": "0.18.10",
47
47
  "@cloudflare/workers-tsconfig": "0.0.0",
48
- "@cloudflare/eslint-config-shared": "1.2.0",
49
48
  "@cloudflare/workflows-shared": "0.4.0"
50
49
  },
51
50
  "volta": {
@@ -56,7 +55,7 @@
56
55
  },
57
56
  "scripts": {
58
57
  "build": "tsup",
59
- "check:lint": "eslint . --max-warnings=0",
58
+ "check:lint": "eslint . --max-warnings=0 --cache",
60
59
  "check:type": "tsc -p ./tsconfig.json",
61
60
  "dev": "concurrently -c black,blue --kill-others-on-fail false \"pnpm tsup --watch src\" \"pnpm run check:type --watch --preserveWatchOutput\"",
62
61
  "test": "vitest",