It seems like there's a mismatch between the method being used (useCompressionStream) and the functionality currently supported in h3-compression (which only supports useCompression). Replacing useCompressionStream with useCompression should resolve the issue.
I would really appreciate it if this could be fixed, but I'm not making the change myself as I'm not familiar with this module.
Description:
I encountered the same issue as described in #259. After some investigation, I believe I have identified the cause.
While reviewing the dependencies
unenv
,h3
,h3-compression
, andsitemap
, I found the following note in the README of theh3-compression
package:Source
The relevant code in the
sitemap
module appears to be callinguseCompressionStream
:Source
Conclusion:
It seems like there's a mismatch between the method being used (
useCompressionStream
) and the functionality currently supported inh3-compression
(which only supportsuseCompression
). ReplacinguseCompressionStream
withuseCompression
should resolve the issue.I would really appreciate it if this could be fixed, but I'm not making the change myself as I'm not familiar with this module.
Let me know if you need further clarification.