This is the changelog for tar-parser. It follows semantic versioning.
- Fix parsing tar entries whose file body ends exactly at a chunk boundary.
- Update dev dependencies to use
@remix-run/fsinstead of@remix-run/lazy-file/fs.
- Build using
tscinstead ofesbuild. This means modules in thedistdirectory now mirror the layout of modules in thesrcdirectory.
- BREAKING CHANGE: Removed CommonJS build. This package is now ESM-only. If you need to use this package in a CommonJS project, you will need to use dynamic
import().
- Renamed package from
@mjackson/tar-parserto@remix-run/tar-parser
- Add
/srcto npm package, so "go to definition" goes to the actual source - Use one set of types for all built files, instead of separate types for ESM and CJS
- Build using esbuild directly instead of tsup
- Add
Promise<void>toTarEntryHandlerreturn type
- Add support for environments that do not support
ReadableStream.prototype[Symbol.asyncIterator](i.e. Safari), see #46
- Fix a bug that hangs the process when trying to read zero-length entries.
- Initial release