Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
1.2 KiB
1100.0.11
Major Changes
-
The three registry lookups are now named for what they are keyed by, so that none of them is called
registries— a name theregistriessetting itself has taken:before after Config.registriesConfig.registriesByScopeConfig.namedRegistriesConfig.registriesByPrefixConfig.registryOptionsConfig.registryOptionsByUrlThe same rename applies to the
RegistryContextfields, theRegistriesandNamedRegistriestypes (nowRegistriesByScopeandRegistriesByPrefix),normalizeRegistries/normalizeNamedRegistries(nownormalizeRegistriesByScope/normalizeRegistriesByPrefix), and theBUILTIN_NAMED_REGISTRIESconstant (nowBUILTIN_REGISTRIES_BY_PREFIX).This is an internal rename: no setting, error code, lockfile field, or
.pnpmfile.cjshook field changes. ApreResolutionhook still readsctx.registries, which is the name pacquet passes as well. TheregistriesandnamedRegistriessettings are read under the names users write them.The pnpr resolve request sends
registriesByPrefixwhere it sentnamedRegistries. A pnpr server and its clients must be on matching versions, which is already the case for an experimental server.