npm / npm-registry-client

http://npm.im/npm-registry-client
ISC License
264 stars 108 forks source link

feat(integrity): add integrity field to publish #157

Closed zkat closed 7 years ago

zkat commented 7 years ago

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

coveralls commented 7 years ago

Coverage Status

Coverage increased (+0.02%) to 90.941% when pulling 851fc1b182787b8140c19f9454fd476973cba66a on zkat/ssri into 53c15d996ceaa39e36453c499f32adaebbba97b9 on master.

coveralls commented 7 years ago

Coverage Status

Coverage increased (+0.02%) to 90.941% when pulling 389baeef46d1bf7f8af1bbaf4fabf0d19918409e on zkat/ssri into 53c15d996ceaa39e36453c499f32adaebbba97b9 on master.