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

make-dir

Package Overview
Dependencies
Maintainers
1
Versions
12
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

make-dir - npm Package Compare versions

Comparing version 3.0.1 to 3.0.2

8

index.js

@@ -89,4 +89,8 @@ 'use strict';

const stats = await stat(pth);
if (!stats.isDirectory()) {
try {
const stats = await stat(pth);
if (!stats.isDirectory()) {
throw new Error('The path is not a directory');
}
} catch (_) {
throw error;

@@ -93,0 +97,0 @@ }

{
"name": "make-dir",
"version": "3.0.1",
"version": "3.0.2",
"description": "Make a directory and its parents if needed - Think `mkdir -p`",

@@ -5,0 +5,0 @@ "license": "MIT",

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