Skip to content

Commit 2d30414

Browse files
deps: bump kubo from 0.39.0 to 0.40.0 (#963)
Bumps the kubo-deps group with 1 update: [kubo](https://github.com/ipfs/npm-kubo). Updates `kubo` from 0.39.0 to 0.40.0 - [Commits](ipfs/npm-kubo@v0.39.0...v0.40.0) --- updated-dependencies: - dependency-name: kubo dependency-version: 0.40.0 dependency-type: direct:production update-type: version-update:semver-minor dependency-group: kubo-deps ... --------- Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: Alex Potsides <alex@achingbrain.net>
1 parent 615480c commit 2d30414

File tree

2 files changed

+3
-9
lines changed

2 files changed

+3
-9
lines changed

packages/interop/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -87,7 +87,7 @@
8787
"it-last": "^3.0.9",
8888
"it-map": "^3.1.4",
8989
"it-to-buffer": "^4.0.10",
90-
"kubo": "^0.39.0",
90+
"kubo": "^0.40.1",
9191
"kubo-rpc-client": "^6.0.2",
9292
"libp2p": "^3.0.6",
9393
"multiformats": "^13.4.1",

packages/interop/src/mfs.spec.ts

Lines changed: 2 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -67,10 +67,7 @@ describe('@helia/mfs', () => {
6767
it('should have the same CID after creating a file', async () => {
6868
const filePath = '/foo.txt'
6969
const fileData = Uint8Array.from([0, 1, 2, 3, 4])
70-
await fs.writeBytes(fileData, filePath, {
71-
rawLeaves: true,
72-
reduceSingleLeafToSelf: false
73-
})
70+
await fs.writeBytes(fileData, filePath)
7471
await kubo.api.files.write(filePath, fileData, {
7572
cidVersion: 1,
7673
create: true
@@ -85,10 +82,7 @@ describe('@helia/mfs', () => {
8582
it('should have the same CID after removing a file', async () => {
8683
const filePath = '/foo.txt'
8784
const fileData = Uint8Array.from([0, 1, 2, 3, 4])
88-
await fs.writeBytes(fileData, filePath, {
89-
rawLeaves: true,
90-
reduceSingleLeafToSelf: false
91-
})
85+
await fs.writeBytes(fileData, filePath)
9286
await fs.rm(filePath)
9387
await kubo.api.files.write(filePath, fileData, {
9488
cidVersion: 1,

0 commit comments

Comments
 (0)