JSR (https://jsr.io) serves its packages through an npm-compatible
endpoint at https://npm.jsr.io. Packages are namespaced under the
@jsr scope with the JSR scope folded into the package name via a
__ separator — so jsr:@std/collections is fetched as
@jsr/std__collections from the npm-compat registry.
One exact release plus the compact history needed for time and trust
policy checks. The full registry document is decoded in a single pass:
the selected release uses VersionMetadata, while every other release
uses VersionTrustMetadata.
The subset of a full packument needed to enforce publish-time and
trust-downgrade policies for an exact version. Deserializing this shape
skips dependency maps and distribution metadata for every historical
release, avoiding the large retained heap of a full Packument.
bundledDependencies shape from package.json. npm/pnpm accept
either an array of dep names or a boolean (true meaning “bundle
everything in dependencies”). We preserve both so the resolver
can compute the exact name set.