diff options
author | 2023-02-01 14:26:45 +0100 | |
---|---|---|
committer | 2023-02-01 08:26:45 -0500 | |
commit | f91615f5c04fde36f115dad9110dd75254efd61d (patch) | |
tree | da06efad1c9e0bf3fd39af985b144af6a158cc39 /.changeset | |
parent | 94bcf24e45ab95f108433fe28fab4570ccfb8905 (diff) | |
download | astro-f91615f5c04fde36f115dad9110dd75254efd61d.tar.gz astro-f91615f5c04fde36f115dad9110dd75254efd61d.tar.zst astro-f91615f5c04fde36f115dad9110dd75254efd61d.zip |
fix: Failed to execute 'encode' on 'TextEncoder': parameter 1 is not of type 'String' in Edge Runtime SSR (#6070)
* minor fixes for errors related to vercel SSR in core
* yielding empty string instead of nothing, to not exit the iterator
---------
Co-authored-by: AirBorne04 <>
Diffstat (limited to '.changeset')
-rw-r--r-- | .changeset/curvy-owls-grow.md | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/.changeset/curvy-owls-grow.md b/.changeset/curvy-owls-grow.md new file mode 100644 index 000000000..8a5434f3f --- /dev/null +++ b/.changeset/curvy-owls-grow.md @@ -0,0 +1,6 @@ +--- +'astro': patch +--- + +* safe guard against TextEncode.encode(HTMLString) [errors on vercel edge] +* safe guard against html.replace when html is undefined
\ No newline at end of file |