Cheeshian Chuah
Cheeshian Chuah
For temporary workaround, I'm doing it like this with promise: ```js onProxyReq: (proxyReq, req, res) => { proxyReq.socket.pause(); aPromise(a, b).then((c) => { proxyReq.setHeader('x-added', c); proxyReq.socket.resume(); }).catch((err) => { console.error(err); res.sendStatus(500);...
Yeah, it works! By plausible I mean does this really make sense?
@magnusp Do you mean something like `proxyReq.socket.end()` after `res.sendStatus(500)`? Or should it be better off if I get rid of `res.sendStatus(500)` and use `proxyReq.socket.end('HTTP/1.1 500 Internal Server Error\r\n\r\n')` instead? Edited...
@darewreck54 I was having this issue too, and after looking into the source code, at least for me, I couldn't find any way to circumvent this situation, even when using...
Any chance to have this merged?
Well, I'm not part of the organization, but as a cli maintainer, this proposal seems so interesting. Can I start to try implementing this in https://github.com/nodejs/node and possibly a PR...
The use case of mine is that both `bin` and `main` fields in package.json point to the same file. Using `require.main === module`, as mentioned in the official docs [here](https://nodejs.org/api/modules.html#modules_accessing_the_main_module),...
Should `inquirer` of `@commitlint/cz-commitlint` goes into `dependencies` instead of `peerDependencies`? The [`README` of `@commitlint/cz-commitlint`](https://github.com/conventional-changelog/commitlint/blob/47cb8f3c69aa0702e59c30ee52ef74b5e7cf29e2/@commitlint/cz-commitlint/README.md) has no mention of installing `inquirer` except for `commitizen` only. If this is true, could I...
This Solarized Light theme by @bradleyhop posted in Discussions is worth mentioning here for future reference: - https://github.com/orgs/lsd-rs/discussions/917 - https://github.com/bradleyhop/lsd-solarized-theme
Found this Prisma schema visualizer out in the wild: https://prismaliser.app/