mirror of
https://github.com/dawidd6/action-send-mail.git
synced 2026-05-06 17:30:35 +07:00
node_modules: update (#290)
Co-authored-by: dawidd6 <9713907+dawidd6@users.noreply.github.com>
This commit is contained in:
11
node_modules/nodemailer/lib/errors.js
generated
vendored
11
node_modules/nodemailer/lib/errors.js
generated
vendored
@@ -52,10 +52,7 @@ const ERROR_CODES = {
|
||||
};
|
||||
|
||||
// Export error codes as string constants and the full definitions object
|
||||
module.exports = Object.keys(ERROR_CODES).reduce(
|
||||
(exports, code) => {
|
||||
exports[code] = code;
|
||||
return exports;
|
||||
},
|
||||
{ ERROR_CODES }
|
||||
);
|
||||
module.exports = { ERROR_CODES };
|
||||
for (const code of Object.keys(ERROR_CODES)) {
|
||||
module.exports[code] = code;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user