diff --git a/index.js b/index.js index 6da13a7..45ea867 100644 --- a/index.js +++ b/index.js @@ -1,7 +1,7 @@ /*! ut_metadata. MIT License. WebTorrent LLC */ const { EventEmitter } = require('events') const bencode = require('bencode') -const BitField = require('bitfield') +const BitField = require('bitfield').default const debug = require('debug')('ut_metadata') const sha1 = require('simple-sha1') diff --git a/package.json b/package.json index ff2fc82..2c48646 100644 --- a/package.json +++ b/package.json @@ -12,12 +12,12 @@ }, "dependencies": { "bencode": "^2.0.1", - "bitfield": "^3.0.0", - "debug": "^4.1.1", + "bitfield": "^4.0.0", + "debug": "^4.2.0", "simple-sha1": "^3.0.1" }, "devDependencies": { - "bittorrent-protocol": "^3.1.1", + "bittorrent-protocol": "^3.1.2", "brfs": "^2.0.2", "standard": "*", "tape": "^5.0.1",