Skip to content
This repository has been archived by the owner on Sep 17, 2024. It is now read-only.

bugFix/add in streaming changes #119

Merged
merged 1 commit into from
Nov 8, 2023

Conversation

nicholas-yong
Copy link
Contributor

@nicholas-yong nicholas-yong commented Nov 7, 2023

With the recent updates to the @aws-sdk/client-s3 package, the returned object from the getObejct call is not a Buffer but a Readable stream instead (aws/aws-sdk-js-v3#1877).

This PR modifies adds zlib as an explicit dependency (as during testing it was not being added to the list of node_modules), changes the import format to just zlib instead of zlib.js and also adds functionality to piece together the string object from getObject before it is passed to gunzip. These changes should fix the existing issues with the retro tagging functionality.

@rayjanoka
Copy link
Collaborator

thanks @nicholas-yong

Copy link
Collaborator

@rayjanoka rayjanoka left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@rayjanoka rayjanoka merged commit c4f0d5c into master Nov 8, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants