Socket
Socket
Sign inDemoInstall

fstream

Package Overview
Dependencies
Maintainers
4
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 1.0.10 to 1.0.11

8

lib/reader.js

@@ -24,6 +24,2 @@ module.exports = Reader

if (!props.path) {
self.error('Must provide a path', null, true)
}
// polymorphism.

@@ -89,2 +85,6 @@ // call fstream.Reader(dir) to get a DirReader object, etc.

if (!props.path) {
self.error('Must provide a path', null, true)
}
self.readable = true

@@ -91,0 +91,0 @@ self.writable = false

@@ -33,4 +33,2 @@ module.exports = Writer

if (!props.path) self.error('Must provide a path', null, true)
// polymorphism.

@@ -65,2 +63,4 @@ // call fstream.Writer(dir) to get a DirWriter object, etc.

if (!props.path) self.error('Must provide a path', null, true)
// props is what we want to set.

@@ -67,0 +67,0 @@ // set some convenience properties as well.

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

"description": "Advanced file system stream things",
"version": "1.0.10",
"version": "1.0.11",
"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