Merge pull request #47 from webtorrent/bitfield
This commit is contained in:
commit
953df40533
2
index.js
2
index.js
|
@ -1,7 +1,7 @@
|
||||||
/*! ut_metadata. MIT License. WebTorrent LLC <https://webtorrent.io/opensource> */
|
/*! ut_metadata. MIT License. WebTorrent LLC <https://webtorrent.io/opensource> */
|
||||||
const { EventEmitter } = require('events')
|
const { EventEmitter } = require('events')
|
||||||
const bencode = require('bencode')
|
const bencode = require('bencode')
|
||||||
const BitField = require('bitfield')
|
const BitField = require('bitfield').default
|
||||||
const debug = require('debug')('ut_metadata')
|
const debug = require('debug')('ut_metadata')
|
||||||
const sha1 = require('simple-sha1')
|
const sha1 = require('simple-sha1')
|
||||||
|
|
||||||
|
|
|
@ -12,12 +12,12 @@
|
||||||
},
|
},
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"bencode": "^2.0.1",
|
"bencode": "^2.0.1",
|
||||||
"bitfield": "^3.0.0",
|
"bitfield": "^4.0.0",
|
||||||
"debug": "^4.1.1",
|
"debug": "^4.2.0",
|
||||||
"simple-sha1": "^3.0.1"
|
"simple-sha1": "^3.0.1"
|
||||||
},
|
},
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
"bittorrent-protocol": "^3.1.1",
|
"bittorrent-protocol": "^3.1.2",
|
||||||
"brfs": "^2.0.2",
|
"brfs": "^2.0.2",
|
||||||
"standard": "*",
|
"standard": "*",
|
||||||
"tape": "^5.0.1",
|
"tape": "^5.0.1",
|
||||||
|
|
Loading…
Reference in New Issue