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.2 to 3.1.0

2

index.d.ts

@@ -9,3 +9,3 @@ /// <reference types="node"/>

@default 0o777 & (~process.umask())
@default 0o777
*/

@@ -12,0 +12,0 @@ readonly mode?: number;

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

const defaults = {
mode: 0o777 & (~process.umask()),
mode: 0o777,
fs

@@ -29,0 +29,0 @@ };

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

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

@@ -13,3 +13,3 @@ # make-dir [![Build Status](https://travis-ci.org/sindresorhus/make-dir.svg?branch=master)](https://travis-ci.org/sindresorhus/make-dir) [![codecov](https://codecov.io/gh/sindresorhus/make-dir/branch/master/graph/badge.svg)](https://codecov.io/gh/sindresorhus/make-dir)

- Doesn't bundle a CLI
- Uses native the `fs.mkdir/mkdirSync` [`recursive` option](https://nodejs.org/dist/latest/docs/api/fs.html#fs_fs_mkdir_path_options_callback) in Node.js >=10.12.0 unless [overridden](#fs)
- Uses the native `fs.mkdir/mkdirSync` [`recursive` option](https://nodejs.org/dist/latest/docs/api/fs.html#fs_fs_mkdir_path_options_callback) in Node.js >=10.12.0 unless [overridden](#fs)

@@ -94,3 +94,3 @@ ## Install

Type: `integer`\
Default: `0o777 & (~process.umask())`
Default: `0o777`

@@ -97,0 +97,0 @@ Directory [permissions](https://x-team.com/blog/file-system-permissions-umask-node-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