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

mem-fs-editor

Package Overview
Dependencies
Maintainers
1
Versions
54
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

mem-fs-editor - npm Package Compare versions

Comparing version 2.0.1 to 2.0.2

7

actions/read.js

@@ -10,3 +10,8 @@ 'use strict';

if (file.state === 'deleted' || file.contents === null) {
file.contents = options.defaults ? new Buffer(options.defaults) : null;
if (typeof options.defaults === 'string' || options.defaults instanceof Buffer) {
file.contents = new Buffer(options.defaults);
}
else {
file.contents = null;
}
}

@@ -13,0 +18,0 @@

6

package.json
{
"name": "mem-fs-editor",
"version": "2.0.1",
"version": "2.0.2",
"description": "File edition helpers working on top of mem-fs",

@@ -26,4 +26,4 @@ "scripts": {

"sinon": "^1.12.2",
"through2": "^0.6.3",
"vinyl": "^0.4.3"
"through2": "^2.0.0",
"vinyl": "^0.5.0"
},

@@ -30,0 +30,0 @@ "devDependencies": {

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