Comparing version 3.0.2 to 3.1.0
@@ -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/). |
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
10042