You're Invited:Meet the Socket Team at RSAC and BSidesSF 2026, March 23–26.RSVP
Socket
Book a DemoSign in
Socket

tar

Package Overview
Dependencies
Maintainers
1
Versions
143
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

tar - npm Package Compare versions

Comparing version
7.5.5
to
7.5.6
+1
-0
dist/commonjs/pack.d.ts

@@ -41,2 +41,3 @@ import { type Stats } from 'fs';

export declare class Pack extends Minipass<Buffer, ReadEntry | string, WarnEvent<Buffer>> implements Warner {
sync: boolean;
opt: TarOptions;

@@ -43,0 +44,0 @@ cwd: string;

@@ -94,2 +94,3 @@ "use strict";

class Pack extends minipass_1.Minipass {
sync = false;
opt;

@@ -283,2 +284,13 @@ cwd;

}
else if (stat.isFile() &&
stat.nlink > 1 &&
job === this[CURRENT] &&
!this.linkCache.get(`${stat.dev}:${stat.ino}`) &&
!this.sync) {
// if it's not filtered, and it's a new File entry,
// jump the queue in case any pending Link entries are about
// to try to link to it. This prevents a hardlink from coming ahead
// of its target in the archive.
this[PROCESSJOB](job);
}
this[PROCESS]();

@@ -285,0 +297,0 @@ }

@@ -41,2 +41,3 @@ import { type Stats } from 'fs';

export declare class Pack extends Minipass<Buffer, ReadEntry | string, WarnEvent<Buffer>> implements Warner {
sync: boolean;
opt: TarOptions;

@@ -43,0 +44,0 @@ cwd: string;

@@ -54,2 +54,3 @@ // A readable tar stream creator

export class Pack extends Minipass {
sync = false;
opt;

@@ -243,2 +244,13 @@ cwd;

}
else if (stat.isFile() &&
stat.nlink > 1 &&
job === this[CURRENT] &&
!this.linkCache.get(`${stat.dev}:${stat.ino}`) &&
!this.sync) {
// if it's not filtered, and it's a new File entry,
// jump the queue in case any pending Link entries are about
// to try to link to it. This prevents a hardlink from coming ahead
// of its target in the archive.
this[PROCESSJOB](job);
}
this[PROCESS]();

@@ -245,0 +257,0 @@ }

+1
-1

@@ -5,3 +5,3 @@ {

"description": "tar for node",
"version": "7.5.5",
"version": "7.5.6",
"repository": {

@@ -8,0 +8,0 @@ "type": "git",

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet