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.14.2 to 0.14.3

2

package.json
{
"name": "imap-client",
"version": "0.14.2",
"version": "0.14.3",
"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",

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

add.push(ANSWERED_FLAG);
} else if (options.answered === true) {
} else if (options.answered === false) {
remove.push(ANSWERED_FLAG);

@@ -931,0 +931,0 @@ }

@@ -665,2 +665,16 @@ (function(factory) {

it('should update flags and skip add', function(done) {
bboxMock.setFlags.withArgs('123:123', {
remove: ['\\Answered']
}).returns(resolves());
imap.updateFlags({
path: 'INBOX',
uid: 123,
answered: false
}).then(function() {
expect(bboxMock.setFlags.calledOnce).to.be.true;
}).then(done);
});
it('should update flags and skip remove', function(done) {

@@ -667,0 +681,0 @@ bboxMock.setFlags.withArgs('123:123', {

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