fs-extra-tf
Advanced tools
Comparing version 0.30.2 to 0.30.3
var rimraf = require('rimraf') | ||
function removeSync (dir) { | ||
return rimraf.sync(dir) | ||
return rimraf.sync(dir, {disableGlob: true}) | ||
} | ||
function remove (dir, callback) { | ||
return callback ? rimraf(dir, callback) : rimraf(dir, function () {}) | ||
var options = {disableGlob: true} | ||
return callback ? rimraf(dir, options, callback) : rimraf(dir, options, function () {}) | ||
} | ||
@@ -10,0 +11,0 @@ |
{ | ||
"name": "fs-extra-tf", | ||
"version": "0.30.2", | ||
"version": "0.30.3", | ||
"description": "fs-extra contains methods that aren't included in the vanilla Node.js fs package. Such as mkdir -p, cp -r, and rm -rf.", | ||
@@ -36,17 +36,17 @@ "homepage": "https://github.com/jprichardson/node-fs-extra", | ||
"dependencies": { | ||
"graceful-fs": "^4.1.6", | ||
"jsonfile": "^2.3.1", | ||
"graceful-fs": "^4.1.9", | ||
"jsonfile": "^2.4.0", | ||
"klaw": "^1.3.0", | ||
"path-is-absolute": "^1.0.0", | ||
"path-is-absolute": "^1.0.1", | ||
"rimraf": "^2.5.4" | ||
}, | ||
"devDependencies": { | ||
"coveralls": "^2.11.12", | ||
"coveralls": "^2.11.14", | ||
"istanbul": "^0.4.5", | ||
"minimist": "^1.2.0", | ||
"mocha": "^3.0.2", | ||
"mocha": "^3.1.0", | ||
"read-dir-files": "^0.1.1", | ||
"secure-random": "^1.1.1", | ||
"semver": "^5.3.0", | ||
"standard": "^8.0.0" | ||
"standard": "^8.3.0" | ||
}, | ||
@@ -53,0 +53,0 @@ "main": "./lib/index", |
@@ -129,4 +129,4 @@ Node.js: fs-extra | ||
Options: | ||
- clobber (boolean): overwrite existing file or directory | ||
- dereference (boolean): dereference symlinks | ||
- clobber (boolean): overwrite existing file or directory, default is `true`. | ||
- dereference (boolean): dereference symlinks, default is `false`. | ||
- preserveTimestamps (boolean): will set last modification and access times to the ones of the original source files, default is `false`. | ||
@@ -133,0 +133,0 @@ - filter: Function or RegExp to filter copied files. If function, return true to include, false to exclude. If RegExp, same as function, where `filter` is `filter.test`. |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
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
118996
1117
Updatedgraceful-fs@^4.1.9
Updatedjsonfile@^2.4.0
Updatedpath-is-absolute@^1.0.1