import { graph } from "https://deno.land/x/cav@0.2.3/deps.ts";
const { ModuleGraph } = graph;
Determine if the graph sources are valid by calling the passed check()
function. If any of the modules in the graph fail the check, then an
error is thrown.