Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/npm/cli.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'node_modules/ssri/index.js')
-rw-r--r--node_modules/ssri/index.js1
1 files changed, 1 insertions, 0 deletions
diff --git a/node_modules/ssri/index.js b/node_modules/ssri/index.js
index 3367eff9b..6ec0d73df 100644
--- a/node_modules/ssri/index.js
+++ b/node_modules/ssri/index.js
@@ -259,6 +259,7 @@ function integrityStream (opts) {
const match = (
// Integrity verification mode
opts.integrity &&
+ newSri[algorithm] &&
digests &&
digests.find(hash => {
return newSri[algorithm].find(newhash => {