mswjs / interceptors

Low-level network interception library.
https://npm.im/@mswjs/interceptors
MIT License
523 stars 118 forks source link

fix(ClientRequest): return correct boolean from `.emit()` proxy #593

Closed kettanaito closed 3 days ago

kettanaito commented 3 days ago

The .emit() method must return a boolean indicating if the given event has any listeners. Do that in case we defer the end event too.

kettanaito commented 3 days ago

Released: v0.31.1 🎉

This has been released in v0.31.1!

Make sure to always update to the latest version (npm i @mswjs/interceptors@latest) to get the newest features and bug fixes.


Predictable release automation by @ossjs/release.