Socket
Socket
Sign inDemoInstall

rw

Package Overview
Dependencies
0
Maintainers
1
Versions
19
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 0.1.3 to 0.1.4

6

lib/rw/reader.js

@@ -28,3 +28,7 @@ module.exports = function(open, read, close) {

open(function(newError, newChannel) {
error = newError;
if (error = newError) {
var callback = fillCallback;
fillCallback = null;
return void callback(error);
}
channel = newChannel;

@@ -31,0 +35,0 @@ fill(fillCallback);

@@ -38,3 +38,7 @@ module.exports = function(open, write, close) {

open(function(newError, newChannel) {
error = newError;
if (error = newError) {
var callback = drainCallback;
drainCallback = null;
return void callback(error);
}
channel = newChannel;

@@ -41,0 +45,0 @@ drain(drainCallback);

2

package.json
{
"name": "rw",
"version": "0.1.3",
"version": "0.1.4",
"description": "Wrappers of fs.{read,write}File that work for /dev/std{in,out}.",

@@ -5,0 +5,0 @@ "keywords": [

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc