Make `generate_dep_list()` public

Useful for if you have a custom plugins page in which you'd like to show dependencies as well