From 7d747efeca17a20298c51e2f393e38622c4053cd Mon Sep 17 00:00:00 2001 From: Feross Aboukhadijeh Date: Thu, 4 Jul 2019 21:37:12 -0700 Subject: 'url.parse' was deprecated since v11.0.0. Use 'url.URL' constructor instead --- lib/torrent.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lib/torrent.js') diff --git a/lib/torrent.js b/lib/torrent.js index 8f667ff..39a725f 100644 --- a/lib/torrent.js +++ b/lib/torrent.js @@ -1,4 +1,4 @@ -/* global URL, Blob */ +/* global Blob */ const addrToIPPort = require('addr-to-ip-port') const BitField = require('bitfield') -- cgit v1.2.3