Sourced from tar's changelog.
Changelog
7.5
- Added
zstdcompression support.7.4
- Deprecate
onentryin favor ofonReadEntryfor clarity.7.3
- Add
onWriteEntryoption7.2
- DRY the command definitions into a single
makeCommandmethod, and update the type signatures to more appropriately infer the return type from the options and arguments provided.7.1
- Update minipass to v7.1.0
- Update the type definitions of
write()andend()methods onUnpackandParserclasses to be compatible with the NodeJS.WritableStream type in the latest versions of@types/node.7.0
- Drop support for node <18
- Rewrite in TypeScript, provide ESM and CommonJS hybrid interface
- Add tree-shake friendly exports, like
import('tar/create')andimport('tar/read-entry')to get individual functions or classes.- Add
chmodoption that defaults to false, and deprecatenoChmod. That is, reverse the default option regarding explicitly setting file system modes to match tar entry settings.- Add
processUmaskoption to avoid having to callprocess.umask()whenchmod: true(ornoChmod: false) is set.6.2
- Add support for brotli compression
- Add
maxDepthoption to prevent extraction into excessively deep folders.
... (truncated)
0313844
7.5.3340eb28
fix: sanitize absolute linkpaths properly8bb83f7
update deps1c4aedd
Fix typo in onWriteEntry documentationd9ea73a
7.5.25e1a8e6
Fix sync tar.list when file size reduces while reading0fbeaed
formatting2dbacfe
add types for make-tar utilc5865d3
remove unused taprc filebdb3809
header: only read from ustar block if not specified in Pax