Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/webtorrent/webtorrent.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorCas <6506529+ThaUnknown@users.noreply.github.com>2021-06-30 06:19:03 +0300
committerGitHub <noreply@github.com>2021-06-30 06:19:03 +0300
commit2bf6cf42e09c448cab0dddcd74ea9a49dc3f18a0 (patch)
tree66b0879597c008da2047820678860ccd879119dd /lib
parenteb3aeff9cd17a85dc87f6fadee12d3c89e28d65b (diff)
fix: remove deprecated functionality (#2118)
Diffstat (limited to 'lib')
-rw-r--r--lib/torrent.js6
1 files changed, 0 insertions, 6 deletions
diff --git a/lib/torrent.js b/lib/torrent.js
index 24e7b44..1f0be5b 100644
--- a/lib/torrent.js
+++ b/lib/torrent.js
@@ -193,12 +193,6 @@ class Torrent extends EventEmitter {
return numConns
}
- // TODO: remove in v1
- get swarm () {
- console.warn('WebTorrent: `torrent.swarm` is deprecated. Use `torrent` directly instead.')
- return this
- }
-
_onTorrentId (torrentId) {
if (this.destroyed) return