Commit Graph

1024 Commits

Author SHA1 Message Date
Diego Rodriguez Baquero
938db35ee6
9.14.5 2020-03-29 14:08:35 -05:00
Diego Rodriguez Baquero
695b40a31d
authors 2020-03-29 14:08:29 -05:00
Diego Rodríguez Baquero
51db46f4b2
increase reconnect variance and maximum 2020-03-29 13:34:50 -05:00
Diego Rodríguez Baquero
587b6e6395
fix standard 2020-03-29 12:51:49 -05:00
Diego Rodríguez Baquero
8b8daa3d4a
fix: set correct headers 2020-03-29 12:32:31 -05:00
Diego Rodríguez Baquero
fc4a0f76a9
Merge pull request #336 from koush/patch-1
Error.message is read only on the QuickJS Runtime.
2020-03-29 12:24:38 -05:00
Diego Rodríguez Baquero
e5df6fc2fc
fix: error param 2020-03-29 12:22:44 -05:00
KayleePop
0c459aff78 use native Set instead of uniq library 2020-03-15 16:24:44 -05:00
Koushik Dutta
29d2e6b1b3
Error.message is read only on some platforms.
This causes another Error to be thrown.
2020-02-03 15:52:37 -08:00
Feross Aboukhadijeh
7ec91ebecc update authors 2019-08-18 12:53:38 -07:00
Feross Aboukhadijeh
ecb9efa8db 9.14.4 2019-08-18 12:53:37 -07:00
Feross Aboukhadijeh
4196c26917
Merge pull request #332 from guanzo/bugfix
Check if socket is already connected in _openSocket().
2019-08-18 12:52:51 -07:00
Feross Aboukhadijeh
20368d2113 9.14.3 2019-08-14 15:23:50 -07:00
Feross Aboukhadijeh
55cc025b51
Merge pull request #330 from webtorrent/useless-set
Remove useless assignment
2019-08-14 15:23:12 -07:00
Eric Guan
fc2f84ad60 Check if socket is already connected in _openSocket(). Fixes https://github.com/webtorrent/webtorrent/issues/1245. 2019-08-14 14:20:18 -07:00
Feross Aboukhadijeh
695ade5b86 Remove useless assignment 2019-08-12 18:20:45 -07:00
Feross Aboukhadijeh
5b9da4a5e2 9.14.2 2019-08-11 14:32:35 -07:00
Feross Aboukhadijeh
da70afd3b3 add additional info in debug logs 2019-08-11 14:32:15 -07:00
Feross Aboukhadijeh
8381502f3c Delete package-lock.json 2019-08-09 12:03:28 -07:00
Feross Aboukhadijeh
6f403e9855 9.14.1 2019-08-08 20:05:01 -07:00
Feross Aboukhadijeh
ddee6b96b5 Fix URL constructor on udp:// urls in Chrome App environment
For: https://github.com/brave/brave-browser/issues/5604

`bittorrent-tracker` is broken when run in a Chrome App environment.

The issue is that the `URL` constructor is buggy Chromium. https://bugs.chromium.org/p/chromium/issues/detail?id=734880

We switched to `URL` from `require('url')` in `bittorrent-tracker@9.13.0`. Commit: 93b41391a9

This code path was not exercised by `bittorrent-tracker`'s tests because UDP trackers are normally only used in a Node.js environment. Braves run the code in a Chrome extension environment which we don't test.
2019-08-08 20:04:41 -07:00
Feross Aboukhadijeh
91148ce40b 9.14.0 2019-08-07 19:03:47 -07:00
Feross Aboukhadijeh
6b68180d68
Merge pull request #328 from webtorrent/chromeapp
Add "chromeapp" field to `package.json`
2019-08-07 19:02:34 -07:00
Feross Aboukhadijeh
0227983663 Add "chromeapp" field to package.json
I'm attempting to make a defacto standard for specifying Chrome App dependency substitutions using the `"chromeapp"` field in `package.json`.

The `"chromeapp"` field is just like the [`"browser"` field in `package.json`](https://github.com/defunctzombie/package-browser-field-spec) except it's intended for Chrome Apps instead of a generic browser environment. Bundler tools like `browserify` or `webpack` can be configured to look for the `"chromeapp"` field instead of the `"browser"` field when doing a build for a Chrome App.

In this specific package, since Chrome Apps can use raw sockets we want to replace e.g. `require('net')` with `require('chrome-net')`.
2019-08-07 19:00:25 -07:00
Feross Aboukhadijeh
e3ec9da607
Merge pull request #329 from webtorrent/wrtc
Use wrtc for more reliable tests
2019-08-07 19:00:00 -07:00
Feross Aboukhadijeh
adb8ee237b Use wrtc for more reliable tests 2019-08-07 18:56:31 -07:00
Feross Aboukhadijeh
c87d3d1239 fix travis build 2019-08-07 18:56:31 -07:00
Feross Aboukhadijeh
cbbd0b682b 9.13.0 2019-08-06 17:59:01 -07:00
Feross Aboukhadijeh
d6751dac41 remove safe-buffer 2019-08-06 17:58:05 -07:00
Feross Aboukhadijeh
93b41391a9 BREAKING: drop Node 8 support 2019-08-05 14:54:20 -07:00
Feross Aboukhadijeh
770d57c549 9.12.1 2019-08-01 18:51:44 -07:00
Feross Aboukhadijeh
c8f417e4c7
Merge pull request #327 from webtorrent/greenkeeper/simple-websocket-8.0.0
Update simple-websocket to the latest version 🚀
2019-08-01 18:49:19 -07:00
greenkeeper[bot]
cb0d4403dc fix(package): update simple-websocket to version 8.0.0 2019-08-02 01:40:03 +00:00
Feross Aboukhadijeh
b88cdf7d0a standard 2019-07-27 20:35:35 -07:00
Feross Aboukhadijeh
bf709ccd07 Update AUTHORS.md 2019-07-12 11:42:46 -07:00
Feross Aboukhadijeh
9f227ef9e4 9.12.0 2019-07-12 11:37:27 -07:00
Feross Aboukhadijeh
497bf78f55
Merge pull request #325 from webtorrent/greenkeeper/bn.js-5.0.0
Update bn.js to the latest version 🚀
2019-07-12 11:35:10 -07:00
greenkeeper[bot]
1273af9836 fix(package): update bn.js to version 5.0.0 2019-07-07 16:18:36 +00:00
Feross Aboukhadijeh
1a075bd159 standard 2019-07-05 14:36:14 -07:00
Feross Aboukhadijeh
db4a06d97f standard 2019-07-05 13:12:24 -07:00
Feross Aboukhadijeh
85e7a606a6 standard 2019-07-04 21:58:13 -07:00
Feross Aboukhadijeh
c37aac7277 'url.parse' was deprecated since v11.0.0. Use 'url.URL' constructor instead 2019-07-04 21:41:39 -07:00
Diego Rodríguez Baquero
2c3058294b
Merge pull request #321 from webtorrent/greenkeeper/ws-7.0.0
Update ws to the latest version 🚀
2019-06-19 11:55:10 -05:00
greenkeeper[bot]
7b53065a32 fix(package): update ws to version 7.0.0 2019-04-30 16:14:33 +00:00
Diego Rodríguez
c0331ea541
authors 2019-04-09 16:40:47 -05:00
Diego Rodríguez
a3ebc7971d
9.11.0 2019-04-09 16:40:24 -05:00
Diego Rodríguez Baquero
28978e239a
Merge pull request #320 from alxhotel/validate-port
Add tests to validate tracker
2019-04-09 16:37:55 -05:00
Alex
a8869b0d28 Add tests to validate tracker 2019-04-08 20:43:50 +02:00
Diego Rodríguez Baquero
b0efe653fb
Merge pull request #319 from alxhotel/validate-port
Add validation for tracker port
2019-04-08 09:17:18 -05:00
Alex
5c90b2b6ac Add validation for tracker port 2019-04-06 00:10:20 +02:00