Skip to content
This repository was archived by the owner on Dec 6, 2022. It is now read-only.

Commit b4e748c

Browse files
hugomrdiasvmx
authored andcommitted
fix: add buffer
1 parent 856bd53 commit b4e748c

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed

package.json

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -34,11 +34,12 @@
3434
},
3535
"homepage": "https://github.com/ipld/js-ipld-block#readme",
3636
"devDependencies": {
37-
"aegir": "^18.2.0",
37+
"aegir": "^21.4.5",
3838
"chai": "^4.2.0"
3939
},
4040
"dependencies": {
41-
"cids": "~0.7.0",
41+
"buffer": "^5.5.0",
42+
"cids": "~0.8.0",
4243
"class-is": "^1.1.0"
4344
},
4445
"engines": {

src/index.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
'use strict'
22

3+
const { Buffer } = require('buffer')
34
const CID = require('cids')
45
const withIs = require('class-is')
56

0 commit comments

Comments
 (0)