Skip to main content
Deno 2 is finally here 🎉️
Learn more
Module

x/cav/deps.ts>graph.ModuleGraph#lock

A server framework for Deno
Go to Latest
method graph.ModuleGraph.prototype.lock
Re-export
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.