Skip to content
This repository was archived by the owner on Apr 29, 2020. It is now read-only.

Commit cdaa710

Browse files
committed
chore: update deps
1 parent 029c2a1 commit cdaa710

File tree

2 files changed

+5
-5
lines changed

2 files changed

+5
-5
lines changed

package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -42,8 +42,8 @@
4242
"cids": "~0.5.5",
4343
"detect-node": "^2.0.4",
4444
"dirty-chai": "^2.0.1",
45-
"ipfs-unixfs-exporter": "~0.35.4",
46-
"ipld": "~0.20.2",
45+
"ipfs-unixfs-exporter": "~0.36.1",
46+
"ipld": "~0.21.1",
4747
"ipld-in-memory": "^2.0.0",
4848
"multihashes": "~0.4.14",
4949
"pull-buffer-stream": "^1.0.1",

test/builder-dir-sharding.spec.js

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -103,9 +103,9 @@ describe('builder: directory sharding', () => {
103103
expect(nodes.length).to.be.eql(2)
104104
const expectedHash = new CID(nonShardedHash).toBaseEncodedString()
105105
expect(nodes[0].path).to.be.eql(expectedHash)
106-
expect(new CID(nodes[0].hash).toBaseEncodedString()).to.be.eql(expectedHash)
106+
expect(nodes[0].cid.toBaseEncodedString()).to.be.eql(expectedHash)
107107
expect(nodes[1].path).to.be.eql(expectedHash + '/b')
108-
expect(nodes[1].size).to.be.eql(29)
108+
expect(nodes[1].size).to.be.eql(21)
109109
} catch (err) {
110110
return done(err)
111111
}
@@ -138,7 +138,7 @@ describe('builder: directory sharding', () => {
138138
expect(nodes.length).to.be.eql(2)
139139
const expectedHash = new CID(shardedHash).toBaseEncodedString()
140140
expect(nodes[0].path).to.be.eql(expectedHash)
141-
expect(new CID(nodes[0].hash).toBaseEncodedString()).to.be.eql(expectedHash)
141+
expect(nodes[0].cid.toBaseEncodedString()).to.be.eql(expectedHash)
142142
expect(nodes[1].path).to.be.eql(expectedHash + '/b')
143143
expect(nodes[1].size).to.be.eql(21)
144144
} catch (err) {

0 commit comments

Comments
 (0)