Socket
Socket
Sign inDemoInstall

tar

Package Overview
Dependencies
6
Maintainers
4
Versions
126
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 3.1.14 to 3.1.15

9

lib/unpack.js

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

this.umask = process.umask()
// turn ><?| in filenames into 0xf000-higher encoded forms

@@ -89,3 +87,4 @@ this.win32 = !!opt.win32 || process.platform === 'win32'

this.strip = +opt.strip || 0
this.umask = typeof opt.umask === 'number' ? opt.umask : process.umask()
this.processUmask = process.umask()
this.umask = typeof opt.umask === 'number' ? opt.umask : this.processUmask
// default mode for dirs created as parents

@@ -179,3 +178,3 @@ this.dmode = opt.dmode || (0o0777 & (~this.umask))

mkdir(dir, {
umask: this.umask,
umask: this.processUmask,
preserve: this.preservePaths,

@@ -411,3 +410,3 @@ unlink: this.unlink,

return mkdir.sync(dir, {
umask: this.umask,
umask: this.processUmask,
preserve: this.preservePaths,

@@ -414,0 +413,0 @@ unlink: this.unlink,

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

"description": "tar for node",
"version": "3.1.14",
"version": "3.1.15",
"repository": {

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

SocketSocket SOC 2 Logo

Product

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

Packages

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc