diff options
author | Feross Aboukhadijeh <feross@feross.org> | 2020-11-05 00:46:14 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-11-05 00:46:14 +0300 |
commit | 66d3f371565a7750381575f5a2963c5628520359 (patch) | |
tree | 95eae7709746f128f458f10183d2ed22ede9453e /lib | |
parent | ec8ab4602ebd4b4ad3e95bb138c1b67e1ea773ed (diff) | |
parent | 57226baee21e616968d596a7efd2199a0e781021 (diff) |
Merge pull request #1952 from webtorrent/bitfield
Diffstat (limited to 'lib')
-rw-r--r-- | lib/torrent.js | 2 | ||||
-rw-r--r-- | lib/webconn.js | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/lib/torrent.js b/lib/torrent.js index 12ec6ee..0db32e3 100644 --- a/lib/torrent.js +++ b/lib/torrent.js @@ -1,7 +1,7 @@ /* global Blob */ const addrToIPPort = require('addr-to-ip-port') -const BitField = require('bitfield') +const BitField = require('bitfield').default const ChunkStoreWriteStream = require('chunk-store-stream/write') const debug = require('debug')('webtorrent:torrent') const Discovery = require('torrent-discovery') diff --git a/lib/webconn.js b/lib/webconn.js index e99c04c..93ae966 100644 --- a/lib/webconn.js +++ b/lib/webconn.js @@ -1,4 +1,4 @@ -const BitField = require('bitfield') +const BitField = require('bitfield').default const debug = require('debug')('webtorrent:webconn') const get = require('simple-get') const sha1 = require('simple-sha1') |