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 3.0.4 to 3.0.5

5

index.js
const tar = require('tar-stream')
const pump = require('pump')
const mkdirp = require('mkdirp-classic')
const fs = require('fs')
const path = require('path')
const win32 = process.platform === 'win32'
const win32 = (global.Bare?.platform || process.platform) === 'win32'

@@ -301,3 +300,3 @@ exports.pack = function pack (cwd, opts) {

if (err.code !== 'ENOENT') return cb(err)
mkdirp(name, { fs: opts.fs, mode: opts.mode }, function (err, made) {
xfs.mkdir(name, { mode: opts.mode, recursive: true }, function (err, made) {
if (err) return cb(err)

@@ -304,0 +303,0 @@ chperm(name, opts, cb)

17

package.json
{
"name": "tar-fs",
"version": "3.0.4",
"version": "3.0.5",
"description": "filesystem bindings for tar-stream",
"dependencies": {
"mkdirp-classic": "^0.5.2",
"pump": "^3.0.0",
"tar-stream": "^3.1.5"
},
"optionalDependencies": {
"bare-fs": "^2.1.1",
"bare-path": "^2.1.0"
},
"imports": {
"fs": {
"bare": "bare-fs",
"default": "fs"
},
"path": {
"bare": "bare-path",
"default": "path"
}
},
"files": [

@@ -11,0 +24,0 @@ "index.js"

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