@cloudflare/vite-plugin 1.52.0 → 1.52.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.mjs CHANGED
@@ -1489,7 +1489,7 @@ async function assertWranglerVersion() {
1489
1489
  * The default compatibility date to use when the user omits one.
1490
1490
  * This value is injected at build time and remains fixed for each release.
1491
1491
  */
1492
- const DEFAULT_COMPAT_DATE = "2026-08-12";
1492
+ const DEFAULT_COMPAT_DATE = "2026-08-13";
1493
1493
 
1494
1494
  //#endregion
1495
1495
  //#region src/build-output-env.ts
@@ -28225,6 +28225,7 @@ var defaultWranglerConfig = {
28225
28225
  upload_source_maps: void 0,
28226
28226
  assets: void 0,
28227
28227
  observability: { enabled: true },
28228
+ access: void 0,
28228
28229
  cache: void 0,
28229
28230
  compliance_region: void 0,
28230
28231
  python_modules: { exclude: ["**/*.pyc"] },
@@ -42037,6 +42038,7 @@ function getWranglerSendMetricsFromEnv() {
42037
42038
  return getWranglerSendMetricsVariableFromEnv();
42038
42039
  }
42039
42040
  __name$4(getWranglerSendMetricsFromEnv, "getWranglerSendMetricsFromEnv");
42041
+ var getNoSkillsUpdatePromptsFromEnv = getBooleanEnvironmentVariableFactory({ variableName: "WRANGLER_NO_SKILLS_UPDATE_PROMPTS" });
42040
42042
  var getWranglerSendErrorReportsFromEnv = getBooleanEnvironmentVariableFactory({
42041
42043
  variableName: "WRANGLER_SEND_ERROR_REPORTS",
42042
42044
  defaultValue: false
@@ -42994,6 +42996,7 @@ function normalizeAndValidateEnvironment(diagnostics, configPath, rawEnv, isDisp
42994
42996
  logpush: inheritable(diagnostics, topLevelEnv, rawEnv, "logpush", isBoolean, void 0),
42995
42997
  upload_source_maps: inheritable(diagnostics, topLevelEnv, rawEnv, "upload_source_maps", isBoolean, void 0),
42996
42998
  observability: inheritable(diagnostics, topLevelEnv, rawEnv, "observability", validateObservability, void 0),
42999
+ access: inheritable(diagnostics, topLevelEnv, rawEnv, "access", validateAccess, void 0),
42997
43000
  cache: inheritable(diagnostics, topLevelEnv, rawEnv, "cache", validateCache, void 0),
42998
43001
  compliance_region: inheritable(diagnostics, topLevelEnv, rawEnv, "compliance_region", isOneOf("public", "fedramp_high"), void 0),
42999
43002
  python_modules: inheritable(diagnostics, topLevelEnv, rawEnv, "python_modules", validatePythonModules, { exclude: ["**/*.pyc"] }),
@@ -44866,6 +44869,23 @@ function validateHeadSamplingRate(diagnostics, container, key, samplingRate) {
44866
44869
  if (samplingRate && (samplingRate < 0 || samplingRate > 1)) diagnostics.errors.push(`"${container}.${key}" must be a value between 0 and 1.`);
44867
44870
  }
44868
44871
  __name$4(validateHeadSamplingRate, "validateHeadSamplingRate");
44872
+ var validateAccess = /* @__PURE__ */ __name$4((diagnostics, field, value) => {
44873
+ if (value === void 0) return true;
44874
+ if (typeof value !== "object" || value === null) {
44875
+ diagnostics.errors.push(`"${field}" should be an object but got ${JSON.stringify(value)}.`);
44876
+ return false;
44877
+ }
44878
+ const val = value;
44879
+ let isValid = true;
44880
+ isValid = validateOptionalProperty(diagnostics, field, "dev", val.dev, "object") && isValid;
44881
+ isValid = validateAdditionalProperties(diagnostics, field, Object.keys(val), ["dev"]) && isValid;
44882
+ if (typeof val.dev === "object" && val.dev !== null) {
44883
+ isValid = validateRequiredProperty(diagnostics, `${field}.dev`, "aud", val.dev.aud, "string") && isValid;
44884
+ isValid = validateOptionalProperty(diagnostics, `${field}.dev`, "identity", val.dev.identity, "object") && isValid;
44885
+ isValid = validateAdditionalProperties(diagnostics, `${field}.dev`, Object.keys(val.dev), ["aud", "identity"]) && isValid;
44886
+ }
44887
+ return isValid;
44888
+ }, "validateAccess");
44869
44889
  var validateCache = /* @__PURE__ */ __name$4((diagnostics, field, value) => {
44870
44890
  if (value === void 0) return true;
44871
44891
  if (typeof value !== "object" || value === null) {
@@ -78825,7 +78845,7 @@ __name(createWorkerUploadForm, "createWorkerUploadForm");
78825
78845
  //#endregion
78826
78846
  //#region ../remote-bindings/dist/index.mjs
78827
78847
  var import_undici = require_undici();
78828
- var version$2 = "0.0.11";
78848
+ var version$2 = "0.0.12";
78829
78849
  var NoDefaultValueProvided = class extends UserError {
78830
78850
  constructor() {
78831
78851
  super("This command cannot be run in a non-interactive context", { telemetryMessage: "remote bindings prompt default missing" });