Comparing version 1.1.3 to 1.1.5
@@ -9,2 +9,4 @@ /*jshint node:true es5:true strict:true laxcomma:true laxbreak:true*/ | ||
function noop() {} | ||
function copy(src, dst, cb) { | ||
@@ -38,2 +40,3 @@ function copyHelper(err) { | ||
cb = cb || noop; | ||
fs.stat(dst, copyHelper); | ||
@@ -40,0 +43,0 @@ } |
@@ -10,2 +10,4 @@ /*jshint node:true es5:true strict:true laxcomma:true laxbreak:true*/ | ||
function noop() {} | ||
function move(src, dst, cb) { | ||
@@ -27,2 +29,3 @@ function copyIfFailed(err) { | ||
cb = cb || noop; | ||
fs.stat(dst, function (err) { | ||
@@ -29,0 +32,0 @@ if (!err) { |
@@ -5,3 +5,3 @@ { | ||
"description": "fs.move and fs.copy for Node.JS", | ||
"version": "1.1.3", | ||
"version": "1.1.5", | ||
"repository": { | ||
@@ -8,0 +8,0 @@ "type": "git", |
@@ -37,3 +37,3 @@ fs.extra | ||
fs.mkdirp | ||
fs.mkdirRecursive | ||
=== | ||
@@ -53,3 +53,3 @@ | ||
fs.mkdirpSync | ||
fs.mkdirRecursiveSync | ||
=== | ||
@@ -80,3 +80,3 @@ | ||
fs.rmrf | ||
fs.rmRecursive | ||
=== | ||
@@ -96,3 +96,3 @@ | ||
fs.rmrfSync | ||
fs.rmRecursiveSync | ||
=== | ||
@@ -124,6 +124,6 @@ | ||
Aliases | ||
Aliases and Backwards Compatibility | ||
=== | ||
For the sake of consistency you can call the recursive functions with their names as such | ||
For the sake of backwards compatability, you can call the recursive functions with their names as such | ||
@@ -130,0 +130,0 @@ fs.rmRecursive <- fs.rmrf |
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
Non-existent author
Supply chain riskThe package was published by an npm account that no longer exists.
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
9196
216
1