Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

Read the next-highest package.json file for whatever code is executing (dependencies copy their package.json file when they install), find the dependency listing in there, with the desired version constraint. If none exists (i.e. the dependency was installed manually), take wahtever is the highest version by default. If that's not what the developer wants, it's their own fault for not specifying the dependency in their package file.


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

Search: