New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

imapflow

Package Overview
Dependencies
Maintainers
1
Versions
172
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

imapflow - npm Package Compare versions

Comparing version 1.0.69 to 1.0.70

4

CHANGELOG.md
# CHANGELOG
- 1.0.70 - 2021-09-27
- IDLE logging changes
- 1.0.69 - 2021-09-27

@@ -4,0 +8,0 @@

@@ -46,2 +46,3 @@ 'use strict';

connection.log.debug({ src: 'c', msg: breaker, comment: `Error response for ${command}` });
connection.write(breaker);

@@ -48,0 +49,0 @@ }

12

lib/commands/idle.js

@@ -19,8 +19,10 @@ 'use strict';

await new Promise(resolve => {
connection.preCheck = false; // unset itself
// small delay to make sure we do not call preCheck before command is actually executed
setImmediate(() => {
connection.preCheck = false; // unset itself
connection.write('DONE');
connection.log.debug({ src: 'c', msg: `breaking IDLE` });
connection.idling = false;
if (connection.idling) {
connection.log.debug({ src: 'c', msg: `DONE`, comment: `breaking IDLE` });
connection.write('DONE');
connection.idling = false;
}
resolve();

@@ -33,3 +35,3 @@ });

onPlusTag: async () => {
connection.log.debug({ src: 'c', msg: `initiated IDLE` });
connection.log.debug({ msg: `Initiated IDLE, waiting for server input` });
}

@@ -36,0 +38,0 @@ });

{
"name": "imapflow",
"version": "1.0.69",
"version": "1.0.70",
"description": "IMAP Client for Node",

@@ -5,0 +5,0 @@ "main": "./lib/imap-flow.js",

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc