Commit 0596e47f870a13d8658ebb27f01f70fffcec5e23 in branch refs/heads/master from Braden Shepherdson
[ https://git-wip-us.apache.org/repos/asf?p=cordova-plugman.git;h=0596e47 ]
Overhaul dependency uninstallation
This fixes several long-standing bugs with plugman deleting
dependencies. The new rules are to uninstall all of the target plugin's
dependencies, provided they are:
- Not installed at the top level.
- Not depended on by any other plugins.
Similarly, plugin directories are only deleted when no plugin depends on
them, and they are not top-level, on any platform.
CB-5056, CB-5060, CB-4992, and CB-4189.