function listDepsForBook(book) {
    var config = book.getConfig();
    var plugins = config.getPluginDependencies();

    return listDependencies(plugins);
}
function listDepsForBook(book) {
    var config = book.getConfig();
    var plugins = config.getPluginDependencies();

    return listDependencies(plugins);
}
function listDepsForBook ( book ) { var config = book . getConfig ( ) ; var plugins = config . getPluginDependencies ( ) ; return listDependencies ( plugins ) ; }
List all plugin requirements for a book.
It can be different from the final list of plugins,
since plugins can have their own dependencies

@param {Book}
@return {List<PluginDependency>}
List all plugin requirements for a book . It can be different from the final list of plugins since plugins can have their own dependencies
List all dependencies for a book