node_modules: update (#352)

Co-authored-by: dawidd6 <9713907+dawidd6@users.noreply.github.com>
This commit is contained in:
Dawid Dziurlaanddawidd6 authored and GitHub committed 2026-10-22 08:43:32 +02:00
1 parent 4026a70a6b
commit 47af4a10b5
53 files changed
+630 -217

No files matched your search

+2 -5
View File
@@ -693,9 +693,7 @@ function _handleAddress(tokens, from, to) {
// A run that is a quoted local part with its '@' and domain is an addr-spec of
// its own, with the quoting put back on, and takes its turn like any other
const local = data.quotedLocalAt[i];
const quotedLocal = data.textWasQuoted[i] && local >= 0 && QUOTED_LOCAL_DOMAIN.test(data.text[i].slice(local))
? _quoteLocalPart(data.text[i])
: '';
const quotedLocal = data.textWasQuoted[i] && local >= 0 && QUOTED_LOCAL_DOMAIN.test(data.text[i].slice(local)) ? _quoteLocalPart(data.text[i]) : '';
if (quotedLocal || (!data.textWasQuoted[i] && _isAddrSpec(candidates[i]))) {
data.address = [quotedLocal || candidates[i]];
data.text.splice(i, 1);
@@ -1020,8 +1018,7 @@ class Tokenizer {
return;
}
if (this.node < 0) {
this.node = this.list.push((this.operatorExpecting === '"' || this.operatorExpecting === ')' ? TOKEN_ESCAPES : 0) |
(this.escaped ? TOKEN_STARTS_ESCAPED : 0), i, i);
this.node = this.list.push((this.operatorExpecting === '"' || this.operatorExpecting === ')' ? TOKEN_ESCAPES : 0) | (this.escaped ? TOKEN_STARTS_ESCAPED : 0), i, i);
}
if (chr === '\n') {
// Convert newlines to spaces. Carriage return is ignored as \r and \n usually