This adds a dist.integrity field to published metadata, alongside the original dist.shasum. I've already done a test publish over at npm.im/@zkat/integrity-test which you can check out yourself, and pacote handles it just fine!
We can even shove this into npm@4 and it'll start getting used right away :D
Coverage increased (+0.02%) to 90.941% when pulling 851fc1b182787b8140c19f9454fd476973cba66a on zkat/ssri into 53c15d996ceaa39e36453c499f32adaebbba97b9 on master.
Coverage increased (+0.02%) to 90.941% when pulling 389baeef46d1bf7f8af1bbaf4fabf0d19918409e on zkat/ssri into 53c15d996ceaa39e36453c499f32adaebbba97b9 on master.
This adds a
dist.integrity
field to published metadata, alongside the originaldist.shasum
. I've already done a test publish over at npm.im/@zkat/integrity-test which you can check out yourself, andpacote
handles it just fine!We can even shove this into
npm@4
and it'll start getting used right away :D