Comparing version 1.0.35 to 1.0.36
# CHANGELOG | ||
- 1.0.36 - 2020-03-26 | ||
- Do not try to write to socket if connection already closed | ||
- 1.0.35 - 2020-03-25 | ||
@@ -4,0 +8,0 @@ |
@@ -7,3 +7,3 @@ 'use strict'; | ||
// nothing to do here | ||
return; | ||
return false; | ||
} | ||
@@ -13,7 +13,7 @@ | ||
try { | ||
let map = {}; | ||
response = await connection.exec('LOGOUT'); | ||
connection.state = connection.states.LOGOUT; | ||
response.next(); | ||
connection.close(); | ||
return map; | ||
return true; | ||
} catch (err) { | ||
@@ -20,0 +20,0 @@ connection.log.warn({ err, cid: connection.id }); |
{ | ||
"name": "imapflow", | ||
"version": "1.0.35", | ||
"version": "1.0.36", | ||
"description": "IMAP Client for Node", | ||
@@ -5,0 +5,0 @@ "main": "./lib/imap-flow.js", |
Sorry, the diff of this file is too big to display
519208
10918