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
+10
@@ -65,3 +65,13 @@ export const EPROXY = 'EPROXY';
|
||||
export const EFILEACCESS = 'EFILEACCESS';
|
||||
export const EURLACCESS = 'EURLACCESS';
|
||||
export const EFETCH = 'EFETCH';
|
||||
/**
|
||||
* Tells whether the error ended the connection rather than rejected what was sent over it
|
||||
*/
|
||||
export const isTransientError = (err) => err.responseCode === 421 || err.code === ECONNECTION || err.code === ESOCKET || err.code === ETIMEDOUT;
|
||||
/**
|
||||
* 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 const ERR_ACCESS_DENIED = 'ERR_ACCESS_DENIED';
|
||||
Reference in new issue
Block a user