@depup/cloudflare__vite-plugin 1.62.3-depup.2 → 1.62.4-depup.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/README.md CHANGED
@@ -13,17 +13,15 @@ npm install @depup/cloudflare__vite-plugin
13
13
 
14
14
  | Field | Value |
15
15
  |-------|-------|
16
- | Original | [@cloudflare/vite-plugin](https://www.npmjs.com/package/@cloudflare/vite-plugin) @ 1.62.3 |
17
- | Processed | 2026-10-01 |
16
+ | Original | [@cloudflare/vite-plugin](https://www.npmjs.com/package/@cloudflare/vite-plugin) @ 1.62.4 |
17
+ | Processed | 2026-10-02 |
18
18
  | Smoke test | failed |
19
- | Deps updated | 3 |
19
+ | Deps updated | 1 |
20
20
 
21
21
  ## Dependency Changes
22
22
 
23
23
  | Dependency | From | To |
24
24
  |------------|------|-----|
25
- | miniflare | 5.20260930.0-alpha | ^5.20261001.0-alpha |
26
- | workerd | 1.20260930.2 | ^1.20261001.1 |
27
25
  | ws | 8.21.0 | ^8.22.0 |
28
26
 
29
27
  ---
package/changes.json CHANGED
@@ -1,18 +1,10 @@
1
1
  {
2
2
  "bumped": {
3
- "workerd": {
4
- "from": "1.20260930.2",
5
- "to": "^1.20261001.1"
6
- },
7
3
  "ws": {
8
4
  "from": "8.21.0",
9
5
  "to": "^8.22.0"
10
- },
11
- "miniflare": {
12
- "from": "5.20260930.0-alpha",
13
- "to": "^5.20261001.0-alpha"
14
6
  }
15
7
  },
16
- "timestamp": "2026-10-01T16:09:33.318Z",
17
- "totalUpdated": 3
8
+ "timestamp": "2026-10-02T00:34:57.623Z",
9
+ "totalUpdated": 1
18
10
  }
package/dist/index.mjs CHANGED
@@ -45648,7 +45648,7 @@ function mapWorkerMetadataBindings(bindings) {
45648
45648
  }, {});
45649
45649
  }
45650
45650
  __name$6(mapWorkerMetadataBindings, "mapWorkerMetadataBindings");
45651
- var DEFAULT_COMPAT_DATE = "2026-09-30";
45651
+ var DEFAULT_COMPAT_DATE = "2026-10-01";
45652
45652
  function constructWranglerConfig(config$2) {
45653
45653
  const mappedBindings = mapWorkerMetadataBindings(config$2.bindings);
45654
45654
  const durableObjectClassNames = config$2.bindings.filter((binding) => binding.type === "durable_object_namespace" && binding.script_name === config$2.name).map((durableObject) => durableObject.class_name);
@@ -47247,10 +47247,13 @@ You can try:
47247
47247
  __name$6(validateBinary, "validateBinary");
47248
47248
  function redactCloudflaredArgsForLogging(args) {
47249
47249
  const redacted = [...args];
47250
+ const sensitiveArgs = ["--token", "--allowed-mail"];
47250
47251
  for (let i$1 = 0; i$1 < redacted.length; i$1++) {
47251
47252
  const arg = redacted[i$1];
47252
- if (arg === "--token" && i$1 + 1 < redacted.length) redacted[i$1 + 1] = "[REDACTED]";
47253
- if (arg.startsWith("--token=")) redacted[i$1] = "--token=[REDACTED]";
47253
+ for (const sensitiveArg of sensitiveArgs) {
47254
+ if (arg === sensitiveArg && i$1 + 1 < redacted.length) redacted[i$1 + 1] = "[REDACTED]";
47255
+ if (arg.startsWith(`${sensitiveArg}=`)) redacted[i$1] = `${sensitiveArg}=[REDACTED]`;
47256
+ }
47254
47257
  }
47255
47258
  return redacted;
47256
47259
  }
@@ -47449,6 +47452,18 @@ async function spawnCloudflared(args, options) {
47449
47452
  confirmDownload: options?.confirmDownload,
47450
47453
  logger: logger$2
47451
47454
  });
47455
+ if (args.some((arg) => arg === "--allowed-mail" || arg.startsWith("--allowed-mail="))) {
47456
+ const minimumVersion$1 = "2026.9.2";
47457
+ const installedVersion = getInstalledVersion(binPath);
47458
+ if (!installedVersion || isVersionOutdated(installedVersion, minimumVersion$1)) throw new UserError(`[cloudflared] --allowed-mail requires cloudflared ${minimumVersion$1} or later.
47459
+
47460
+ ` + (installedVersion ? `The selected binary (${binPath}) is version ${installedVersion}.
47461
+
47462
+ ` : `Could not determine the version of the selected binary (${binPath}).
47463
+
47464
+ `) + `Update cloudflared in your PATH or set CLOUDFLARED_PATH to a compatible binary.
47465
+ Download instructions: https://developers.cloudflare.com/cloudflare-one/networks/connectors/cloudflare-tunnel/downloads/`, { telemetryMessage: "tunnel cloudflared allowed mail unsupported version" });
47466
+ }
47452
47467
  logger$2?.debug(`Spawning cloudflared: ${binPath} ${redactCloudflaredArgsForLogging(args).join(" ")}`);
47453
47468
  return spawn(binPath, args, {
47454
47469
  stdio: options?.stdio ?? "inherit",
@@ -84685,6 +84700,10 @@ var CF_CLIENT_REGISTERED_SCOPES = [
84685
84700
  "ip-prefix-bgp-on-demand.write",
84686
84701
  "ip-prefix.read",
84687
84702
  "ip-prefix.write",
84703
+ "k2.consume",
84704
+ "k2.produce",
84705
+ "k2.read",
84706
+ "k2.write",
84688
84707
  "l4-ddos-managed-ruleset.read",
84689
84708
  "l4-ddos-managed-ruleset.write",
84690
84709
  "load-balancers-account.read",
@@ -85755,7 +85774,7 @@ __name(createWorkerUploadForm, "createWorkerUploadForm");
85755
85774
  //#endregion
85756
85775
  //#region ../remote-bindings/dist/index.mjs
85757
85776
  var import_undici = require_undici();
85758
- var version$2 = "0.0.40";
85777
+ var version$2 = "0.0.42";
85759
85778
  var NoDefaultValueProvided = class extends UserError {
85760
85779
  constructor() {
85761
85780
  super("This command cannot be run in a non-interactive context", { telemetryMessage: "remote bindings prompt default missing" });