feat(): add dependencies method for getting providers and their dependencies