Skip to content

Conversation

@dependabot
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Jan 28, 2026

Bumps tar from 6.2.1 to 7.5.7.

Changelog

Sourced from tar's changelog.

Changelog

7.5

  • Added zstd compression support.
  • Consistent TOCTOU behavior in sync t.list
  • Only read from ustar block if not specified in Pax
  • Fix sync tar.list when file size reduces while reading
  • Sanitize absolute linkpaths properly
  • Prevent writing hardlink entries to the archive ahead of their file target

7.4

  • Deprecate onentry in favor of onReadEntry for clarity.

7.3

  • Add onWriteEntry option

7.2

  • DRY the command definitions into a single makeCommand method, 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() and end() methods on Unpack and Parser classes 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') and import('tar/read-entry') to get individual functions or classes.
  • Add chmod option that defaults to false, and deprecate noChmod. That is, reverse the default option regarding explicitly setting file system modes to match tar entry settings.
  • Add processUmask option to avoid having to call process.umask() when chmod: true (or noChmod: false) is set.

... (truncated)

Commits
Maintainer changes

This version was pushed to npm by isaacs, 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 merge will merge this PR after your CI passes on it
  • @dependabot squash and merge will squash and merge this PR after your CI passes on it
  • @dependabot cancel merge will cancel a previously requested merge and block automerging
  • @dependabot reopen will reopen this PR if it is closed
  • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
  • @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 6.2.1 to 7.5.7.
- [Release notes](https://github.com/isaacs/node-tar/releases)
- [Changelog](https://github.com/isaacs/node-tar/blob/main/CHANGELOG.md)
- [Commits](isaacs/node-tar@v6.2.1...v7.5.7)

---
updated-dependencies:
- dependency-name: tar
  dependency-version: 7.5.7
  dependency-type: direct:development
...

Signed-off-by: dependabot[bot] <[email protected]>
@dependabot dependabot bot added dependencies Pull requests that update a dependency file javascript Pull requests that update javascript code labels Jan 28, 2026
@vercel
Copy link

vercel bot commented Jan 28, 2026

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Review Updated (UTC)
umami Error Error Jan 28, 2026 5:35pm
4 Skipped Deployments
Project Deployment Review Updated (UTC)
umami-analytics-eu Ignored Ignored Jan 28, 2026 5:35pm
umami-analytics-us Ignored Ignored Jan 28, 2026 5:35pm
umami-mysql Ignored Ignored Jan 28, 2026 5:35pm
umami-postgresql Ignored Ignored Jan 28, 2026 5:35pm

Request Review

@greptile-apps
Copy link
Contributor

greptile-apps bot commented Jan 28, 2026

Greptile Overview

Greptile Summary

Updated tar from 6.2.1 to 7.5.7, a major version upgrade that includes important security fixes and new features.

Key Changes:

Impact Analysis:

  • The tar package is only used in scripts/build-geo.js for extracting GeoLite2 database files
  • The API used (tar.t()) is compatible across versions with no breaking changes
  • Node.js >= 18 requirement is satisfied (CI uses Node 18.18, Docker uses Node 22)
  • Security fixes address potential path traversal vulnerabilities in tar extraction

Compatibility:

  • No code changes required - the upgrade is backward compatible for this codebase's usage
  • The project's Node.js version requirements are compatible with tar v7's minimum requirement

Confidence Score: 4.5/5

  • This PR is safe to merge with minimal risk - it's a straightforward dependency update with security improvements
  • High confidence based on: (1) Limited usage scope - only used in one build script for tar extraction, (2) API compatibility verified - no breaking changes affect the codebase, (3) Node.js version requirements met, (4) Security improvements included. Minor deduction (0.5) because it's a major version bump that hasn't been tested yet in this environment
  • No files require special attention - the changes are isolated to dependency declarations

Important Files Changed

Filename Overview
package.json Updated tar from 6.2.1 to 7.5.7 in devDependencies - major version bump with security fixes
pnpm-lock.yaml Updated lockfile reflects tar v7.5.7 upgrade with new dependencies (chownr@3, minizlib@3, yallist@5)

Sequence Diagram

sequenceDiagram
    participant D as Dependabot
    participant P as package.json
    participant L as pnpm-lock.yaml
    participant B as build-geo.js
    participant T as tar v7.5.7
    
    D->>P: Update tar: ^6.1.2 → ^7.5.7
    D->>L: Update lockfile with new tar version
    L->>L: Update transitive deps (chownr@3, minizlib@3, yallist@5)
    
    Note over B,T: Build time execution
    B->>T: Import tar package
    B->>T: Call tar.t() for extraction
    T-->>B: Stream tar entries
    B->>B: Extract .mmdb files to geo/ directory
    
    Note over P,T: Security improvements in v7.5.7:<br/>- Sanitize hardlink paths<br/>- TOCTOU fixes<br/>- zstd compression support
Loading

Copy link
Contributor

@greptile-apps greptile-apps bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

2 files reviewed, no comments

Edit Code Review Agent Settings | Greptile

@franciscao633 franciscao633 changed the base branch from master to dev January 28, 2026 17:33
@franciscao633
Copy link
Collaborator

upgraded tar myself and closed security advisory

@dependabot @github
Copy link
Contributor Author

dependabot bot commented on behalf of github Jan 28, 2026

OK, I won't notify you again about this release, but will get in touch when a new version is available. If you'd rather skip all updates until the next major or minor version, let me know by commenting @dependabot ignore this major version or @dependabot ignore this minor version.

If you change your mind, just re-open this PR and I'll resolve any conflicts on it.

@dependabot dependabot bot deleted the dependabot/npm_and_yarn/tar-7.5.7 branch January 28, 2026 17:36
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