Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: let OutgoingMessage implement BufferList interface #326

Merged
merged 1 commit into from Jan 24, 2022

Conversation

JKRhb
Copy link
Member

@JKRhb JKRhb commented Jan 23, 2022

This PR lets the OutgoingMessage transitively implement the Duplex interface from the readable-stream module by adding an implementation of the BufferList interface. This fixes compatibility issues with Node.js stream functions (and incorporates a recent update of the respective types module).

This PR is related to this issue in the node-wot repository.

The PR does not change any functionality, therefore the CI should stay green.

@JKRhb JKRhb requested a review from Apollon77 January 23, 2022 12:04
@coveralls
Copy link

coveralls commented Jan 23, 2022

Pull Request Test Coverage Report for Build 1735858740

  • 1 of 1 (100.0%) changed or added relevant line in 1 file are covered.
  • No unchanged relevant lines lost coverage.
  • Overall coverage remained the same at 87.6%

Totals Coverage Status
Change from base Build 1577779915: 0.0%
Covered Lines: 1139
Relevant Lines: 1251

💛 - Coveralls

@JKRhb JKRhb changed the title feat: let OutgoingMessage explicitly implement Duplex interface feat: let OutgoingMessage implement BufferList interface Jan 23, 2022
@JKRhb
Copy link
Member Author

JKRhb commented Jan 23, 2022

I just noticed that the bl types module depends on the readable-stream types module, therefore this PR could be simplified :)

@Apollon77 Apollon77 merged commit b10015e into coapjs:master Jan 24, 2022
@JKRhb JKRhb deleted the stream-update branch January 24, 2022 11:20
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants