Socket
Socket
Sign inDemoInstall

make-dir

Package Overview
Dependencies
2
Maintainers
1
Versions
11
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 2.0.0 to 2.1.0

index.d.ts

5

index.js

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

module.exports = (input, options) => Promise.resolve().then(() => {
const makeDir = (input, options) => Promise.resolve().then(() => {
checkPath(input);

@@ -88,2 +88,5 @@ options = Object.assign({}, defaults, options);

module.exports = makeDir;
module.exports.default = makeDir;
module.exports.sync = (input, options) => {

@@ -90,0 +93,0 @@ checkPath(input);

10

package.json
{
"name": "make-dir",
"version": "2.0.0",
"version": "2.1.0",
"description": "Make a directory and its parents if needed - Think `mkdir -p`",

@@ -16,6 +16,7 @@ "license": "MIT",

"scripts": {
"test": "xo && nyc ava"
"test": "xo && nyc ava && tsd-check"
},
"files": [
"index.js"
"index.js",
"index.d.ts"
],

@@ -48,2 +49,4 @@ "keywords": [

"devDependencies": {
"@types/graceful-fs": "^4.1.3",
"@types/node": "^11.10.4",
"ava": "^1.2.0",

@@ -55,4 +58,5 @@ "codecov": "^3.0.0",

"tempy": "^0.2.1",
"tsd-check": "^0.3.0",
"xo": "^0.24.0"
}
}
SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc