@depup/cloudflare__vite-plugin 1.52.1-depup.5 → 1.53.0-depup.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/README.md +3 -3
- package/changes.json +3 -3
- package/dist/chunk-Q72B4Q5Z-CeVNOsQb-C-Fq2PKw.mjs +48 -0
- package/dist/chunk-Q72B4Q5Z-CeVNOsQb-C-Fq2PKw.mjs.map +1 -0
- package/dist/experimental-config.d.mts +31 -18
- package/dist/experimental-config.d.mts.map +1 -1
- package/dist/experimental-config.mjs +2 -1
- package/dist/experimental-config.mjs.map +1 -1
- package/dist/index.d.mts +1 -1
- package/dist/index.d.mts.map +1 -1
- package/dist/index.mjs +67176 -22510
- package/dist/index.mjs.map +1 -1
- package/dist/{open-PBXRGS4R-7GUxLVbA.mjs → open-PBXRGS4R-BtaaKU2N.mjs} +3 -3
- package/dist/{open-PBXRGS4R-7GUxLVbA.mjs.map → open-PBXRGS4R-BtaaKU2N.mjs.map} +1 -1
- package/dist/open-PBXRGS4R-qOWuyhJy-DF6hl_jp.mjs +529 -0
- package/dist/open-PBXRGS4R-qOWuyhJy-DF6hl_jp.mjs.map +1 -0
- package/dist/{package-CHUB35_A.mjs → package-CU4Q20Pq.mjs} +2 -2
- package/dist/{package-CHUB35_A.mjs.map → package-CU4Q20Pq.mjs.map} +1 -1
- package/package.json +18 -18
package/README.md
CHANGED
|
@@ -13,8 +13,8 @@ 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.
|
|
17
|
-
| Processed | 2026-08-
|
|
16
|
+
| Original | [@cloudflare/vite-plugin](https://www.npmjs.com/package/@cloudflare/vite-plugin) @ 1.53.0 |
|
|
17
|
+
| Processed | 2026-08-19 |
|
|
18
18
|
| Smoke test | failed |
|
|
19
19
|
| Deps updated | 2 |
|
|
20
20
|
|
|
@@ -22,7 +22,7 @@ npm install @depup/cloudflare__vite-plugin
|
|
|
22
22
|
|
|
23
23
|
| Dependency | From | To |
|
|
24
24
|
|------------|------|-----|
|
|
25
|
-
| workerd | 1.
|
|
25
|
+
| workerd | 1.20260815.1 | ^1.20260819.1 |
|
|
26
26
|
| ws | 8.21.0 | ^8.21.3 |
|
|
27
27
|
|
|
28
28
|
---
|
package/changes.json
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
{
|
|
2
2
|
"bumped": {
|
|
3
3
|
"workerd": {
|
|
4
|
-
"from": "1.
|
|
5
|
-
"to": "^1.
|
|
4
|
+
"from": "1.20260815.1",
|
|
5
|
+
"to": "^1.20260819.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-08-
|
|
12
|
+
"timestamp": "2026-08-19T08:11:34.558Z",
|
|
13
13
|
"totalUpdated": 2
|
|
14
14
|
}
|
|
@@ -0,0 +1,48 @@
|
|
|
1
|
+
import { createRequire } from "node:module";
|
|
2
|
+
|
|
3
|
+
//#region ../runtime-types/dist/chunk-Q72B4Q5Z-CeVNOsQb.mjs
|
|
4
|
+
var __getOwnPropNames$1 = Object.getOwnPropertyNames;
|
|
5
|
+
var __commonJS$1 = (cb, mod) => function() {
|
|
6
|
+
return mod || (0, cb[__getOwnPropNames$1(cb)[0]])((mod = { exports: {} }).exports, mod), mod.exports;
|
|
7
|
+
};
|
|
8
|
+
var __require$1 = /* @__PURE__ */ createRequire(import.meta.url);
|
|
9
|
+
var __create = Object.create;
|
|
10
|
+
var __defProp = Object.defineProperty;
|
|
11
|
+
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
|
12
|
+
var __getOwnPropNames = Object.getOwnPropertyNames;
|
|
13
|
+
var __getProtoOf = Object.getPrototypeOf;
|
|
14
|
+
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
|
15
|
+
var __name = (target, value) => __defProp(target, "name", {
|
|
16
|
+
value,
|
|
17
|
+
configurable: true
|
|
18
|
+
});
|
|
19
|
+
var __require = /* @__PURE__ */ ((x) => typeof __require$1 !== "undefined" ? __require$1 : typeof Proxy !== "undefined" ? new Proxy(x, { get: (a, b) => (typeof __require$1 !== "undefined" ? __require$1 : a)[b] }) : x)(function(x) {
|
|
20
|
+
if (typeof __require$1 !== "undefined") return __require$1.apply(this, arguments);
|
|
21
|
+
throw Error("Dynamic require of \"" + x + "\" is not supported");
|
|
22
|
+
});
|
|
23
|
+
var __commonJS = (cb, mod) => function __require2() {
|
|
24
|
+
return mod || (0, cb[__getOwnPropNames(cb)[0]])((mod = { exports: {} }).exports, mod), mod.exports;
|
|
25
|
+
};
|
|
26
|
+
var __export = (target, all) => {
|
|
27
|
+
for (var name in all) __defProp(target, name, {
|
|
28
|
+
get: all[name],
|
|
29
|
+
enumerable: true
|
|
30
|
+
});
|
|
31
|
+
};
|
|
32
|
+
var __copyProps = (to, from, except, desc) => {
|
|
33
|
+
if (from && typeof from === "object" || typeof from === "function") {
|
|
34
|
+
for (let key of __getOwnPropNames(from)) if (!__hasOwnProp.call(to, key) && key !== except) __defProp(to, key, {
|
|
35
|
+
get: () => from[key],
|
|
36
|
+
enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable
|
|
37
|
+
});
|
|
38
|
+
}
|
|
39
|
+
return to;
|
|
40
|
+
};
|
|
41
|
+
var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__getProtoOf(mod)) : {}, __copyProps(isNodeMode || !mod || !mod.__esModule ? __defProp(target, "default", {
|
|
42
|
+
value: mod,
|
|
43
|
+
enumerable: true
|
|
44
|
+
}) : target, mod));
|
|
45
|
+
|
|
46
|
+
//#endregion
|
|
47
|
+
export { __require as a, __name as i, __commonJS$1 as n, __require$1 as o, __export as r, __toESM as s, __commonJS as t };
|
|
48
|
+
//# sourceMappingURL=chunk-Q72B4Q5Z-CeVNOsQb-C-Fq2PKw.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"chunk-Q72B4Q5Z-CeVNOsQb-C-Fq2PKw.mjs","names":[],"sources":["../../runtime-types/dist/chunk-Q72B4Q5Z-CeVNOsQb.mjs"],"sourcesContent":["import { createRequire } from \"node:module\";\n\n//#region rolldown:runtime\nvar __getOwnPropNames$1 = Object.getOwnPropertyNames;\nvar __commonJS$1 = (cb, mod) => function() {\n\treturn mod || (0, cb[__getOwnPropNames$1(cb)[0]])((mod = { exports: {} }).exports, mod), mod.exports;\n};\nvar __require$1 = /* @__PURE__ */ createRequire(import.meta.url);\n\n//#endregion\n//#region ../workers-utils/dist/chunk-Q72B4Q5Z.mjs\nvar __create = Object.create;\nvar __defProp = Object.defineProperty;\nvar __getOwnPropDesc = Object.getOwnPropertyDescriptor;\nvar __getOwnPropNames = Object.getOwnPropertyNames;\nvar __getProtoOf = Object.getPrototypeOf;\nvar __hasOwnProp = Object.prototype.hasOwnProperty;\nvar __name = (target, value) => __defProp(target, \"name\", {\n\tvalue,\n\tconfigurable: true\n});\nvar __require = /* @__PURE__ */ ((x) => typeof __require$1 !== \"undefined\" ? __require$1 : typeof Proxy !== \"undefined\" ? new Proxy(x, { get: (a, b) => (typeof __require$1 !== \"undefined\" ? __require$1 : a)[b] }) : x)(function(x) {\n\tif (typeof __require$1 !== \"undefined\") return __require$1.apply(this, arguments);\n\tthrow Error(\"Dynamic require of \\\"\" + x + \"\\\" is not supported\");\n});\nvar __commonJS = (cb, mod) => function __require2() {\n\treturn mod || (0, cb[__getOwnPropNames(cb)[0]])((mod = { exports: {} }).exports, mod), mod.exports;\n};\nvar __export = (target, all) => {\n\tfor (var name in all) __defProp(target, name, {\n\t\tget: all[name],\n\t\tenumerable: true\n\t});\n};\nvar __copyProps = (to, from, except, desc) => {\n\tif (from && typeof from === \"object\" || typeof from === \"function\") {\n\t\tfor (let key of __getOwnPropNames(from)) if (!__hasOwnProp.call(to, key) && key !== except) __defProp(to, key, {\n\t\t\tget: () => from[key],\n\t\t\tenumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable\n\t\t});\n\t}\n\treturn to;\n};\nvar __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__getProtoOf(mod)) : {}, __copyProps(isNodeMode || !mod || !mod.__esModule ? __defProp(target, \"default\", {\n\tvalue: mod,\n\tenumerable: true\n}) : target, mod));\n\n//#endregion\nexport { __toESM as a, __require as i, __export as n, __commonJS$1 as o, __name as r, __require$1 as s, __commonJS as t };"],"mappings":";;;AAGA,IAAI,sBAAsB,OAAO;AACjC,IAAI,gBAAgB,IAAI,QAAQ,WAAW;AAC1C,QAAO,QAAQ,GAAG,GAAG,oBAAoB,GAAG,CAAC,MAAM,MAAM,EAAE,SAAS,EAAE,EAAE,EAAE,SAAS,IAAI,EAAE,IAAI;;AAE9F,IAAI,cAA8B,8BAAc,OAAO,KAAK,IAAI;AAIhE,IAAI,WAAW,OAAO;AACtB,IAAI,YAAY,OAAO;AACvB,IAAI,mBAAmB,OAAO;AAC9B,IAAI,oBAAoB,OAAO;AAC/B,IAAI,eAAe,OAAO;AAC1B,IAAI,eAAe,OAAO,UAAU;AACpC,IAAI,UAAU,QAAQ,UAAU,UAAU,QAAQ,QAAQ;CACzD;CACA,cAAc;CACd,CAAC;AACF,IAAI,YAA4B,kBAAE,MAAM,OAAO,gBAAgB,cAAc,cAAc,OAAO,UAAU,cAAc,IAAI,MAAM,GAAG,EAAE,MAAM,GAAG,OAAO,OAAO,gBAAgB,cAAc,cAAc,GAAG,IAAI,CAAC,GAAG,GAAG,SAAS,GAAG;AACrO,KAAI,OAAO,gBAAgB,YAAa,QAAO,YAAY,MAAM,MAAM,UAAU;AACjF,OAAM,MAAM,0BAA0B,IAAI,sBAAsB;EAC/D;AACF,IAAI,cAAc,IAAI,QAAQ,SAAS,aAAa;AACnD,QAAO,QAAQ,GAAG,GAAG,kBAAkB,GAAG,CAAC,MAAM,MAAM,EAAE,SAAS,EAAE,EAAE,EAAE,SAAS,IAAI,EAAE,IAAI;;AAE5F,IAAI,YAAY,QAAQ,QAAQ;AAC/B,MAAK,IAAI,QAAQ,IAAK,WAAU,QAAQ,MAAM;EAC7C,KAAK,IAAI;EACT,YAAY;EACZ,CAAC;;AAEH,IAAI,eAAe,IAAI,MAAM,QAAQ,SAAS;AAC7C,KAAI,QAAQ,OAAO,SAAS,YAAY,OAAO,SAAS,YACvD;OAAK,IAAI,OAAO,kBAAkB,KAAK,CAAE,KAAI,CAAC,aAAa,KAAK,IAAI,IAAI,IAAI,QAAQ,OAAQ,WAAU,IAAI,KAAK;GAC9G,WAAW,KAAK;GAChB,YAAY,EAAE,OAAO,iBAAiB,MAAM,IAAI,KAAK,KAAK;GAC1D,CAAC;;AAEH,QAAO;;AAER,IAAI,WAAW,KAAK,YAAY,YAAY,SAAS,OAAO,OAAO,SAAS,aAAa,IAAI,CAAC,GAAG,EAAE,EAAE,YAAY,cAAc,CAAC,OAAO,CAAC,IAAI,aAAa,UAAU,QAAQ,WAAW;CACrL,OAAO;CACP,YAAY;CACZ,CAAC,GAAG,QAAQ,IAAI"}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { Pipeline, PipelineRecord } from "cloudflare:pipelines";
|
|
2
2
|
|
|
3
|
-
//#region ../config/dist/public-
|
|
3
|
+
//#region ../config/dist/public-CwG0JcrK.d.mts
|
|
4
4
|
|
|
5
5
|
//#region src/utils.d.ts
|
|
6
6
|
/**
|
|
@@ -861,6 +861,27 @@ interface Triggers {
|
|
|
861
861
|
declare const triggers: Triggers;
|
|
862
862
|
//#endregion
|
|
863
863
|
//#region src/exports.d.ts
|
|
864
|
+
/**
|
|
865
|
+
* Storage backend for the Durable Object.
|
|
866
|
+
*
|
|
867
|
+
* Containers are only supported on the SQLite storage engine, so `container` is
|
|
868
|
+
* only offered alongside `storage: "sqlite"`.
|
|
869
|
+
*/
|
|
870
|
+
type DurableObjectStorageOptions = {
|
|
871
|
+
/**
|
|
872
|
+
* Selects the SQLite-backed storage engine (recommended for new
|
|
873
|
+
* classes).
|
|
874
|
+
*/
|
|
875
|
+
storage: "sqlite";
|
|
876
|
+
/**
|
|
877
|
+
* Attach a container to this Durable Object, by container name. The
|
|
878
|
+
* name must match an entry in the top level `containers` array.
|
|
879
|
+
*/
|
|
880
|
+
container?: string;
|
|
881
|
+
} | {
|
|
882
|
+
/** Selects the legacy key-value storage engine. */
|
|
883
|
+
storage: "legacy-kv";
|
|
884
|
+
};
|
|
864
885
|
/**
|
|
865
886
|
* Declares a provisioned Durable Object class exported from this Worker.
|
|
866
887
|
*
|
|
@@ -869,17 +890,9 @@ declare const triggers: Triggers;
|
|
|
869
890
|
*
|
|
870
891
|
* For reference, see https://developers.cloudflare.com/workers/wrangler/configuration/#durable-objects
|
|
871
892
|
*/
|
|
872
|
-
|
|
893
|
+
type DurableObjectCreatedExportOptions = {
|
|
873
894
|
state?: "created";
|
|
874
|
-
|
|
875
|
-
* Storage backend for the Durable Object.
|
|
876
|
-
*
|
|
877
|
-
* - `"sqlite"`: selects the SQLite-backed storage engine
|
|
878
|
-
* (recommended for new classes).
|
|
879
|
-
* - `"legacy-kv"`: selects the legacy key-value storage engine.
|
|
880
|
-
*/
|
|
881
|
-
storage: "sqlite" | "legacy-kv";
|
|
882
|
-
}
|
|
895
|
+
} & DurableObjectStorageOptions;
|
|
883
896
|
/**
|
|
884
897
|
* Retire a provisioned Durable Object namespace whose class has
|
|
885
898
|
* been removed from code.
|
|
@@ -919,17 +932,16 @@ interface DurableObjectTransferredExportOptions {
|
|
|
919
932
|
* Prepare to receive cross-Worker Durable Object transfer.
|
|
920
933
|
* Once the source Worker's `transferred` export is deployed, this entry becomes a normal live `durable-object` export.
|
|
921
934
|
*/
|
|
922
|
-
|
|
935
|
+
type DurableObjectExpectingTransferExportOptions = {
|
|
923
936
|
state: "expecting-transfer";
|
|
924
|
-
storage: "sqlite" | "legacy-kv";
|
|
925
937
|
/**
|
|
926
938
|
* The source Worker for the two-phase cross-Worker transfer.
|
|
927
939
|
*/
|
|
928
940
|
transferFrom: string;
|
|
929
|
-
}
|
|
930
|
-
|
|
941
|
+
} & DurableObjectStorageOptions;
|
|
942
|
+
type DurableObjectCreatedExport = DurableObjectCreatedExportOptions & {
|
|
931
943
|
type: "durable-object";
|
|
932
|
-
}
|
|
944
|
+
};
|
|
933
945
|
interface DurableObjectDeletedExport extends DurableObjectDeletedExportOptions {
|
|
934
946
|
type: "durable-object";
|
|
935
947
|
}
|
|
@@ -939,9 +951,9 @@ interface DurableObjectRenamedExport extends DurableObjectRenamedExportOptions {
|
|
|
939
951
|
interface DurableObjectTransferredExport extends DurableObjectTransferredExportOptions {
|
|
940
952
|
type: "durable-object";
|
|
941
953
|
}
|
|
942
|
-
|
|
954
|
+
type DurableObjectExpectingTransferExport = DurableObjectExpectingTransferExportOptions & {
|
|
943
955
|
type: "durable-object";
|
|
944
|
-
}
|
|
956
|
+
};
|
|
945
957
|
type DurableObjectExportOptions = DurableObjectCreatedExportOptions | DurableObjectDeletedExportOptions | DurableObjectRenamedExportOptions | DurableObjectTransferredExportOptions | DurableObjectExpectingTransferExportOptions;
|
|
946
958
|
type DurableObjectExports = DurableObjectCreatedExport | DurableObjectDeletedExport | DurableObjectRenamedExport | DurableObjectTransferredExport | DurableObjectExpectingTransferExport;
|
|
947
959
|
interface WorkerEntrypointExportOptions {
|
|
@@ -998,6 +1010,7 @@ interface Exports {
|
|
|
998
1010
|
* export default defineWorker({
|
|
999
1011
|
* exports: {
|
|
1000
1012
|
* MyDurableObject: exports.durableObject({ storage: "sqlite" }),
|
|
1013
|
+
* MyContainerDO: exports.durableObject({ storage: "sqlite", container: "my-container" }),
|
|
1001
1014
|
* OldClass: exports.durableObject({ state: "deleted" }),
|
|
1002
1015
|
* OldName: exports.durableObject({ state: "renamed", renamedTo: "NewName" }),
|
|
1003
1016
|
* Outgoing: exports.durableObject({ state: "transferred", transferredTo: "target-worker" }),
|