Socket
Socket
Sign inDemoInstall

fstream

Package Overview
Dependencies
Maintainers
1
Versions
46
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

fstream - npm Package Compare versions

Comparing version 0.1.7 to 0.1.8

lib/socket-reader.js

12

lib/dir-reader.js

@@ -118,4 +118,12 @@ // A thing that emits "entry" events with Reader objects

me.emit("entry", entry)
me.emit("child", entry)
// skip over sockets. they can't be piped around properly,
// so there's really no sense even acknowledging them.
// if someone really wants to see them, they can listen to
// the "socket" events.
if (entry.type === "Socket") {
me.emit("socket", entry)
} else {
me.emit("entry", entry)
me.emit("child", entry)
}
})

@@ -122,0 +130,0 @@

2

lib/reader.js

@@ -233,4 +233,4 @@

Reader.prototype._read = function () {
this.warn("Cannot read unknown type: "+this.type)
this.error("Cannot read unknown type: "+this.type)
}

@@ -5,3 +5,3 @@ {

"description": "Advanced file system stream things",
"version": "0.1.7",
"version": "0.1.8",
"repository": {

@@ -8,0 +8,0 @@ "type": "git",

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