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

imap

Package Overview
Dependencies
Maintainers
1
Versions
54
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

imap - npm Package Compare versions

Comparing version 0.7.4 to 0.7.5

17

lib/imap.js

@@ -231,6 +231,6 @@ var assert = require('assert'),

for (var i=0, len=fetches.length; i<len; ++i) {
if (fetches[i]._msg._ended)
continue;
fetches[i]._msg.emit('end');
fetches[i]._msg._ended = true;
if (fetches[i]._msg) {
fetches[i]._msg.emit('end');
fetches[i]._msg = undefined;
}
}

@@ -932,3 +932,2 @@ }

parse = true, headers, key, stream,
opts = { markSeen: false, struct: true, size: false },
fetchers = {};

@@ -939,9 +938,5 @@

what = options;
} else {
if (options.markSeen)
opts.markSeen = true;
if (options.size)
opts.size = true;
options = {};
}
prefix = (opts.markSeen ? ' BODY.PEEK[' : ' BODY[');
prefix = (options.markSeen ? ' BODY.PEEK[' : ' BODY[');
if (!Array.isArray(what))

@@ -948,0 +943,0 @@ what = [what];

{ "name": "imap",
"version": "0.7.4",
"version": "0.7.5",
"author": "Brian White <mscdex@mscdex.net>",

@@ -4,0 +4,0 @@ "description": "An IMAP module for node.js that makes communicating with IMAP servers easy",

@@ -557,3 +557,3 @@ Description

* **struct** - < _boolean_ > - Fetch the message structure. **Default:** true
* **struct** - < _boolean_ > - Fetch the message structure. **Default:** false

@@ -560,0 +560,0 @@ * **size** - < _boolean_ > - Fetch the RFC822 size. **Default:** false

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