@astrojs/cloudflare
Advanced tools
Comparing version 10.4.0 to 10.4.1
@@ -38,3 +38,6 @@ import { App } from 'astro/app'; | ||
// the users's astro version or if astro:env is not enabled in the project | ||
await import('astro/env/setup').then((mod) => mod.setGetEnv(createGetEnv(env))).catch(() => { }); | ||
const setupModule = 'astro/env/setup'; | ||
await import(/* @vite-ignore */ setupModule) | ||
.then((mod) => mod.setGetEnv(createGetEnv(env))) | ||
.catch(() => { }); | ||
const response = await app.render(request, { routeData, locals }); | ||
@@ -41,0 +44,0 @@ if (app.setCookieHeaders) { |
{ | ||
"name": "@astrojs/cloudflare", | ||
"description": "Deploy your site to Cloudflare Workers/Pages", | ||
"version": "10.4.0", | ||
"version": "10.4.1", | ||
"type": "module", | ||
@@ -51,3 +51,3 @@ "types": "./dist/index.d.ts", | ||
"strip-ansi": "^7.1.0", | ||
"vite": "^5.2.12", | ||
"vite": "^5.2.13", | ||
"@astrojs/test-utils": "0.0.1", | ||
@@ -54,0 +54,0 @@ "astro-scripts": "0.0.14" |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
61285
1229