Closed RobAndrewHurst closed 2 weeks ago
Replaced the buffer handling in the cloudfront provider with:
if (ref.params?.buffer) { const arrayBuffer = await response.arrayBuffer() return Buffer.from(arrayBuffer) }
Issues 0 New issues 0 Accepted issues
Measures 0 Security Hotspots 0.0% Coverage on New Code 0.0% Duplication on New Code
See analysis details on SonarQube Cloud
Update Cloudfront Provider to Support Node.js Native Fetch API Buffer Handling
New implementation
Replaced the buffer handling in the cloudfront provider with: