ipfs-unixfs-importer
Advanced tools
Comparing version 0.37.2 to 0.37.3
@@ -0,1 +1,11 @@ | ||
<a name="0.37.3"></a> | ||
## [0.37.3](https://github.com/ipfs/js-ipfs-unixfs-importer/compare/v0.37.2...v0.37.3) (2018-12-19) | ||
### Bug Fixes | ||
* increase sharding timeouts ([69210b6](https://github.com/ipfs/js-ipfs-unixfs-importer/commit/69210b6)) | ||
<a name="0.37.2"></a> | ||
@@ -2,0 +12,0 @@ ## [0.37.2](https://github.com/ipfs/js-ipfs-unixfs-importer/compare/v0.37.1...v0.37.2) (2018-12-04) |
{ | ||
"name": "ipfs-unixfs-importer", | ||
"version": "0.37.2", | ||
"version": "0.37.3", | ||
"description": "JavaScript implementation of the UnixFs importer used by IPFS", | ||
@@ -42,14 +42,9 @@ "leadMaintainer": "Alex Potsides <alex.potsides@protocol.ai>", | ||
"chai": "^4.2.0", | ||
"detect-node": "^2.0.4", | ||
"dirty-chai": "^2.0.1", | ||
"ipfs-block-service": "~0.15.1", | ||
"ipfs-repo": "~0.25.0", | ||
"ipfs-unixfs-exporter": "~0.35.4", | ||
"ipld": "~0.20.0", | ||
"mkdirp": "~0.5.1", | ||
"ipld": "~0.20.2", | ||
"multihashes": "~0.4.14", | ||
"ncp": "^2.0.0", | ||
"pull-generate": "^2.2.0", | ||
"pull-stream-to-stream": "^1.3.4", | ||
"pull-zip": "^2.0.1", | ||
"rimraf": "^2.6.2", | ||
"pull-traverse": "^1.0.3", | ||
"sinon": "^7.1.0" | ||
@@ -64,3 +59,3 @@ }, | ||
"ipfs-unixfs": "~0.1.16", | ||
"ipld-dag-pb": "~0.15.0", | ||
"ipld-dag-pb": "~0.15.2", | ||
"left-pad": "^1.3.0", | ||
@@ -70,5 +65,3 @@ "multihashing-async": "~0.5.1", | ||
"pull-block": "^1.4.0", | ||
"pull-cat": "^1.1.11", | ||
"pull-pair": "^1.1.0", | ||
"pull-paramap": "^1.2.2", | ||
"pull-pause": "0.0.2", | ||
@@ -78,3 +71,2 @@ "pull-pushable": "^2.2.0", | ||
"pull-through": "^1.0.18", | ||
"pull-traverse": "^1.0.3", | ||
"pull-write": "^1.1.4", | ||
@@ -81,0 +73,0 @@ "stream-to-pull-stream": "^1.7.2" |
@@ -53,7 +53,9 @@ # ipfs-unixfs-importer | ||
const importer = require('ipfs-unixfs-importer') | ||
const pull = require('pull-stream') | ||
const pull = require('pull-stream/pull') | ||
const values = require('pull-stream/sources/values') | ||
const collect = require('pull-stream/sinks/collect') | ||
// Import path /tmp/foo/bar | ||
pull( | ||
pull.values([{ | ||
values([{ | ||
path: '/tmp/foo/bar', | ||
@@ -72,3 +74,3 @@ content: fs.createReadStream(file) | ||
// Handle the error and do something with the results | ||
pull.collect((err, files) => { | ||
collect((err, files) => { | ||
console.info(files) | ||
@@ -75,0 +77,0 @@ }) |
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
1760759
19
10
18466
163
- Removedpull-cat@^1.1.11
- Removedpull-paramap@^1.2.2
- Removedpull-traverse@^1.0.3
- Removedpull-paramap@1.2.2(transitive)
Updatedipld-dag-pb@~0.15.2