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.144 to 1.0.145

8

CHANGELOG.md
# 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 @@

6

lib/commands/list.js

@@ -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 @@ }

12

lib/special-use.js

@@ -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

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