@cloudflare/vite-plugin 1.42.1 → 1.42.3
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
|
@@ -1506,7 +1506,7 @@ async function assertWranglerVersion() {
|
|
|
1506
1506
|
* The default compatibility date to use when the user omits one.
|
|
1507
1507
|
* This value is injected at build time and remains fixed for each release.
|
|
1508
1508
|
*/
|
|
1509
|
-
const DEFAULT_COMPAT_DATE = "2026-06-
|
|
1509
|
+
const DEFAULT_COMPAT_DATE = "2026-06-25";
|
|
1510
1510
|
|
|
1511
1511
|
//#endregion
|
|
1512
1512
|
//#region src/build-output-env.ts
|
|
@@ -61393,16 +61393,18 @@ function getImageTag(imageTag) {
|
|
|
61393
61393
|
//#endregion
|
|
61394
61394
|
//#region ../containers-shared/src/images.ts
|
|
61395
61395
|
const DEFAULT_CONTAINER_EGRESS_INTERCEPTOR_IMAGE = "cloudflare/proxy-everything:3cb1195@sha256:0ef6716c52430096900b150d84a3302057d6cd2319dae7987128c85d0733e3c8";
|
|
61396
|
+
function getEgressInterceptorPlatform() {
|
|
61397
|
+
return process.env.MINIFLARE_CONTAINER_EGRESS_IMAGE_PLATFORM;
|
|
61398
|
+
}
|
|
61396
61399
|
function getEgressInterceptorImage() {
|
|
61397
61400
|
return process.env.MINIFLARE_CONTAINER_EGRESS_IMAGE ?? DEFAULT_CONTAINER_EGRESS_INTERCEPTOR_IMAGE;
|
|
61398
61401
|
}
|
|
61399
61402
|
async function pullEgressInterceptorImage(dockerPath) {
|
|
61400
|
-
|
|
61401
|
-
|
|
61402
|
-
|
|
61403
|
-
|
|
61404
|
-
|
|
61405
|
-
]);
|
|
61403
|
+
const image = getEgressInterceptorImage();
|
|
61404
|
+
const platform$1 = getEgressInterceptorPlatform();
|
|
61405
|
+
const args = ["pull", image];
|
|
61406
|
+
if (platform$1 !== void 0) args.push("--platform", platform$1);
|
|
61407
|
+
await runDockerCmd(dockerPath, args);
|
|
61406
61408
|
}
|
|
61407
61409
|
async function pullImage(dockerPath, options, logger) {
|
|
61408
61410
|
const domain = new URL(`http://${options.image_uri}`).hostname;
|