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

x/deno_graph/mod.ts>ModuleGraph#lock

The module graph logic for Deno CLI
Go to Latest
method ModuleGraph.prototype.lock
Re-export
import { ModuleGraph } from "https://deno.land/x/deno_graph@0.33.0/mod.ts";

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.