Sourced from tar's releases.
v6.1.13
6.1.13 (2022-12-07)
Dependencies
v6.1.12
6.1.12 (2022-10-31)
Bug Fixes
57493ee#332 ensuring close event is emited after stream has ended (@webark)b003c64#314 replace deprecated String.prototype.substr() (#314) (@CommanderRoot,@lukekarrys)Documentation
Sourced from tar's changelog.
Changelog
7.0
- 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.6.1
- remove dead link to benchmarks (#313) (
@yetzt)- add examples/explanation of using tar.t (
@isaacs)- ensure close event is emited after stream has ended (
@webark)- replace deprecated String.prototype.substr() (
@CommanderRoot,@lukekarrys)6.0
- Drop support for node 6 and 8
- fix symlinks and hardlinks on windows being packed with
\-style path targets5.0
- Address unpack race conditions using path reservations
- Change large-numbers errors from TypeError to Error
- Add
TAR_*error codes- Raise
TAR_BAD_ARCHIVEwarning/error when there are no valid entries found in an archive- do not treat ignored entries as an invalid archive
- drop support for node v4
- unpack: conditionally use a file mapping to write files on Windows
- Set more portable 'mode' value in portable mode
- Set
portablegzip option in portable mode
... (truncated)
bef7b1e
6.2.1fe8cd57
prevent extraction in excessively deep subfoldersfe7ebfd
remove security.md5bc9d40
6.2.0fe1ef5e
changelog 6.2e483220
get rid of npm lint stuff689928a
ci that works outside of npm orgdb6f539
file inference improvements for .tbr and .tgz336fa8f
refactor: dry and other pr commentseeba222
chore: lint fixes