node_modules: update (#290)

Co-authored-by: dawidd6 <9713907+dawidd6@users.noreply.github.com>
This commit is contained in:
Dawid Dziurla
2026-04-28 12:50:45 +02:00
committed by GitHub
parent 63e1562580
commit 42942bc2f8
1077 changed files with 12540 additions and 33773 deletions

View File

@@ -18,7 +18,7 @@ class StreamTransport {
constructor(options) {
options = options || {};
this.options = options || {};
this.options = options;
this.name = 'StreamTransport';
this.version = packageData.version;
@@ -40,10 +40,10 @@ class StreamTransport {
// We probably need this in the output
mail.message.keepBcc = true;
let envelope = mail.data.envelope || mail.message.getEnvelope();
let messageId = mail.message.messageId();
const envelope = mail.data.envelope || mail.message.getEnvelope();
const messageId = mail.message.messageId();
let recipients = [].concat(envelope.to || []);
const recipients = [].concat(envelope.to || []);
if (recipients.length > 3) {
recipients.push('...and ' + recipients.splice(2).length + ' more');
}
@@ -91,13 +91,13 @@ class StreamTransport {
);
});
return done(null, {
envelope: mail.data.envelope || mail.message.getEnvelope(),
envelope,
messageId,
message: stream
});
}
let chunks = [];
const chunks = [];
let chunklen = 0;
stream.on('readable', () => {
let chunk;
@@ -123,7 +123,7 @@ class StreamTransport {
stream.on('end', () =>
done(null, {
envelope: mail.data.envelope || mail.message.getEnvelope(),
envelope,
messageId,
message: Buffer.concat(chunks, chunklen)
})