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

x/molt/lib/lockfile.ts>createLockPartForEach

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

Create a new lockfile for each dependency and returns a list of them.

Parameters

lockfile: LockFile
  • The path to the lockfile.
optional
update = [UNSUPPORTED]

Returns

Promise<LockPart[]>

A Promise for the LockFile objects of updated lockfiles.