News for hackers. Stuff that matters.
Re:Node.js can now execute TypeScript files by fabioborellini on Sunday August 17, 2025 @08:12AM (#44931051)
Yes, with the difference that Google would have to be compromised in order to poison the go distributable containing fmt tool. With js, it’s enough to poison any single one of the 1400 dependencies of the linter
Re:Node.js can now execute TypeScript files by homebrewer on Sunday August 17, 2025 @09:02AM (#44931284)
Use biome, it doesn't have any external dependencies. eslint should have been put to rest a long time ago.
Re:Node.js can now execute TypeScript files by prmph on Sunday August 17, 2025 @09:24AM (#44931398)
Good advice. That was my conclusion as well after years of fighting with eslint.
Re:Node.js can now execute TypeScript files by thrown-0825 on Monday August 18, 2025 @01:13AM (#44937621)
someone else recommended this too, I'll give it a shot next time I'm in js land.
Re:Node.js can now execute TypeScript files by DanielHB on Monday August 18, 2025 @04:48AM (#44938589)
We added biome to our project, now we have eslint, prettier and biome in the project.

Seriously though it is nice, but migrating away from your existing tooling is painful and underappreciated.

Re:Node.js can now execute TypeScript files by pjmlp on Sunday August 17, 2025 @11:17AM (#44932229)
I forgot that even though fmt will never suffer from middle man attacks downloading the Go toolchain, the standard library already covers 100% of the uses cases someone cares about using Go for, and no one is using CGO.
Re:Node.js can now execute TypeScript files by DanielHB on Monday August 18, 2025 @04:46AM (#44938581)
I used to use CGO quite a lot in linux-embedded environment.

And we had huge dependency chains as well to non-standard library stuff, nowhere near as bad as an average nodejs project but still not free from the problem.