Skip to content
This repository was archived by the owner on Oct 1, 2021. It is now read-only.

Commit 454291d

Browse files
committed
chore: swap cbor for borc
1 parent 2b20e87 commit 454291d

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

migrations/migration-9/index.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
const CID = require('cids')
44
const dagpb = require('ipld-dag-pb')
5-
const cbor = require('cbor')
5+
const cbor = require('borc')
66
const multicodec = require('multicodec')
77
const multibase = require('multibase')
88
const pinset = require('./pin-set')

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@
4141
"docs": "aegir docs"
4242
},
4343
"dependencies": {
44-
"cbor": "^7.0.2",
44+
"borc": "^2.1.2",
4545
"cids": "^1.0.0",
4646
"datastore-core": "^3.0.0",
4747
"debug": "^4.1.0",

test/migrations/migration-9-test.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
'use strict'
44

55
const { expect } = require('aegir/utils/chai')
6-
const cbor = require('cbor')
6+
const cbor = require('borc')
77
const migration = require('../../migrations/migration-9')
88
const { cidToKey, PIN_DS_KEY } = require('../../migrations/migration-9/utils')
99
const { createStore } = require('../../src/utils')

0 commit comments

Comments
 (0)