3 ms·
deleted
by lj3 10y ago
deleted
- __derek__ 10y ago> if your program uses 4 npm packages and they all list jquery as a dependency, you now have 4 versions of jquery installed on your machine This is not true in npm v3: it now flattens the dependency tree and only duplicate dependencies if there are incompatible versions required.[1] Granted, if those four packages all depended on jQuery locked to different specific versions, then you would end up with four nested versions of jQuery. [1]: https://docs.npmjs.com/how-npm-works/npm3 https://docs.npmjs.com/how-npm-works/npm3