Change8

@cloudflare/vitest-pool-workers@0.12.7

📦 cloudflare-workersView on GitHub →
🐛 2 fixes🔧 3 symbols

Summary

This patch addresses import issues for .sql files with Vite query parameters and fixes a CommonJS require error for .json files. It also bundles the 'zod' dependency into miniflare and @cloudflare/vitest-pool-workers for security.

🐛 Bug Fixes

  • Fixed an issue where importing .sql files with Vite query parameters (e.g., ?raw) failed with "No such module" errors when using vitest-pool-workers 0.12.x; both import styles are now supported.
  • Fixed CommonJS require() of .json files in the module fallback service, preventing SyntaxError: Unexpected token ':'.

Affected Symbols