emailjs / emailjs-imap-client

Low-level JS IMAP client for all your IMAP needs.
MIT License
553 stars 122 forks source link

Fix failed test for parseSearch #211

Closed jonbeebe closed 4 years ago

jonbeebe commented 5 years ago

Sort algorithm was using a > b instead of a - b, failing to sort [5, 7, 6] to [5, 6, 7]

nifgraup commented 4 years ago

Fixed on master in 837891de467d36c47c93e2905ce3c8723214bdc4 with an alternative commit. It reintroduces a faster version of parseSEARCH.