-
simon_tabor npm2 installs into a deep tree structure. So when you require semver @2.1.1 in one deep dep, and again in another deep dep—
-
simon_tabor —it's loaded twice, since the module caching system sees two file paths. But with npm@3, the package is installed once at the —
-
simon_tabor —at the root, so when deps require semver@2.1.1 the file path is exactly the same, so only the single module is loaded into mem