Skip to content

Conversation

@GazHank
Copy link
Contributor

@GazHank GazHank commented Jun 27, 2023

Fix per #2566

This matches the definition of _write definition for Duplex streams

Signed-off-by: Gareth Hancock 64541249+GazHank@users.noreply.github.com

Signed-off-by: Gareth Hancock <64541249+GazHank@users.noreply.github.com>
@GazHank GazHank added the bug label Jun 27, 2023
@GazHank GazHank marked this pull request as ready for review June 27, 2023 14:35
@GazHank
Copy link
Contributor Author

GazHank commented Jul 22, 2023

Hmm, do we need to look at changing the _writev function too?

this._write(Buffer.concat(dataV), undefined, callback)

@reconbot
Copy link
Member

I'm suspect that this is the correct type as nodejs used to pass undefined there all the time. Curious how that's been upgraded for older libraries and packages. Whatever type changes make us look like a stream are fine by me.

@pierreroth64
Copy link

Any news on this one?

@reconbot reconbot merged commit d67e254 into serialport:main Dec 23, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Development

Successfully merging this pull request may close these issues.

3 participants