186 Commits

Author SHA1 Message Date
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
Thomas Parisot
308befc2b8
Fix a peerDependencies typo in package.json 2021-05-12 11:17:24 +02:00
Hans Pagel
42cf230ed5
add on exit handler for Node.js environments 2021-02-23 23:22:21 +01:00
Kevin Jahns
9d7e5eaec8
Add info about y-websocket-server to quick-start 2021-02-20 22:32:40 +01:00
Kevin Jahns
5b8d3ced3e Merge branch 'tommoor-patch-5' 2021-02-14 15:50:32 +01:00
Kevin Jahns
9c71dae974 bump dependencies 2021-02-14 15:49:58 +01:00
Kevin Jahns
02f691d89c lint 2021-02-14 15:44:47 +01:00
Kevin Jahns
88cff979f5 1.3.11 2021-02-06 14:01:10 +01:00
Kevin Jahns
e929a3a11e remove node types from client code 2021-02-06 14:00:39 +01:00
Kevin Jahns
a516319e80 1.3.10 2021-02-03 15:05:52 +01:00