Skip to content

Conversation

@williamfds
Copy link
Contributor

Closes #173

This PR adds the limit event to the BusboyFileStream typings so that consumers can listen for file‐size limit breaches.
It also includes:

  • A unit test (test/file-stream-limit.test.js) that verifies the limit event is emitted.
  • Documentation in README.md showing how to use the event.
  • tap and @types/tap added to devDependencies to support the new test.

Checklist

gurgunday
gurgunday previously approved these changes Jun 1, 2025
@williamfds williamfds requested review from Eomm and gurgunday June 2, 2025 11:18
@gurgunday
Copy link
Member

Why didn't the CI run?

Signed-off-by: Manuel Spigolon <behemoth89@gmail.com>
@Eomm Eomm merged commit 0207df2 into fastify:main Nov 10, 2025
14 checks passed
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.

[TypeScript] Missing event "limit" on BusboyFileStream

3 participants