Skip to content

chore: bump tar from 7.5.24 to 8.0.5 - #5

Merged
LukeGus merged 1 commit into
mainfrom
dependabot/npm_and_yarn/tar-8.0.5
Dec 6, 2026
Merged

LukeGus merged 1 commit into
mainfrom
dependabot/npm_and_yarn/tar-8.0.5

Conversation

@dependabot

@dependabot dependabot Bot commented on behalf of github Dec 5, 2026

Copy link
Copy Markdown
Contributor

Bumps tar from 7.5.24 to 8.0.5.

Release notes

Sourced from tar's releases.

v8.0.5

  • parser: stop at a PAX name after a GNU long name (2f14a9e)
  • parser: use the ustar prefix for each version (ae52dc7)
  • parser: stop at an entry with a body and a directory name (55ad345)

v8.0.4

  • parser: stop when the size or the name of an entry is not sure (116372c)
  • ci: compare the parser with bsdtar, GNU tar, and Python (a6285fb)
  • parser: stop at a GNU long name entry after a PAX header (e14c074)
  • update security policy to include root by reference (baf547a)

v8.0.3

  • ci: update the actions, and Node.js for the typedoc workflow (ad483b7)
  • typedoc uses node 26 (78032db)
  • docs: add benchmark numbers to the README (8cd8fe6)
  • ci: create a GitHub release when a tag is pushed (d2579de)
  • ci: mark the GitHub release of a prerelease tag as a prerelease (68686a3)
  • ci: retry the Pages deploy when the artifact is not listed yet (85cdfc9)
  • parser: read the same entries as other tar programs after a bad header (816f946)

v8.0.2

  • parser: ignore the size of a global PAX header (58df09f)
  • limit the memory that long paths use in an async extraction (de87900)

v8.0.1

  • unpack: check the parent directories again after an entry is made (5ef1702)

v8.0.0

A new API. See "Migration from version 7" in the README.

Breaking changes

  • Drop support for node <22
  • Remove callbacks and Node.js streams. Each command returns a promise. create() with no file returns a web ReadableStream. list() and extract() read the input option, or a file.
  • Remove the sync option. Use createSync, extractSync, listSync, replaceSync, and updateSync.
  • Rename onReadEntry to onEntry, which is awaited. onReadEntry and onentry are aliases of it.
  • The option aliases (C, f, z, P, U, k, m, p, L, h, strip-components, keep-newer, keep-existing, no-mtime, their camelCase forms, and noChmod) work in the commands only. entries(), Pack, Unpack, and Parser take only the names of the options.
  • Remove the options noResume, ondone, dirCache, linkCache, readdirCache, and statCache.
  • ReadEntry and WriteEntry are not streams. A ReadEntry has the shape of a Response: body, bytes(), arrayBuffer(), text(), and blob(). A WriteEntry is metadata and a body.
  • Parser, Pack, and Unpack are not streams. Parser is a state machine with push() and next(). Pack is an async iterator of chunks. Unpack has an extract(input) method.
  • Remove WriteEntrySync and WriteEntryTar.
  • Use Uint8Array, not Buffer. Header#block and the result of Pax#encode() are a Uint8Array.
  • transform returns a TransformStream, or an object with a readable and a writable web stream. In extractSync(), it returns a function that changes a chunk. For a Node.js Transform stream, return codecStream(stream).
  • In strict mode, extraction stops at the first error.
  • The first null block is the end of the archive, as it is for bsdtar. Data after it is dropped with no warning, also when no second null block comes after it. Version 7 read the entries after a single null block, so it read archives that were joined end to end. Split such a file into its archives before you read it.
  • update() adds a file only if it is newer than the entry of the same path. It does not add a file that has the same time as the entry, or a time that differs only by a part of a second.
  • A jobs or maxReadSize option that is not 0, a positive integer, or Infinity is a TypeError. 0 gives the default.
  • A uid or gid option of extract() that is not an unsigned 32-bit integer is a TypeError. Before, it was ignored, and the owner in the archive was used.
  • create() gives a TAR_ENTRY_UNSUPPORTED warning for a path that is not a file, a directory, or a symbolic link, such as a socket, a FIFO, or a device. Before, it skipped the path with no warning. With strict, it is an error.

... (truncated)

Changelog

Sourced from tar's changelog.

Changelog

8.1

  • Add the bigint option of create(), replace(), update(), and Pack: each stat call has the option { bigint: true }, so the dev and ino of each path are exact, with no added call. The default is true on Windows, where most ino numbers are not safe integers, and false on other systems.
  • On Windows, this default changes what a custom fs and a filter get. lstat, stat, and stat of the handle of a CreateFS get the option, and lstat and stat must give all the fields of CreateBigIntStats, or ignore the option. A filter gets a stat with numbers that is not the object of the file system. A time can be 1 ms less than before. Set bigint: false for the behavior of 8.0.
  • Keep the mode of the resulting archive consistent when running tar.delete(), when the DeleteFS includes a chmod method.
  • With the unlink option, extract each entry of a directory that replaces a file or a link. Before, two entries could replace the path at the same time, and one of them failed.
  • Extract an entry for the extraction directory, such as ./, before the extraction of each entry after it starts.
  • With preservePaths, two entries that name one path in different forms, such as an absolute path and a relative path, do not run at the same time.
  • Read the extension blocks of a GNU sparse header (type S). Before, the parser read them as the start of the body, so it read the end of the body as headers. An archive could show entries to this package that GNU tar, bsdtar, and Python do not show.
  • Stop with a TAR_BAD_ARCHIVE error at the GNU sparse headers that other tar programs read in different ways.
  • Do not extract a sparse file: an entry of type S, or a file with a GNU.sparse. field in its PAX header. extract() gives a TAR_ENTRY_UNSUPPORTED warning. Before, an entry of type S was skipped with no warning, and a PAX sparse file was extracted with content that was not the content of the file.
  • list() and entries() give each sparse file as an entry of type 'SparseFile'. create() does not add such an entry of another archive, and gives a TAR_ENTRY_UNSUPPORTED warning.
  • A ustar header with an empty prefix and a byte that is not NUL near the end of the prefix field does not get a / before its path.
  • update: match a name stored with a ustar prefix of .
  • mtime: floor fractional times before 1970
  • Stop with a TAR_BAD_ARCHIVE error at a PAX record with a space or a tab before its key. GNU tar skips those bytes and uses the record. Before, this package ignored the record, so the two programs could read different names or sizes.

... (truncated)

Commits
  • d33749a 8.0.5
  • 55ad345 parser: stop at an entry with a body and a directory name
  • ae52dc7 parser: use the ustar prefix for each version
  • 2f14a9e parser: stop at a PAX name after a GNU long name
  • b62c8bb 8.0.4
  • baf547a update security policy to include root by reference
  • e14c074 parser: stop at a GNU long name entry after a PAX header
  • a6285fb ci: compare the parser with bsdtar, GNU tar, and Python
  • 116372c parser: stop when the size or the name of an entry is not sure
  • 57a42d7 8.0.3
  • Additional commits viewable in compare view

Dependabot compatibility score

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


Dependabot commands and options

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot show <dependency name> ignore conditions will show all of the ignore conditions of the specified dependency
  • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)

Bumps [tar](https://github.com/isaacs/node-tar) from 7.5.24 to 8.0.5.
- [Release notes](https://github.com/isaacs/node-tar/releases)
- [Changelog](https://github.com/isaacs/node-tar/blob/main/CHANGELOG.md)
- [Commits](isaacs/node-tar@v7.5.24...v8.0.5)

---
updated-dependencies:
- dependency-name: tar
  dependency-version: 8.0.5
  dependency-type: direct:development
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot Bot added dependencies Pull requests that update a dependency file javascript Pull requests that update javascript code labels Dec 5, 2026
@LukeGus
LukeGus merged commit 2d161ac into main Dec 6, 2026
3 of 5 checks passed
@LukeGus
LukeGus deleted the dependabot/npm_and_yarn/tar-8.0.5 branch December 6, 2026 16:21
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependencies Pull requests that update a dependency file javascript Pull requests that update javascript code

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant