Comparing version 7.0.2 to 7.0.3
@@ -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) |
@@ -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", |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
64301