@bobfrankston/rmfmail 1.1.13 → 1.1.15
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/client/android-bootstrap.bundle.js +6 -0
- package/client/android-bootstrap.bundle.js.map +2 -2
- package/package.json +5 -5
- package/packages/mailx-store/store.d.ts +1 -0
- package/packages/mailx-store/store.d.ts.map +1 -1
- package/packages/mailx-store/store.js +22 -4
- package/packages/mailx-store/store.js.map +1 -1
- package/packages/mailx-store/store.ts +27 -4
- /package/packages/mailx-imap/{node_modules.npmglobalize-stash-48480 → node_modules.npmglobalize-stash-45884}/.package-lock.json +0 -0
|
@@ -8202,7 +8202,13 @@ var NativeImapClient = class {
|
|
|
8202
8202
|
return -1;
|
|
8203
8203
|
}
|
|
8204
8204
|
processBuffer() {
|
|
8205
|
+
const t0 = performance.now();
|
|
8206
|
+
const TIME_BUDGET_MS = 10;
|
|
8205
8207
|
while (true) {
|
|
8208
|
+
if (performance.now() - t0 > TIME_BUDGET_MS) {
|
|
8209
|
+
setImmediate(() => this.processBuffer());
|
|
8210
|
+
return;
|
|
8211
|
+
}
|
|
8206
8212
|
if (this.pendingCommand?.literalBytes != null) {
|
|
8207
8213
|
const neededBytes = this.pendingCommand.literalBytes;
|
|
8208
8214
|
const available = this.bufferLength - this.bufferOffset;
|