perf(git): use modern-tar over tar#3569
Conversation
|
@ayuhito is attempting to deploy a commit to the NuxtLabs Team on Vercel. A member of the Team first needs to authorize it. |
commit: |
|
Thanks for the PR @ayuhito I face this when I removed |
|
Oops, this is my bad for not trying out that command since I was unfamiliar with this codebase. I relied on the tests only 🙈 I've pushed a fix. The error wasn't related to the library, but not decompressing the Thanks for the thorough review @farnabaz 🚀 Edit: this does give me an idea to sniff if streams are gzip compressed and automatically decompress if necessary. |
|
Thanks |
🔗 Linked issue
N/A
❓ Type of change
📚 Description
If there is any appetite to reduce the dependency count, I'd love to suggest using modern-tar that just relies on native APIs to reduce the surface area by 6 dependencies (additional 2MB unpacked).
This has a very small surface area which makes me believe this is a safe migration to undertake. Please let me know if there any concerns! We also recently switched
@bluwy/giget-corewhich is a very similar mechanism forcreate-astro!📝 Checklist