github cloudflare/workers-sdk @cloudflare/vitest-pool-workers@0.8.48

Patch Changes

  • #9533 0a5bb5a Thanks @petebacondarwin! - fix: ensure that the sourcemap-codec library has been transformed correctly to be imported in workerd during Vitest runs

    Prior to this the inline snapshot tests were failing because they use the magic-string library, which in turn relies upon the sourcemap-codec library.

    This resulted in errors that look like:

    Error running worker: SyntaxError: The requested module '@jridgewell/sourcemap-codec' does not provide an export named 'encode'
    

Don't miss a new workers-sdk release

NewReleases is sending notifications on new releases.