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

fs-plus

Package Overview
Dependencies
Maintainers
1
Versions
51
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

fs-plus - npm Package Compare versions

Comparing version 0.3.0 to 0.4.0

7

lib/fs-plus.js

@@ -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",

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