From c86923b55f41423c90ab39d1dbee3bd1e27f1e1b Mon Sep 17 00:00:00 2001 From: "greenkeeper[bot]" Date: Wed, 1 Aug 2018 01:40:10 +0000 Subject: [PATCH 1/2] fix(package): update @types/node to version 10.5.5 --- package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package.json b/package.json index c8d7f3a18..e73a156bf 100644 --- a/package.json +++ b/package.json @@ -60,7 +60,7 @@ "@types/mocha": "5.2.3", "@types/mongodb": "3.1.2", "@types/ms": "0.7.30", - "@types/node": "10.5.4", + "@types/node": "10.5.5", "@types/parse5": "5.0.0", "@types/portscanner": "2.1.0", "@types/pug": "2.0.4", From 6cceba81a78f810aabfe1a1d3c62e8e1ce9c9928 Mon Sep 17 00:00:00 2001 From: syuilo Date: Wed, 1 Aug 2018 11:07:30 +0900 Subject: [PATCH 2/2] Fix #2042 --- src/server/api/stream/user-list.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/server/api/stream/user-list.ts b/src/server/api/stream/user-list.ts index 33cc2a1ee..30f94d525 100644 --- a/src/server/api/stream/user-list.ts +++ b/src/server/api/stream/user-list.ts @@ -8,6 +8,6 @@ export default function(request: websocket.request, connection: websocket.connec // Subscribe stream subscriber.on(`user-list-stream:${listId}`, data => { - connection.send(data); + connection.send(JSON.stringify(data)); }); }