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

node-imap

Package Overview
Dependencies
Maintainers
1
Versions
7
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

node-imap - npm Package Compare versions

Comparing version 0.9.4 to 0.9.5

2

lib/Connection.js

@@ -751,3 +751,3 @@ 'use strict';

if (options.bodies !== undefined) {
const bodies = options.bodies, prefix = (options.markSeen ? '' : '.PEEK');
let bodies = options.bodies, prefix = (options.markSeen ? '' : '.PEEK');
if (!Array.isArray(bodies))

@@ -754,0 +754,0 @@ bodies = [bodies];

{
"name": "node-imap",
"version": "0.9.4",
"version": "0.9.5",
"author": "Brian White <mscdex@mscdex.net>",

@@ -5,0 +5,0 @@ "contributors": [

@@ -46,3 +46,3 @@ var assert = require('assert'),

var srv = net.createServer(function(sock) {
const srv = net.createServer(function(sock) {
sock.write('* OK asdf\r\n');

@@ -49,0 +49,0 @@ var buf = '', lines;

@@ -1,8 +0,8 @@

var Parser = require('../lib/Parser').Parser;
const Parser = require('../lib/Parser').Parser;
var assert = require('assert'),
const assert = require('assert'),
crypto = require('crypto'),
inspect = require('util').inspect;
var CR = '\r', LF = '\n', CRLF = CR + LF;
const CR = '\r', LF = '\n', CRLF = CR + LF;

@@ -506,3 +506,4 @@ [

].forEach(function(v) {
var ss = new require('stream').Readable(), p, result = [];
const ss = new require('stream').Readable(), result = [];
let p;
ss._read = function(){};

@@ -526,3 +527,3 @@

if (Array.isArray(v.bodySHA1s)) {
var hash = crypto.createHash('sha1');
const hash = crypto.createHash('sha1');
stream.on('data', function(d) {

@@ -532,3 +533,3 @@ hash.update(d);

stream.on('end', function() {
var calculated = hash.digest('hex'),
const calculated = hash.digest('hex'),
expected = v.bodySHA1s.shift();

@@ -535,0 +536,0 @@ assert.equal(calculated,

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