Comparing version 1.0.144 to 1.0.145
# Changelog | ||
## [1.0.145](https://github.com/postalsys/imapflow/compare/v1.0.144...v1.0.145) (2023-10-26) | ||
### Bug Fixes | ||
* **docs:** Fixed mailbox property name in AppendResponseObject ([ca6d789](https://github.com/postalsys/imapflow/commit/ca6d789b761d3117f733ed7b026122098f4d9142)) | ||
* **special-use:** support custom special use flags for the Archive folder ([17aa6a8](https://github.com/postalsys/imapflow/commit/17aa6a8baf180a7349fe30f897184eb8e359a498)) | ||
## [1.0.144](https://github.com/postalsys/imapflow/compare/v1.0.143...v1.0.144) (2023-09-13) | ||
@@ -4,0 +12,0 @@ |
@@ -65,3 +65,7 @@ 'use strict'; | ||
for (let type of Object.keys(options.specialUseHints)) { | ||
if (['sent', 'junk', 'trash', 'drafts'].includes(type) && options.specialUseHints[type] && typeof options.specialUseHints[type] === 'string') { | ||
if ( | ||
['sent', 'junk', 'trash', 'drafts', 'archive'].includes(type) && | ||
options.specialUseHints[type] && | ||
typeof options.specialUseHints[type] === 'string' | ||
) { | ||
specialUseHints[normalizePath(connection, options.specialUseHints[type])] = `\\${type.replace(/^./, c => c.toUpperCase())}`; | ||
@@ -68,0 +72,0 @@ } |
@@ -185,3 +185,3 @@ 'use strict'; | ||
'สแปม', | ||
'垃圾郵件', | ||
'垃圾郵件', | ||
'垃圾邮件', | ||
@@ -279,3 +279,5 @@ '垃圾電郵' | ||
'임시 보관함' | ||
] | ||
], | ||
'\\Archive': ['archive'] | ||
}, | ||
@@ -294,3 +296,7 @@ | ||
if (!result || !result.flag) { | ||
let name = folder.name.toLowerCase().trim(); | ||
let name = folder.name | ||
.toLowerCase() | ||
.replace(/\u200e/g, '') | ||
.trim(); | ||
result = { | ||
@@ -297,0 +303,0 @@ flag: Object.keys(module.exports.names).find(flag => module.exports.names[flag].includes(name)), |
@@ -808,3 +808,3 @@ /// <reference types="node" /> | ||
/** | ||
* @property path - full mailbox path where the message was uploaded to | ||
* @property destination - full mailbox path where the message was uploaded to | ||
* @property [uidValidity] - mailbox `UIDVALIDITY` if server has `UIDPLUS` extension enabled | ||
@@ -815,3 +815,3 @@ * @property [uid] - UID of the uploaded message if server has `UIDPLUS` extension enabled | ||
declare type AppendResponseObject = { | ||
path: string; | ||
destination: string; | ||
uidValidity?: bigint; | ||
@@ -818,0 +818,0 @@ uid?: number; |
{ | ||
"name": "imapflow", | ||
"version": "1.0.144", | ||
"version": "1.0.145", | ||
"description": "IMAP Client for Node", | ||
@@ -12,3 +12,4 @@ "main": "./lib/imap-flow.js", | ||
"build": "npm run docs && npm run dst", | ||
"st": "npm run docs && st -d docs -i index.html" | ||
"st": "npm run docs && st -d docs -i index.html", | ||
"update": "rm -rf node_modules package-lock.json && ncu -u && npm install" | ||
}, | ||
@@ -34,6 +35,6 @@ "repository": { | ||
"@babel/plugin-syntax-class-properties": "7.12.13", | ||
"@babel/preset-env": "7.22.15", | ||
"@types/node": "20.6.0", | ||
"@babel/preset-env": "7.23.2", | ||
"@types/node": "20.8.9", | ||
"braintree-jsdoc-template": "3.3.0", | ||
"eslint": "8.49.0", | ||
"eslint": "8.52.0", | ||
"eslint-config-nodemailer": "1.2.0", | ||
@@ -56,6 +57,6 @@ "eslint-config-prettier": "9.0.0", | ||
"mailsplit": "5.4.0", | ||
"nodemailer": "6.9.5", | ||
"pino": "8.15.1", | ||
"nodemailer": "6.9.7", | ||
"pino": "8.16.1", | ||
"socks": "2.7.1" | ||
} | ||
} |
Sorry, the diff of this file is too big to display
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
563032
12415
+ Addednodemailer@6.9.7(transitive)
+ Addedpino@8.16.1(transitive)
- Removednodemailer@6.9.5(transitive)
- Removedpino@8.15.1(transitive)
Updatednodemailer@6.9.7
Updatedpino@8.16.1