From 38558b8565b751904f9357a6307476471d5d5e71 Mon Sep 17 00:00:00 2001
From: AkiraFukushima
Date: Thu, 14 Nov 2019 23:56:32 +0900
Subject: [PATCH] Update megalodon version to 2.0.1
---
package-lock.json | 34 +++++++++++++++++-----------------
package.json | 2 +-
src/main/websocket.ts | 1 +
3 files changed, 19 insertions(+), 18 deletions(-)
diff --git a/package-lock.json b/package-lock.json
index da06c3ab..8ef9a70d 100644
--- a/package-lock.json
+++ b/package-lock.json
@@ -11247,9 +11247,9 @@
"dev": true
},
"https-proxy-agent": {
- "version": "3.0.0",
- "resolved": "https://registry.npmjs.org/https-proxy-agent/-/https-proxy-agent-3.0.0.tgz",
- "integrity": "sha512-y4jAxNEihqvBI5F3SaO2rtsjIOnnNA8sEbuiP+UhJZJHeM2NRm6c09ax2tgqme+SgUUvjao2fJXF4h3D6Cb2HQ==",
+ "version": "3.0.1",
+ "resolved": "https://registry.npmjs.org/https-proxy-agent/-/https-proxy-agent-3.0.1.tgz",
+ "integrity": "sha512-+ML2Rbh6DAuee7d07tYGEKOEi2voWPUGan+ExdPbPW6Z3svq+JCqr0v8WmKPOkz1vOVykPCBSuobe7G8GJUtVg==",
"requires": {
"agent-base": "^4.3.0",
"debug": "^3.1.0"
@@ -14012,9 +14012,9 @@
"dev": true
},
"megalodon": {
- "version": "2.0.0",
- "resolved": "https://registry.npmjs.org/megalodon/-/megalodon-2.0.0.tgz",
- "integrity": "sha512-UDreCcc6ULNr/6+6ev1QVozjmxyWgBo5ESC1xcYsiXIPVOJFqLRfGC+MuMMVsPD+fOyWiyo5lhfnomJVQgH2sQ==",
+ "version": "2.0.1",
+ "resolved": "https://registry.npmjs.org/megalodon/-/megalodon-2.0.1.tgz",
+ "integrity": "sha512-vTeoSf7GLBIjarBVBl1ZjfKlVF8APGxv4SGlg+YqjgQiH9hSPrYAWj6myAiO7+QraewkAHcDX7/Lv3IzGZndWw==",
"requires": {
"@types/oauth": "^0.9.0",
"@types/request": "^2.47.0",
@@ -14035,9 +14035,9 @@
"integrity": "sha512-bV7f+6l2QigeBBZSM/6yTNq4P2fNpSWj/0e7jQcy87A8e7o2nAfP/34/2ky5Vw4B9S446EtIhodAzkFCcR4dQg=="
},
"typescript": {
- "version": "3.6.4",
- "resolved": "https://registry.npmjs.org/typescript/-/typescript-3.6.4.tgz",
- "integrity": "sha512-unoCll1+l+YK4i4F8f22TaNVPRHcD9PA3yCuZ8g5e0qGqlVlJ/8FSateOLLSagn+Yg5+ZwuPkL8LFUc0Jcvksg=="
+ "version": "3.7.2",
+ "resolved": "https://registry.npmjs.org/typescript/-/typescript-3.7.2.tgz",
+ "integrity": "sha512-ml7V7JfiN2Xwvcer+XAf2csGO1bPBdRbFCkYBczNZggrBZ9c7G3riSUeJmqEU5uOtXNPMhE3n+R4FA/3YOAWOQ=="
}
}
},
@@ -18408,9 +18408,9 @@
}
},
"smart-buffer": {
- "version": "4.0.2",
- "resolved": "https://registry.npmjs.org/smart-buffer/-/smart-buffer-4.0.2.tgz",
- "integrity": "sha512-JDhEpTKzXusOqXZ0BUIdH+CjFdO/CR3tLlf5CN34IypI+xMmXW1uB16OOY8z3cICbJlDAVJzNbwBhNO0wt9OAw=="
+ "version": "4.1.0",
+ "resolved": "https://registry.npmjs.org/smart-buffer/-/smart-buffer-4.1.0.tgz",
+ "integrity": "sha512-iVICrxOzCynf/SNaBQCw34eM9jROU/s5rzIhpOvzhzuYHfJR/DhZfDkXiZSgKXfgv26HT3Yni3AV/DGw0cGnnw=="
},
"snake-case": {
"version": "2.1.0",
@@ -18606,12 +18606,12 @@
}
},
"socks": {
- "version": "2.3.2",
- "resolved": "https://registry.npmjs.org/socks/-/socks-2.3.2.tgz",
- "integrity": "sha512-pCpjxQgOByDHLlNqlnh/mNSAxIUkyBBuwwhTcV+enZGbDaClPvHdvm6uvOwZfFJkam7cGhBNbb4JxiP8UZkRvQ==",
+ "version": "2.3.3",
+ "resolved": "https://registry.npmjs.org/socks/-/socks-2.3.3.tgz",
+ "integrity": "sha512-o5t52PCNtVdiOvzMry7wU4aOqYWL0PeCXRWBEiJow4/i/wr+wpsJQ9awEu1EonLIqsfGd5qSgDdxEOvCdmBEpA==",
"requires": {
- "ip": "^1.1.5",
- "smart-buffer": "4.0.2"
+ "ip": "1.1.5",
+ "smart-buffer": "^4.1.0"
}
},
"socks-proxy-agent": {
diff --git a/package.json b/package.json
index 6b268fb6..c40e99bc 100644
--- a/package.json
+++ b/package.json
@@ -185,7 +185,7 @@
"i18next": "^12.1.0",
"i18next-sync-fs-backend": "^1.1.1",
"lodash": "^4.17.15",
- "megalodon": "2.0.0",
+ "megalodon": "2.0.1",
"moment": "^2.21.0",
"mousetrap": "^1.6.2",
"nedb": "^1.8.0",
diff --git a/src/main/websocket.ts b/src/main/websocket.ts
index 71733778..8c19e0d2 100644
--- a/src/main/websocket.ts
+++ b/src/main/websocket.ts
@@ -31,6 +31,7 @@ export default class WebSocket {
})
this.listener.on('update', (status: Status) => {
+ log.info('receive update')
updateCallback(status)
})