imapflow 1.0.181 → 1.0.182

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/CHANGELOG.md CHANGED
@@ -1,5 +1,12 @@
1
1
  # Changelog
2
2
 
3
+ ## [1.0.182](https://github.com/postalsys/imapflow/compare/v1.0.181...v1.0.182) (2025-03-04)
4
+
5
+
6
+ ### Bug Fixes
7
+
8
+ * messageFlagsSet with empty flag array ([#268](https://github.com/postalsys/imapflow/issues/268)) ([7de471c](https://github.com/postalsys/imapflow/commit/7de471c80590284fab6747221d9bcc1491d2a505))
9
+
3
10
  ## [1.0.181](https://github.com/postalsys/imapflow/compare/v1.0.180...v1.0.181) (2025-02-06)
4
11
 
5
12
 
@@ -46,7 +46,7 @@ module.exports = async (connection, range, flags, options) => {
46
46
  })
47
47
  .filter(flag => flag);
48
48
 
49
- if (!flags.length && operation !== 'set') {
49
+ if (!flags.length && options.operation !== 'set') {
50
50
  // nothing to do here
51
51
  return false;
52
52
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "imapflow",
3
- "version": "1.0.181",
3
+ "version": "1.0.182",
4
4
  "description": "IMAP Client for Node",
5
5
  "main": "./lib/imap-flow.js",
6
6
  "scripts": {