remove safe-buffer
This commit is contained in:
parent
3405e9a94e
commit
aa3f1459de
1
index.js
1
index.js
|
@ -1,6 +1,5 @@
|
||||||
var bencode = require('bencode')
|
var bencode = require('bencode')
|
||||||
var BitField = require('bitfield')
|
var BitField = require('bitfield')
|
||||||
var Buffer = require('safe-buffer').Buffer
|
|
||||||
var debug = require('debug')('ut_metadata')
|
var debug = require('debug')('ut_metadata')
|
||||||
var EventEmitter = require('events').EventEmitter
|
var EventEmitter = require('events').EventEmitter
|
||||||
var inherits = require('inherits')
|
var inherits = require('inherits')
|
||||||
|
|
|
@ -15,7 +15,6 @@
|
||||||
"bitfield": "^2.0.0",
|
"bitfield": "^2.0.0",
|
||||||
"debug": "^3.1.0",
|
"debug": "^3.1.0",
|
||||||
"inherits": "^2.0.1",
|
"inherits": "^2.0.1",
|
||||||
"safe-buffer": "^5.0.1",
|
|
||||||
"simple-sha1": "^2.0.0"
|
"simple-sha1": "^2.0.0"
|
||||||
},
|
},
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
|
|
|
@ -1,5 +1,4 @@
|
||||||
var bencode = require('bencode')
|
var bencode = require('bencode')
|
||||||
var Buffer = require('safe-buffer').Buffer
|
|
||||||
var fixtures = require('webtorrent-fixtures')
|
var fixtures = require('webtorrent-fixtures')
|
||||||
var Protocol = require('bittorrent-protocol')
|
var Protocol = require('bittorrent-protocol')
|
||||||
var test = require('tape')
|
var test = require('tape')
|
||||||
|
|
Loading…
Reference in New Issue