added --global flag to find outdated global dependencies