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.6
to
7.5.7
+2
-1
dist/commonjs/unpack.js

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

const p = entry[field];
const { type } = entry;
if (!p || this.preservePaths)

@@ -268,3 +269,3 @@ return true;

// For paths, they just simply may not ever use .. at all.
if (field === 'path') {
if (field === 'path' || type === 'Link') {
this.warn('TAR_ENTRY_ERROR', `${field} contains '..'`, {

@@ -271,0 +272,0 @@ entry,

@@ -218,2 +218,3 @@ // the PEND/UNPEND stuff tracks whether we're ready to emit end/close yet.

const p = entry[field];
const { type } = entry;
if (!p || this.preservePaths)

@@ -229,3 +230,3 @@ return true;

// For paths, they just simply may not ever use .. at all.
if (field === 'path') {
if (field === 'path' || type === 'Link') {
this.warn('TAR_ENTRY_ERROR', `${field} contains '..'`, {

@@ -232,0 +233,0 @@ entry,

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

"description": "tar for node",
"version": "7.5.6",
"version": "7.5.7",
"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