node_modules: update (#344)

Co-authored-by: dawidd6 <9713907+dawidd6@users.noreply.github.com>
This commit is contained in:
Dawid Dziurlaanddawidd6 authored and GitHub committed 2026-10-10 17:27:57 +02:00
1 parent b099186883
commit 6e88c72525
63 files changed
+2863 -1227

No files matched your search

+10
View File
@@ -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';