David Sancho

Results 138 comments of David Sancho

Hey @donaldoakes Extremely unlinkely that the got dependency reaches to prod, since this code it doesn't run on the execution of node-jq. It's used to download the binary on install....

Hey @DaniellMesquita Node-jq runs jq in the terminal with child_process, which can either run async or sync. Right now, node-jq just expose an asnyc version of the operation. Do you...

Hi @RulerOf The "sync" support is very easy to add, not so easy to maintain but PR are welcome. If some people prefer it, I'm happy to help land the...

Hey @arinanto The error that you show is `EPIPE`. It comes from node (https://nodejs.org/dist/latest-v12.x/docs/api/errors.html) and is saying that your code tries to write into a closed stream. > EPIPE (Broken...

Hey @arinanto Can you try without any HTTP framework? The snippet above should work fine and discard any "fear" of being in the intersection between 2 technologies that have nothing...

After trying to replicate the issue, I found the cause of your problems. Published a template to open bugs: https://replit.com/@DavidSancho/try-node-jq?v=1. You can try to replicate your issue there if you...

Meanwhile, I am looking into this. You can wrap the entire expression of jq with a try/catch, or add an `unhandledRejection` on the process.

Thanks @benschinn!

Right, the approach I'm proposing seems too magic compared with `createDOMElementVariadic`. But I don't see the solution to attributes called (data-*) that need to be attached to dom elements. In...

Hello @benschinn Thanks for jumping in! StrictMode has a bunch of "features" that might be hard to unit test. I would try to pick one that is relevant to ensure...