Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

emailjs-imap-client

Package Overview
Dependencies
Maintainers
1
Versions
20
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

emailjs-imap-client - npm Package Compare versions

Comparing version 2.0.6-beta.2 to 2.0.6-beta.3

2

package.json
{
"name": "emailjs-imap-client",
"version": "2.0.6-beta.2",
"version": "2.0.6-beta.3",
"homepage": "https://github.com/emailjs/emailjs-imap-client",

@@ -5,0 +5,0 @@ "description": "JavaScript IMAP client",

@@ -433,3 +433,3 @@ (function(root, factory) {

}
if (j >= buf.length-1) {
if (j+3 >= buf.length) {
// not enough info to determine if this is literal length

@@ -436,0 +436,0 @@ this._concatLastTwoBuffers = true;

@@ -236,2 +236,11 @@ 'use strict';

it('should process literal when literal count arrives in 2 parts 4', () => {
appendIncomingBuffer('* 1 FETCH (UID 1 BODY[HEADER.FIELDS (REFERENCES LIST-ID)] {2}\r');
var iterator1 = client._iterateIncomingBuffer();
expect(iterator1.next().value).to.be.undefined;
appendIncomingBuffer('\nXX)\r\n');
var iterator2 = client._iterateIncomingBuffer();
expect(iterator2.next().value).to.equal('* 1 FETCH (UID 1 BODY[HEADER.FIELDS (REFERENCES LIST-ID)] {2}\r\nXX)');
});
it('should process literal when literal count arrives in 3 parts', () => {

@@ -238,0 +247,0 @@ appendIncomingBuffer('* 1 FETCH (UID {');

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