apple-mail-mcp 2.16.0 → 2.16.1
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/build/index.js +252 -158
- package/package.json +1 -1
package/build/index.js
CHANGED
|
@@ -23342,9 +23342,9 @@ var require_pino = __commonJS({
|
|
|
23342
23342
|
}
|
|
23343
23343
|
});
|
|
23344
23344
|
|
|
23345
|
-
// node_modules/.pnpm/imapflow@1.
|
|
23345
|
+
// node_modules/.pnpm/imapflow@1.7.0/node_modules/imapflow/lib/logger.js
|
|
23346
23346
|
var require_logger = __commonJS({
|
|
23347
|
-
"node_modules/.pnpm/imapflow@1.
|
|
23347
|
+
"node_modules/.pnpm/imapflow@1.7.0/node_modules/imapflow/lib/logger.js"(exports, module) {
|
|
23348
23348
|
"use strict";
|
|
23349
23349
|
var logger = require_pino()();
|
|
23350
23350
|
logger.level = "trace";
|
|
@@ -48700,9 +48700,9 @@ var require_mailsplit = __commonJS({
|
|
|
48700
48700
|
}
|
|
48701
48701
|
});
|
|
48702
48702
|
|
|
48703
|
-
// node_modules/.pnpm/imapflow@1.
|
|
48703
|
+
// node_modules/.pnpm/imapflow@1.7.0/node_modules/imapflow/lib/limited-passthrough.js
|
|
48704
48704
|
var require_limited_passthrough = __commonJS({
|
|
48705
|
-
"node_modules/.pnpm/imapflow@1.
|
|
48705
|
+
"node_modules/.pnpm/imapflow@1.7.0/node_modules/imapflow/lib/limited-passthrough.js"(exports, module) {
|
|
48706
48706
|
"use strict";
|
|
48707
48707
|
var { Transform } = __require("stream");
|
|
48708
48708
|
var normalizeByteLimit = (value) => {
|
|
@@ -48741,9 +48741,9 @@ var require_limited_passthrough = __commonJS({
|
|
|
48741
48741
|
}
|
|
48742
48742
|
});
|
|
48743
48743
|
|
|
48744
|
-
// node_modules/.pnpm/imapflow@1.
|
|
48744
|
+
// node_modules/.pnpm/imapflow@1.7.0/node_modules/imapflow/lib/handler/limits.js
|
|
48745
48745
|
var require_limits = __commonJS({
|
|
48746
|
-
"node_modules/.pnpm/imapflow@1.
|
|
48746
|
+
"node_modules/.pnpm/imapflow@1.7.0/node_modules/imapflow/lib/handler/limits.js"(exports, module) {
|
|
48747
48747
|
"use strict";
|
|
48748
48748
|
var MAX_LITERAL_SIZE = 1024 * 1024 * 1024;
|
|
48749
48749
|
var MAX_LINE_SIZE = MAX_LITERAL_SIZE;
|
|
@@ -48760,9 +48760,9 @@ var require_limits = __commonJS({
|
|
|
48760
48760
|
}
|
|
48761
48761
|
});
|
|
48762
48762
|
|
|
48763
|
-
// node_modules/.pnpm/imapflow@1.
|
|
48763
|
+
// node_modules/.pnpm/imapflow@1.7.0/node_modules/imapflow/lib/handler/imap-stream.js
|
|
48764
48764
|
var require_imap_stream = __commonJS({
|
|
48765
|
-
"node_modules/.pnpm/imapflow@1.
|
|
48765
|
+
"node_modules/.pnpm/imapflow@1.7.0/node_modules/imapflow/lib/handler/imap-stream.js"(exports, module) {
|
|
48766
48766
|
"use strict";
|
|
48767
48767
|
var Transform = __require("stream").Transform;
|
|
48768
48768
|
var logger = require_logger();
|
|
@@ -49163,9 +49163,9 @@ var require_imap_stream = __commonJS({
|
|
|
49163
49163
|
}
|
|
49164
49164
|
});
|
|
49165
49165
|
|
|
49166
|
-
// node_modules/.pnpm/imapflow@1.
|
|
49166
|
+
// node_modules/.pnpm/imapflow@1.7.0/node_modules/imapflow/lib/handler/imap-formal-syntax.js
|
|
49167
49167
|
var require_imap_formal_syntax = __commonJS({
|
|
49168
|
-
"node_modules/.pnpm/imapflow@1.
|
|
49168
|
+
"node_modules/.pnpm/imapflow@1.7.0/node_modules/imapflow/lib/handler/imap-formal-syntax.js"(exports, module) {
|
|
49169
49169
|
"use strict";
|
|
49170
49170
|
function expandRange(start, end) {
|
|
49171
49171
|
let chars = [];
|
|
@@ -49309,9 +49309,9 @@ var require_imap_formal_syntax = __commonJS({
|
|
|
49309
49309
|
}
|
|
49310
49310
|
});
|
|
49311
49311
|
|
|
49312
|
-
// node_modules/.pnpm/imapflow@1.
|
|
49312
|
+
// node_modules/.pnpm/imapflow@1.7.0/node_modules/imapflow/lib/handler/token-parser.js
|
|
49313
49313
|
var require_token_parser = __commonJS({
|
|
49314
|
-
"node_modules/.pnpm/imapflow@1.
|
|
49314
|
+
"node_modules/.pnpm/imapflow@1.7.0/node_modules/imapflow/lib/handler/token-parser.js"(exports, module) {
|
|
49315
49315
|
"use strict";
|
|
49316
49316
|
var imapFormalSyntax = require_imap_formal_syntax();
|
|
49317
49317
|
var { MAX_LITERAL_SIZE, normalizeLimit, createLiteralTooLargeError } = require_limits();
|
|
@@ -49878,9 +49878,9 @@ var require_token_parser = __commonJS({
|
|
|
49878
49878
|
}
|
|
49879
49879
|
});
|
|
49880
49880
|
|
|
49881
|
-
// node_modules/.pnpm/imapflow@1.
|
|
49881
|
+
// node_modules/.pnpm/imapflow@1.7.0/node_modules/imapflow/lib/handler/parser-instance.js
|
|
49882
49882
|
var require_parser_instance = __commonJS({
|
|
49883
|
-
"node_modules/.pnpm/imapflow@1.
|
|
49883
|
+
"node_modules/.pnpm/imapflow@1.7.0/node_modules/imapflow/lib/handler/parser-instance.js"(exports, module) {
|
|
49884
49884
|
"use strict";
|
|
49885
49885
|
var imapFormalSyntax = require_imap_formal_syntax();
|
|
49886
49886
|
var { TokenParser } = require_token_parser();
|
|
@@ -50074,9 +50074,9 @@ var require_parser_instance = __commonJS({
|
|
|
50074
50074
|
}
|
|
50075
50075
|
});
|
|
50076
50076
|
|
|
50077
|
-
// node_modules/.pnpm/imapflow@1.
|
|
50077
|
+
// node_modules/.pnpm/imapflow@1.7.0/node_modules/imapflow/lib/handler/imap-parser.js
|
|
50078
50078
|
var require_imap_parser = __commonJS({
|
|
50079
|
-
"node_modules/.pnpm/imapflow@1.
|
|
50079
|
+
"node_modules/.pnpm/imapflow@1.7.0/node_modules/imapflow/lib/handler/imap-parser.js"(exports, module) {
|
|
50080
50080
|
"use strict";
|
|
50081
50081
|
var imapFormalSyntax = require_imap_formal_syntax();
|
|
50082
50082
|
var { ParserInstance } = require_parser_instance();
|
|
@@ -50134,9 +50134,9 @@ var require_imap_parser = __commonJS({
|
|
|
50134
50134
|
}
|
|
50135
50135
|
});
|
|
50136
50136
|
|
|
50137
|
-
// node_modules/.pnpm/imapflow@1.
|
|
50137
|
+
// node_modules/.pnpm/imapflow@1.7.0/node_modules/imapflow/lib/handler/imap-compiler.js
|
|
50138
50138
|
var require_imap_compiler = __commonJS({
|
|
50139
|
-
"node_modules/.pnpm/imapflow@1.
|
|
50139
|
+
"node_modules/.pnpm/imapflow@1.7.0/node_modules/imapflow/lib/handler/imap-compiler.js"(exports, module) {
|
|
50140
50140
|
"use strict";
|
|
50141
50141
|
var imapFormalSyntax = require_imap_formal_syntax();
|
|
50142
50142
|
var SEQ_RANGE = /^(\d+|\*)(:(\d+|\*))?$/;
|
|
@@ -50324,9 +50324,9 @@ var require_imap_compiler = __commonJS({
|
|
|
50324
50324
|
}
|
|
50325
50325
|
});
|
|
50326
50326
|
|
|
50327
|
-
// node_modules/.pnpm/imapflow@1.
|
|
50327
|
+
// node_modules/.pnpm/imapflow@1.7.0/node_modules/imapflow/lib/handler/imap-handler.js
|
|
50328
50328
|
var require_imap_handler = __commonJS({
|
|
50329
|
-
"node_modules/.pnpm/imapflow@1.
|
|
50329
|
+
"node_modules/.pnpm/imapflow@1.7.0/node_modules/imapflow/lib/handler/imap-handler.js"(exports, module) {
|
|
50330
50330
|
"use strict";
|
|
50331
50331
|
var parser = require_imap_parser();
|
|
50332
50332
|
var compiler = require_imap_compiler();
|
|
@@ -50337,12 +50337,12 @@ var require_imap_handler = __commonJS({
|
|
|
50337
50337
|
}
|
|
50338
50338
|
});
|
|
50339
50339
|
|
|
50340
|
-
// node_modules/.pnpm/imapflow@1.
|
|
50340
|
+
// node_modules/.pnpm/imapflow@1.7.0/node_modules/imapflow/package.json
|
|
50341
50341
|
var require_package4 = __commonJS({
|
|
50342
|
-
"node_modules/.pnpm/imapflow@1.
|
|
50342
|
+
"node_modules/.pnpm/imapflow@1.7.0/node_modules/imapflow/package.json"(exports, module) {
|
|
50343
50343
|
module.exports = {
|
|
50344
50344
|
name: "imapflow",
|
|
50345
|
-
version: "1.
|
|
50345
|
+
version: "1.7.0",
|
|
50346
50346
|
description: "IMAP Client for Node",
|
|
50347
50347
|
main: "lib/imap-flow.js",
|
|
50348
50348
|
types: "lib/imap-flow.d.ts",
|
|
@@ -51766,9 +51766,9 @@ var require_util3 = __commonJS({
|
|
|
51766
51766
|
}
|
|
51767
51767
|
});
|
|
51768
51768
|
|
|
51769
|
-
// node_modules/.pnpm/ip-address@10.
|
|
51769
|
+
// node_modules/.pnpm/ip-address@10.5.0/node_modules/ip-address/dist/address-error.js
|
|
51770
51770
|
var require_address_error = __commonJS({
|
|
51771
|
-
"node_modules/.pnpm/ip-address@10.
|
|
51771
|
+
"node_modules/.pnpm/ip-address@10.5.0/node_modules/ip-address/dist/address-error.js"(exports) {
|
|
51772
51772
|
"use strict";
|
|
51773
51773
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
51774
51774
|
exports.AddressError = void 0;
|
|
@@ -51783,9 +51783,9 @@ var require_address_error = __commonJS({
|
|
|
51783
51783
|
}
|
|
51784
51784
|
});
|
|
51785
51785
|
|
|
51786
|
-
// node_modules/.pnpm/ip-address@10.
|
|
51786
|
+
// node_modules/.pnpm/ip-address@10.5.0/node_modules/ip-address/dist/common.js
|
|
51787
51787
|
var require_common = __commonJS({
|
|
51788
|
-
"node_modules/.pnpm/ip-address@10.
|
|
51788
|
+
"node_modules/.pnpm/ip-address@10.5.0/node_modules/ip-address/dist/common.js"(exports) {
|
|
51789
51789
|
"use strict";
|
|
51790
51790
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
51791
51791
|
exports.isInSubnet = isInSubnet;
|
|
@@ -51858,9 +51858,9 @@ var require_common = __commonJS({
|
|
|
51858
51858
|
}
|
|
51859
51859
|
});
|
|
51860
51860
|
|
|
51861
|
-
// node_modules/.pnpm/ip-address@10.
|
|
51861
|
+
// node_modules/.pnpm/ip-address@10.5.0/node_modules/ip-address/dist/v4/constants.js
|
|
51862
51862
|
var require_constants3 = __commonJS({
|
|
51863
|
-
"node_modules/.pnpm/ip-address@10.
|
|
51863
|
+
"node_modules/.pnpm/ip-address@10.5.0/node_modules/ip-address/dist/v4/constants.js"(exports) {
|
|
51864
51864
|
"use strict";
|
|
51865
51865
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
51866
51866
|
exports.RE_SUBNET_STRING = exports.RE_ADDRESS = exports.GROUPS = exports.BITS = void 0;
|
|
@@ -51871,9 +51871,9 @@ var require_constants3 = __commonJS({
|
|
|
51871
51871
|
}
|
|
51872
51872
|
});
|
|
51873
51873
|
|
|
51874
|
-
// node_modules/.pnpm/ip-address@10.
|
|
51874
|
+
// node_modules/.pnpm/ip-address@10.5.0/node_modules/ip-address/dist/ipv4.js
|
|
51875
51875
|
var require_ipv4 = __commonJS({
|
|
51876
|
-
"node_modules/.pnpm/ip-address@10.
|
|
51876
|
+
"node_modules/.pnpm/ip-address@10.5.0/node_modules/ip-address/dist/ipv4.js"(exports) {
|
|
51877
51877
|
"use strict";
|
|
51878
51878
|
var __createBinding = exports && exports.__createBinding || (Object.create ? (function(o, m, k, k2) {
|
|
51879
51879
|
if (k2 === void 0) k2 = k;
|
|
@@ -52201,7 +52201,10 @@ var require_ipv4 = __commonJS({
|
|
|
52201
52201
|
return _Address4.fromHex(bigInt.toString(16).padStart(8, "0"));
|
|
52202
52202
|
}
|
|
52203
52203
|
/**
|
|
52204
|
-
* Convert a byte array to an Address4 object.
|
|
52204
|
+
* Convert a byte array to an Address4 object. Throws `AddressError` unless
|
|
52205
|
+
* given exactly 4 integers from 0 to 255. Signed bytes are rejected, so
|
|
52206
|
+
* this differs from `Address6.fromByteArray`, which folds them; the two
|
|
52207
|
+
* contracts converge on this stricter form in the next major version.
|
|
52205
52208
|
*
|
|
52206
52209
|
* To convert from a Node.js `Buffer`, spread it: `Address4.fromByteArray([...buf])`.
|
|
52207
52210
|
* @param {Array<number>} bytes - an array of 4 bytes (0-255)
|
|
@@ -52212,7 +52215,12 @@ var require_ipv4 = __commonJS({
|
|
|
52212
52215
|
return this.fromUnsignedByteArray(bytes);
|
|
52213
52216
|
}
|
|
52214
52217
|
/**
|
|
52215
|
-
* Convert an unsigned byte array to an Address4 object
|
|
52218
|
+
* Convert an unsigned byte array to an Address4 object. Throws
|
|
52219
|
+
* `AddressError` unless given exactly 4 bytes, and rejects values outside
|
|
52220
|
+
* 0 to 255 when parsing the resulting address.
|
|
52221
|
+
*
|
|
52222
|
+
* To convert from a Node.js `Buffer`, spread it:
|
|
52223
|
+
* `Address4.fromUnsignedByteArray([...buf])`.
|
|
52216
52224
|
* @param {Array<number>} bytes - an array of 4 unsigned bytes (0-255)
|
|
52217
52225
|
* @returns {Address4}
|
|
52218
52226
|
*/
|
|
@@ -52242,7 +52250,8 @@ var require_ipv4 = __commonJS({
|
|
|
52242
52250
|
return this.binaryZeroPad().slice(start, end);
|
|
52243
52251
|
}
|
|
52244
52252
|
/**
|
|
52245
|
-
* Return the reversed
|
|
52253
|
+
* Return the reversed in-addr.arpa form of the address, e.g.
|
|
52254
|
+
* `42.2.0.192.in-addr.arpa.` for `192.0.2.42`.
|
|
52246
52255
|
* @param {Object} options
|
|
52247
52256
|
* @param {boolean} options.omitSuffix - omit the "in-addr.arpa" suffix
|
|
52248
52257
|
* @returns {String}
|
|
@@ -52317,7 +52326,12 @@ var require_ipv4 = __commonJS({
|
|
|
52317
52326
|
return this._binaryZeroPad;
|
|
52318
52327
|
}
|
|
52319
52328
|
/**
|
|
52320
|
-
* Groups an IPv4 address for inclusion at the end of an IPv6 address
|
|
52329
|
+
* Groups an IPv4 address for inclusion at the end of an IPv6 address.
|
|
52330
|
+
*
|
|
52331
|
+
* Returns an HTML fragment: each half of the address is wrapped in a
|
|
52332
|
+
* `<span>` carrying the group classes an address-inspector UI hovers on.
|
|
52333
|
+
* The address content is HTML-escaped; anything you concatenate around it
|
|
52334
|
+
* is your responsibility.
|
|
52321
52335
|
* @returns {String}
|
|
52322
52336
|
*/
|
|
52323
52337
|
groupForV6() {
|
|
@@ -52340,9 +52354,9 @@ var require_ipv4 = __commonJS({
|
|
|
52340
52354
|
}
|
|
52341
52355
|
});
|
|
52342
52356
|
|
|
52343
|
-
// node_modules/.pnpm/ip-address@10.
|
|
52357
|
+
// node_modules/.pnpm/ip-address@10.5.0/node_modules/ip-address/dist/v6/constants.js
|
|
52344
52358
|
var require_constants4 = __commonJS({
|
|
52345
|
-
"node_modules/.pnpm/ip-address@10.
|
|
52359
|
+
"node_modules/.pnpm/ip-address@10.5.0/node_modules/ip-address/dist/v6/constants.js"(exports) {
|
|
52346
52360
|
"use strict";
|
|
52347
52361
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
52348
52362
|
exports.RE_URL_WITH_PORT = exports.RE_URL = exports.RE_ZONE_STRING = exports.RE_SUBNET_STRING = exports.RE_BAD_ADDRESS = exports.RE_BAD_CHARACTERS = exports.TYPES = exports.SCOPES = exports.GROUPS = exports.BITS = void 0;
|
|
@@ -52397,9 +52411,9 @@ var require_constants4 = __commonJS({
|
|
|
52397
52411
|
}
|
|
52398
52412
|
});
|
|
52399
52413
|
|
|
52400
|
-
// node_modules/.pnpm/ip-address@10.
|
|
52414
|
+
// node_modules/.pnpm/ip-address@10.5.0/node_modules/ip-address/dist/v6/helpers.js
|
|
52401
52415
|
var require_helpers = __commonJS({
|
|
52402
|
-
"node_modules/.pnpm/ip-address@10.
|
|
52416
|
+
"node_modules/.pnpm/ip-address@10.5.0/node_modules/ip-address/dist/v6/helpers.js"(exports) {
|
|
52403
52417
|
"use strict";
|
|
52404
52418
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
52405
52419
|
exports.escapeHtml = escapeHtml;
|
|
@@ -52436,9 +52450,9 @@ var require_helpers = __commonJS({
|
|
|
52436
52450
|
}
|
|
52437
52451
|
});
|
|
52438
52452
|
|
|
52439
|
-
// node_modules/.pnpm/ip-address@10.
|
|
52453
|
+
// node_modules/.pnpm/ip-address@10.5.0/node_modules/ip-address/dist/v6/regular-expressions.js
|
|
52440
52454
|
var require_regular_expressions = __commonJS({
|
|
52441
|
-
"node_modules/.pnpm/ip-address@10.
|
|
52455
|
+
"node_modules/.pnpm/ip-address@10.5.0/node_modules/ip-address/dist/v6/regular-expressions.js"(exports) {
|
|
52442
52456
|
"use strict";
|
|
52443
52457
|
var __createBinding = exports && exports.__createBinding || (Object.create ? (function(o, m, k, k2) {
|
|
52444
52458
|
if (k2 === void 0) k2 = k;
|
|
@@ -52528,9 +52542,9 @@ var require_regular_expressions = __commonJS({
|
|
|
52528
52542
|
}
|
|
52529
52543
|
});
|
|
52530
52544
|
|
|
52531
|
-
// node_modules/.pnpm/ip-address@10.
|
|
52545
|
+
// node_modules/.pnpm/ip-address@10.5.0/node_modules/ip-address/dist/ipv6.js
|
|
52532
52546
|
var require_ipv6 = __commonJS({
|
|
52533
|
-
"node_modules/.pnpm/ip-address@10.
|
|
52547
|
+
"node_modules/.pnpm/ip-address@10.5.0/node_modules/ip-address/dist/ipv6.js"(exports) {
|
|
52534
52548
|
"use strict";
|
|
52535
52549
|
var __createBinding = exports && exports.__createBinding || (Object.create ? (function(o, m, k, k2) {
|
|
52536
52550
|
if (k2 === void 0) k2 = k;
|
|
@@ -52695,26 +52709,21 @@ var require_ipv6 = __commonJS({
|
|
|
52695
52709
|
let host;
|
|
52696
52710
|
let port = null;
|
|
52697
52711
|
let result;
|
|
52712
|
+
let error2;
|
|
52698
52713
|
const stripped = url.replace(/^[a-z][a-z0-9+.-]*:\/\//i, "");
|
|
52699
52714
|
if (stripped.indexOf("[") !== -1 && stripped.indexOf("]:") !== -1) {
|
|
52715
|
+
error2 = "failed to parse address with port";
|
|
52700
52716
|
result = constants6.RE_URL_WITH_PORT.exec(stripped);
|
|
52701
52717
|
if (result === null) {
|
|
52702
|
-
return {
|
|
52703
|
-
error: "failed to parse address with port",
|
|
52704
|
-
address: null,
|
|
52705
|
-
port: null
|
|
52706
|
-
};
|
|
52718
|
+
return { error: error2, address: null, port: null };
|
|
52707
52719
|
}
|
|
52708
52720
|
host = result[1];
|
|
52709
52721
|
port = result[2];
|
|
52710
52722
|
} else {
|
|
52723
|
+
error2 = "failed to parse address from URL";
|
|
52711
52724
|
result = constants6.RE_URL.exec(stripped);
|
|
52712
52725
|
if (result === null) {
|
|
52713
|
-
return {
|
|
52714
|
-
error: "failed to parse address from URL",
|
|
52715
|
-
address: null,
|
|
52716
|
-
port: null
|
|
52717
|
-
};
|
|
52726
|
+
return { error: error2, address: null, port: null };
|
|
52718
52727
|
}
|
|
52719
52728
|
host = (_a = result[1]) !== null && _a !== void 0 ? _a : result[2];
|
|
52720
52729
|
}
|
|
@@ -52726,10 +52735,13 @@ var require_ipv6 = __commonJS({
|
|
|
52726
52735
|
} else {
|
|
52727
52736
|
port = null;
|
|
52728
52737
|
}
|
|
52729
|
-
|
|
52730
|
-
|
|
52731
|
-
|
|
52732
|
-
}
|
|
52738
|
+
let address;
|
|
52739
|
+
try {
|
|
52740
|
+
address = new _Address6(host);
|
|
52741
|
+
} catch {
|
|
52742
|
+
return { error: error2, address: null, port: null };
|
|
52743
|
+
}
|
|
52744
|
+
return { address, port };
|
|
52733
52745
|
}
|
|
52734
52746
|
/**
|
|
52735
52747
|
* Construct an `Address6` from an address and a hex subnet mask given as
|
|
@@ -53665,7 +53677,12 @@ var require_ipv6 = __commonJS({
|
|
|
53665
53677
|
return `<a href="${safeHref}">${safeForm}</a>`;
|
|
53666
53678
|
}
|
|
53667
53679
|
/**
|
|
53668
|
-
* Groups an address
|
|
53680
|
+
* Groups an address.
|
|
53681
|
+
*
|
|
53682
|
+
* Returns an HTML fragment: each group is wrapped in a `<span>` carrying
|
|
53683
|
+
* the group classes an address-inspector UI hovers on. The address content
|
|
53684
|
+
* is HTML-escaped; anything you concatenate around it is your
|
|
53685
|
+
* responsibility.
|
|
53669
53686
|
* @returns {String}
|
|
53670
53687
|
*/
|
|
53671
53688
|
group() {
|
|
@@ -53762,9 +53779,9 @@ var require_ipv6 = __commonJS({
|
|
|
53762
53779
|
}
|
|
53763
53780
|
});
|
|
53764
53781
|
|
|
53765
|
-
// node_modules/.pnpm/ip-address@10.
|
|
53782
|
+
// node_modules/.pnpm/ip-address@10.5.0/node_modules/ip-address/dist/ip-address.js
|
|
53766
53783
|
var require_ip_address = __commonJS({
|
|
53767
|
-
"node_modules/.pnpm/ip-address@10.
|
|
53784
|
+
"node_modules/.pnpm/ip-address@10.5.0/node_modules/ip-address/dist/ip-address.js"(exports) {
|
|
53768
53785
|
"use strict";
|
|
53769
53786
|
var __createBinding = exports && exports.__createBinding || (Object.create ? (function(o, m, k, k2) {
|
|
53770
53787
|
if (k2 === void 0) k2 = k;
|
|
@@ -54671,9 +54688,9 @@ var require_build = __commonJS({
|
|
|
54671
54688
|
}
|
|
54672
54689
|
});
|
|
54673
54690
|
|
|
54674
|
-
// node_modules/.pnpm/imapflow@1.
|
|
54691
|
+
// node_modules/.pnpm/imapflow@1.7.0/node_modules/imapflow/lib/connection-deadline.js
|
|
54675
54692
|
var require_connection_deadline = __commonJS({
|
|
54676
|
-
"node_modules/.pnpm/imapflow@1.
|
|
54693
|
+
"node_modules/.pnpm/imapflow@1.7.0/node_modules/imapflow/lib/connection-deadline.js"(exports, module) {
|
|
54677
54694
|
"use strict";
|
|
54678
54695
|
var CONNECT_TIMEOUT = 90 * 1e3;
|
|
54679
54696
|
var ConnectionDeadline = class {
|
|
@@ -54754,9 +54771,9 @@ var require_connection_deadline = __commonJS({
|
|
|
54754
54771
|
}
|
|
54755
54772
|
});
|
|
54756
54773
|
|
|
54757
|
-
// node_modules/.pnpm/imapflow@1.
|
|
54774
|
+
// node_modules/.pnpm/imapflow@1.7.0/node_modules/imapflow/lib/proxy-connection.js
|
|
54758
54775
|
var require_proxy_connection = __commonJS({
|
|
54759
|
-
"node_modules/.pnpm/imapflow@1.
|
|
54776
|
+
"node_modules/.pnpm/imapflow@1.7.0/node_modules/imapflow/lib/proxy-connection.js"(exports, module) {
|
|
54760
54777
|
"use strict";
|
|
54761
54778
|
var { SocksClient } = require_build();
|
|
54762
54779
|
var dns = __require("dns").promises;
|
|
@@ -55033,9 +55050,9 @@ var require_proxy_connection = __commonJS({
|
|
|
55033
55050
|
}
|
|
55034
55051
|
});
|
|
55035
55052
|
|
|
55036
|
-
// node_modules/.pnpm/imapflow@1.
|
|
55053
|
+
// node_modules/.pnpm/imapflow@1.7.0/node_modules/imapflow/lib/charsets.js
|
|
55037
55054
|
var require_charsets2 = __commonJS({
|
|
55038
|
-
"node_modules/.pnpm/imapflow@1.
|
|
55055
|
+
"node_modules/.pnpm/imapflow@1.7.0/node_modules/imapflow/lib/charsets.js"(exports, module) {
|
|
55039
55056
|
"use strict";
|
|
55040
55057
|
var CHARACTER_SETS = [
|
|
55041
55058
|
"US-ASCII",
|
|
@@ -55312,9 +55329,9 @@ var require_charsets2 = __commonJS({
|
|
|
55312
55329
|
}
|
|
55313
55330
|
});
|
|
55314
55331
|
|
|
55315
|
-
// node_modules/.pnpm/imapflow@1.
|
|
55332
|
+
// node_modules/.pnpm/imapflow@1.7.0/node_modules/imapflow/lib/jp-decoder.js
|
|
55316
55333
|
var require_jp_decoder = __commonJS({
|
|
55317
|
-
"node_modules/.pnpm/imapflow@1.
|
|
55334
|
+
"node_modules/.pnpm/imapflow@1.7.0/node_modules/imapflow/lib/jp-decoder.js"(exports, module) {
|
|
55318
55335
|
"use strict";
|
|
55319
55336
|
var { Transform } = __require("stream");
|
|
55320
55337
|
var encodingJapanese = require_src();
|
|
@@ -55378,9 +55395,9 @@ var require_jp_decoder = __commonJS({
|
|
|
55378
55395
|
}
|
|
55379
55396
|
});
|
|
55380
55397
|
|
|
55381
|
-
// node_modules/.pnpm/imapflow@1.
|
|
55398
|
+
// node_modules/.pnpm/imapflow@1.7.0/node_modules/imapflow/lib/tools.js
|
|
55382
55399
|
var require_tools2 = __commonJS({
|
|
55383
|
-
"node_modules/.pnpm/imapflow@1.
|
|
55400
|
+
"node_modules/.pnpm/imapflow@1.7.0/node_modules/imapflow/lib/tools.js"(exports, module) {
|
|
55384
55401
|
"use strict";
|
|
55385
55402
|
var libmime = require_libmime();
|
|
55386
55403
|
var { resolveCharset } = require_charsets2();
|
|
@@ -56454,9 +56471,9 @@ var require_tools2 = __commonJS({
|
|
|
56454
56471
|
}
|
|
56455
56472
|
});
|
|
56456
56473
|
|
|
56457
|
-
// node_modules/.pnpm/imapflow@1.
|
|
56474
|
+
// node_modules/.pnpm/imapflow@1.7.0/node_modules/imapflow/lib/commands/id.js
|
|
56458
56475
|
var require_id2 = __commonJS({
|
|
56459
|
-
"node_modules/.pnpm/imapflow@1.
|
|
56476
|
+
"node_modules/.pnpm/imapflow@1.7.0/node_modules/imapflow/lib/commands/id.js"(exports, module) {
|
|
56460
56477
|
"use strict";
|
|
56461
56478
|
var { formatDateTime } = require_tools2();
|
|
56462
56479
|
module.exports = async (connection, clientInfo) => {
|
|
@@ -56506,9 +56523,9 @@ var require_id2 = __commonJS({
|
|
|
56506
56523
|
}
|
|
56507
56524
|
});
|
|
56508
56525
|
|
|
56509
|
-
// node_modules/.pnpm/imapflow@1.
|
|
56526
|
+
// node_modules/.pnpm/imapflow@1.7.0/node_modules/imapflow/lib/commands/capability.js
|
|
56510
56527
|
var require_capability = __commonJS({
|
|
56511
|
-
"node_modules/.pnpm/imapflow@1.
|
|
56528
|
+
"node_modules/.pnpm/imapflow@1.7.0/node_modules/imapflow/lib/commands/capability.js"(exports, module) {
|
|
56512
56529
|
"use strict";
|
|
56513
56530
|
module.exports = async (connection) => {
|
|
56514
56531
|
if (connection.capabilities.size && !connection.expectCapabilityUpdate) {
|
|
@@ -56527,9 +56544,9 @@ var require_capability = __commonJS({
|
|
|
56527
56544
|
}
|
|
56528
56545
|
});
|
|
56529
56546
|
|
|
56530
|
-
// node_modules/.pnpm/imapflow@1.
|
|
56547
|
+
// node_modules/.pnpm/imapflow@1.7.0/node_modules/imapflow/lib/commands/namespace.js
|
|
56531
56548
|
var require_namespace = __commonJS({
|
|
56532
|
-
"node_modules/.pnpm/imapflow@1.
|
|
56549
|
+
"node_modules/.pnpm/imapflow@1.7.0/node_modules/imapflow/lib/commands/namespace.js"(exports, module) {
|
|
56533
56550
|
"use strict";
|
|
56534
56551
|
var { hasCapability, getStringList } = require_tools2();
|
|
56535
56552
|
module.exports = async (connection) => {
|
|
@@ -56635,9 +56652,9 @@ var require_namespace = __commonJS({
|
|
|
56635
56652
|
}
|
|
56636
56653
|
});
|
|
56637
56654
|
|
|
56638
|
-
// node_modules/.pnpm/imapflow@1.
|
|
56655
|
+
// node_modules/.pnpm/imapflow@1.7.0/node_modules/imapflow/lib/commands/login.js
|
|
56639
56656
|
var require_login = __commonJS({
|
|
56640
|
-
"node_modules/.pnpm/imapflow@1.
|
|
56657
|
+
"node_modules/.pnpm/imapflow@1.7.0/node_modules/imapflow/lib/commands/login.js"(exports, module) {
|
|
56641
56658
|
"use strict";
|
|
56642
56659
|
var { getStatusCode, getErrorText } = require_tools2();
|
|
56643
56660
|
module.exports = async (connection, username, password) => {
|
|
@@ -56666,9 +56683,9 @@ var require_login = __commonJS({
|
|
|
56666
56683
|
}
|
|
56667
56684
|
});
|
|
56668
56685
|
|
|
56669
|
-
// node_modules/.pnpm/imapflow@1.
|
|
56686
|
+
// node_modules/.pnpm/imapflow@1.7.0/node_modules/imapflow/lib/commands/logout.js
|
|
56670
56687
|
var require_logout = __commonJS({
|
|
56671
|
-
"node_modules/.pnpm/imapflow@1.
|
|
56688
|
+
"node_modules/.pnpm/imapflow@1.7.0/node_modules/imapflow/lib/commands/logout.js"(exports, module) {
|
|
56672
56689
|
"use strict";
|
|
56673
56690
|
module.exports = async (connection) => {
|
|
56674
56691
|
if (connection.state === connection.states.LOGOUT) {
|
|
@@ -56700,9 +56717,9 @@ var require_logout = __commonJS({
|
|
|
56700
56717
|
}
|
|
56701
56718
|
});
|
|
56702
56719
|
|
|
56703
|
-
// node_modules/.pnpm/imapflow@1.
|
|
56720
|
+
// node_modules/.pnpm/imapflow@1.7.0/node_modules/imapflow/lib/commands/starttls.js
|
|
56704
56721
|
var require_starttls = __commonJS({
|
|
56705
|
-
"node_modules/.pnpm/imapflow@1.
|
|
56722
|
+
"node_modules/.pnpm/imapflow@1.7.0/node_modules/imapflow/lib/commands/starttls.js"(exports, module) {
|
|
56706
56723
|
"use strict";
|
|
56707
56724
|
module.exports = async (connection) => {
|
|
56708
56725
|
if (!connection.capabilities.has("STARTTLS") || connection.secureConnection) {
|
|
@@ -56722,9 +56739,9 @@ var require_starttls = __commonJS({
|
|
|
56722
56739
|
}
|
|
56723
56740
|
});
|
|
56724
56741
|
|
|
56725
|
-
// node_modules/.pnpm/imapflow@1.
|
|
56742
|
+
// node_modules/.pnpm/imapflow@1.7.0/node_modules/imapflow/lib/commands/status-fields.js
|
|
56726
56743
|
var require_status_fields = __commonJS({
|
|
56727
|
-
"node_modules/.pnpm/imapflow@1.
|
|
56744
|
+
"node_modules/.pnpm/imapflow@1.7.0/node_modules/imapflow/lib/commands/status-fields.js"(exports, module) {
|
|
56728
56745
|
"use strict";
|
|
56729
56746
|
var { parseBigIntValue, parseUintValue, MAX_UINT32_DIGITS } = require_tools2();
|
|
56730
56747
|
var uint32 = (value) => parseUintValue(value, MAX_UINT32_DIGITS);
|
|
@@ -56767,9 +56784,9 @@ var require_status_fields = __commonJS({
|
|
|
56767
56784
|
}
|
|
56768
56785
|
});
|
|
56769
56786
|
|
|
56770
|
-
// node_modules/.pnpm/imapflow@1.
|
|
56787
|
+
// node_modules/.pnpm/imapflow@1.7.0/node_modules/imapflow/lib/special-use.js
|
|
56771
56788
|
var require_special_use = __commonJS({
|
|
56772
|
-
"node_modules/.pnpm/imapflow@1.
|
|
56789
|
+
"node_modules/.pnpm/imapflow@1.7.0/node_modules/imapflow/lib/special-use.js"(exports, module) {
|
|
56773
56790
|
"use strict";
|
|
56774
56791
|
var GENERIC_TOKENS = new Set(
|
|
56775
56792
|
[
|
|
@@ -57646,9 +57663,9 @@ var require_special_use = __commonJS({
|
|
|
57646
57663
|
}
|
|
57647
57664
|
});
|
|
57648
57665
|
|
|
57649
|
-
// node_modules/.pnpm/imapflow@1.
|
|
57666
|
+
// node_modules/.pnpm/imapflow@1.7.0/node_modules/imapflow/lib/commands/list.js
|
|
57650
57667
|
var require_list = __commonJS({
|
|
57651
|
-
"node_modules/.pnpm/imapflow@1.
|
|
57668
|
+
"node_modules/.pnpm/imapflow@1.7.0/node_modules/imapflow/lib/commands/list.js"(exports, module) {
|
|
57652
57669
|
"use strict";
|
|
57653
57670
|
var {
|
|
57654
57671
|
decodePath,
|
|
@@ -57993,9 +58010,9 @@ var require_list = __commonJS({
|
|
|
57993
58010
|
}
|
|
57994
58011
|
});
|
|
57995
58012
|
|
|
57996
|
-
// node_modules/.pnpm/imapflow@1.
|
|
58013
|
+
// node_modules/.pnpm/imapflow@1.7.0/node_modules/imapflow/lib/commands/enable.js
|
|
57997
58014
|
var require_enable = __commonJS({
|
|
57998
|
-
"node_modules/.pnpm/imapflow@1.
|
|
58015
|
+
"node_modules/.pnpm/imapflow@1.7.0/node_modules/imapflow/lib/commands/enable.js"(exports, module) {
|
|
57999
58016
|
"use strict";
|
|
58000
58017
|
var { hasCapability } = require_tools2();
|
|
58001
58018
|
module.exports = async (connection, extensionList) => {
|
|
@@ -58042,9 +58059,9 @@ var require_enable = __commonJS({
|
|
|
58042
58059
|
}
|
|
58043
58060
|
});
|
|
58044
58061
|
|
|
58045
|
-
// node_modules/.pnpm/imapflow@1.
|
|
58062
|
+
// node_modules/.pnpm/imapflow@1.7.0/node_modules/imapflow/lib/commands/select.js
|
|
58046
58063
|
var require_select = __commonJS({
|
|
58047
|
-
"node_modules/.pnpm/imapflow@1.
|
|
58064
|
+
"node_modules/.pnpm/imapflow@1.7.0/node_modules/imapflow/lib/commands/select.js"(exports, module) {
|
|
58048
58065
|
"use strict";
|
|
58049
58066
|
var { encodePath, normalizePath, enhanceCommandError, parseBigIntValue, parseUintValue, getStringList, MAX_UINT32_DIGITS } = require_tools2();
|
|
58050
58067
|
var VALUED_RESPONSE_CODES = Object.assign(/* @__PURE__ */ Object.create(null), {
|
|
@@ -58227,9 +58244,9 @@ var require_select = __commonJS({
|
|
|
58227
58244
|
}
|
|
58228
58245
|
});
|
|
58229
58246
|
|
|
58230
|
-
// node_modules/.pnpm/imapflow@1.
|
|
58247
|
+
// node_modules/.pnpm/imapflow@1.7.0/node_modules/imapflow/lib/commands/fetch.js
|
|
58231
58248
|
var require_fetch2 = __commonJS({
|
|
58232
|
-
"node_modules/.pnpm/imapflow@1.
|
|
58249
|
+
"node_modules/.pnpm/imapflow@1.7.0/node_modules/imapflow/lib/commands/fetch.js"(exports, module) {
|
|
58233
58250
|
"use strict";
|
|
58234
58251
|
var { formatMessageResponse, isRev2Active } = require_tools2();
|
|
58235
58252
|
module.exports = async (connection, range, query, options) => {
|
|
@@ -58414,9 +58431,9 @@ var require_fetch2 = __commonJS({
|
|
|
58414
58431
|
}
|
|
58415
58432
|
});
|
|
58416
58433
|
|
|
58417
|
-
// node_modules/.pnpm/imapflow@1.
|
|
58434
|
+
// node_modules/.pnpm/imapflow@1.7.0/node_modules/imapflow/lib/commands/create.js
|
|
58418
58435
|
var require_create = __commonJS({
|
|
58419
|
-
"node_modules/.pnpm/imapflow@1.
|
|
58436
|
+
"node_modules/.pnpm/imapflow@1.7.0/node_modules/imapflow/lib/commands/create.js"(exports, module) {
|
|
58420
58437
|
"use strict";
|
|
58421
58438
|
var { encodePath, normalizePath, getStatusCode, enhanceCommandError } = require_tools2();
|
|
58422
58439
|
module.exports = async (connection, path) => {
|
|
@@ -58473,9 +58490,9 @@ var require_create = __commonJS({
|
|
|
58473
58490
|
}
|
|
58474
58491
|
});
|
|
58475
58492
|
|
|
58476
|
-
// node_modules/.pnpm/imapflow@1.
|
|
58493
|
+
// node_modules/.pnpm/imapflow@1.7.0/node_modules/imapflow/lib/commands/delete.js
|
|
58477
58494
|
var require_delete = __commonJS({
|
|
58478
|
-
"node_modules/.pnpm/imapflow@1.
|
|
58495
|
+
"node_modules/.pnpm/imapflow@1.7.0/node_modules/imapflow/lib/commands/delete.js"(exports, module) {
|
|
58479
58496
|
"use strict";
|
|
58480
58497
|
var { encodePath, normalizePath, enhanceCommandError } = require_tools2();
|
|
58481
58498
|
module.exports = async (connection, path) => {
|
|
@@ -58503,9 +58520,9 @@ var require_delete = __commonJS({
|
|
|
58503
58520
|
}
|
|
58504
58521
|
});
|
|
58505
58522
|
|
|
58506
|
-
// node_modules/.pnpm/imapflow@1.
|
|
58523
|
+
// node_modules/.pnpm/imapflow@1.7.0/node_modules/imapflow/lib/commands/rename.js
|
|
58507
58524
|
var require_rename = __commonJS({
|
|
58508
|
-
"node_modules/.pnpm/imapflow@1.
|
|
58525
|
+
"node_modules/.pnpm/imapflow@1.7.0/node_modules/imapflow/lib/commands/rename.js"(exports, module) {
|
|
58509
58526
|
"use strict";
|
|
58510
58527
|
var { encodePath, normalizePath, enhanceCommandError } = require_tools2();
|
|
58511
58528
|
module.exports = async (connection, path, newPath) => {
|
|
@@ -58538,9 +58555,9 @@ var require_rename = __commonJS({
|
|
|
58538
58555
|
}
|
|
58539
58556
|
});
|
|
58540
58557
|
|
|
58541
|
-
// node_modules/.pnpm/imapflow@1.
|
|
58558
|
+
// node_modules/.pnpm/imapflow@1.7.0/node_modules/imapflow/lib/commands/close.js
|
|
58542
58559
|
var require_close = __commonJS({
|
|
58543
|
-
"node_modules/.pnpm/imapflow@1.
|
|
58560
|
+
"node_modules/.pnpm/imapflow@1.7.0/node_modules/imapflow/lib/commands/close.js"(exports, module) {
|
|
58544
58561
|
"use strict";
|
|
58545
58562
|
module.exports = async (connection) => {
|
|
58546
58563
|
if (connection.state !== connection.states.SELECTED) {
|
|
@@ -58566,9 +58583,9 @@ var require_close = __commonJS({
|
|
|
58566
58583
|
}
|
|
58567
58584
|
});
|
|
58568
58585
|
|
|
58569
|
-
// node_modules/.pnpm/imapflow@1.
|
|
58586
|
+
// node_modules/.pnpm/imapflow@1.7.0/node_modules/imapflow/lib/commands/subscribe.js
|
|
58570
58587
|
var require_subscribe = __commonJS({
|
|
58571
|
-
"node_modules/.pnpm/imapflow@1.
|
|
58588
|
+
"node_modules/.pnpm/imapflow@1.7.0/node_modules/imapflow/lib/commands/subscribe.js"(exports, module) {
|
|
58572
58589
|
"use strict";
|
|
58573
58590
|
var { encodePath, normalizePath, enhanceCommandError } = require_tools2();
|
|
58574
58591
|
module.exports = async (connection, path) => {
|
|
@@ -58590,9 +58607,9 @@ var require_subscribe = __commonJS({
|
|
|
58590
58607
|
}
|
|
58591
58608
|
});
|
|
58592
58609
|
|
|
58593
|
-
// node_modules/.pnpm/imapflow@1.
|
|
58610
|
+
// node_modules/.pnpm/imapflow@1.7.0/node_modules/imapflow/lib/commands/unsubscribe.js
|
|
58594
58611
|
var require_unsubscribe = __commonJS({
|
|
58595
|
-
"node_modules/.pnpm/imapflow@1.
|
|
58612
|
+
"node_modules/.pnpm/imapflow@1.7.0/node_modules/imapflow/lib/commands/unsubscribe.js"(exports, module) {
|
|
58596
58613
|
"use strict";
|
|
58597
58614
|
var { encodePath, normalizePath, enhanceCommandError } = require_tools2();
|
|
58598
58615
|
module.exports = async (connection, path) => {
|
|
@@ -58614,9 +58631,9 @@ var require_unsubscribe = __commonJS({
|
|
|
58614
58631
|
}
|
|
58615
58632
|
});
|
|
58616
58633
|
|
|
58617
|
-
// node_modules/.pnpm/imapflow@1.
|
|
58634
|
+
// node_modules/.pnpm/imapflow@1.7.0/node_modules/imapflow/lib/commands/store.js
|
|
58618
58635
|
var require_store = __commonJS({
|
|
58619
|
-
"node_modules/.pnpm/imapflow@1.
|
|
58636
|
+
"node_modules/.pnpm/imapflow@1.7.0/node_modules/imapflow/lib/commands/store.js"(exports, module) {
|
|
58620
58637
|
"use strict";
|
|
58621
58638
|
var { formatFlag, canUseFlag, enhanceCommandError } = require_tools2();
|
|
58622
58639
|
module.exports = async (connection, range, flags, options) => {
|
|
@@ -58678,9 +58695,9 @@ var require_store = __commonJS({
|
|
|
58678
58695
|
}
|
|
58679
58696
|
});
|
|
58680
58697
|
|
|
58681
|
-
// node_modules/.pnpm/imapflow@1.
|
|
58698
|
+
// node_modules/.pnpm/imapflow@1.7.0/node_modules/imapflow/lib/search-compiler.js
|
|
58682
58699
|
var require_search_compiler = __commonJS({
|
|
58683
|
-
"node_modules/.pnpm/imapflow@1.
|
|
58700
|
+
"node_modules/.pnpm/imapflow@1.7.0/node_modules/imapflow/lib/search-compiler.js"(exports, module) {
|
|
58684
58701
|
"use strict";
|
|
58685
58702
|
var { formatDate, formatFlag, canUseFlag, isDate, isRev2Active } = require_tools2();
|
|
58686
58703
|
var setBoolOpt = (attributes, term, value) => {
|
|
@@ -59004,9 +59021,9 @@ var require_search_compiler = __commonJS({
|
|
|
59004
59021
|
}
|
|
59005
59022
|
});
|
|
59006
59023
|
|
|
59007
|
-
// node_modules/.pnpm/imapflow@1.
|
|
59024
|
+
// node_modules/.pnpm/imapflow@1.7.0/node_modules/imapflow/lib/commands/search.js
|
|
59008
59025
|
var require_search = __commonJS({
|
|
59009
|
-
"node_modules/.pnpm/imapflow@1.
|
|
59026
|
+
"node_modules/.pnpm/imapflow@1.7.0/node_modules/imapflow/lib/commands/search.js"(exports, module) {
|
|
59010
59027
|
"use strict";
|
|
59011
59028
|
var {
|
|
59012
59029
|
enhanceCommandError,
|
|
@@ -59231,9 +59248,9 @@ var require_search = __commonJS({
|
|
|
59231
59248
|
}
|
|
59232
59249
|
});
|
|
59233
59250
|
|
|
59234
|
-
// node_modules/.pnpm/imapflow@1.
|
|
59251
|
+
// node_modules/.pnpm/imapflow@1.7.0/node_modules/imapflow/lib/commands/noop.js
|
|
59235
59252
|
var require_noop = __commonJS({
|
|
59236
|
-
"node_modules/.pnpm/imapflow@1.
|
|
59253
|
+
"node_modules/.pnpm/imapflow@1.7.0/node_modules/imapflow/lib/commands/noop.js"(exports, module) {
|
|
59237
59254
|
"use strict";
|
|
59238
59255
|
module.exports = async (connection) => {
|
|
59239
59256
|
try {
|
|
@@ -59248,9 +59265,9 @@ var require_noop = __commonJS({
|
|
|
59248
59265
|
}
|
|
59249
59266
|
});
|
|
59250
59267
|
|
|
59251
|
-
// node_modules/.pnpm/imapflow@1.
|
|
59268
|
+
// node_modules/.pnpm/imapflow@1.7.0/node_modules/imapflow/lib/commands/expunge.js
|
|
59252
59269
|
var require_expunge = __commonJS({
|
|
59253
|
-
"node_modules/.pnpm/imapflow@1.
|
|
59270
|
+
"node_modules/.pnpm/imapflow@1.7.0/node_modules/imapflow/lib/commands/expunge.js"(exports, module) {
|
|
59254
59271
|
"use strict";
|
|
59255
59272
|
var { enhanceCommandError, hasCapability, parseBigIntValue } = require_tools2();
|
|
59256
59273
|
module.exports = async (connection, range, options) => {
|
|
@@ -59284,9 +59301,9 @@ var require_expunge = __commonJS({
|
|
|
59284
59301
|
}
|
|
59285
59302
|
});
|
|
59286
59303
|
|
|
59287
|
-
// node_modules/.pnpm/imapflow@1.
|
|
59304
|
+
// node_modules/.pnpm/imapflow@1.7.0/node_modules/imapflow/lib/commands/append.js
|
|
59288
59305
|
var require_append = __commonJS({
|
|
59289
|
-
"node_modules/.pnpm/imapflow@1.
|
|
59306
|
+
"node_modules/.pnpm/imapflow@1.7.0/node_modules/imapflow/lib/commands/append.js"(exports, module) {
|
|
59290
59307
|
"use strict";
|
|
59291
59308
|
var {
|
|
59292
59309
|
formatFlag,
|
|
@@ -59401,9 +59418,9 @@ var require_append = __commonJS({
|
|
|
59401
59418
|
}
|
|
59402
59419
|
});
|
|
59403
59420
|
|
|
59404
|
-
// node_modules/.pnpm/imapflow@1.
|
|
59421
|
+
// node_modules/.pnpm/imapflow@1.7.0/node_modules/imapflow/lib/commands/status.js
|
|
59405
59422
|
var require_status = __commonJS({
|
|
59406
|
-
"node_modules/.pnpm/imapflow@1.
|
|
59423
|
+
"node_modules/.pnpm/imapflow@1.7.0/node_modules/imapflow/lib/commands/status.js"(exports, module) {
|
|
59407
59424
|
"use strict";
|
|
59408
59425
|
var { encodePath, normalizePath, buildStatusQueryAttributes, isRev2Active } = require_tools2();
|
|
59409
59426
|
var { parseStatusList } = require_status_fields();
|
|
@@ -59479,9 +59496,9 @@ var require_status = __commonJS({
|
|
|
59479
59496
|
}
|
|
59480
59497
|
});
|
|
59481
59498
|
|
|
59482
|
-
// node_modules/.pnpm/imapflow@1.
|
|
59499
|
+
// node_modules/.pnpm/imapflow@1.7.0/node_modules/imapflow/lib/commands/copyuid-parser.js
|
|
59483
59500
|
var require_copyuid_parser = __commonJS({
|
|
59484
|
-
"node_modules/.pnpm/imapflow@1.
|
|
59501
|
+
"node_modules/.pnpm/imapflow@1.7.0/node_modules/imapflow/lib/commands/copyuid-parser.js"(exports, module) {
|
|
59485
59502
|
"use strict";
|
|
59486
59503
|
var { expandRange, parseBigIntValue } = require_tools2();
|
|
59487
59504
|
function parseCopyUid(response, map) {
|
|
@@ -59504,9 +59521,9 @@ var require_copyuid_parser = __commonJS({
|
|
|
59504
59521
|
}
|
|
59505
59522
|
});
|
|
59506
59523
|
|
|
59507
|
-
// node_modules/.pnpm/imapflow@1.
|
|
59524
|
+
// node_modules/.pnpm/imapflow@1.7.0/node_modules/imapflow/lib/commands/copy.js
|
|
59508
59525
|
var require_copy = __commonJS({
|
|
59509
|
-
"node_modules/.pnpm/imapflow@1.
|
|
59526
|
+
"node_modules/.pnpm/imapflow@1.7.0/node_modules/imapflow/lib/commands/copy.js"(exports, module) {
|
|
59510
59527
|
"use strict";
|
|
59511
59528
|
var { normalizePath, encodePath, enhanceCommandError } = require_tools2();
|
|
59512
59529
|
var { parseCopyUid } = require_copyuid_parser();
|
|
@@ -59536,9 +59553,9 @@ var require_copy = __commonJS({
|
|
|
59536
59553
|
}
|
|
59537
59554
|
});
|
|
59538
59555
|
|
|
59539
|
-
// node_modules/.pnpm/imapflow@1.
|
|
59556
|
+
// node_modules/.pnpm/imapflow@1.7.0/node_modules/imapflow/lib/commands/move.js
|
|
59540
59557
|
var require_move = __commonJS({
|
|
59541
|
-
"node_modules/.pnpm/imapflow@1.
|
|
59558
|
+
"node_modules/.pnpm/imapflow@1.7.0/node_modules/imapflow/lib/commands/move.js"(exports, module) {
|
|
59542
59559
|
"use strict";
|
|
59543
59560
|
var { normalizePath, encodePath, enhanceCommandError, hasCapability } = require_tools2();
|
|
59544
59561
|
var { parseCopyUid } = require_copyuid_parser();
|
|
@@ -59579,9 +59596,9 @@ var require_move = __commonJS({
|
|
|
59579
59596
|
}
|
|
59580
59597
|
});
|
|
59581
59598
|
|
|
59582
|
-
// node_modules/.pnpm/imapflow@1.
|
|
59599
|
+
// node_modules/.pnpm/imapflow@1.7.0/node_modules/imapflow/lib/commands/compress.js
|
|
59583
59600
|
var require_compress = __commonJS({
|
|
59584
|
-
"node_modules/.pnpm/imapflow@1.
|
|
59601
|
+
"node_modules/.pnpm/imapflow@1.7.0/node_modules/imapflow/lib/commands/compress.js"(exports, module) {
|
|
59585
59602
|
"use strict";
|
|
59586
59603
|
module.exports = async (connection) => {
|
|
59587
59604
|
if (!connection.capabilities.has("COMPRESS=DEFLATE") || connection._inflate) {
|
|
@@ -59608,9 +59625,9 @@ var require_compress = __commonJS({
|
|
|
59608
59625
|
}
|
|
59609
59626
|
});
|
|
59610
59627
|
|
|
59611
|
-
// node_modules/.pnpm/imapflow@1.
|
|
59628
|
+
// node_modules/.pnpm/imapflow@1.7.0/node_modules/imapflow/lib/commands/quota.js
|
|
59612
59629
|
var require_quota = __commonJS({
|
|
59613
|
-
"node_modules/.pnpm/imapflow@1.
|
|
59630
|
+
"node_modules/.pnpm/imapflow@1.7.0/node_modules/imapflow/lib/commands/quota.js"(exports, module) {
|
|
59614
59631
|
"use strict";
|
|
59615
59632
|
var { encodePath, normalizePath, enhanceCommandError, parseUintValue, isUnsafeKey } = require_tools2();
|
|
59616
59633
|
module.exports = async (connection, path) => {
|
|
@@ -59699,9 +59716,9 @@ var require_quota = __commonJS({
|
|
|
59699
59716
|
}
|
|
59700
59717
|
});
|
|
59701
59718
|
|
|
59702
|
-
// node_modules/.pnpm/imapflow@1.
|
|
59719
|
+
// node_modules/.pnpm/imapflow@1.7.0/node_modules/imapflow/lib/commands/idle.js
|
|
59703
59720
|
var require_idle = __commonJS({
|
|
59704
|
-
"node_modules/.pnpm/imapflow@1.
|
|
59721
|
+
"node_modules/.pnpm/imapflow@1.7.0/node_modules/imapflow/lib/commands/idle.js"(exports, module) {
|
|
59705
59722
|
"use strict";
|
|
59706
59723
|
var { hasCapability, unrefTimer } = require_tools2();
|
|
59707
59724
|
var NOOP_INTERVAL = 2 * 60 * 1e3;
|
|
@@ -59870,18 +59887,27 @@ var require_idle = __commonJS({
|
|
|
59870
59887
|
return cancel();
|
|
59871
59888
|
}
|
|
59872
59889
|
pollOnce(connection, session).then(() => {
|
|
59890
|
+
connection._lastPollAt = Date.now();
|
|
59873
59891
|
if (session.cancelled) {
|
|
59874
59892
|
return;
|
|
59875
59893
|
}
|
|
59876
|
-
|
|
59877
|
-
unrefTimer(session.timer);
|
|
59894
|
+
scheduleNextPoll(interval);
|
|
59878
59895
|
}).catch((err) => {
|
|
59879
59896
|
connection.log.warn({ err, cid: connection.id });
|
|
59880
59897
|
cancel();
|
|
59881
59898
|
});
|
|
59882
59899
|
};
|
|
59900
|
+
function scheduleNextPoll(delay) {
|
|
59901
|
+
session.timer = setTimeout(runPoll, delay);
|
|
59902
|
+
unrefTimer(session.timer);
|
|
59903
|
+
}
|
|
59883
59904
|
connection.log.debug({ src: "c", msg: `initiated NOOP loop`, cid: connection.id });
|
|
59884
|
-
|
|
59905
|
+
let sinceLastPoll = Math.max(0, Date.now() - (connection._lastPollAt || 0));
|
|
59906
|
+
if (sinceLastPoll >= interval) {
|
|
59907
|
+
runPoll();
|
|
59908
|
+
} else {
|
|
59909
|
+
scheduleNextPoll(interval - sinceLastPoll);
|
|
59910
|
+
}
|
|
59885
59911
|
});
|
|
59886
59912
|
} finally {
|
|
59887
59913
|
session.cancelled = true;
|
|
@@ -59926,9 +59952,9 @@ var require_idle = __commonJS({
|
|
|
59926
59952
|
}
|
|
59927
59953
|
});
|
|
59928
59954
|
|
|
59929
|
-
// node_modules/.pnpm/imapflow@1.
|
|
59955
|
+
// node_modules/.pnpm/imapflow@1.7.0/node_modules/imapflow/lib/commands/authenticate.js
|
|
59930
59956
|
var require_authenticate = __commonJS({
|
|
59931
|
-
"node_modules/.pnpm/imapflow@1.
|
|
59957
|
+
"node_modules/.pnpm/imapflow@1.7.0/node_modules/imapflow/lib/commands/authenticate.js"(exports, module) {
|
|
59932
59958
|
"use strict";
|
|
59933
59959
|
var { getStatusCode, getErrorText } = require_tools2();
|
|
59934
59960
|
async function handleAuthError(err, errorResponse2) {
|
|
@@ -60062,9 +60088,9 @@ var require_authenticate = __commonJS({
|
|
|
60062
60088
|
}
|
|
60063
60089
|
});
|
|
60064
60090
|
|
|
60065
|
-
// node_modules/.pnpm/imapflow@1.
|
|
60091
|
+
// node_modules/.pnpm/imapflow@1.7.0/node_modules/imapflow/lib/imap-commands.js
|
|
60066
60092
|
var require_imap_commands = __commonJS({
|
|
60067
|
-
"node_modules/.pnpm/imapflow@1.
|
|
60093
|
+
"node_modules/.pnpm/imapflow@1.7.0/node_modules/imapflow/lib/imap-commands.js"(exports, module) {
|
|
60068
60094
|
"use strict";
|
|
60069
60095
|
module.exports = /* @__PURE__ */ new Map([
|
|
60070
60096
|
["ID", require_id2()],
|
|
@@ -60099,9 +60125,9 @@ var require_imap_commands = __commonJS({
|
|
|
60099
60125
|
}
|
|
60100
60126
|
});
|
|
60101
60127
|
|
|
60102
|
-
// node_modules/.pnpm/imapflow@1.
|
|
60128
|
+
// node_modules/.pnpm/imapflow@1.7.0/node_modules/imapflow/lib/imap-flow.js
|
|
60103
60129
|
var require_imap_flow = __commonJS({
|
|
60104
|
-
"node_modules/.pnpm/imapflow@1.
|
|
60130
|
+
"node_modules/.pnpm/imapflow@1.7.0/node_modules/imapflow/lib/imap-flow.js"(exports, module) {
|
|
60105
60131
|
"use strict";
|
|
60106
60132
|
var tls = __require("tls");
|
|
60107
60133
|
var net = __require("net");
|
|
@@ -60147,12 +60173,33 @@ var require_imap_flow = __commonJS({
|
|
|
60147
60173
|
var SOCKET_TIMEOUT = 5 * 60 * 1e3;
|
|
60148
60174
|
var MAX_THROTTLE_DELAY = 5 * 60 * 1e3;
|
|
60149
60175
|
var HELD_LOCK_WARN_MS = 30 * 60 * 1e3;
|
|
60176
|
+
var AUTO_IDLE_DELAY = 15 * 1e3;
|
|
60177
|
+
var AUTO_IDLE_SOCKET_MARGIN = 1e3;
|
|
60178
|
+
var MAX_TIMER_DELAY = 2 ** 31 - 1;
|
|
60150
60179
|
var states = {
|
|
60151
60180
|
NOT_AUTHENTICATED: 1,
|
|
60152
60181
|
AUTHENTICATED: 2,
|
|
60153
60182
|
SELECTED: 3,
|
|
60154
60183
|
LOGOUT: 4
|
|
60155
60184
|
};
|
|
60185
|
+
var normalizeAutoIdleDelay = (value, socketTimeout, log, cid) => {
|
|
60186
|
+
const maxDelay = Math.max(0, Math.min(socketTimeout, MAX_TIMER_DELAY) - AUTO_IDLE_SOCKET_MARGIN);
|
|
60187
|
+
const configured = value !== void 0 && value !== null;
|
|
60188
|
+
let delay = typeof value === "number" || typeof value === "string" && value.trim() ? Number(value) : NaN;
|
|
60189
|
+
let reason = null;
|
|
60190
|
+
if (!Number.isFinite(delay) || delay < 0) {
|
|
60191
|
+
reason = "not a non-negative finite number";
|
|
60192
|
+
delay = AUTO_IDLE_DELAY;
|
|
60193
|
+
}
|
|
60194
|
+
if (delay > maxDelay) {
|
|
60195
|
+
reason = reason || `above socketTimeout (${socketTimeout} ms)`;
|
|
60196
|
+
delay = maxDelay;
|
|
60197
|
+
}
|
|
60198
|
+
if (configured && reason) {
|
|
60199
|
+
log.warn({ msg: "Adjusted unusable autoIdleDelay option", requested: value, autoIdleDelay: delay, reason, cid });
|
|
60200
|
+
}
|
|
60201
|
+
return Math.floor(delay);
|
|
60202
|
+
};
|
|
60156
60203
|
var ImapFlow3 = class extends EventEmitter {
|
|
60157
60204
|
/**
|
|
60158
60205
|
* Current module version as a static class property
|
|
@@ -60218,6 +60265,15 @@ var require_imap_flow = __commonJS({
|
|
|
60218
60265
|
* @property {Boolean} [disableAutoIdle=false]
|
|
60219
60266
|
* If `true`, do not start IDLE automatically. Useful when only specific operations are needed.
|
|
60220
60267
|
*
|
|
60268
|
+
* @property {Number} [autoIdleDelay=15000]
|
|
60269
|
+
* How long (in milliseconds) the connection has to be inactive before IDLE is started automatically.
|
|
60270
|
+
* Keep it above the pause your own code usually leaves between two commands, otherwise every command is
|
|
60271
|
+
* followed by an IDLE that the next command has to break, costing two extra round-trips per command.
|
|
60272
|
+
* To turn auto-IDLE off entirely use `disableAutoIdle` rather than a very large delay: the value is
|
|
60273
|
+
* capped below `socketTimeout`, because auto-IDLE has to start before the inactivity watchdog fires.
|
|
60274
|
+
* On servers without IDLE support this controls when the polling fallback starts, not how often it
|
|
60275
|
+
* polls - the poll interval is `maxIdleTime`, capped at 2 minutes.
|
|
60276
|
+
*
|
|
60221
60277
|
* @property {Object} [tls]
|
|
60222
60278
|
* Additional TLS options. For details, see [Node.js TLS connect](https://nodejs.org/api/tls.html#tls_tls_connect_options_callback).
|
|
60223
60279
|
*
|
|
@@ -60367,6 +60423,9 @@ var require_imap_flow = __commonJS({
|
|
|
60367
60423
|
this.locks = [];
|
|
60368
60424
|
this.idRequested = false;
|
|
60369
60425
|
this.maxIdleTime = this.options.maxIdleTime || false;
|
|
60426
|
+
this.autoIdleDelay = normalizeAutoIdleDelay(this.options.autoIdleDelay, this.socketTimeout, this.log, this.id);
|
|
60427
|
+
this._lastPollAt = 0;
|
|
60428
|
+
this._openDownloads = 0;
|
|
60370
60429
|
this.missingIdleCommand = (this.options.missingIdleCommand || "").toString().toUpperCase().trim() || "NOOP";
|
|
60371
60430
|
this.disableBinary = !!this.options.disableBinary;
|
|
60372
60431
|
this.skipListSubscribedArg = false;
|
|
@@ -60947,13 +61006,15 @@ var require_imap_flow = __commonJS({
|
|
|
60947
61006
|
this._socketTimeout = this._socketTimeout || (() => {
|
|
60948
61007
|
const err = new Error("Socket timeout");
|
|
60949
61008
|
err.code = "ETIMEOUT";
|
|
60950
|
-
|
|
61009
|
+
const quietExpected = this.idling || this._openDownloads || this.currentLock;
|
|
61010
|
+
const commandStuck = this.currentRequest && !(this.idling && this.currentRequest.command === "IDLE");
|
|
61011
|
+
if (quietExpected && !commandStuck) {
|
|
60951
61012
|
if (!this.usable || !this.socket || this.socket.destroyed) {
|
|
60952
61013
|
this.emitError(err);
|
|
60953
61014
|
return;
|
|
60954
61015
|
}
|
|
60955
|
-
this.run("NOOP").
|
|
60956
|
-
this.log.warn({ msg: "
|
|
61016
|
+
this.run("NOOP").catch((err2) => {
|
|
61017
|
+
this.log.warn({ msg: "Connection recovery failed after timeout", err: err2, cid: this.id });
|
|
60957
61018
|
if (!this.isClosed) {
|
|
60958
61019
|
this.close();
|
|
60959
61020
|
}
|
|
@@ -61544,6 +61605,15 @@ var require_imap_flow = __commonJS({
|
|
|
61544
61605
|
}
|
|
61545
61606
|
return range;
|
|
61546
61607
|
}
|
|
61608
|
+
// The single definition of "the connection is not free". A held or queued mailbox lock, a
|
|
61609
|
+
// command in flight or queued, and an open download stream all mean a caller is
|
|
61610
|
+
// mid-sequence: starting IDLE there injects an IDLE/DONE round trip - or, with
|
|
61611
|
+
// `missingIdleCommand` set to SELECT or STATUS, a mailbox poll - between two of that
|
|
61612
|
+
// caller's own commands. Every one of those states ends by calling autoidle() again, so
|
|
61613
|
+
// declining while busy postpones IDLE, it never cancels it.
|
|
61614
|
+
connectionBusy() {
|
|
61615
|
+
return !!(this.currentLock || this.locks.length || this.currentRequest || this.requestQueue.length || this._openDownloads);
|
|
61616
|
+
}
|
|
61547
61617
|
// Timer process-liveness policy: connection establishment and greeting deadlines keep the
|
|
61548
61618
|
// process alive, because a caller is waiting on connect() to settle. Background timers
|
|
61549
61619
|
// (auto-IDLE, IDLE restart, fallback polling, throttle back-off, the held-lock diagnostic) are
|
|
@@ -61554,9 +61624,15 @@ var require_imap_flow = __commonJS({
|
|
|
61554
61624
|
if (this.options.disableAutoIdle || this.state !== this.states.SELECTED) {
|
|
61555
61625
|
return;
|
|
61556
61626
|
}
|
|
61627
|
+
if (this.connectionBusy()) {
|
|
61628
|
+
return;
|
|
61629
|
+
}
|
|
61557
61630
|
this.idleStartTimer = setTimeout(() => {
|
|
61631
|
+
if (this.state !== this.states.SELECTED || this.connectionBusy()) {
|
|
61632
|
+
return;
|
|
61633
|
+
}
|
|
61558
61634
|
this.idle().catch((err) => this.log.warn({ err, cid: this.id }));
|
|
61559
|
-
},
|
|
61635
|
+
}, this.autoIdleDelay);
|
|
61560
61636
|
unrefTimer(this.idleStartTimer);
|
|
61561
61637
|
}
|
|
61562
61638
|
// PUBLIC API METHODS
|
|
@@ -63037,6 +63113,15 @@ var require_imap_flow = __commonJS({
|
|
|
63037
63113
|
}
|
|
63038
63114
|
}
|
|
63039
63115
|
};
|
|
63116
|
+
this._openDownloads++;
|
|
63117
|
+
let downloadDone = false;
|
|
63118
|
+
let finishDownload = () => {
|
|
63119
|
+
if (!downloadDone) {
|
|
63120
|
+
downloadDone = true;
|
|
63121
|
+
this._openDownloads--;
|
|
63122
|
+
this.autoidle();
|
|
63123
|
+
}
|
|
63124
|
+
};
|
|
63040
63125
|
let runFetchAllParts = () => {
|
|
63041
63126
|
fetchAllParts().catch((err) => {
|
|
63042
63127
|
if (!fetchAborted && stream && !stream.destroyed) {
|
|
@@ -63051,6 +63136,7 @@ var require_imap_flow = __commonJS({
|
|
|
63051
63136
|
});
|
|
63052
63137
|
}
|
|
63053
63138
|
}).finally(() => {
|
|
63139
|
+
finishDownload();
|
|
63054
63140
|
if (!fetchAborted && stream && !stream.destroyed) {
|
|
63055
63141
|
stream.end();
|
|
63056
63142
|
}
|
|
@@ -63062,6 +63148,7 @@ var require_imap_flow = __commonJS({
|
|
|
63062
63148
|
writeResult = writeChunk(chunk);
|
|
63063
63149
|
} catch (err) {
|
|
63064
63150
|
stream.emit("error", err);
|
|
63151
|
+
finishDownload();
|
|
63065
63152
|
if (!fetchAborted && stream && !stream.destroyed) {
|
|
63066
63153
|
stream.end();
|
|
63067
63154
|
}
|
|
@@ -63071,6 +63158,8 @@ var require_imap_flow = __commonJS({
|
|
|
63071
63158
|
stream.once("drain", () => {
|
|
63072
63159
|
if (!fetchAborted) {
|
|
63073
63160
|
runFetchAllParts();
|
|
63161
|
+
} else {
|
|
63162
|
+
finishDownload();
|
|
63074
63163
|
}
|
|
63075
63164
|
});
|
|
63076
63165
|
} else {
|
|
@@ -63200,14 +63289,16 @@ var require_imap_flow = __commonJS({
|
|
|
63200
63289
|
throw this.createNoConnectionError();
|
|
63201
63290
|
}
|
|
63202
63291
|
clearTimeout(this.idleStartTimer);
|
|
63203
|
-
|
|
63204
|
-
|
|
63205
|
-
|
|
63206
|
-
|
|
63207
|
-
|
|
63208
|
-
|
|
63292
|
+
try {
|
|
63293
|
+
if (typeof this.preCheck === "function") {
|
|
63294
|
+
await this.preCheck();
|
|
63295
|
+
}
|
|
63296
|
+
return await this.runInternal(command, ...args);
|
|
63297
|
+
} finally {
|
|
63298
|
+
if (command !== "IDLE") {
|
|
63299
|
+
this.autoidle();
|
|
63300
|
+
}
|
|
63209
63301
|
}
|
|
63210
|
-
return result;
|
|
63211
63302
|
}
|
|
63212
63303
|
/**
|
|
63213
63304
|
* Dispatches a command without the IDLE handshake that `run()` performs.
|
|
@@ -63304,6 +63395,7 @@ var require_imap_flow = __commonJS({
|
|
|
63304
63395
|
idling: this.idling
|
|
63305
63396
|
});
|
|
63306
63397
|
this.currentLock = false;
|
|
63398
|
+
this.autoidle();
|
|
63307
63399
|
setImmediate(() => {
|
|
63308
63400
|
this.processLocks().catch((err) => this.log.error({ err, cid: this.id }));
|
|
63309
63401
|
});
|
|
@@ -63322,6 +63414,12 @@ var require_imap_flow = __commonJS({
|
|
|
63322
63414
|
reject(error2);
|
|
63323
63415
|
continue;
|
|
63324
63416
|
}
|
|
63417
|
+
const grantLock = () => {
|
|
63418
|
+
this.currentLock = lock;
|
|
63419
|
+
armHeldTimer();
|
|
63420
|
+
this.autoidle();
|
|
63421
|
+
resolve3({ path, release });
|
|
63422
|
+
};
|
|
63325
63423
|
if (this.mailbox && this.mailbox.path === path && !!this.mailbox.readOnly === !!options.readOnly) {
|
|
63326
63424
|
this.log.trace({
|
|
63327
63425
|
msg: "Mailbox lock acquired [existing]",
|
|
@@ -63330,9 +63428,7 @@ var require_imap_flow = __commonJS({
|
|
|
63330
63428
|
idling: this.idling,
|
|
63331
63429
|
...options.description && { description: options.description }
|
|
63332
63430
|
});
|
|
63333
|
-
|
|
63334
|
-
armHeldTimer();
|
|
63335
|
-
resolve3({ path, release });
|
|
63431
|
+
grantLock();
|
|
63336
63432
|
break;
|
|
63337
63433
|
}
|
|
63338
63434
|
try {
|
|
@@ -63344,9 +63440,7 @@ var require_imap_flow = __commonJS({
|
|
|
63344
63440
|
idling: this.idling,
|
|
63345
63441
|
...options.description && { description: options.description }
|
|
63346
63442
|
});
|
|
63347
|
-
|
|
63348
|
-
armHeldTimer();
|
|
63349
|
-
resolve3({ path, release });
|
|
63443
|
+
grantLock();
|
|
63350
63444
|
break;
|
|
63351
63445
|
} catch (err) {
|
|
63352
63446
|
if (err.responseStatus === "NO") {
|
package/package.json
CHANGED