Kevin Jahns
20c1ac2619
Merge pull request #114 from aryzing/patch-1
...
Update utils.js
2022-08-19 15:02:56 +02:00
Kevin Jahns
aa43c0b395
Merge pull request #115 from aryzing/patch-2
...
Export message type constants
2022-08-19 15:01:58 +02:00
Kevin Jahns
2da70b3790
Merge pull request #116 from Himself65/patch-1
...
fix: `server.listen` port
2022-08-19 15:00:46 +02:00
Himself65
8fa06a4e9f
fix: server.listen port
2022-08-18 15:16:13 -05:00
Eduard Bardají Puig
1ee18c3766
Export message type constants
2022-08-11 23:32:11 +02:00
Eduard Bardají Puig
6415ca2e68
Update utils.js
...
Added a comment to clarify why reply messages are not sent when their length is 1. Alternatively we could also create a function with a descriptive name of the check being performed,
```js
function hasMessage(encoder) {
return encoding.length(encoder) > 1;
}
```
The `if` statement would then look something like,
```js
if (hasMessage(encoder)) {
send(...);
}
```
Thoughts?
2022-08-11 15:44:27 +02:00
Kevin Jahns
625a9d52ba
Merge pull request #113 from broofa/patch-1
...
remove vestigial mutex code
2022-08-05 10:15:09 +02:00
Robert Kieffer
c925c2400b
remove vestigial mutex code
...
Correct me if I'm wrong, but mutex/mux are no longer being used, right?
2022-08-04 13:33:55 -07:00
Kevin Jahns
bfb9d30eb9
Merge pull request #111 from lijie1129/refactor/resync
...
Improve the judgment condition of WS connection status in resync
2022-06-26 21:59:11 +02:00
lijie
f02ed3474f
Improve the judgment condition of WS connection status in resync scenario
2022-06-26 23:50:49 +08:00
Kevin Jahns
f133fb2db5
1.4.3
2022-04-22 12:46:50 +02:00
Kevin Jahns
3c774953ec
add option to disable broadcastchannel - closes #103
2022-04-22 12:44:47 +02:00
Kevin Jahns
cc6df43a74
1.4.2
2022-04-21 12:37:46 +02:00
Kevin Jahns
d4f4a99d45
Merge pull request #102 from war1644/master
...
Master
2022-04-21 12:36:11 +02:00
war1644
73157ab4b3
Fixed: The memory leak problem that 'websocketprovider' cannot release because 'process' listens to' exit 'events and uses anonymous functions to contain' this'
2022-04-21 17:55:57 +08:00
Kevin Jahns
313c38a2d6
1.4.1
2022-04-17 16:19:08 +02:00
Kevin Jahns
d6df8ad11f
remove usage of lib0/mutex - closes #99
2022-04-17 16:17:27 +02:00
Kevin Jahns
6fcabc57e0
add documentation
2022-03-21 13:30:57 +01:00
Kevin Jahns
fc009dd532
1.4.0
2022-03-21 13:18:51 +01:00
Kevin Jahns
33c00217de
add y-websocket bin entry (should be the proper name)
2022-03-21 13:17:46 +01:00
Kevin Jahns
57fba26e7a
Merge pull request #91 from zhuangya/patch-1
...
correct npx directive
2022-03-21 13:16:15 +01:00
Kevin Jahns
4c4b244c0e
implement connection-close & connecton-error event and add parameter for exponential backoff
2022-03-21 13:07:11 +01:00
Kevin Jahns
eb53b555f1
Add docs about auth approach #94
2022-02-23 16:45:38 +01:00
Ya Zhuang
6b61bae779
correct npx directive
...
according to the [doc](https://docs.npmjs.com/cli/v8/commands/npx ), npx needs package name rather than the binary name. so executing `npx y-websocket-server` would not download and run the server binary in `y-websocket`, it would download from [y-websocket-server](https://npmjs.com/package/y-websocket-server ) instead, which could lead to remote arbitrage code execution.
2021-12-30 11:40:59 +08:00
Kevin Jahns
011a06fe8e
1.3.18
2021-11-20 15:43:31 +01:00
Kevin Jahns
1e1be2cfc7
Merge pull request #75 from rwth-acis/master
...
Fix for running websocket using dockerfile
2021-11-20 15:28:23 +01:00
Kevin Jahns
c4db346b20
Merge pull request #84 from realcliffzhang/package-json-exports-fix
...
📦 package.json - Allow import paths y-websocket/bin/utils, y-websocket/bin/callback
2021-11-20 15:26:20 +01:00
Cliff Zhang
628804a406
fixed package.json - Allow import paths y-websocket/bin/utils, y-websocket/bin/callback
2021-10-14 11:54:41 -04:00
Kevin Jahns
caa6304ba3
1.3.17
2021-10-13 18:37:02 +02:00
Kevin Jahns
a5c72c09e8
Merge pull request #83 from andrew-d-jackson/fix/fix-invalid-message-crashing-server
...
Fix invalid messages crashing the server
2021-10-13 18:33:12 +02:00
Andrew
4da880d741
Console error the error message as well as emitting
2021-10-12 23:37:10 +01:00
Andrew Jackson
460683d2ee
Fix invalid messages crashing the server
2021-10-12 17:09:54 +01:00
lakhoune
0d217d3c64
remove semicolons
2021-06-25 16:17:09 +02:00
Kevin Jahns
5280aeb736
1.3.16
2021-06-25 11:43:37 +02:00
Kevin Jahns
4006b777c8
Merge pull request #56 from hanspagel/master
...
Add exit handler for Node.js environments, fix #51 #55
2021-06-25 11:40:14 +02:00
Kevin Jahns
af5906907d
Merge branch 'master' into master
2021-06-25 11:39:44 +02:00
Kevin Jahns
16237ffaed
Merge pull request #71 from livingspec/fix-beforeunload-memory-leak
...
Fix beforeunload memory leak
2021-06-25 11:29:59 +02:00
lakhoune
b623488a57
fix websocket server running in dockerfile
2021-06-18 22:03:17 +02:00
Nemanja Tosic
7afa2e6643
Fix beforeunload memory leak
2021-05-30 13:42:01 +02:00
Kevin Jahns
0007200b1d
1.3.15
2021-05-24 00:25:51 +02:00
Kevin Jahns
0a744c35cd
fix #69 by reverting esm change
2021-05-24 00:25:14 +02:00
Kevin Jahns
96b511a9b2
1.3.14
2021-05-21 20:26:45 +02:00
Kevin Jahns
eba986d325
set correct module type
2021-05-21 20:24:32 +02:00
Kevin Jahns
cc726c9adf
1.3.13
2021-05-20 13:02:29 +02:00
Kevin Jahns
e3615979b4
use condititional exports of dependencies
2021-05-20 13:00:45 +02:00
Kevin Jahns
fdc3ab1565
1.3.12
2021-05-17 17:27:49 +02:00
Kevin Jahns
010658f74f
Remove dependency on window - fixes #65
2021-05-17 17:26:33 +02:00
Kevin Jahns
31a907c4bc
Merge pull request #64 from hanspagel/patch-1
...
fix typo in the README
2021-05-15 12:43:52 +02:00
Hans Pagel
cae7c9757d
fix typo
2021-05-15 11:06:26 +02:00
Kevin Jahns
7835c498a9
Merge pull request #63 from oncletom/patch-1
...
Fix a `peerDependencies` typo in `package.json`
2021-05-13 00:33:04 +02:00