Skip to content

Bump tar from 7.5.22 to 8.1.0 - #825

Open
dependabot[bot] wants to merge 2 commits into
masterfrom
dependabot/npm_and_yarn/tar-8.1.0
Open

dependabot[bot] wants to merge 2 commits into
masterfrom
dependabot/npm_and_yarn/tar-8.1.0

Conversation

@dependabot

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

Copy link
Copy Markdown
Contributor

Bumps tar from 7.5.22 to 8.1.0.

Release notes

Sourced from tar's releases.

v8.1.0

  • pack: find a path that changed when the ino numbers are the same (942ef4b)
  • test: accept the lstat after an open for an ino that is not exact (4e9389e)
  • test: count each file one time when a test counts lstat calls (ac4790a)
  • add the bigint option to create, on by default on Windows (#484) (3825124)
  • delete: keep the permission bits of the archive (#481) (9afee07)
  • changelog re DeleteFS.chmod (7f7f864)
  • mkdir: let two entries replace one path with unlink (3d57fb6)
  • path-reservations: the path . is above each path (08eef31)
  • unpack: reserve the absolute form of each path (f71d6d8)

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.

... (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.

8.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

... (truncated)

Commits
  • d919683 8.1.0
  • f71d6d8 unpack: reserve the absolute form of each path
  • 08eef31 path-reservations: the path . is above each path
  • 3d57fb6 mkdir: let two entries replace one path with unlink
  • 7f7f864 changelog re DeleteFS.chmod
  • 9afee07 delete: keep the permission bits of the archive (#481)
  • 3825124 add the bigint option to create, on by default on Windows (#484)
  • ac4790a test: count each file one time when a test counts lstat calls
  • 4e9389e test: accept the lstat after an open for an ino that is not exact
  • 942ef4b pack: find a path that changed when the ino numbers are the same
  • Additional commits viewable in compare view
Maintainer changes

This version was pushed to npm by GitHub Actions, a new releaser for tar since your current version.


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)
    You can disable automated security fix PRs for this repo from the Security Alerts page.

Bumps [tar](https://github.com/isaacs/node-tar) from 7.5.22 to 8.1.0.
- [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.22...v8.1.0)

---
updated-dependencies:
- dependency-name: tar
  dependency-version: 8.1.0
  dependency-type: direct:production
...

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 3, 2026
tar 8 removes the sync option from list(), so getToplevelDir returned an
empty array and every GitHub source fetch would fail with NoToplevelDir.
Switch to listSync and onEntry, add a regression test, and update the
npmDepsHash for the new lockfile.
@thomashoneyman thomashoneyman reopened this Dec 4, 2026

This branch has not been deployed

No deployments
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