mirror of
https://github.com/webtorrent/bittorrent-tracker.git
synced 2025-01-18 12:11:36 +00:00
fix: replace simple-peer with maintained one (#466)
This commit is contained in:
parent
c5f70dd186
commit
3b2dedb415
@ -2,7 +2,7 @@ import Debug from 'debug'
|
||||
import EventEmitter from 'events'
|
||||
import once from 'once'
|
||||
import parallel from 'run-parallel'
|
||||
import Peer from 'simple-peer'
|
||||
import Peer from '@thaunknown/simple-peer'
|
||||
import queueMicrotask from 'queue-microtask'
|
||||
import { hex2arr, hex2bin, text2arr, arr2hex, arr2text } from 'uint8-util'
|
||||
|
||||
|
@ -1,6 +1,6 @@
|
||||
import clone from 'clone'
|
||||
import Debug from 'debug'
|
||||
import Peer from 'simple-peer'
|
||||
import Peer from '@thaunknown/simple-peer'
|
||||
import Socket from '@thaunknown/simple-websocket'
|
||||
import Socks from 'socks'
|
||||
import { arr2text, arr2hex, hex2bin, bin2hex, randomBytes } from 'uint8-util'
|
||||
|
@ -27,6 +27,7 @@
|
||||
},
|
||||
"type": "module",
|
||||
"dependencies": {
|
||||
"@thaunknown/simple-peer": "^9.12.0",
|
||||
"@thaunknown/simple-websocket": "^9.1.0",
|
||||
"bencode": "^3.0.3",
|
||||
"bittorrent-peerid": "^1.3.3",
|
||||
@ -43,7 +44,6 @@
|
||||
"run-parallel": "^1.2.0",
|
||||
"run-series": "^1.1.9",
|
||||
"simple-get": "^4.0.0",
|
||||
"simple-peer": "^9.11.0",
|
||||
"socks": "^2.0.0",
|
||||
"string2compact": "^2.0.0",
|
||||
"uint8-util": "^2.1.9",
|
||||
|
Loading…
Reference in New Issue
Block a user