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/test/node
AgeCommit message (Collapse)Author
2022-11-11perf: drop chunk store streamThaUnknown
2022-11-11feat: esmThaUnknown
2022-08-30update tests, minor fixesThaUnknown
2022-02-03Merge branch 'v2' into masterDiego Rodríguez Baquero
2021-10-26fix: Prep for esm (#2205)Jimmy Wärting
* prep for esm * update min req node vers * revert node prefix
2021-08-26fix: handle done event when new files selected (#2183)Julen Garcia Leunda
2021-07-24feat: add speed limit to client (#2062)Alex
* Add speed limit to client * Fix standard * Update docs/api.md * Add changes from PR feedback Co-authored-by: Kadu Diógenes <kadu@fnix.com.br> Co-authored-by: Ivan Gorbanev <ivang@van.work> Co-authored-by: ultimate-tester <jordimueters@hotmail.com> Co-authored-by: Julen Garcia Leunda <hicom150@gmail.com> Co-authored-by: Niklas Johansson <niklas.y.johansson@se.abb.com> Co-authored-by: ThaUnknown <kapi.skowronek@gmail.com> Co-authored-by: Diego Rodríguez Baquero <github@diegorbaquero.com>
2021-07-23Merge master to v2 (#2147)Diego Rodríguez Baquero
* ci: fix CacheStore already closed * chore(deps): update dependency bittorrent-tracker to v9.17.4 (#2144) Co-authored-by: Renovate Bot <bot@renovateapp.com> Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-07-23refactor: change behaviour of `noPeers` event (#2142)Alex
* Change behaviour of noPeers event * Fix docs * Add changes based on PR feedback * Fix noPeersIntervalTime to seconds Co-authored-by: Diego Rodríguez Baquero <github@diegorbaquero.com> Co-authored-by: Diego Rodríguez Baquero <github@diegorbaquero.com>
2021-07-22ci: fix CacheStore already closedDiego Rodríguez Baquero
2021-07-11fix: modernize code (#2134)Diego Rodríguez Baquero
* fix: modernize code * standard fix
2021-07-06fix: ensure uTP peer address is IPv4 (#2125)Julen Garcia Leunda
2021-02-12fix tests – don't assume async orderingFeross Aboukhadijeh
2021-02-04standardFeross Aboukhadijeh
2020-11-14Fix review suggestionsJulen Garcia Leunda
2020-11-12Fix tests disabling lsd optionJulen Garcia Leunda
2020-10-30Implement peer-address (x.pe) BEP09Julen Garcia Leunda
2020-10-29Convert the tests to use let/const instead of varFeross Aboukhadijeh
2020-10-02Add uTP support (BEP29)Julen Garcia Leunda
2020-09-10Merge pull request #1364 from KayleePop/destroyKaylee
2020-05-26add test for downloading from a manually added peerKayleePop
2020-04-15Docs and tests for store destructionKaylee
2020-03-15Add tests for private optionAlex
2019-09-10Fix torrent-events testFeross Aboukhadijeh
2019-09-10torrent-events test should be node onlyFeross Aboukhadijeh
See: https://github.com/webtorrent/webtorrent/pull/1739#issuecomment-529665492
2019-08-12Rename util function for testsAlex
2019-08-12Fix left parameter for asynchronous behaviourAlex
2019-08-07remove safe-bufferFeross Aboukhadijeh
2019-07-06standardFeross Aboukhadijeh
2018-08-29bye bye xtendJimmy Wärting
2018-08-29standardFeross Aboukhadijeh
2018-08-24Added test for file.downloadedJimmy Wärting
2018-02-18standardFeross Aboukhadijeh
2017-02-20Use random portDiego Rodríguez Baquero
2016-09-27test: style cleanupFeross Aboukhadijeh
2016-09-20Seed: allow announce field with trackers disabledDC
2016-09-17Test option to disable web seedsDC
2016-08-21replace 'hat' with 'randombytes'Feross Aboukhadijeh
2016-07-23test: make more reliable with onceFeross Aboukhadijeh
Okay, so this was a timing thing. Basically now noPeers is getting emitted twice because the tracker gets sent a 'started' then a 'completed' message and both times there are no peers in the response. I changed the .on('noPeers') to .once('noPeers') so this will be more reliable. https://github.com/feross/webtorrent/pull/871#discussion_r71963946
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-05-30Use safe-bufferFeross Aboukhadijeh
Use the new Buffer APIs from Node v6 for added security. For example, Buffer.from() will throw if passed a number, unlike Buffer() which allocated UNINITIALIZED memory. Use the safe-buffer package for compatibility with previous versions of Node.js, including v4.x, v0.12, and v0.10. https://github.com/feross/safe-buffer
2016-05-23fix tests on appveyorFeross Aboukhadijeh
2016-05-20add more metadata testsFeross Aboukhadijeh
- test multiple &xs= params in magnet link - test param that 404s
2016-05-19Fixes for PR #799Feross Aboukhadijeh
- Support multiple &xs= params in parallel - Fail on 'error' 'warning' events
2016-05-17Implement exact source (xs) for magnet URIsSebastian Mayr
2016-04-27Update 'noPeers' to stop using deprecated 'torrent.swarm'Jonathan Harper
2016-04-27Torrent emits 'noPeers' even when swarm is empty after announceJonathan Harper
2016-04-21set dhtPort to correct port after listeningFeross Aboukhadijeh
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-03-29fix swarm testFeross Aboukhadijeh