multiblob
Advanced tools
Comparing version 1.12.0 to 1.13.0
11
bin.js
@@ -8,2 +8,5 @@ #! /usr/bin/env node | ||
var u = require('./util') | ||
var createHash = u.createHash | ||
var cmd = process.argv[2], arg = process.argv[3] | ||
@@ -36,6 +39,10 @@ | ||
if(cmd === 'hash') | ||
pull(toPull.source(process.stdin), createHash(console.log), pull.drain()) | ||
if(cmd === 'hash') { | ||
var hasher = createHash('sha256') | ||
pull(toPull.source(process.stdin), hasher, pull.drain(null, function () { | ||
console.log(hasher.digest) | ||
})) | ||
} | ||
if(cmd === 'resolve') | ||
console.log(blobs.resolve(arg)) |
{ | ||
"name": "multiblob", | ||
"description": "", | ||
"version": "1.12.0", | ||
"version": "1.13.0", | ||
"homepage": "https://github.com/dominictarr/multiblob", | ||
@@ -20,8 +20,9 @@ "repository": { | ||
"pull-live": "^1.0.0", | ||
"pull-notify": "0.0.2", | ||
"pull-paramap": "^1.1.4", | ||
"pull-stream": "^3.3.0", | ||
"pull-notify": "^0.1.1", | ||
"pull-paramap": "^1.2.2", | ||
"pull-stream": "^3.6.2", | ||
"pull-write-file": "^0.2.1", | ||
"rc": "~0.5.4", | ||
"rimraf": "~2.2.8" | ||
"rimraf": "~2.2.8", | ||
"stream-to-pull-stream": "^1.7.2" | ||
}, | ||
@@ -28,0 +29,0 @@ "devDependencies": { |
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
29801
842
16
+ Addedstream-to-pull-stream@^1.7.2
+ Addedlooper@3.0.0(transitive)
+ Addedpull-notify@0.1.2(transitive)
+ Addedstream-to-pull-stream@1.7.3(transitive)
- Removedpull-notify@0.0.2(transitive)
Updatedpull-notify@^0.1.1
Updatedpull-paramap@^1.2.2
Updatedpull-stream@^3.6.2