February 14, 2025
·
1121 commits
to master
since this release
@whatwg-node/server@0.9.67
Patch Changes
-
#2057
7d28669
Thanks @ardatan! - When two plugins use theonResponsehook and
the first one modifies the response, the second one should get the modified one;;[ { onResponse({ setResponse, fetchAPI }) { setResponse( fetchAPI.Response.json( { foo: 'bar' }, { status: 418 } ) ) } }, { onResponse({ response }) { console.log(response.status) // 418 } } ]