Expand description
module-lock.json lockfile parsing and validation.
Structs§
- Dependency
Entry - One entry in a
DependencyMap. - GitCommit
- A 40-character lowercase hex Git commit SHA.
- GitCommit
Error - 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
GitCommitat lock time. - GitCommitish
Error - An error parsing a
GitCommitish. - Lockfile
- A parsed
module-lock.json.
Enums§
- Lockfile
Error - An error parsing a
Lockfile. - Resolved
Source - The resolved source of a dependency.
- Source
Coordinates - 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§
- Dependency
Map - A
dependenciesmap keyed by consumer-chosen dependency names.