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
171
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.25 to 1.0.26

14

lib/commands/idle.js

@@ -22,6 +22,12 @@ 'use strict';

connection.preCheck = async () => {
connection.preCheck = false; // unset itself
connection.write('DONE');
connection.log.debug({ src: 'c', msg: `breaking IDLE` });
connection.idling = false;
await new Promise(resolve => {
// 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;
resolve();
});
});
};

@@ -28,0 +34,0 @@

{
"name": "imapflow",
"version": "1.0.25",
"version": "1.0.26",
"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