finalhandler
finalhandler copied to clipboard
fix: remove unpipe package and use native unpipe method
The unpipe package was used to unpipes all destinations from a given stream.
Taken from the unpipe readme:
With stream 2+, this is equivalent to stream.unpipe(). When used with streams 1 style streams (typically Node.js 0.8 and below), this module attempts to undo the actions done in stream.pipe(dest).
As our minimum supported Node version is v18 the unpipe package is no longer needed.