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

Commit ec98cd8

Browse files
hugomrdiasdaviddias
authored andcommitted
fix: remove safe-buffer
1 parent 88ad4fe commit ec98cd8

File tree

2 files changed

+1
-3
lines changed

2 files changed

+1
-3
lines changed

package.json

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@
4545
"release-major": "aegir release --type major -t node -t browser",
4646
"coverage": "aegir coverage",
4747
"coverage-publish": "aegir-coverage publish",
48-
"dep-check": "npx dependency-check package.json './test/**/*.js'"
48+
"dep-check": "npx dependency-check package.json './test/**/*.js' './src/**/*.js'"
4949
},
5050
"repository": {
5151
"type": "git",
@@ -164,7 +164,6 @@
164164
"read-pkg-up": "^4.0.0",
165165
"readable-stream": "2.3.6",
166166
"receptacle": "^1.3.2",
167-
"safe-buffer": "^5.1.2",
168167
"stream-to-pull-stream": "^1.7.2",
169168
"tar-stream": "^1.6.1",
170169
"temp": "~0.8.3",

src/http/api/resources/block.js

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

33
const CID = require('cids')
44
const multipart = require('ipfs-multipart')
5-
const Buffer = require('safe-buffer').Buffer
65
const debug = require('debug')
76
const log = debug('jsipfs:http-api:block')
87
log.error = debug('jsipfs:http-api:block:error')

0 commit comments

Comments
 (0)