From e9eb94dd816ac6779e81965c82b4d1e0885acdc7 Mon Sep 17 00:00:00 2001 From: Daniel Lockyer Date: Wed, 22 Feb 2023 09:48:24 +0100 Subject: [PATCH] Fixed missing timeout on nodemailer Mailgun requests refs https://github.com/TryGhost/framework/commit/8ce2321cb12cdbc4e902a59f00cf66bda4524bb5 - without this, we have no timeout on the requests and it's good to control how long our connections are active for --- ghost/core/package.json | 2 +- yarn.lock | 19 ++++++++++++++----- 2 files changed, 15 insertions(+), 6 deletions(-) diff --git a/ghost/core/package.json b/ghost/core/package.json index e324ee129a..640d9ee4f2 100644 --- a/ghost/core/package.json +++ b/ghost/core/package.json @@ -119,7 +119,7 @@ "@tryghost/mw-error-handler": "0.0.0", "@tryghost/mw-session-from-token": "0.0.0", "@tryghost/mw-vhost": "0.0.0", - "@tryghost/nodemailer": "0.3.31", + "@tryghost/nodemailer": "0.3.32", "@tryghost/nql": "0.11.0", "@tryghost/oembed-service": "0.0.0", "@tryghost/package-json": "0.0.0", diff --git a/yarn.lock b/yarn.lock index 79eb26a861..a4549a5906 100644 --- a/yarn.lock +++ b/yarn.lock @@ -4492,6 +4492,15 @@ lodash "^4.17.21" uuid "^9.0.0" +"@tryghost/errors@^1.2.21": + version "1.2.21" + resolved "https://registry.yarnpkg.com/@tryghost/errors/-/errors-1.2.21.tgz#27c57ccd27324dfc4ab1dc34f8618939fc494324" + integrity sha512-TzV8wxDDFw2ZTI+zsFi0xggpKpc2ABqSzDp+t6dngcLuDs9erBdK5JJTV3wYBOBrJbbK6LzQlAsmH66vgO5HLQ== + dependencies: + "@stdlib/utils" "^0.0.12" + lodash "^4.17.21" + uuid "^9.0.0" + "@tryghost/express-test@0.13.0": version "0.13.0" resolved "https://registry.yarnpkg.com/@tryghost/express-test/-/express-test-0.13.0.tgz#7fc20dc6f0488c09a79117a0233e46cf3fff25fd" @@ -4722,13 +4731,13 @@ dependencies: lodash "^4.17.11" -"@tryghost/nodemailer@0.3.31": - version "0.3.31" - resolved "https://registry.yarnpkg.com/@tryghost/nodemailer/-/nodemailer-0.3.31.tgz#0486ec28202fff691daeffbc44d5a74aea7a7e77" - integrity sha512-qRqH/f+/54ZyNJ1NzhOtbvwYRy2NIC1xarvPJBZEQEzqUq9vN6cJSWiaV2MxChayiI+xL5hpsV/hASDF0aX5vA== +"@tryghost/nodemailer@0.3.32": + version "0.3.32" + resolved "https://registry.yarnpkg.com/@tryghost/nodemailer/-/nodemailer-0.3.32.tgz#c1843a145320c19d4de6084fe3c1df71fa96fc69" + integrity sha512-DSOAvssJDSSeFXo8F96LTfOGcvvBBfVA6WFVZUYJzgyF3aWbfZIUBWD8oV2r86mWx2WvVggJLNRxNhOKRjbCYw== dependencies: "@aws-sdk/client-ses" "^3.31.0" - "@tryghost/errors" "^1.2.20" + "@tryghost/errors" "^1.2.21" nodemailer "^6.6.3" nodemailer-direct-transport "^3.3.2" nodemailer-mailgun-transport "^2.1.5"