From 3b2dedb4151615831ca12d3d0a830354b1c04e68 Mon Sep 17 00:00:00 2001 From: Cas <6506529+ThaUnknown@users.noreply.github.com> Date: Sat, 27 May 2023 19:14:52 +0200 Subject: [PATCH 1/2] fix: replace simple-peer with maintained one (#466) --- client.js | 2 +- lib/client/websocket-tracker.js | 2 +- package.json | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/client.js b/client.js index 5279a8ee..9942f361 100644 --- a/client.js +++ b/client.js @@ -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' diff --git a/lib/client/websocket-tracker.js b/lib/client/websocket-tracker.js index 3889eea2..f933323c 100644 --- a/lib/client/websocket-tracker.js +++ b/lib/client/websocket-tracker.js @@ -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' diff --git a/package.json b/package.json index 6550f912..86b9116d 100644 --- a/package.json +++ b/package.json @@ -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", From 17d4c66d9c5f22dfc19f9a6d5a6552444595f72a Mon Sep 17 00:00:00 2001 From: semantic-release-bot Date: Sat, 27 May 2023 17:17:52 +0000 Subject: [PATCH 2/2] chore(release): 10.0.6 ## [10.0.6](https://github.com/webtorrent/bittorrent-tracker/compare/v10.0.5...v10.0.6) (2023-05-27) ### Bug Fixes * replace simple-peer with maintained one ([#466](https://github.com/webtorrent/bittorrent-tracker/issues/466)) ([3b2dedb](https://github.com/webtorrent/bittorrent-tracker/commit/3b2dedb4151615831ca12d3d0a830354b1c04e68)) --- CHANGELOG.md | 7 +++++++ package.json | 2 +- 2 files changed, 8 insertions(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 043cf1d8..6c4bcd39 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,10 @@ +## [10.0.6](https://github.com/webtorrent/bittorrent-tracker/compare/v10.0.5...v10.0.6) (2023-05-27) + + +### Bug Fixes + +* replace simple-peer with maintained one ([#466](https://github.com/webtorrent/bittorrent-tracker/issues/466)) ([3b2dedb](https://github.com/webtorrent/bittorrent-tracker/commit/3b2dedb4151615831ca12d3d0a830354b1c04e68)) + ## [10.0.5](https://github.com/webtorrent/bittorrent-tracker/compare/v10.0.4...v10.0.5) (2023-05-27) diff --git a/package.json b/package.json index 86b9116d..4f0b4989 100644 --- a/package.json +++ b/package.json @@ -1,7 +1,7 @@ { "name": "bittorrent-tracker", "description": "Simple, robust, BitTorrent tracker (client & server) implementation", - "version": "10.0.5", + "version": "10.0.6", "author": { "name": "WebTorrent LLC", "email": "feross@webtorrent.io",