Comparing version 0.3.0 to 0.4.0
@@ -185,8 +185,5 @@ (function() { | ||
}, | ||
readSync: function(filePath) { | ||
return fs.readFileSync(filePath, 'utf8'); | ||
}, | ||
writeSync: function(filePath, content) { | ||
writeFileSync: function(filePath, content, options) { | ||
mkdirp.sync(path.dirname(filePath)); | ||
return fs.writeFileSync(filePath, content); | ||
return fs.writeFileSync(filePath, content, options); | ||
}, | ||
@@ -193,0 +190,0 @@ write: function(filePath, content, callback) { |
{ | ||
"name": "fs-plus", | ||
"version": "0.3.0", | ||
"version": "0.4.0", | ||
"description": "node's fs with more helpers", | ||
@@ -5,0 +5,0 @@ "main": "./lib/fs-plus.js", |
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
16841
446