Socket
Socket
Sign inDemoInstall

tar

Package Overview
Dependencies
27
Maintainers
6
Versions
123
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 7.0.0 to 7.0.1

9

dist/commonjs/header.js

@@ -80,6 +80,7 @@ "use strict";

// See https://github.com/npm/node-tar/pull/187
// Apply global before local, so it overrides
if (gex)
this.#slurp(gex, true);
if (ex)
this.#slurp(ex);
if (gex)
this.#slurp(gex, true);
// old tar versions marked dirs as a file with a trailing /

@@ -143,3 +144,5 @@ const t = decString(buf, off + 156, 1);

v === undefined ||
(k === 'path' && gex));
(k === 'path' && gex) ||
(k === 'linkpath' && gex) ||
(k === 'global'));
})));

@@ -146,0 +149,0 @@ }

@@ -54,6 +54,7 @@ // parse a 512-byte header block to a data object, or vice-versa

// See https://github.com/npm/node-tar/pull/187
// Apply global before local, so it overrides
if (gex)
this.#slurp(gex, true);
if (ex)
this.#slurp(ex);
if (gex)
this.#slurp(gex, true);
// old tar versions marked dirs as a file with a trailing /

@@ -117,3 +118,5 @@ const t = decString(buf, off + 156, 1);

v === undefined ||
(k === 'path' && gex));
(k === 'path' && gex) ||
(k === 'linkpath' && gex) ||
(k === 'global'));
})));

@@ -120,0 +123,0 @@ }

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

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

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc