Skip to content

fs.writeable has changed to fs.writable as of node v0.3.5 #8

@jtsao22

Description

@jtsao22

Hey Dallin,

I just wanted to let you know that in node v0.3.5 and later the streams now use the stream.writable boolean instead of the stream.writeable boolean (http://nodejs.org/docs/v0.3.5/api/streams.html#stream.writable).

Thus in s3.js @ line 308:

    if(!fileStream.writeable){

should be changed to:

    if(!fileStream.writable){

This should not be changed on versions of node before v0.3.5, so maybe there's a better way? Perhaps there's a way to check for the node version?

Thanks for the module btw.

Jason

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions