From a19b83ad6df21f2eeec08304cd24a0a43cdd80fe Mon Sep 17 00:00:00 2001 From: Feross Aboukhadijeh Date: Tue, 3 Nov 2020 09:31:23 -1000 Subject: [PATCH 1/2] bump deps --- package.json | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/package.json b/package.json index ff2fc82..a99acd7 100644 --- a/package.json +++ b/package.json @@ -13,11 +13,11 @@ "dependencies": { "bencode": "^2.0.1", "bitfield": "^3.0.0", - "debug": "^4.1.1", + "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", From adf80f9e31d09d2fc9edc3b44baae1fe156ff614 Mon Sep 17 00:00:00 2001 From: Feross Aboukhadijeh Date: Tue, 3 Nov 2020 09:36:31 -1000 Subject: [PATCH 2/2] bitfield@4 --- index.js | 2 +- package.json | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) 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 a99acd7..2c48646 100644 --- a/package.json +++ b/package.json @@ -12,7 +12,7 @@ }, "dependencies": { "bencode": "^2.0.1", - "bitfield": "^3.0.0", + "bitfield": "^4.0.0", "debug": "^4.2.0", "simple-sha1": "^3.0.1" },