import { createLockPart } from "https://deno.land/x/molt@0.17.2/lib/lockfile.ts";
Create a partial lockfile for the given dependency as a temporary file and returns the parsed LockFile object.
The implementation here is quite inefficient. We should rather add a JS interface to
the deno_lockfile
crate.
Parameters
optional
locked: LockFile | null- If given, the resulting lock has the same version as this.