nevetproby: support executing in bespoke environments via a *.env.ts file · rcompat/rcompat@d9280b0
bluethat is SUPER exciting
phalethhi blue
blueso in case you're interested in WHY this is exciting, I'm going to add happy-dom as a devdep to primate. so finally I could test client code
phalethnode:worker_threads hmm
phalethI ran into happy-dom recently, just randomly
dreamrealblue: is the discord bridge still working as expected?
dreamrealI changed nevet's auth model today
phalethI'm pretty sure you can create a new worker out of a blob, without a need of worker.js file
blueyes worker_threads is an ugly dumpster fire. but I'm not sure @rcompat/worker is capable enough and this is rcompat, I'm *allowed* to be a sloppy bastard
blueworker_threads is an out-of-spec retardation
bot<discord:blue> test
bluedreamreal: yes
dreamrealokay, thank you
bluephaleth: I don't like happy-dom. much like I don't like most deps. I'd much ather have @rcompat/dom. that being said, I don't have the lifetime to recreate a DOM in JS, so as long as it's a devdep, it's ok
bluewould be absolutely not acceptable inside rcompat or as a normal dep
bluein fact I'm still eyeing the very few deps that rcompat has, suspiciously. @rcompat/env has dotenv (slated for removal), while @rcompat/http has busboy and ws, which I also want to remove
bluemy goal is that @primate/core is depsfree
blueI really do wish node included websockets in its http server, seems like absolute basics in 2026
bluebusboy is for supplorting multipart form data, which arguably should also be in node
phalethI'd say it's good enough that node can do an HTTP server
phalethI'd think only unix socket communication should be allowed with the runtime, but node decided to be an HTTP server and also to run on windows and all sorts of unnecessary, some functionalities should be taken by libraries and that's fine
phalethwhy are all these javascript libraries written in javascript or typescript only is another story, prolly cause they want to remain portable
phalethanyway, nowadays windows also has unix socket