Commit Graph

1096 Commits

Author SHA1 Message Date
John Hiesey
db1b63dec9 Support ws noServer option and server option objects 2021-01-27 19:27:39 -08:00
Feross Aboukhadijeh
2a828292b8 standard 2020-10-29 10:25:57 -10:00
Feross Aboukhadijeh
c88bbb4a62 standard 2020-10-28 18:57:47 -10:00
Feross Aboukhadijeh
e0c0eb8127 standard 2020-10-28 17:11:51 -10:00
Feross Aboukhadijeh
6e4faaf670 standard 2020-10-28 10:02:35 -10:00
Feross Aboukhadijeh
eb69f8d7ab standard 2020-10-21 13:47:38 -10:00
Feross Aboukhadijeh
3cec3fa7d9
Merge pull request #350 from webtorrent/greenkeeper/simple-websocket-9.0.0 2020-05-17 12:47:46 -07:00
greenkeeper[bot]
8c30e9d8d4
fix(package): update simple-websocket to version 9.0.0 2020-05-17 19:40:53 +00:00
Feross Aboukhadijeh
695a399568 package metadata 2020-05-17 12:38:46 -07:00
Feross Aboukhadijeh
01204765a5 update authors 2020-05-17 12:38:45 -07:00
Feross Aboukhadijeh
3c810b4ace 9.15.0 2020-05-17 12:38:45 -07:00
Feross Aboukhadijeh
1ece2b21b5
Merge pull request #348 from webtorrent/greenkeeper/simple-get-4.0.0 2020-05-17 12:38:05 -07:00
Feross Aboukhadijeh
04dd528c27
Merge pull request #341 from LinusU/object-shorthand 2020-05-17 12:37:05 -07:00
greenkeeper[bot]
3f6350024a
fix(package): update simple-get to version 4.0.0 2020-05-15 18:22:22 +00:00
Feross Aboukhadijeh
cf41ced590 update all deps 2020-05-10 11:38:35 -07:00
Feross Aboukhadijeh
5d119fdcf1
Merge pull request #345 from webtorrent/fix-tests 2020-05-10 11:38:00 -07:00
Feross Aboukhadijeh
cecb778b4b fix querystring tests
The deep-equal check is in "strict mode" so it needs the prototypes of both objects to be equal. This fixes that.
2020-05-10 11:30:06 -07:00
Feross Aboukhadijeh
fce9bd80b2 Delete package-lock.json 2020-05-10 11:16:27 -07:00
Feross Aboukhadijeh
318927421a
Merge pull request #340 from webtorrent/greenkeeper/tape-5.0.0 2020-05-10 11:15:45 -07:00
Linus Unnebäck
ae5e99f0af
Use object shorthand for properties 2020-04-25 10:34:40 +01:00
greenkeeper[bot]
51de5bd5dc
chore(package): update lockfile package-lock.json 2020-04-24 22:04:28 +00:00
greenkeeper[bot]
d666b75a63
chore(package): update tape to version 5.0.0 2020-04-24 22:04:23 +00:00
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