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

mkdirp

Package Overview
Dependencies
Maintainers
0
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.0.2 to 0.0.3

2

index.js

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

var cb = f || function () {};
if (p.charAt(0) != '/') { cb('Relative path: ' + p); return }
if (p.charAt(0) != '/') { cb(new Error('Relative path: ' + p)); return }

@@ -9,0 +9,0 @@ var ps = path.normalize(p).split('/');

{
"name" : "mkdirp",
"description" : "Recursively mkdir, like `mkdir -p`",
"version" : "0.0.2",
"version" : "0.0.3",
"author" : "James Halliday <mail@substack.net> (http://substack.net)",

@@ -15,4 +15,10 @@ "main" : "./index",

},
"scripts" : {
"test" : "expresso"
},
"devDependencies" : {
"expresso" : "0.7.x"
},
"license" : "MIT/X11",
"engines": { "node": "*" }
}

@@ -1,6 +0,7 @@

var mkdirp = require('mkdirp').mkdirp;
var assert = require('assert');
var mkdirp = require('../').mkdirp;
var path = require('path');
var fs = require('fs');
exports.woo = function (assert) {
exports.woo = function () {
var x = Math.floor(Math.random() * Math.pow(16,4)).toString(16);

@@ -7,0 +8,0 @@ var y = Math.floor(Math.random() * Math.pow(16,4)).toString(16);

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