You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In the README section When Authoring Packages, expand the description to cover acceptable and recommended hash values. It should also describe how to determine correct hash values and which format is needed for Corepack.
Why is this needed?
It should be clear how to construct a valid packageManager definition with a hash, whether using a hash as part of a command or if manually editing packageManager into package.json.
The npm cli directly displays sha1 (shasum) and sha512 (integrity in BASE64) hashes for a requested package. For example:
Since Corepack does not use the live copy of https://registry.npmjs.org/-/npm/v1/keys, if keys are rotated and used to sign packages, then Corepack users may have difficulty installing newer package managers. See issues
What would you like?
In the README section When Authoring Packages, expand the description to cover acceptable and recommended hash values. It should also describe how to determine correct hash values and which format is needed for Corepack.
Why is this needed?
It should be clear how to construct a valid
packageManager
definition with a hash, whether using a hash as part of a command or if manually editingpackageManager
intopackage.json
.The npm cli directly displays
sha1
(shasum
) andsha512
(integrity
inBASE64
) hashes for a requested package. For example:Other
corepack install
orcorepack use
with a package manager hash can help to work around this issue.The text was updated successfully, but these errors were encountered: