Skip to content
This repository was archived by the owner on Feb 12, 2024. It is now read-only.

Commit c367840

Browse files
authored
fix: update car dependency for CARv2 read support (#4085)
4.x adds basic CARv2 read support, so you could `ipfs dag import` a CARv2 with this; also with https://explore.ipld.io/ getting CAR support, this would allow importing and inspection of a CARv2 there. The breakage was in the return type definition of `CarReader#header()` which I don't believe is touched in js-ipfs, which only cares about `getRoots()` in the header which remains the same.
1 parent e90b8f1 commit c367840

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

packages/interface-ipfs-core/package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,7 @@
6060
],
6161
"license": "MIT",
6262
"dependencies": {
63-
"@ipld/car": "^3.1.6",
63+
"@ipld/car": "^4.1.0",
6464
"@ipld/dag-cbor": "^7.0.0",
6565
"@ipld/dag-pb": "^2.1.3",
6666
"@types/pako": "^1.0.2",

packages/ipfs-core/package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,7 @@
6767
},
6868
"dependencies": {
6969
"@chainsafe/libp2p-noise": "^5.0.0",
70-
"@ipld/car": "^3.1.0",
70+
"@ipld/car": "^4.1.0",
7171
"@ipld/dag-cbor": "^7.0.0",
7272
"@ipld/dag-json": "^8.0.1",
7373
"@ipld/dag-pb": "^2.1.3",

0 commit comments

Comments
 (0)