Skip to main content
Module

x/molt/mod.ts>DependencyUpdate

A Deno module to update dependencies with deno_graph
Go to Latest
interface DependencyUpdate
implements Omit<Dependency, "version">
import { type DependencyUpdate } from "https://deno.land/x/molt@0.2.2/mod.ts";

Representation of a dependency update.

Properties

specifier: URI<"http" | "https" | "npm">

The fully resolved specifier of the dependency.

version: { from: SemVerString; to: SemVerString; }
optional
code: { specifier: string; span: NonNullable<DependencyJson["code"]>["span"]; }

The code of the dependency.

optional
type: { specifier: string; span: NonNullable<DependencyJson["type"]>["span"]; }
referrer: URI<"file">

The specifier of the module that imports the dependency.

optional
map: { source: URI<"file">; from: string; to: URI<"http" | "https" | "npm">; }

Information about the import map used to resolve the dependency.

variable DependencyUpdate
import { DependencyUpdate } from "https://deno.land/x/molt@0.2.2/mod.ts";

type

{ collect; applyToModule; applyToImportMap; withRelativePath; }