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.4.0 to 0.4.1

8

lib/imap.js

@@ -258,9 +258,9 @@ var util = require('util'),

name = name.toLowerCase();
if (curReq._msg.headers[name] !== undefined)
curReq._msg.headers[name].push(val);
if (self._state.requests[0]._msg.headers[name] !== undefined)
self._state.requests[0]._msg.headers[name].push(val);
else
curReq._msg.headers[name] = [val];
self._state.requests[0]._msg.headers[name] = [val];
});
self._state.parser.on('data', function(str) {
curReq._msg.emit('data', str);
self._state.requests[0]._msg.emit('data', str);
});

@@ -267,0 +267,0 @@ }

@@ -16,8 +16,3 @@ var inherits = require('util').inherits,

var MIMEParser = module.exports = function() {
this._state = PARSE_HEADER_NAME;
this._hdrname = '';
this._hdrval = '';
this._sawCR = false;
this._sawLF = false;
this._needUnfold = false;
this.finish();
};

@@ -24,0 +19,0 @@ inherits(MIMEParser, EventEmitter);

{ "name": "imap",
"version": "0.4.0",
"version": "0.4.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",

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