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