decompress
Advanced tools
Comparing version 4.1.0 to 4.2.0
@@ -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 | ||
} | ||
} |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
New author
Supply chain riskA new npm collaborator published a version of the package for the first time. New collaborators are usually benign additions to a project, but do indicate a change to the security surface area of a package.
Found 1 instance in 1 package
0
5995
+ Addedmake-dir@^1.0.0
+ Addedmake-dir@1.3.0(transitive)
+ Addedpify@3.0.0(transitive)
- Removedmkdirp@^0.5.1
- Removedminimist@1.2.8(transitive)
- Removedmkdirp@0.5.6(transitive)