Comparing version 1.0.83 to 1.0.84
# CHANGELOG | ||
- 1.0.84 - 2022-02-17 | ||
- QRESYNC tweaks | ||
- 1.0.83 - 2022-02-16 | ||
@@ -4,0 +8,0 @@ |
@@ -43,4 +43,4 @@ 'use strict'; | ||
[ | ||
{ type: 'ATOM', value: options.uidValidity }, | ||
{ type: 'ATOM', value: options.changedSince } | ||
{ type: 'ATOM', value: options.uidValidity.toString() }, | ||
{ type: 'ATOM', value: options.changedSince.toString() } | ||
] | ||
@@ -160,2 +160,15 @@ ]); | ||
if ( | ||
map.qresync && | ||
// UIDVALIDITY must be the same | ||
(options.uidValidity !== map.uidValidity || | ||
// HIGHESTMODSEQ response must be present | ||
!map.highestModseq || | ||
// NOMODSEQ is not allowed | ||
map.noModseq) | ||
) { | ||
// QRESYNC does not apply here, so unset it | ||
map.qresync = false; | ||
} | ||
let currentMailbox = connection.mailbox; | ||
@@ -162,0 +175,0 @@ connection.mailbox = false; |
{ | ||
"name": "imapflow", | ||
"version": "1.0.83", | ||
"version": "1.0.84", | ||
"description": "IMAP Client for Node", | ||
@@ -5,0 +5,0 @@ "main": "./lib/imap-flow.js", |
505403
11389