Skip to content

Commit b426b17

Browse files
authored
chore: update unixfs deps (ipfs#2809)
* chore: update unixfs deps * fix: fix up tests * fix: update cid, verified with go * fix: linting * fix: fix tests
1 parent 2382468 commit b426b17

File tree

2 files changed

+5
-5
lines changed

2 files changed

+5
-5
lines changed

package.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -101,8 +101,8 @@
101101
"ipfs-multipart": "^0.3.0",
102102
"ipfs-repo": "^0.30.1",
103103
"ipfs-unixfs": "^1.0.0",
104-
"ipfs-unixfs-exporter": "^1.0.0",
105-
"ipfs-unixfs-importer": "^1.0.0",
104+
"ipfs-unixfs-exporter": "^1.0.1",
105+
"ipfs-unixfs-importer": "^1.0.1",
106106
"ipfs-utils": "^0.7.2",
107107
"ipld": "^0.25.0",
108108
"ipld-bitcoin": "^0.3.0",
@@ -182,7 +182,7 @@
182182
"go-ipfs-dep": "0.4.23-3",
183183
"hat": "0.0.3",
184184
"interface-ipfs-core": "^0.132.0",
185-
"ipfs-interop": "github:ipfs/interop#disable-small-file-with-raw-leaves-test",
185+
"ipfs-interop": "^1.0.0",
186186
"ipfsd-ctl": "^3.0.0",
187187
"it-first": "^1.0.1",
188188
"ncp": "^2.0.0",

test/core/files.spec.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -39,8 +39,8 @@ describe('files', function () {
3939
}))
4040

4141
expect(files.length).to.equal(1)
42-
expect(files[0].cid.toString()).to.equal('bafybeide2caf5we5a7izifzwzz5ds2gla67vsfgrzvbzpnyyirnfzgwf5e')
43-
expect(files[0].size).to.equal(11)
42+
expect(files[0].cid.toString()).to.equal('bafkreifojmzibzlof6xyh5auu3r5vpu5l67brf3fitaf73isdlglqw2t7q')
43+
expect(files[0].size).to.equal(3)
4444
})
4545
})
4646
})

0 commit comments

Comments
 (0)