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 3.0.5 to 3.0.6

4

package.json
{
"name": "emailjs-imap-client",
"version": "3.0.5",
"version": "3.0.6",
"homepage": "https://github.com/emailjs/emailjs-imap-client",

@@ -29,3 +29,3 @@ "description": "JavaScript IMAP client",

"emailjs-imap-handler": "^3.0.2",
"emailjs-mime-codec": "^2.0.2",
"emailjs-mime-codec": "^2.0.7",
"emailjs-tcp-socket": "^2.0.0",

@@ -32,0 +32,0 @@ "emailjs-utf7": "^4.0.1",

@@ -149,2 +149,17 @@ /* eslint-disable no-unused-expressions */

})
it('should fail authentication', (done) => {
imap = new ImapClient('127.0.0.1', port + 2, {
logLevel,
auth: {
user: 'invalid',
pass: 'invalid'
},
useSecureTransport: false
})
imap.connect().then(() => {
expect(imap.client.secureMode).to.be.false
}).catch(() => { done() })
})
})

@@ -151,0 +166,0 @@

@@ -644,3 +644,3 @@ import { map, pipe, union, zip, fromPairs, propOr, pathOr, flatten } from 'ramda'

this.logger.debug('Logging in...')
const response = this.exec(command, 'capability', options)
const response = await this.exec(command, 'capability', options)
/*

@@ -930,3 +930,3 @@ * update post-auth capabilites

createLogger (creator = createDefaultLogger) {
const logger = creator(this._auth.user || '', this._host)
const logger = creator((this._auth || {}).user || '', this._host)
this.logger = this.client.logger = {

@@ -933,0 +933,0 @@ debug: (...msgs) => { if (LOG_LEVEL_DEBUG >= this.logLevel) { logger.debug(msgs) } },

Sorry, the diff of this file is too big to display

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