From 1822e5d23e3712f399e0694f072f31a92137e00c Mon Sep 17 00:00:00 2001 From: Fabien O'Carroll Date: Tue, 21 Jul 2020 13:51:07 +0200 Subject: [PATCH] =?UTF-8?q?=F0=9F=90=9B=20Fixed=20webhook=20cleanup=20to?= =?UTF-8?q?=20handle=20older=20URLs?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit closes #12061 Includes the code from https://github.com/TryGhost/Members/pull/181 --- package.json | 2 +- yarn.lock | 43 +++++++------------------------------------ 2 files changed, 8 insertions(+), 37 deletions(-) diff --git a/package.json b/package.json index b35f354ee0..d576fca327 100644 --- a/package.json +++ b/package.json @@ -52,7 +52,7 @@ "@tryghost/kg-markdown-html-renderer": "2.0.1", "@tryghost/kg-mobiledoc-html-renderer": "3.0.1", "@tryghost/magic-link": "0.4.11", - "@tryghost/members-api": "0.24.0", + "@tryghost/members-api": "0.24.1", "@tryghost/members-csv": "0.2.1", "@tryghost/members-ssr": "0.8.3", "@tryghost/mw-session-from-token": "0.1.5", diff --git a/yarn.lock b/yarn.lock index 6e41b8c2a5..0d15036980 100644 --- a/yarn.lock +++ b/yarn.lock @@ -476,7 +476,7 @@ dependencies: "@tryghost/kg-clean-basic-html" "^0.1.8" -"@tryghost/magic-link@0.4.11": +"@tryghost/magic-link@0.4.11", "@tryghost/magic-link@^0.4.11": version "0.4.11" resolved "https://registry.yarnpkg.com/@tryghost/magic-link/-/magic-link-0.4.11.tgz#25746a435456939c22026188b37e27b177289e85" integrity sha512-+Iqe0uQL9TqL6AbuWbUO8OznMe5Mdgo4YXoxW9FjCYrbwLYCGq9Y9B21DjMR/hiQA4B40Zvk8Kdui8Iyu+LLrA== @@ -486,27 +486,17 @@ jsonwebtoken "^8.5.1" lodash "^4.17.15" -"@tryghost/magic-link@^0.4.10": - version "0.4.10" - resolved "https://registry.yarnpkg.com/@tryghost/magic-link/-/magic-link-0.4.10.tgz#e772d5cb6461baa89b2abcb5325dbb869ae03615" - integrity sha512-5DKuXdgAmEVkh4iD6pz1gGkU8iLhvniaLSY7yuoZRaQtmnryvM7jWJouJCmJr66aRh5Eys4vkE8sqTY6f4mjog== +"@tryghost/members-api@0.24.1": + version "0.24.1" + resolved "https://registry.yarnpkg.com/@tryghost/members-api/-/members-api-0.24.1.tgz#76e10da50184b7508246d17febe8aff0af7d4cf7" + integrity sha512-ilKZwlQK94fW1gS2Uii1ay6GUK99gfrUJLdKsOsulqsIWD4yRY2e2gz21cCsBJx3ep3DoGV9KYT1ZGkIxSKBgA== dependencies: - bluebird "^3.5.5" - ghost-ignition "^3.1.0" - jsonwebtoken "^8.5.1" - lodash "^4.17.15" - -"@tryghost/members-api@0.24.0": - version "0.24.0" - resolved "https://registry.yarnpkg.com/@tryghost/members-api/-/members-api-0.24.0.tgz#d4f07ec52e6a93f5563e26e1c2d083fb69fb2da1" - integrity sha512-2jIl02vDdT9iphsTiQB2mmLANZ7UVmZB50xPuGIL9b8YEE4vddHHR8yPoW97TdSqHOMFIQ7CZPyOJjxQ5gFqUA== - dependencies: - "@tryghost/magic-link" "^0.4.10" + "@tryghost/magic-link" "^0.4.11" bluebird "^3.5.4" body-parser "^1.19.0" cookies "^0.8.0" express "^4.16.4" - ghost-ignition "^3.1.0" + ghost-ignition "^4.0.0" got "^9.6.0" jsonwebtoken "^8.5.1" lodash "^4.17.11" @@ -3941,25 +3931,6 @@ ghost-ignition@^2.9.6: prettyjson "^1.1.3" uuid "^3.0.0" -ghost-ignition@^3.1.0: - version "3.1.0" - resolved "https://registry.yarnpkg.com/ghost-ignition/-/ghost-ignition-3.1.0.tgz#4a0d7f0a15e54fbc0e16d398da62ff68737e4e23" - integrity sha512-ae0r/yBJDo9SkeLfy0ecrHVqO0gt9l07wiCOWmdzdvbmoU24AB881PjymnM/DLP9SY6E33mLYtT8K3ximgieLg== - dependencies: - bunyan "1.8.12" - bunyan-loggly "^1.3.1" - caller "1.0.1" - debug "^4.0.0" - find-root "1.1.0" - fs-extra "^3.0.1" - gelf-stream "^1.1.1" - json-stringify-safe "^5.0.1" - lodash "^4.16.4" - moment "^2.15.2" - nconf "^0.10.0" - prettyjson "^1.1.3" - uuid "^3.0.0" - ghost-storage-base@0.0.4: version "0.0.4" resolved "https://registry.yarnpkg.com/ghost-storage-base/-/ghost-storage-base-0.0.4.tgz#c5badcab13d1763febc8eb3b293e1eb3a5e511e1"