javascript_package

Fetch one immutable JavaScript package and verify its native lockfile pin. javascript_dependencies generates these targets; consumers normally depend on a generated javascript_node_modules layout instead.

The target records package_name, version, url, integrity, and strip_components. Registry packages use their archive SRI. Yarn Berry uses the SHA-512 checksum of its committed cache ZIP. Peer-context variants can share the same immutable package fetch.

The javascript_package provider exposes the verified package tree to the layout action. A cache hit restores that tree without contacting the registry. See the JavaScript workspace contract for supported formats and limits.