mirror of
https://github.com/webtorrent/bittorrent-tracker.git
synced 2024-12-12 18:36:28 +00:00
feat: updated webrtc implementation (#519)
* feat: update webrtc implementation * chore: update deps
This commit is contained in:
parent
f6a7993e84
commit
633d68a32c
37
package.json
37
package.json
@ -27,42 +27,41 @@
|
||||
},
|
||||
"type": "module",
|
||||
"dependencies": {
|
||||
"@thaunknown/simple-peer": "^9.12.1",
|
||||
"@thaunknown/simple-websocket": "^9.1.0",
|
||||
"@thaunknown/simple-peer": "^10.0.6",
|
||||
"@thaunknown/simple-websocket": "^9.1.1",
|
||||
"bencode": "^4.0.0",
|
||||
"bittorrent-peerid": "^1.3.3",
|
||||
"bittorrent-peerid": "^1.3.6",
|
||||
"chrome-dgram": "^3.0.6",
|
||||
"clone": "^2.0.0",
|
||||
"clone": "^2.1.2",
|
||||
"compact2string": "^1.4.1",
|
||||
"cross-fetch-ponyfill": "^1.0.1",
|
||||
"debug": "^4.1.1",
|
||||
"ip": "^1.1.5",
|
||||
"cross-fetch-ponyfill": "^1.0.3",
|
||||
"debug": "^4.3.4",
|
||||
"ip": "^2.0.1",
|
||||
"lru": "^3.1.0",
|
||||
"minimist": "^1.2.5",
|
||||
"minimist": "^1.2.8",
|
||||
"once": "^1.4.0",
|
||||
"queue-microtask": "^1.2.3",
|
||||
"random-iterate": "^1.0.1",
|
||||
"run-parallel": "^1.2.0",
|
||||
"run-series": "^1.1.9",
|
||||
"socks": "^2.0.0",
|
||||
"string2compact": "^2.0.0",
|
||||
"uint8-util": "^2.1.9",
|
||||
"socks": "^2.8.3",
|
||||
"string2compact": "^2.0.1",
|
||||
"uint8-util": "^2.2.5",
|
||||
"unordered-array-remove": "^1.0.2",
|
||||
"ws": "^8.0.0"
|
||||
"ws": "^8.17.0"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@mapbox/node-pre-gyp": "1.0.11",
|
||||
"@webtorrent/semantic-release-config": "1.0.10",
|
||||
"magnet-uri": "7.0.5",
|
||||
"semantic-release": "21.1.2",
|
||||
"standard": "*",
|
||||
"tape": "5.7.5",
|
||||
"undici": "^5.27.0",
|
||||
"webtorrent-fixtures": "2.0.2",
|
||||
"wrtc": "0.4.7"
|
||||
"undici": "^6.16.1",
|
||||
"webrtc-polyfill": "^1.1.5",
|
||||
"webtorrent-fixtures": "2.0.2"
|
||||
},
|
||||
"engines": {
|
||||
"node": ">=12.20.0"
|
||||
"node": ">=16.0.0"
|
||||
},
|
||||
"exports": {
|
||||
"import": "./index.js"
|
||||
@ -80,8 +79,8 @@
|
||||
"license": "MIT",
|
||||
"main": "index.js",
|
||||
"optionalDependencies": {
|
||||
"bufferutil": "^4.0.3",
|
||||
"utf-8-validate": "^5.0.5"
|
||||
"bufferutil": "^4.0.8",
|
||||
"utf-8-validate": "^6.0.4"
|
||||
},
|
||||
"repository": {
|
||||
"type": "git",
|
||||
|
@ -1,7 +1,7 @@
|
||||
import Client from '../index.js'
|
||||
import common from './common.js'
|
||||
import test from 'tape'
|
||||
import wrtc from 'wrtc'
|
||||
import wrtc from 'webrtc-polyfill'
|
||||
|
||||
const infoHash = '4cb67059ed6bd08362da625b3ae77f6f4a075705'
|
||||
const peerId = Buffer.from('01234567890123456789')
|
||||
|
@ -1,7 +1,7 @@
|
||||
import Client from '../index.js'
|
||||
import common from './common.js'
|
||||
import test from 'tape'
|
||||
import wrtc from 'wrtc'
|
||||
import wrtc from 'webrtc-polyfill'
|
||||
|
||||
const infoHash = '4cb67059ed6bd08362da625b3ae77f6f4a075705'
|
||||
const peerId = Buffer.from('01234567890123456789')
|
||||
|
Loading…
Reference in New Issue
Block a user