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

imap-client

Package Overview
Dependencies
Maintainers
3
Versions
26
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

imap-client - npm Package Compare versions

Comparing version 0.13.0 to 0.13.1

2

package.json
{
"name": "imap-client",
"version": "0.13.0",
"version": "0.13.1",
"scripts": {

@@ -5,0 +5,0 @@ "pretest": "dir=$(pwd) && cd node_modules/browserbox/node_modules/tcp-socket/node_modules/node-forge/ && npm install && npm run minify && cd $dir",

@@ -28,3 +28,3 @@ (function(factory) {

/*
/*
* Holds the login state. Inbox executes the commands you feed it, i.e. you

@@ -37,3 +37,3 @@ * can do operations on your inbox before a successful login. Which should

/*
/*
* Instance of our imap library

@@ -344,4 +344,10 @@ * (only relevant in unit test environment)

// do nothing if we do not have highestModseq value. it should be at least 1. if it is
// undefined then the server does not support CONDSTORE extension
if (!highestModseq || !path) {
// undefined then the server does not support CONDSTORE extension.
// Yahoo supports a custom MODSEQ related extension called XYMHIGHESTMODSEQ which
// returns HIGHESTMODSEQ value when doing SELECT but does not allow to use the CHANGEDSINCE modifier
// or query the message MODSEQ value. Returned HIGHESTMODSEQ also happens to be a 64 bit number that
// is larger than Number.MAX_SAFE_INTEGER so it can't be used as a numeric value. To fix errors
// with Yahoo we double check if the CONDSTORE is listed as a capability or not as checking just
// the highestModseq value would give us a false positive.
if (!client.hasCapability('CONDSTORE') || !highestModseq || !path) {
axe.info(DEBUG_TAG, 'can not check MODSEQ, server does not support CONDSTORE extension');

@@ -455,3 +461,3 @@ return new Promise(function(resolve) {

* or includes information in case of an error
* @param {String} options.path The path to the folder to subscribe to

@@ -814,3 +820,3 @@ *

* @param {Array} options.bodyParts Parts of a message, as returned by #listMessages
* @returns {Promise<Array>} Body parts that have been received from the server

@@ -817,0 +823,0 @@ */

Sorry, the diff of this file is not supported yet

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