0
Fork 0
mirror of https://github.com/withastro/astro.git synced 2024-12-23 21:53:55 -05:00
astro/.changeset/fifty-weeks-bake.md
Alexander Niebuhr 5b0b3c9a8e
fix(@astrojs/cloudflare): support for nodejs_compat (#8595)
Co-authored-by: Sarah Rainsberger <sarah@rainsberger.ca>
Co-authored-by: Florian Lefebvre <contact@florian-lefebvre.dev>
2023-09-19 11:51:06 +02:00

389 B

@astrojs/cloudflare
minor

Add support for the following Node.js Runtime APIs, which are availabe in Cloudflare using the node: syntax.

  • assert
  • AsyncLocalStorage
  • Buffer
  • Diagnostics Channel
  • EventEmitter
  • path
  • process
  • Streams
  • StringDecoder
  • util
import { Buffer } from 'node:buffer';