News for hackers. Stuff that matters.
Re:Things I Regret About Node.js [video] by freditup on Wednesday June 06, 2018 @11:54AM (#17248146)
Not OP, but a couple guesses off the top of my head:

* It becomes a more painful process to upgrade dependencies (have to find/replace across your codebase).

* Many versions of the same library get pulled in. If you depend on [email protected] and a dependency of yours depends on [email protected], that's twice the dependency size as compared to both just using 1.5.4. This matters more in the case of web app bundle size though than running local programs.

Re:Things I Regret About Node.js [video] by t-sauer on Wednesday June 06, 2018 @12:02PM (#17248226)
You could have an entry file for your dependencies (let's say dependencies.ts) and reexport everything from there. When you have to update, you only have to upgrade it in the entry file and you can avoid multiple versions.
Re:Things I Regret About Node.js [video] by wereHamster on Wednesday June 06, 2018 @12:32PM (#17248550)
Hm, how about we call that file package.json?
Re:Things I Regret About Node.js [video] by myth_buster on Wednesday June 06, 2018 @12:52PM (#17248761)
How about we link them to modules downloaded onto local file system instead, just in case of network issues.
Re:Things I Regret About Node.js [video] by WA9ACE on Wednesday June 06, 2018 @01:37PM (#17249228)
How about a cli tool to cache and build those modules/native extensions all at once? We could call that Deno Package Manager.