Skip to content

Conversation

@dependabot
Copy link
Contributor

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

Bumps tar from 6.1.15 to 7.5.3.

Changelog

Sourced from tar's changelog.

Changelog

7.5

  • Added zstd compression support.

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.

6.2

  • Add support for brotli compression
  • Add maxDepth option to prevent extraction into excessively deep folders.

... (truncated)

Commits

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.

Greptile Summary

Bumped tar from 6.1.15 to 7.5.3, a major version upgrade with breaking changes. The project already meets the Node.js >=18 requirement specified in .nvmrc (18.17.0) and package.json engines field.

Key changes:

  • Updated tar and its dependencies (chownr, minizlib, @isaacs/fs-minipass, minipass, yallist)
  • Removed obsolete peer dependencies (node-notifier, growly, shellwords, mkdirp)
  • Tar v7 breaking changes include: TypeScript rewrite with ESM/CommonJS hybrid, Node.js >=18 requirement, and chmod option defaulting to false

Code compatibility:
The codebase uses tar.extract() in native/utils/clear-platform.js:299 for decompressing boost libraries. The usage pattern (streaming with .on('entry') event listener) remains compatible with tar v7. The deprecated onentry option was a callback-based API, not the stream event listener used in this codebase.

Confidence Score: 4/5

  • This PR is safe to merge with low risk
  • The dependency update from tar 6 to 7 is a major version bump but compatibility is maintained. The Node.js version requirement (>=18) is already satisfied by the project's configuration. The tar API usage in the codebase (streaming extraction with event listeners) remains compatible with v7. The chmod default change shouldn't affect the existing usage since no explicit permissions are set in the tar.extract() call.
  • Check that native/utils/clear-platform.js still works correctly after the upgrade, particularly the boost decompression functionality

Important Files Changed

Filename Overview
package.json Bumped tar dependency from ^6.1.15 to ^7.5.3, requires checking compatibility
package-lock.json Updated tar and its dependencies (chownr, minizlib, fs-minipass), removed obsolete dependencies

Sequence Diagram

sequenceDiagram
    participant Dependabot
    participant PackageJSON as package.json
    participant PackageLock as package-lock.json
    participant NPM as NPM Registry
    participant TarV6 as [email protected]
    participant TarV7 as [email protected]
    participant Dependencies as Updated Dependencies

    Dependabot->>PackageJSON: Update tar version from ^6.1.15 to ^7.5.3
    Dependabot->>PackageLock: Resolve dependency tree
    PackageLock->>NPM: Fetch [email protected]
    NPM->>TarV7: Return tar v7.5.3
    TarV7->>Dependencies: Require @isaacs/fs-minipass@^4.0.0
    TarV7->>Dependencies: Require chownr@^3.0.0
    TarV7->>Dependencies: Require minipass@^7.1.2
    TarV7->>Dependencies: Require minizlib@^3.1.0
    TarV7->>Dependencies: Require yallist@^5.0.0
    PackageLock->>Dependencies: Remove obsolete deps (mkdirp, node-notifier, etc.)
    Dependencies-->>PackageLock: Updated dependency tree
    Note over TarV6,TarV7: Breaking changes: Node >=18, chmod default change, TypeScript rewrite
Loading

Bumps [tar](https://github.com/isaacs/node-tar) from 6.1.15 to 7.5.3.
- [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.1.15...v7.5.3)

---
updated-dependencies:
- dependency-name: tar
  dependency-version: 7.5.3
  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 17, 2026
@github-actions
Copy link

Code Size Check Report

Wechat (WASM) Before After Diff
2D Empty (legacy pipeline) 1009738 bytes 1009738 bytes ✅ 0 bytes
2D All (legacy pipeline) 2675347 bytes 2675347 bytes ✅ 0 bytes
2D All (new pipeline) 2767083 bytes 2767083 bytes ✅ 0 bytes
(2D + 3D) All 10024081 bytes 10024081 bytes ✅ 0 bytes
Web (WASM + ASMJS) Before After Diff
(2D + 3D) All 16843143 bytes 16843143 bytes ✅ 0 bytes

Interface Check Report

This pull request does not change any public interfaces !

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