Skip to content

fix(index.js) Get decompressed data and detects the mime-type for web…#1

Open
danielmarcoto wants to merge 3 commits intocarloscarcamo:masterfrom
danielmarcoto:master
Open

fix(index.js) Get decompressed data and detects the mime-type for web…#1
danielmarcoto wants to merge 3 commits intocarloscarcamo:masterfrom
danielmarcoto:master

Conversation

@danielmarcoto
Copy link

I used your code to unzip a static website generated by mkdocs in CodeBuild. So, I needed to update the code to:

  1. Keep the full path of the file (to preserve the folders) using zipEntry.entryName;
  2. Retrieve the decompressed data from zipEntry.getData();
  3. Keep mime-type of the file on putting the file to S3 mime.lookup(zipEntry.name) (from dependency mime-types);

@carloscarcamo
Copy link
Owner

Hi @danielmarcoto, thanks for your contribution, I've been a little busy this days but, I will definitely check this PR, thanks again.

Repository owner deleted a comment from mo-tem Jan 31, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants