ipfs-unixfs-importer
Advanced tools
Comparing version 0.39.11 to 0.40.0
@@ -0,1 +1,10 @@ | ||
# [0.40.0](https://github.com/ipfs/js-ipfs-unixfs-importer/compare/v0.39.11...v0.40.0) (2019-08-05) | ||
### Bug Fixes | ||
* update to newest IPLD libraries ([#37](https://github.com/ipfs/js-ipfs-unixfs-importer/issues/37)) ([f79355f](https://github.com/ipfs/js-ipfs-unixfs-importer/commit/f79355f)) | ||
## [0.39.11](https://github.com/ipfs/js-ipfs-unixfs-importer/compare/v0.39.10...v0.39.11) (2019-06-06) | ||
@@ -2,0 +11,0 @@ |
{ | ||
"name": "ipfs-unixfs-importer", | ||
"version": "0.39.11", | ||
"version": "0.40.0", | ||
"description": "JavaScript implementation of the UnixFs importer used by IPFS", | ||
@@ -40,3 +40,3 @@ "leadMaintainer": "Alex Potsides <alex.potsides@protocol.ai>", | ||
"devDependencies": { | ||
"aegir": "^19.0.3", | ||
"aegir": "^20.0.0", | ||
"async-iterator-buffer-stream": "^1.0.0", | ||
@@ -49,4 +49,4 @@ "async-iterator-last": "^1.0.0", | ||
"ipfs-unixfs-exporter": "~0.37.0", | ||
"ipld": "~0.24.0", | ||
"ipld-in-memory": "^2.0.0", | ||
"ipld": "^0.25.0", | ||
"ipld-in-memory": "^3.0.0", | ||
"multihashes": "~0.4.14", | ||
@@ -62,10 +62,10 @@ "nyc": "^14.0.0", | ||
"deep-extend": "~0.6.0", | ||
"err-code": "^1.1.2", | ||
"err-code": "^2.0.0", | ||
"hamt-sharding": "~0.0.2", | ||
"ipfs-unixfs": "~0.1.16", | ||
"ipld-dag-pb": "~0.17.2", | ||
"ipld-dag-pb": "^0.18.0", | ||
"multicodec": "~0.5.1", | ||
"multihashing-async": "~0.7.0", | ||
"superstruct": "~0.6.1", | ||
"rabin-wasm": "~0.0.4" | ||
"rabin-wasm": "~0.0.8", | ||
"superstruct": "~0.6.1" | ||
}, | ||
@@ -75,3 +75,2 @@ "contributors": [ | ||
"Alan Shaw <alan@tableflip.io>", | ||
"Alex Potsides <alex@achingbrain.net>", | ||
"Arpit Agarwal <atvanguard@users.noreply.github.com>", | ||
@@ -93,2 +92,3 @@ "Bernard Mordan <bernard@tableflip.io>", | ||
"Volker Mische <volker.mische@gmail.com>", | ||
"achingbrain <alex@achingbrain.net>", | ||
"greenkeeper[bot] <greenkeeper[bot]@users.noreply.github.com>", | ||
@@ -95,0 +95,0 @@ "jbenet <juan@benet.ai>", |
@@ -11,5 +11,5 @@ 'use strict' | ||
const unixfs = new UnixFS('directory') | ||
const node = DAGNode.create(unixfs.marshal(), []) | ||
const node = new DAGNode(unixfs.marshal(), []) | ||
const cid = await persist(node, ipld, options) | ||
let path = item.path | ||
const path = item.path | ||
@@ -16,0 +16,0 @@ return { |
@@ -28,3 +28,3 @@ 'use strict' | ||
let opts = { | ||
const opts = { | ||
...options | ||
@@ -40,3 +40,3 @@ } | ||
unixfs = new UnixFS(options.leafType, buffer) | ||
node = DAGNode.create(unixfs.marshal(), []) | ||
node = new DAGNode(unixfs.marshal()) | ||
} | ||
@@ -117,3 +117,3 @@ | ||
const node = DAGNode.create(f.marshal(), links) | ||
const node = new DAGNode(f.marshal(), links) | ||
const cid = await persist(node, ipld, options) | ||
@@ -120,0 +120,0 @@ |
@@ -71,3 +71,3 @@ 'use strict' | ||
const unixfs = new UnixFS('directory') | ||
let node = DAGNode.create(unixfs.marshal(), links) | ||
const node = new DAGNode(unixfs.marshal(), links) | ||
const cid = await persist(node, ipld, this.options) | ||
@@ -74,0 +74,0 @@ |
@@ -106,3 +106,3 @@ 'use strict' | ||
links.push(await new DAGLink(labelPrefix, shard.node.size, shard.cid)) | ||
links.push(new DAGLink(labelPrefix, shard.node.size, shard.cid)) | ||
} else if (typeof child.value.flush === 'function') { | ||
@@ -134,3 +134,3 @@ const dir = child.value | ||
links.push(await new DAGLink(label, size, value.cid)) | ||
links.push(new DAGLink(label, size, value.cid)) | ||
} | ||
@@ -146,3 +146,3 @@ } | ||
const node = DAGNode.create(dir.marshal(), links) | ||
const node = new DAGNode(dir.marshal(), links) | ||
const cid = await persist(node, ipld, options) | ||
@@ -149,0 +149,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
Mixed license
License(Experimental) Package contains multiple licenses.
Found 1 instance in 1 package
Non-permissive License
License(Experimental) A license not known to be considered permissive was found.
Found 1 instance in 1 package
4997940
53
28209
2
90
+ Addedcids@0.8.3(transitive)
+ Addederr-code@2.0.3(transitive)
+ Addedipld-dag-pb@0.18.5(transitive)
+ Addedmultibase@1.0.1(transitive)
+ Addedmultihashes@1.0.1(transitive)
+ Addedmultihashing-async@0.8.2(transitive)
- Removedcids@0.7.5(transitive)
- Removedipld-dag-pb@0.17.4(transitive)
- Removedmultibase@0.6.1(transitive)
Updatederr-code@^2.0.0
Updatedipld-dag-pb@^0.18.0
Updatedrabin-wasm@~0.0.8