Skip to main content

Module lock

Module lock 

Source
Expand description

chest.lock: what a manifest’s entries resolved to, pinned so that another checkout installs the same bytes.

Structs§

Item
One item of an entry that installs everything its package provides.
Lock
A chest.lock. [patch] entries never appear in it.
Locked
What one manifest entry resolved to.

Constants§

HEADER
The comment that opens every lock chest writes.

Functions§

fresh
Whether locked still records what manifest entry asks for: the same source kind, location and subpath, the same git rev, and an npm version within the entry’s range. A range that is a dist-tag, or none, keeps any locked version. Capabilities, events and filters never make an entry stale.