import { graph } from "https://deno.land/x/cav@0.0.24/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.