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

tar-fs

Package Overview
Dependencies
Maintainers
2
Versions
62
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

tar-fs - npm Package Compare versions

Comparing version 1.14.0 to 1.15.0

7

index.js

@@ -70,2 +70,3 @@ var tar = require('tar-stream')

var strict = opts.strict !== false
var umask = typeof opts.umask === 'number' ? ~opts.umask : ~processUmask()
var dmode = typeof opts.dmode === 'number' ? opts.dmode : 0

@@ -102,3 +103,3 @@ var fmode = typeof opts.fmode === 'number' ? opts.fmode : 0

name: normalize(filename),
mode: stat.mode | (stat.isDirectory() ? dmode : fmode),
mode: (stat.mode | (stat.isDirectory() ? dmode : fmode)) & umask,
mtime: stat.mtime,

@@ -221,3 +222,5 @@ size: stat.size,

if (!chmod) return cb()
chmod(name, (header.mode | (header.type === 'directory' ? dmode : fmode)) & umask, function (err) {
var mode = (header.mode | (header.type === 'directory' ? dmode : fmode)) & umask
chmod(name, mode, function (err) {
if (err) return cb(err)

@@ -224,0 +227,0 @@ if (!own) return cb()

{
"name": "tar-fs",
"version": "1.14.0",
"version": "1.15.0",
"description": "filesystem bindings for tar-stream",

@@ -5,0 +5,0 @@ "dependencies": {

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