为了更好地解释我的问题,我有一个简化版的依赖树:
A --> B@1.0.0 --> D@1.0.0 --> E@1.0.0
A --> C@1.0.0 --> D@2.0.0 --> E@1.0.0
Legend:
=======
A: Root component
B & C: Dependencies of A
D: Components that are not deduped, because of different major versions.
E: Components that in my opinion should be deduped, but aren't.
为什么组件E没有被扣除?
我正在使用npm@2.9.0