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.8.0 to 0.8.1

3

lib/Connection.js

@@ -588,3 +588,4 @@ var tls = require('tls'),

this._enqueue(which + 'MOVE ' + uids + ' "' + boxTo + '"', cb);
} else if (this._box.permFlags.indexOf('\\Deleted') === -1) {
} else if (this._box.permFlags.indexOf('\\Deleted') === -1
&& this._box.flags.indexOf('\\Deleted') === -1) {
throw new Error('Cannot move message: '

@@ -591,0 +592,0 @@ + 'server does not allow deletion of messages');

@@ -722,3 +722,3 @@ var EventEmitter = require('events').EventEmitter,

if (lines[i].length === 0)
continue;
break; // empty line separates message's header and body
if (lines[i][0] === '\t' || lines[i][0] === ' ') {

@@ -725,0 +725,0 @@ // folded header content

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

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

@@ -41,2 +41,11 @@ var parseHeader = require('../lib/Parser').parseHeader;

},
// header with body
{ source: ['Subject: test subject', CRLF,
'X-Another-Header: test', CRLF,
CRLF,
'This is body: Not a header', CRLF],
expected: { subject: [ 'test subject' ], 'x-another-header': [ 'test' ] },
what: 'Header with the body'
},
].forEach(function(v) {

@@ -43,0 +52,0 @@ var result;

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