mirror of
https://github.com/the-djmaze/snappymail.git
synced 2026-07-08 22:18:28 +03:00
Update devDependencies
This commit is contained in:
parent
866b0ddc6d
commit
c7cd537b4d
4 changed files with 833 additions and 486 deletions
|
|
@ -157,7 +157,7 @@ class EmailModel
|
|||
}
|
||||
|
||||
static splitEmailLine(line) {
|
||||
const parsedResult = addressparser.parse(line);
|
||||
const parsedResult = addressparser(line);
|
||||
if (isNonEmptyArray(parsedResult))
|
||||
{
|
||||
const result = [];
|
||||
|
|
@ -182,7 +182,7 @@ class EmailModel
|
|||
}
|
||||
|
||||
static parseEmailLine(line) {
|
||||
const parsedResult = addressparser.parse(line);
|
||||
const parsedResult = addressparser(line);
|
||||
if (isNonEmptyArray(parsedResult))
|
||||
{
|
||||
return _.compact(parsedResult.map(
|
||||
|
|
@ -207,7 +207,7 @@ class EmailModel
|
|||
return false;
|
||||
}
|
||||
|
||||
const result = addressparser.parse(emailAddress);
|
||||
const result = addressparser(emailAddress);
|
||||
if (isNonEmptyArray(result) && result[0])
|
||||
{
|
||||
this.name = result[0].name || '';
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue