Comparing version 4.1.5 to 4.1.6
@@ -5,2 +5,12 @@ # Change Log | ||
<a name="4.1.6"></a> | ||
## [4.1.6](https://github.com/zkat/ssri/compare/v4.1.5...v4.1.6) (2017-06-07) | ||
### Bug Fixes | ||
* **checkStream:** make sure to pass all opts through ([0b1bcbe](https://github.com/zkat/ssri/commit/0b1bcbe)) | ||
<a name="4.1.5"></a> | ||
@@ -7,0 +17,0 @@ ## [4.1.5](https://github.com/zkat/ssri/compare/v4.1.4...v4.1.5) (2017-06-05) |
@@ -217,8 +217,5 @@ 'use strict' | ||
const P = opts.Promise || Promise | ||
const checker = integrityStream({ | ||
integrity: sri, | ||
size: opts.size, | ||
strict: opts.strict, | ||
pickAlgorithm: opts.pickAlgorithm | ||
}) | ||
const checker = integrityStream(Object.assign({}, opts, { | ||
integrity: sri | ||
})) | ||
return new P((resolve, reject) => { | ||
@@ -225,0 +222,0 @@ stream.pipe(checker) |
{ | ||
"name": "ssri", | ||
"version": "4.1.5", | ||
"version": "4.1.6", | ||
"description": "Standard Subresource Integrity library -- parses, serializes, generates, and verifies integrity metadata according to the SRI spec.", | ||
@@ -40,3 +40,3 @@ "main": "index.js", | ||
"dependencies": { | ||
"safe-buffer": "^5.0.1" | ||
"safe-buffer": "^5.1.0" | ||
}, | ||
@@ -46,4 +46,4 @@ "devDependencies": { | ||
"standard": "^9.0.2", | ||
"standard-version": "^4.0.0", | ||
"tap": "^10.3.2", | ||
"standard-version": "^4.1.0", | ||
"tap": "^10.3.3", | ||
"weallbehave": "^1.2.0", | ||
@@ -50,0 +50,0 @@ "weallcontribute": "^1.0.8" |
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
35718
313
Updatedsafe-buffer@^5.1.0