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

mkdirp

Package Overview
Dependencies
Maintainers
1
Versions
42
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

mkdirp - npm Package Compare versions

Comparing version 0.5.5 to 0.5.6

7

index.js

@@ -24,3 +24,3 @@ var path = require('path');

var cb = f || function () {};
var cb = f || /* istanbul ignore next */ function () {};
p = path.resolve(p);

@@ -35,4 +35,6 @@

case 'ENOENT':
/* istanbul ignore if */
if (path.dirname(p) === p) return cb(er);
mkdirP(path.dirname(p), opts, function (er, made) {
/* istanbul ignore if */
if (er) cb(er, made);

@@ -92,5 +94,6 @@ else mkdirP(p, opts, cb, made);

}
catch (err1) {
catch (err1) /* istanbul ignore next */ {
throw err0;
}
/* istanbul ignore if */
if (!stat.isDirectory()) throw err0;

@@ -97,0 +100,0 @@ break;

{
"name": "mkdirp",
"description": "Recursively mkdir, like `mkdir -p`",
"version": "0.5.5",
"version": "0.5.6",
"publishConfig": {

@@ -22,7 +22,6 @@ "tag": "legacy"

"dependencies": {
"minimist": "^1.2.5"
"minimist": "^1.2.6"
},
"devDependencies": {
"mock-fs": "^3.7.0",
"tap": "^5.4.2"
"tap": "^16.0.1"
},

@@ -29,0 +28,0 @@ "bin": "bin/cmd.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