Socket
Socket
Sign inDemoInstall

cacache

Package Overview
Dependencies
Maintainers
2
Versions
102
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

cacache - npm Package Compare versions

Comparing version 7.0.2 to 7.0.3

10

CHANGELOG.md

@@ -5,2 +5,12 @@ # Change Log

<a name="7.0.3"></a>
## [7.0.3](https://github.com/zkat/cacache/compare/v7.0.2...v7.0.3) (2017-04-05)
### Bug Fixes
* **read:** fixing error message for integrity verification failures ([9d4f0a5](https://github.com/zkat/cacache/commit/9d4f0a5))
<a name="7.0.2"></a>

@@ -7,0 +17,0 @@ ## [7.0.2](https://github.com/zkat/cacache/compare/v7.0.1...v7.0.2) (2017-04-03)

6

lib/content/read.js

@@ -24,3 +24,3 @@ 'use strict'

} else {
throw checksumError(sri, null)
throw integrityError(sri, cpath)
}

@@ -96,4 +96,4 @@ })

function checksumError (sri, path) {
var err = new Error(`Checksum failed for ${sri} (${path})`)
function integrityError (sri, path) {
var err = new Error(`Integrity verification failed for ${sri} (${path})`)
err.code = 'EINTEGRITY'

@@ -100,0 +100,0 @@ err.sri = sri

{
"name": "cacache",
"version": "7.0.2",
"version": "7.0.3",
"cache-version": {

@@ -5,0 +5,0 @@ "content": "2",

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc