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

decompress

Package Overview
Dependencies
Maintainers
3
Versions
41
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

decompress - npm Package Compare versions

Comparing version 4.1.0 to 4.2.0

6

index.js

@@ -8,3 +8,3 @@ 'use strict';

const decompressUnzip = require('decompress-unzip');
const mkdirp = require('mkdirp');
const makeDir = require('make-dir');
const pify = require('pify');

@@ -51,3 +51,3 @@ const stripDirs = require('strip-dirs');

if (x.type === 'directory') {
return pify(mkdirp)(dest)
return makeDir(dest)
.then(() => fsP.utimes(dest, now, x.mtime))

@@ -57,3 +57,3 @@ .then(() => x);

return pify(mkdirp)(path.dirname(dest))
return makeDir(path.dirname(dest))
.then(() => {

@@ -60,0 +60,0 @@ if (x.type === 'link') {

{
"name": "decompress",
"version": "4.1.0",
"version": "4.2.0",
"description": "Extracting archives made easy",

@@ -10,3 +10,3 @@ "license": "MIT",

"email": "kevinmartensson@gmail.com",
"url": "https://github.com/kevva"
"url": "github.com/kevva"
},

@@ -39,3 +39,3 @@ "engines": {

"graceful-fs": "^4.1.10",
"mkdirp": "^0.5.1",
"make-dir": "^1.0.0",
"pify": "^2.3.0",

@@ -50,6 +50,3 @@ "strip-dirs": "^2.0.0"

"xo": "*"
},
"xo": {
"esnext": true
}
}
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