@depup/cloudflare__vite-plugin 1.60.0-depup.0 → 1.60.1-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,7 +13,7 @@ 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.60.0 |
16
+ | Original | [@cloudflare/vite-plugin](https://www.npmjs.com/package/@cloudflare/vite-plugin) @ 1.60.1 |
17
17
  | Processed | 2026-09-25 |
18
18
  | Smoke test | failed |
19
19
  | Deps updated | 2 |
@@ -22,7 +22,7 @@ npm install @depup/cloudflare__vite-plugin
22
22
 
23
23
  | Dependency | From | To |
24
24
  |------------|------|-----|
25
- | workerd | 1.20260923.1 | ^1.20260924.1 |
25
+ | workerd | 1.20260923.1 | ^1.20260925.1 |
26
26
  | ws | 8.21.0 | ^8.21.3 |
27
27
 
28
28
  ---
package/changes.json CHANGED
@@ -2,13 +2,13 @@
2
2
  "bumped": {
3
3
  "workerd": {
4
4
  "from": "1.20260923.1",
5
- "to": "^1.20260924.1"
5
+ "to": "^1.20260925.1"
6
6
  },
7
7
  "ws": {
8
8
  "from": "8.21.0",
9
9
  "to": "^8.21.3"
10
10
  }
11
11
  },
12
- "timestamp": "2026-09-25T00:33:08.946Z",
12
+ "timestamp": "2026-09-25T08:12:01.784Z",
13
13
  "totalUpdated": 2
14
14
  }
package/dist/index.mjs CHANGED
@@ -13860,7 +13860,7 @@ function createFatalError$1(message, isJson, options) {
13860
13860
  __name$6(createFatalError$1, "createFatalError");
13861
13861
 
13862
13862
  //#endregion
13863
- //#region ../workers-utils/dist/chunk-XNN5XXU4.mjs
13863
+ //#region ../workers-utils/dist/chunk-FLRJ77A6.mjs
13864
13864
  function hasKnownExportType(entry) {
13865
13865
  const type = entry?.type;
13866
13866
  return type === "durable-object" || type === "worker" || type === "workflow";
@@ -13880,6 +13880,11 @@ function partitionExports(exports$1) {
13880
13880
  return partitioned;
13881
13881
  }
13882
13882
  __name$6(partitionExports, "partitionExports");
13883
+ function isLiveDurableObjectExport(exportConfig) {
13884
+ const state = exportConfig.state ?? "created";
13885
+ return state === "created" || state === "expecting-transfer";
13886
+ }
13887
+ __name$6(isLiveDurableObjectExport, "isLiveDurableObjectExport");
13883
13888
  function getDurableObjectExports(exports$1) {
13884
13889
  return partitionExports(exports$1)["durable-object"];
13885
13890
  }
@@ -13954,7 +13959,7 @@ function getDurableObjectClassNameToUseSQLiteMap(migrations, exports$1) {
13954
13959
  const durableObjectExports = getDurableObjectExports(exports$1 ?? {});
13955
13960
  for (const [className, entry] of Object.entries(durableObjectExports)) {
13956
13961
  if (entry.type !== "durable-object") continue;
13957
- if (entry.state === void 0 || entry.state === "created" || entry.state === "expecting-transfer") durableObjectClassNameToUseSQLiteMap.set(className, entry.storage === "sqlite");
13962
+ if (isLiveDurableObjectExport(entry)) durableObjectClassNameToUseSQLiteMap.set(className, entry.storage === "sqlite");
13958
13963
  }
13959
13964
  return durableObjectClassNameToUseSQLiteMap;
13960
13965
  }
@@ -44995,8 +45000,7 @@ function warnIfDurableObjectsHaveNoLifecycleConfig(diagnostics, durableObjects,
44995
45000
  const exportsCovers = /* @__PURE__ */ __name$6((className) => {
44996
45001
  const entry = exports$1?.[className];
44997
45002
  if (entry === void 0 || entry.type !== "durable-object") return false;
44998
- const state = entry.state ?? "created";
44999
- return state === "created" || state === "expecting-transfer";
45003
+ return isLiveDurableObjectExport(entry);
45000
45004
  }, "exportsCovers");
45001
45005
  const uncoveredByExports = exportedDurableObjects.filter((binding) => typeof binding.class_name !== "string" || !exportsCovers(binding.class_name));
45002
45006
  if (uncoveredByExports.length === 0 || migrations.length > 0) return;
@@ -78180,12 +78184,14 @@ async function pushImageIfChanged({ pathToDocker, sourceTag, targetTag, containe
78180
78184
  ]);
78181
78185
  if (JSON.parse(remoteManifest).Descriptor.digest === hash$1) {
78182
78186
  logger$1.log("Image already exists remotely, skipping push");
78183
- logger$1.debug(`Untagging built image: ${sourceTag} since there was no change.`);
78184
- await runDockerCmd(pathToDocker, [
78185
- "image",
78186
- "rm",
78187
- sourceTag
78188
- ]);
78187
+ if (cleanupSourceTag !== false) {
78188
+ logger$1.debug(`Untagging built image: ${sourceTag} since there was no change.`);
78189
+ await runDockerCmd(pathToDocker, [
78190
+ "image",
78191
+ "rm",
78192
+ sourceTag
78193
+ ]);
78194
+ }
78189
78195
  return { remoteDigest: remoteDigest2 };
78190
78196
  }
78191
78197
  } catch (error$2) {
@@ -85257,7 +85263,7 @@ __name(createWorkerUploadForm, "createWorkerUploadForm");
85257
85263
  //#endregion
85258
85264
  //#region ../remote-bindings/dist/index.mjs
85259
85265
  var import_undici = require_undici();
85260
- var version$2 = "0.0.34";
85266
+ var version$2 = "0.0.35";
85261
85267
  var NoDefaultValueProvided = class extends UserError {
85262
85268
  constructor() {
85263
85269
  super("This command cannot be run in a non-interactive context", { telemetryMessage: "remote bindings prompt default missing" });