Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

tar

Package Overview
Dependencies
Maintainers
7
Versions
129
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 6.1.7 to 6.1.8

5

lib/path-reservations.js

@@ -11,2 +11,3 @@ // A path exclusive reservation system

const normPath = require('./normalize-windows-path.js')
const { join } = require('path')

@@ -23,5 +24,4 @@ module.exports = () => {

// return a set of parent dirs for a given path
const { join } = require('path')
const getDirs = path =>
normPath(join(path)).split('/').slice(0, -1).reduce((set, path) =>
path.split('/').slice(0, -1).reduce((set, path) =>
set.length ? set.concat(normPath(join(set[set.length - 1], path)))

@@ -104,2 +104,3 @@ : [path], [])

const reserve = (paths, fn) => {
paths = paths.map(p => normPath(join(p)).toLowerCase())
const dirs = new Set(

@@ -106,0 +107,0 @@ paths.map(path => getDirs(path)).reduce((a, b) => a.concat(b))

2

lib/unpack.js

@@ -223,2 +223,4 @@ 'use strict'

entry.linkpath = linkparts.slice(this.strip).join('/')
else
return false
}

@@ -225,0 +227,0 @@ }

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

"description": "tar for node",
"version": "6.1.7",
"version": "6.1.8",
"repository": {

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

SocketSocket SOC 2 Logo

Product

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

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc