nanotar
nanotar copied to clipboard
[parse] long file handling
Environment
Reproduction
https://stackblitz.com/edit/stackblitz-starters-rnsaetcx?file=index.mjs
Describe the bug
~~GitHub tarball paths for filenames are inconsistent. It seems it assumes we should inherit last dir name and prefix it to names.~~
~~I have to do little more research if there is some meta specific to this behavior we might be missing or it is just a convention to follow by default.~~
long paths should be handled from previous tar entries
Additional context
Context: https://github.com/unjs/nanotar/issues/14#issuecomment-2604310766
Logs
[directory] astro-main/packages/integrations/vue/test/fixtures/app-entrypoint-no-export-default/src/components/
[file] Bar.vue
[file] Circle.svg
[file] Foo.vue