---
title: "tar Breaking Changes on npm | Since.dev"
description: "What each tar release removed, renamed or changed: 29 breaking changes in 2 versions on npm, each with its source."
canonical_url: https://since.dev/packages/npm/tar
last_updated: 2026-03-20
---

# tar breaking changes

Every breaking API change we have recorded in tar on npm: 29 breaking changes in 2 versions. Below are its newest 2 versions, removals and renames first, each with its source.

Newest change March 20, 2026

## 7.5.12

28 breaking changes, first published March 20, 2026.

- **Signature changed** `TarOptionsWithAliases.onentry`  

Was onentry?: (entry: ReadEntry) => any; now onentry?: (entry: ReadEntry) => unknown. [npmjs.com](https://www.npmjs.com/package/tar/v/7.5.12)
- **Signature changed** `TarOptionsWithAliases.onReadEntry`  

Was onReadEntry?: (entry: ReadEntry) => any; now onReadEntry?: (entry: ReadEntry) => unknown. [npmjs.com](https://www.npmjs.com/package/tar/v/7.5.12)
- **Signature changed** `TarOptionsWithAliases.onwarn`  

Was onwarn?: (code: string, message: string, data: WarnData) => any; now onwarn?: (code: string, message: string, data: WarnData) => unknown. [npmjs.com](https://www.npmjs.com/package/tar/v/7.5.12)
- **Signature changed** `TarOptionsWithAliases.onWriteEntry`  

Was onWriteEntry?: (entry: WriteEntry) => any; now onWriteEntry?: (entry: WriteEntry) => unknown. [npmjs.com](https://www.npmjs.com/package/tar/v/7.5.12)
- **Signature changed** `TarOptionsWithAliases.transform`  

Was transform?: (entry: ReadEntry) => any; now transform?: (entry: ReadEntry) => ReadEntry. [npmjs.com](https://www.npmjs.com/package/tar/v/7.5.12)
- **Signature changed** `TarOptionsWithAliasesAsync.onentry`  

Was onentry?: (entry: ReadEntry) => any; now onentry?: (entry: ReadEntry) => unknown. [npmjs.com](https://www.npmjs.com/package/tar/v/7.5.12)
- **Signature changed** `TarOptionsWithAliasesAsync.onReadEntry`  

Was onReadEntry?: (entry: ReadEntry) => any; now onReadEntry?: (entry: ReadEntry) => unknown. [npmjs.com](https://www.npmjs.com/package/tar/v/7.5.12)
- **Signature changed** `TarOptionsWithAliasesAsync.onwarn`  

Was onwarn?: (code: string, message: string, data: WarnData) => any; now onwarn?: (code: string, message: string, data: WarnData) => unknown. [npmjs.com](https://www.npmjs.com/package/tar/v/7.5.12)
- **Signature changed** `TarOptionsWithAliasesAsync.onWriteEntry`  

Was onWriteEntry?: (entry: WriteEntry) => any; now onWriteEntry?: (entry: WriteEntry) => unknown. [npmjs.com](https://www.npmjs.com/package/tar/v/7.5.12)
- **Signature changed** `TarOptionsWithAliasesAsync.transform`  

Was transform?: (entry: ReadEntry) => any; now transform?: (entry: ReadEntry) => ReadEntry. [npmjs.com](https://www.npmjs.com/package/tar/v/7.5.12)

And 18 more in this version.

## 7.5.3

1 breaking change, first published January 16, 2026.

- **Signature changed** `Pax.encode`  

Was encode(): Buffer; now encode(): Buffer<ArrayBuffer>. [npmjs.com](https://www.npmjs.com/package/tar/v/7.5.3)

## Check your code

These are the changes. To see which of them reach your code, [scan a public repository](https://since.dev/scan.md), or have your coding agent call `check_code` with your manifest or lockfile over [MCP](https://since.dev/docs.md#mcp). [The API](https://since.dev/docs.md#api) reads every change in every version, not only the newest. On Team and up, a fix pull request opens for the changes that reach a connected repository. Nothing merges or deploys.

## Put your code on continuous management.

Scan a public repository now, or give your agent one line.

### See how out of date your code is.

[Scan a repository](https://since.dev/scan.md). Any public GitHub repository. No sign-in.

### Tell your agent what changed since it was trained.

`claude mcp add --transport http since https://api.since.dev/mcp`

---

Every page on this site as Markdown: https://since.dev/sitemap.md. For agents: https://since.dev/llms.txt.
