Comparing version 1.0.107 to 1.0.108
@@ -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) { |
{ | ||
"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" | ||
} | ||
} |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
530416
11839
+ Addedpino@8.6.0(transitive)
- Removedpino@8.4.2(transitive)
Updatedpino@8.6.0