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

git-node-fs

Package Overview
Dependencies
Maintainers
1
Versions
4
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

git-node-fs - npm Package Compare versions

Comparing version 0.0.2 to 0.1.0

14

lib/node-fs.js

@@ -139,6 +139,11 @@ "use strict";

if (err) {
if (err.code === "ENOENT") return mkdirp(dirname(path), function (err) {
if (err) return callback(err);
nodeFs.mkdir(path, callback);
});
if (err.code === "ENOENT") {
return mkdirp(nodePath.dirname(path), function (err) {
if (err) return callback(err);
nodeFs.mkdir(path, function (err) {
if (err && err.code !== "EEXIST") return callback(err);
callback();
});
});
}
if (err.code === "EEXIST") return callback();

@@ -150,2 +155,1 @@ return callback(err);

}

@@ -8,3 +8,3 @@ {

],
"version": "0.0.2",
"version": "0.1.0",
"main": "lib/node-fs.js",

@@ -11,0 +11,0 @@ "scripts": {

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