Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion docs/lib/content/commands/npm-dedupe.md
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ a
```

During the installation process, the `[email protected]` dependency for `b` was placed in the root of the tree.
Though `d`'s dependency on `[email protected]` could have been satisfied by `[email protected]`, the newer `[email protected].0` dependency was used, because npm favors updates by default, even when doing so causes duplication.
Though `d`'s dependency on `[email protected]` could have been satisfied by `[email protected]`, the newer `[email protected].9` dependency was used, because npm favors updates by default, even when doing so causes duplication.

Running `npm dedupe` will cause npm to note the duplication and re-evaluate, deleting the nested `c` module, because the one in the root is sufficient.

Expand Down
Loading