finalhandler
finalhandler copied to clipboard
Node.js final http responder
To replace: https://github.com/pillarjs/finalhandler/pull/49 The `cause` stack in the Error class was not included in the response text. This uses the native [`util.format()` API](https://nodejs.org/api/util.html#utilformatformat-args) to log out the Error stack, which...
Closes https://github.com/pillarjs/finalhandler/issues/60#issuecomment-2341323316. It already escapes the HTML which should be good enough for visualizing, I'm not sure there's much value in also encoding it since that makes it not match...
You may or may not be aware, but I just thought I'd let you know, that it appears this package is the only package in [email protected] dependency tree that pulls...
Followup to #54: That PR added a statement that support for node
Develop
This PR justs exists to run the CI of finalhandler with the changes from https://github.com/jshttp/on-finished/pull/56 cc: @bjohansebas @UlisesGascon
Ref: https://github.com/expressjs/discussions/issues/356
on-finished can be replaced by finished, isFinished is still required for future maintainability
This pull request adds a `.editorconfig` file. The config is copied from [nodejs/node](https://github.com/nodejs/node/blob/5812a61a68d50c65127beb68dd4dfb0242e3c5c9/.editorconfig). Docs: https://editorconfig.org/
This pull request includes several refactorings and updates to the test suite, focusing on modernizing the codebase by adopting ES6+ features and improving the structure of test utilities. The most...