@astrojs/cloudflare 13.1.3 → 13.1.5

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
@@ -35,4 +35,4 @@ Copyright (c) 2023–present [Astro][astro]
35
35
  [community]: https://github.com/withastro/.github/blob/main/COMMUNITY_GUIDE.md
36
36
  [discord]: https://astro.build/chat/
37
37
  [issues]: https://github.com/withastro/adapter/issues
38
- [astro-integration]: https://docs.astro.build/en/guides/integrations-guide/
38
+ [astro-integration]: https://docs.astro.build/en/guides/integrations/
@@ -87,7 +87,7 @@ function serverStart({
87
87
  host,
88
88
  base
89
89
  }) {
90
- const version = "13.1.3";
90
+ const version = "13.1.5";
91
91
  const localPrefix = `${colors.dim("\u2503")} Local `;
92
92
  const networkPrefix = `${colors.dim("\u2503")} Network `;
93
93
  const emptyPrefix = " ".repeat(11);
package/dist/index.js CHANGED
@@ -191,6 +191,11 @@ function createIntegration({
191
191
  "virtual:@astrojs/*"
192
192
  ],
193
193
  esbuildOptions: {
194
+ // Suppress Vite's `createRequire(import.meta.url)` banner to work around
195
+ // https://github.com/vitejs/vite/issues/22004 — Vite's SSR transform
196
+ // incorrectly rewrites identifiers inside `import.meta` when an imported
197
+ // binding shares the same name (e.g. zod v4 exports `meta`).
198
+ banner: { js: "" },
194
199
  plugins: [astroFrontmatterScanPlugin()]
195
200
  }
196
201
  }
@@ -76,7 +76,8 @@ ${body}` : "";
76
76
  const response = await fetch(`${serverUrl}${PRERENDER_ENDPOINT}`, {
77
77
  method: "POST",
78
78
  headers: { "Content-Type": "application/json" },
79
- body: JSON.stringify(body)
79
+ body: JSON.stringify(body),
80
+ redirect: "manual"
80
81
  });
81
82
  return response;
82
83
  },
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@astrojs/cloudflare",
3
3
  "description": "Deploy your site to Cloudflare Workers",
4
- "version": "13.1.3",
4
+ "version": "13.1.5",
5
5
  "type": "module",
6
6
  "types": "./dist/index.d.ts",
7
7
  "author": "withastro",
@@ -52,7 +52,7 @@
52
52
  "@types/node": "^25.2.2",
53
53
  "cheerio": "1.2.0",
54
54
  "devalue": "^5.6.3",
55
- "astro": "6.0.8",
55
+ "astro": "6.1.2",
56
56
  "astro-scripts": "0.0.14"
57
57
  },
58
58
  "publishConfig": {