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

imapflow

Package Overview
Dependencies
Maintainers
1
Versions
167
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

imapflow - npm Package Compare versions

Comparing version 1.0.107 to 1.0.108

25

lib/commands/namespace.js

@@ -84,27 +84,2 @@ 'use strict';

response.next();
if (map.flags.has('\\Noselect') && map.delimiter) {
// can not use root namespace
let inboxEntry = {};
response = await connection.exec('LIST', ['INBOX', ''], {
untagged: {
LIST: async untagged => {
if (!untagged.attributes || !untagged.attributes.length) {
return;
}
inboxEntry.flags = new Set(untagged.attributes[0].map(entry => entry.value));
inboxEntry.delimiter = untagged.attributes[1] && untagged.attributes[1].value;
inboxEntry.prefix = (untagged.attributes[2] && untagged.attributes[2].value) || '';
if (inboxEntry.delimiter && inboxEntry.prefix.charAt(0) === inboxEntry.delimiter) {
inboxEntry.prefix = inboxEntry.prefix.slice(1);
}
}
}
});
response.next();
if (inboxEntry) {
return inboxEntry;
}
}
return map;

@@ -111,0 +86,0 @@ } catch (err) {

14

package.json
{
"name": "imapflow",
"version": "1.0.107",
"version": "1.0.108",
"description": "IMAP Client for Node",

@@ -30,9 +30,9 @@ "main": "./lib/imap-flow.js",

"devDependencies": {
"@babel/eslint-parser": "7.18.9",
"@babel/eslint-plugin": "7.18.10",
"@babel/eslint-parser": "7.19.1",
"@babel/eslint-plugin": "7.19.1",
"@babel/plugin-syntax-class-properties": "7.12.13",
"@babel/preset-env": "7.18.10",
"@types/node": "18.7.14",
"@babel/preset-env": "7.19.1",
"@types/node": "18.7.18",
"braintree-jsdoc-template": "3.3.0",
"eslint": "8.23.0",
"eslint": "8.23.1",
"eslint-config-nodemailer": "1.2.0",

@@ -56,5 +56,5 @@ "eslint-config-prettier": "8.5.0",

"nodemailer": "6.7.8",
"pino": "8.4.2",
"pino": "8.6.0",
"socks": "2.7.0"
}
}
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