import * as molt from "https://deno.land/x/molt@0.12.0/mod.ts";
A module to update dependencies in Deno projects using deno_graph.
Example
To update all dependencies in a module and write the changes to local files:
import {
DependencyUpdate,
writeAll,
} from "https://deno.land/x/molt@{VERSION}/mod.ts";
const updates = await DependencyUpdate.collect("./mod.ts", {
importMap: "./deno.json",
});
await writeAll(updates);
Interfaces
Properties of a dependency parsed from an import specifier. | |
Representation of an update to a dependency. | |
A collection of updates to dependencies associated with a file. | |
Properties of a dependency parsed from an updated import specifier.
The |
Type Aliases
T Path | A string that represents a path segment (e.g. |
A string that represents a semver (e.g. | |
T URI |