AWS S3 SDK Broken Entirely?
It seems like Amazon broke support for Cloudflare Workers in aws-sdk-js-v3, where they now specifically require DOMParser which is not available to Workers even in Node Compat mode. https://github.com/aws/aws-sdk-js-v3/pull/7347
This makes it impossible to upload to any S3 provider, even though this library is referenced in the Cloudflare Docs. I don't think I'm missing anything here, my nodejs_compat is enabled with today as a compatibility date. But still the library loads it's browser module and depends on the DOMParser. This makes any S3 uploads originated from Workers broken.
This makes it impossible to upload to any S3 provider, even though this library is referenced in the Cloudflare Docs. I don't think I'm missing anything here, my nodejs_compat is enabled with today as a compatibility date. But still the library loads it's browser module and depends on the DOMParser. This makes any S3 uploads originated from Workers broken.
GitHub
Issue
#3979
Description
Uses window.DOMParser in browsers instead of fast-xml-parser
Testing
new unit tests, also ran all of our existing S3 tests with the browser bundle, confirming that it is usi...
#3979
Description
Uses window.DOMParser in browsers instead of fast-xml-parser
Testing
new unit tests, also ran all of our existing S3 tests with the browser bundle, confirming that it is usi...