Skip to content

Commit 7c6519d

Browse files
committed
fix: replace simple-peer with maintained one
1 parent 51a6b6d commit 7c6519d

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

client.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ import Debug from 'debug'
22
import EventEmitter from 'events'
33
import once from 'once'
44
import parallel from 'run-parallel'
5-
import Peer from 'simple-peer'
5+
import Peer from '@thaunknown/simple-peer'
66
import queueMicrotask from 'queue-microtask'
77
import { hex2arr, hex2bin, text2arr, arr2hex, arr2text } from 'uint8-util'
88

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,7 @@
2727
},
2828
"type": "module",
2929
"dependencies": {
30+
"@thaunknown/simple-peer": "^9.12.0",
3031
"@thaunknown/simple-websocket": "^9.1.0",
3132
"bencode": "^3.0.3",
3233
"bittorrent-peerid": "^1.3.3",
@@ -43,7 +44,6 @@
4344
"run-parallel": "^1.2.0",
4445
"run-series": "^1.1.9",
4546
"simple-get": "^4.0.0",
46-
"simple-peer": "^9.11.0",
4747
"socks": "^2.0.0",
4848
"string2compact": "^2.0.0",
4949
"uint8-util": "^2.1.9",

0 commit comments

Comments
 (0)