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
AgeCommit message (Collapse)Author
2021-10-26fix: Prep for esm (#2205)Jimmy Wärting
* prep for esm * update min req node vers * revert node prefix
2021-07-11fix: modernize code (#2134)Diego Rodríguez Baquero
* fix: modernize code * standard fix
2020-11-12Fix tests disabling lsd optionJulen Garcia Leunda
2020-10-29Convert the tests to use let/const instead of varFeross Aboukhadijeh
2020-03-15Add tests for private optionAlex
2018-08-29standardFeross Aboukhadijeh
2016-07-22Make downloading tests work on memory store to ensure the sore is empty.Yoann Ciabaud
Corrected webseed test to follow fixtures and tracker magnet.
2016-04-21BREAKING: Major cleanupFeross Aboukhadijeh
### Added - `client.listening` property to signal whether TCP server is listening for incoming connections. ### Changed - Merged `Swarm` class into `Torrent` object. Properties on `torrent.swarm` (like `torrent.swarm.wires`) now exist on `torrent` (e.g. `torrent.wires`). - `torrent.addPeer` can no longer be called before the `infoHash` event has been emitted. - Remove `torrent.on('listening')` event. Use `client.on('listening')` instead. - Remove support from `TCPPool` for listening on multiple ports. This was not used by WebTorrent and just added complexity. There is now a single `TCPPool` instance for the whole WebTorrent client. - Deprecate: Do not use `client.download()` anymore. Use `client.add()` instead. - Deprecate: Do not use `torrent.swarm` anymore. Use `torrent` instead. ### Fixed - When there is a `torrent.on('error')` listener, don't also emit `client.on('error')`. - Do not return existing torrent object when duplicate torrent is added. Fire an `'error'` event instead. - Memory leak of `Torrent` object caused by `RarityMap` - Memory leak of `Torrent` object caused by `TCPPool` - `client.ratio` and `torrent.ratio` are now calculated as `uploaded / received` instead of `uploaded / downloaded`.
2016-02-28use webtorrent-fixturesFeross Aboukhadijeh
2016-01-11tests: cleanupFeross Aboukhadijeh
2015-12-30Add more browser testsFeross Aboukhadijeh
Run more of the tests in the browser. There's now a test/node and test/browser folder for tests that are specific to each environment. Anything in test/ will be run in both environments.