mirror of
https://github.com/dawidd6/action-send-mail.git
synced 2026-10-12 02:42:27 +07:00
node_modules: update (#344)
Co-authored-by: dawidd6 <9713907+dawidd6@users.noreply.github.com>
This commit is contained in:
1 parent
b099186883
commit
6e88c72525
63 files changed
+2863
-1227
No files matched your search
+17
@@ -61,6 +61,19 @@ export declare const EPROXY = "EPROXY";
|
||||
export declare const EFILEACCESS = "EFILEACCESS";
|
||||
export declare const EURLACCESS = "EURLACCESS";
|
||||
export declare const EFETCH = "EFETCH";
|
||||
/**
|
||||
* Tells whether the error ended the connection rather than rejected what was sent over it
|
||||
*/
|
||||
export declare const isTransientError: (err: {
|
||||
code?: string | undefined;
|
||||
responseCode?: number | undefined;
|
||||
}) => boolean;
|
||||
/**
|
||||
* Code Node.js sets on an error when its permission model (`--permission`) denies an
|
||||
* operation. It is not replaced with the Nodemailer code of the failing step (`ESOCKET`,
|
||||
* `EDNS`, `EFETCH`, ...), so a missing grant such as `--allow-net` stays recognizable.
|
||||
*/
|
||||
export declare const ERR_ACCESS_DENIED = "ERR_ACCESS_DENIED";
|
||||
/**
|
||||
* An Error together with the properties Nodemailer attaches to the errors it
|
||||
* hands to callers. Every property is optional, the set that is present
|
||||
@@ -84,6 +97,10 @@ export interface NodemailerError extends NodeJS.ErrnoException {
|
||||
rejected?: string[] | undefined;
|
||||
/** Per-recipient errors for the rejected addresses */
|
||||
rejectedErrors?: NodemailerError[] | undefined;
|
||||
/** The code the error had before Nodemailer set its own, such as ECONNREFUSED for an ESOCKET error */
|
||||
originalCode?: string | undefined;
|
||||
/** Which wait an ETIMEDOUT error ended: connecting, the greeting, a TLS upgrade or an idle socket */
|
||||
timeoutType?: 'CONNECT_TIMEOUT' | 'GREETING_TIMEOUT' | 'UPGRADE_TIMEOUT' | 'SOCKET_TIMEOUT' | undefined;
|
||||
}
|
||||
/**
|
||||
* Node style callback: called with an error, or with null and the result
|
||||
|
||||
Reference in new issue
Block a user