3 ms·
For the TypeScript enjoyers: you can do the same with Deno (and I'm sure Bun too, though I haven't done it). #! /usr/bin/env -S deno run You can add permi
by dcre 2y ago
For the TypeScript enjoyers: you can do the same with Deno (and I'm sure Bun too, though I haven't done it).
#! /usr/bin/env -S deno run
You can add permission flags like this:
#! /usr/bin/env -S deno run --allow-env --allow-read --allow-net
- IshKebab 2y agoI love Deno and I use this, but I really wish they would fix this dumb bug: https://github.com/denoland/deno/issues/16466 https://github.com/denoland/deno/issues/16466
- sebmellen 2y agoI really wish they would allow you to connect to "unsafe" TLS endpoints. https://github.com/denoland/deno/issues/6427#issuecomment-650666206 https://github.com/denoland/deno/issues/6427#issuecomment-65...
- tempaccount420 2y agoJesus, both of these issues are sad. This is probably why Bun is winning
- sebmellen 2y agoJust absolutely infuriating to work with. We migrated all of our RPA scripts to Deno and then this popped up and killed our hopes and dreams. > "What, you want to connect to an old government website that has an old TLS version? You are a very bad boy. Not allowed!" Back to Node we go.
- IshKebab 2y agoYeah definitely a case of "you're holding it wrong". Never a good look.
- dcre 2y agoThat's interesting! I think I've run into it but it has rarely been a problem.