@cloudflare/vite-plugin 1.54.1 → 1.54.2
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/experimental-config.d.mts +21 -21
- package/dist/experimental-config.d.mts.map +1 -1
- package/dist/index.mjs +12 -12
- package/dist/index.mjs.map +1 -1
- package/dist/{package-C9YPmEf_.mjs → package-D3W0Crto.mjs} +2 -2
- package/dist/{package-C9YPmEf_.mjs.map → package-D3W0Crto.mjs.map} +1 -1
- package/package.json +10 -10
package/dist/index.mjs
CHANGED
|
@@ -43,8 +43,8 @@ import { basename as basename$1, dirname as dirname$1, isAbsolute as isAbsolute$
|
|
|
43
43
|
import { fileURLToPath as fileURLToPath$1 } from "url";
|
|
44
44
|
import { createRequire as createRequire$1 } from "module";
|
|
45
45
|
|
|
46
|
-
//#region ../workers-utils/dist/chunk-
|
|
47
|
-
var DEFAULT_COMPAT_DATE = "2026-08-
|
|
46
|
+
//#region ../workers-utils/dist/chunk-2DE5GBFL.mjs
|
|
47
|
+
var DEFAULT_COMPAT_DATE = "2026-08-28";
|
|
48
48
|
function assertNever(_value) {}
|
|
49
49
|
__name$5(assertNever, "assertNever");
|
|
50
50
|
function mapWorkerMetadataBindings(bindings$1) {
|
|
@@ -53956,7 +53956,7 @@ const BrowserBindingSchema = strictObject$1({
|
|
|
53956
53956
|
});
|
|
53957
53957
|
const WorkerBindingSchema = strictObject$1({
|
|
53958
53958
|
type: literal$2("worker"),
|
|
53959
|
-
|
|
53959
|
+
worker: string$1(),
|
|
53960
53960
|
exportName: string$1().optional(),
|
|
53961
53961
|
props: record$1(string$1(), unknown$1()).optional(),
|
|
53962
53962
|
dev: RemoteBindingDevSchema.optional()
|
|
@@ -54034,14 +54034,14 @@ const KnownBindingSchema = discriminatedUnion$1("type", [
|
|
|
54034
54034
|
type: literal$2("dispatch-namespace"),
|
|
54035
54035
|
namespace: string$1().optional(),
|
|
54036
54036
|
outbound: strictObject$1({
|
|
54037
|
-
|
|
54037
|
+
worker: string$1(),
|
|
54038
54038
|
parameters: array$1(string$1()).optional()
|
|
54039
54039
|
}).optional(),
|
|
54040
54040
|
dev: RemoteBindingDevSchema.optional()
|
|
54041
54041
|
}),
|
|
54042
54042
|
strictObject$1({
|
|
54043
54043
|
type: literal$2("durable-object"),
|
|
54044
|
-
|
|
54044
|
+
worker: string$1(),
|
|
54045
54045
|
exportName: string$1()
|
|
54046
54046
|
}),
|
|
54047
54047
|
FlagshipBindingSchema,
|
|
@@ -54271,7 +54271,7 @@ const PlacementSchema = union$1([
|
|
|
54271
54271
|
})
|
|
54272
54272
|
]);
|
|
54273
54273
|
const TailConsumerSchema = strictObject$1({
|
|
54274
|
-
|
|
54274
|
+
worker: string$1(),
|
|
54275
54275
|
streaming: boolean$1().optional()
|
|
54276
54276
|
});
|
|
54277
54277
|
const TriggerSchema = discriminatedUnion$1("type", [
|
|
@@ -57193,7 +57193,7 @@ function convertBindingsAndAssets(config$3, result) {
|
|
|
57193
57193
|
namespace: binding.namespace
|
|
57194
57194
|
};
|
|
57195
57195
|
if (binding.outbound) entry.outbound = omitUndefined({
|
|
57196
|
-
service: binding.outbound.
|
|
57196
|
+
service: binding.outbound.worker,
|
|
57197
57197
|
parameters: binding.outbound.parameters
|
|
57198
57198
|
});
|
|
57199
57199
|
if (binding.dev?.remote !== void 0) entry.remote = binding.dev.remote;
|
|
@@ -57204,7 +57204,7 @@ function convertBindingsAndAssets(config$3, result) {
|
|
|
57204
57204
|
durableObjectBindings.push({
|
|
57205
57205
|
name,
|
|
57206
57206
|
class_name: binding.exportName,
|
|
57207
|
-
script_name: binding.
|
|
57207
|
+
script_name: binding.worker
|
|
57208
57208
|
});
|
|
57209
57209
|
break;
|
|
57210
57210
|
case "flagship":
|
|
@@ -57355,7 +57355,7 @@ function convertBindingsAndAssets(config$3, result) {
|
|
|
57355
57355
|
case "worker":
|
|
57356
57356
|
services.push(omitUndefined({
|
|
57357
57357
|
binding: name,
|
|
57358
|
-
service: binding.
|
|
57358
|
+
service: binding.worker,
|
|
57359
57359
|
entrypoint: binding.exportName,
|
|
57360
57360
|
props: binding.props,
|
|
57361
57361
|
remote: binding.dev?.remote
|
|
@@ -57536,8 +57536,8 @@ function convertTailConsumers(config$3, result) {
|
|
|
57536
57536
|
if (!consumers || consumers.length === 0) return;
|
|
57537
57537
|
const tail$1 = [];
|
|
57538
57538
|
const streaming = [];
|
|
57539
|
-
for (const consumer of consumers) if (consumer.streaming) streaming.push({ service: consumer.
|
|
57540
|
-
else tail$1.push({ service: consumer.
|
|
57539
|
+
for (const consumer of consumers) if (consumer.streaming) streaming.push({ service: consumer.worker });
|
|
57540
|
+
else tail$1.push({ service: consumer.worker });
|
|
57541
57541
|
if (tail$1.length) result.tail_consumers = tail$1;
|
|
57542
57542
|
if (streaming.length) result.streaming_tail_consumers = streaming;
|
|
57543
57543
|
}
|
|
@@ -123906,7 +123906,7 @@ __name(createWorkerUploadForm, "createWorkerUploadForm");
|
|
|
123906
123906
|
//#endregion
|
|
123907
123907
|
//#region ../remote-bindings/dist/index.mjs
|
|
123908
123908
|
var import_undici = require_undici();
|
|
123909
|
-
var version$2 = "0.0.
|
|
123909
|
+
var version$2 = "0.0.17";
|
|
123910
123910
|
var NoDefaultValueProvided = class extends UserError {
|
|
123911
123911
|
constructor() {
|
|
123912
123912
|
super("This command cannot be run in a non-interactive context", { telemetryMessage: "remote bindings prompt default missing" });
|