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

chore: remove ipld-dag-cbor dependency #1618

Closed
wants to merge 1 commit into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 0 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -117,7 +117,6 @@
"ipfs-unixfs": "~0.1.15",
"ipfs-unixfs-engine": "~0.32.3",
"ipld": "~0.17.3",
"ipld-dag-cbor": "~0.12.1",
"ipld-dag-pb": "~0.14.6",
"ipns": "~0.2.0",
"is-ipfs": "~0.4.2",
Expand Down
4 changes: 1 addition & 3 deletions src/core/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@ const BlockService = require('ipfs-block-service')
const Ipld = require('ipld')
const PeerId = require('peer-id')
const PeerInfo = require('peer-info')
const dagCBOR = require('ipld-dag-cbor')
const dagPB = require('ipld-dag-pb')
const crypto = require('libp2p-crypto')
const isIPFS = require('is-ipfs')
Expand Down Expand Up @@ -75,8 +74,7 @@ class IPFS extends EventEmitter {
multibase: multibase,
multihash: multihash,
CID: CID,
dagPB: dagPB,
dagCBOR: dagCBOR
dagPB: dagPB
}

// IPFS Core Internals
Expand Down
4 changes: 1 addition & 3 deletions test/core/init.spec.js
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,6 @@ const isNode = require('detect-node')
const hat = require('hat')
const PeerId = require('peer-id')
const PeerInfo = require('peer-info')
const dagCBOR = require('ipld-dag-cbor')
const dagPB = require('ipld-dag-pb')
const crypto = require('libp2p-crypto')
const isIPFS = require('is-ipfs')
Expand Down Expand Up @@ -123,8 +122,7 @@ describe('init', () => {
multibase: multibase,
multihash: multihash,
CID: CID,
dagPB: dagPB,
dagCBOR: dagCBOR
dagPB: dagPB
})
})

Expand Down