Skip to main content

Module lockfile

Module lockfile 

Source
Expand description

module-lock.json lockfile parsing and validation.

Structs§

DependencyEntry
One entry in a DependencyMap.
GitCommit
A 40-character lowercase hex Git commit SHA.
GitCommitError
An error parsing a GitCommit.
GitCommitish
A Git commit selector: any unique prefix of a commit SHA, from 4 to 40 lowercase hex characters (Git’s own minimum abbreviation length). The resolver expands the prefix to a full GitCommit at lock time.
GitCommitishError
An error parsing a GitCommitish.
Lockfile
A parsed module-lock.json.

Enums§

LockfileError
An error parsing a Lockfile.
ResolvedSource
The resolved source of a dependency.
SourceCoordinates
The identity coordinates of a ResolvedSource, used for cycle detection. Excludes version and selector information.

Constants§

LOCKFILE_VERSION
The current lockfile schema version.

Type Aliases§

DependencyMap
A dependencies map keyed by consumer-chosen dependency names.