Merge pull request #47 from webtorrent/bitfield

This commit is contained in:
Feross Aboukhadijeh 2020-11-05 22:16:35 +01:00 committed by GitHub
commit 953df40533
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 4 additions and 4 deletions

View File

@ -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')

View File

@ -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",