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

x/molt/lib/lockfile.ts>collectUpdateFromLockFile

Update dependencies the Deno way
Latest
function collectUpdateFromLockFile
import { collectUpdateFromLockFile } from "https://deno.land/x/molt@0.17.2/lib/lockfile.ts";

Collect updates to dependencies in the given lockfile.

Parameters

original: LockFile
  • The LockFile object for the original lockfile.
...patches: LockPart[]
  • The LockFile objects for dependencies being updated.

Returns

Promise<DependencyUpdate<"lockfile">[]>

The collected updates to dependencies.