Hacker News new | past | comments | ask | show | jobs | submit login
Check-In Your Node Dependencies (jackfranklin.co.uk)
3 points by AshleysBrain on Dec 7, 2021 | hide | past | favorite | 3 comments



Another benefit: it allows fixing and patching dependencies without having to wait for an upstream release.

I know of repository-pinned dependencies [1], but those may be hard to keep track of, especially for patches on unmaintained software. They are akin to git submodules, which are a pain to work with.

[1] https://docs.npmjs.com/cli/v8/configuring-npm/package-json#g...


The node_modules folder includes compiled native libraries (.so, .dylib, etc.), so this also has the benefit of not working if anyone has a different architecture or OS than anyone else.


I thought April fools day was in April?




Consider applying for YC's Summer 2025 batch! Applications are open till May 13

Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: