New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

imap-checker

Package Overview
Dependencies
Maintainers
1
Versions
11
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

imap-checker - npm Package Compare versions

Comparing version 0.0.2 to 0.0.3

6

index.js
const mailNotifier = require('mail-notifier');
const mailChecker = (imapConfig, { timeout, from, to, subject }) => {
const imapChecker = (imapConfig, { timeout, from, to, subject }) => {
return new Promise((resolve, reject) => {

@@ -38,3 +38,3 @@ const notifier = mailNotifier(imapConfig);

})
.on('error', err => console.log('>>>> error', error))
.on('error', err => console.log('An error has occured:', err))
.start();

@@ -44,2 +44,2 @@ })

exports.checkMail = mailChecker;
exports.checkMail = imapChecker;
{
"name": "imap-checker",
"version": "0.0.2",
"version": "0.0.3",
"description": "Check the email server and return the matching emails",

@@ -5,0 +5,0 @@ "main": "index.js",

@@ -1,5 +0,5 @@

var mailChecker = require('./index')
var imapChecker = require('./index')
const imapConfig = require('./credentials.json')
mailChecker.checkMail(imapConfig, {
imapChecker.checkMail(imapConfig, {
timeout: 300,

@@ -6,0 +6,0 @@ subject: 'test123',

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