Skip to content

Commit

Permalink
Revert webtorrent version to avoid native dep
Browse files Browse the repository at this point in the history
Causes issues on some system:
 * #6518
 * #6486
 * #6502
  • Loading branch information
Chocobozzz committed Jul 31, 2024
1 parent 40a4987 commit f7ec840
Show file tree
Hide file tree
Showing 3 changed files with 149 additions and 217 deletions.
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -107,6 +107,7 @@
"@opentelemetry/sdk-trace-base": "^1.15.1",
"@opentelemetry/sdk-trace-node": "^1.15.1",
"@opentelemetry/semantic-conventions": "^1.15.1",
"@peertube/bittorrent-tracker-server": "^11.1.2",
"@peertube/feed": "^5.1.3",
"@peertube/http-signature": "^1.7.0",
"@smithy/node-http-handler": "^3.1.0",
Expand All @@ -115,7 +116,6 @@
"async-mutex": "^0.5.0",
"bcrypt": "5.1.1",
"bencode": "^4.0.0",
"bittorrent-tracker": "^11.0.1",
"bluebird": "^3.5.0",
"bullmq": "^5.3.0",
"bytes": "^3.0.0",
Expand Down Expand Up @@ -181,7 +181,7 @@
"useragent": "^2.3.0",
"validator": "^13.0.0",
"webfinger.js": "^2.6.6",
"webtorrent": "^2.1.27",
"webtorrent": "2.1.27",
"winston": "3.13.0",
"ws": "^8.0.0",
"yauzl": "^3.1.0"
Expand Down
2 changes: 1 addition & 1 deletion server/core/controllers/tracker.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { Server as TrackerServer } from 'bittorrent-tracker'
import { Server as TrackerServer } from '@peertube/bittorrent-tracker-server'
import express from 'express'
import { createServer } from 'http'
import { LRUCache } from 'lru-cache'
Expand Down
Loading

0 comments on commit f7ec840

Please sign in to comment.