From 15d590554965d3aa0f3e25644a63e7670116e6ed Mon Sep 17 00:00:00 2001 From: Daniel Lockyer Date: Thu, 25 Nov 2021 11:40:23 +0100 Subject: [PATCH] =?UTF-8?q?=F0=9F=90=9B=20Fixed=20intermittent=20failures?= =?UTF-8?q?=20with=20embedding?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit refs https://github.com/TryGhost/Team/issues/1235 - we are seeing `oembed-parser` 1.5.2 have intermittent issues when fetching oembed data - we're not sure of the reason but reverting the dependency to 1.4.9 seems to fix the issue - this commit reverted the bump in Ghost and adds it to Renovate's ignore list so it isn't automatically bumped in the future --- package.json | 2 +- renovate.json | 1 + yarn.lock | 24 ++++++++++++++++++------ 3 files changed, 20 insertions(+), 7 deletions(-) diff --git a/package.json b/package.json index 3e6f1c927b..2244ab5ef2 100644 --- a/package.json +++ b/package.json @@ -159,7 +159,7 @@ "mysql": "2.18.1", "nconf": "0.11.3", "node-jose": "2.0.0", - "oembed-parser": "1.5.2", + "oembed-parser": "1.4.9", "passport": "0.5.0", "passport-google-oauth": "2.0.0", "path-match": "1.2.4", diff --git a/renovate.json b/renovate.json index 19bea5e414..1073b6dcdc 100644 --- a/renovate.json +++ b/renovate.json @@ -11,6 +11,7 @@ "intl-messageformat", "moment", "moment-timezone", + "oembed-parser", "simple-dom" ], "ignorePaths": ["test"], diff --git a/yarn.lock b/yarn.lock index 7fe85f39af..cd31ebb14b 100644 --- a/yarn.lock +++ b/yarn.lock @@ -3757,6 +3757,13 @@ cron-validate@^1.4.1, cron-validate@^1.4.3: dependencies: yup "0.32.9" +cross-fetch@^3.1.4: + version "3.1.4" + resolved "https://registry.yarnpkg.com/cross-fetch/-/cross-fetch-3.1.4.tgz#9723f3a3a247bf8b89039f3a380a9244e8fa2f39" + integrity sha512-1eAtFWdIubi6T4XPy6ei9iUFoKpUkIF971QLN8lIvvvwueI65+Nw5haMNKUwfJxabqlIIDODJKGrQ66gxC0PbQ== + dependencies: + node-fetch "2.6.1" + cross-spawn@^6.0.5: version "6.0.5" resolved "https://registry.yarnpkg.com/cross-spawn/-/cross-spawn-6.0.5.tgz#4a5ec7c64dfae22c3a14124dbacdee846d80cbc4" @@ -5683,7 +5690,7 @@ got@9.6.0, got@^9.6.0: to-readable-stream "^1.0.0" url-parse-lax "^3.0.0" -got@^11.8.2, got@~11.8.2: +got@~11.8.2: version "11.8.2" resolved "https://registry.yarnpkg.com/got/-/got-11.8.2.tgz#7abb3959ea28c31f3576f1576c1effce23f33599" integrity sha512-D0QywKgIe30ODs+fm8wMZiAcZjypcCodPNuMz5H9Mny7RJ+IjJ10BdmGW7OM7fHXP+O7r6ZwapQ/YQmMSvB0UQ== @@ -8447,6 +8454,11 @@ node-addon-api@^4.2.0: resolved "https://registry.yarnpkg.com/node-addon-api/-/node-addon-api-4.2.0.tgz#117cbb5a959dff0992e1c586ae0393573e4d2a87" integrity sha512-eazsqzwG2lskuzBqCGPi7Ac2UgOoMz8JVOXVhTvvPDYhthvNpefx8jWD8Np7Gv+2Sz0FlPWZk0nJV0z598Wn8Q== +node-fetch@2.6.1: + version "2.6.1" + resolved "https://registry.yarnpkg.com/node-fetch/-/node-fetch-2.6.1.tgz#045bd323631f76ed2e2b55573394416b639a0052" + integrity sha512-V4aYg89jEoVRxRb2fJdAg8FHvI7cEyYdVAh94HH0UIK8oJxUfkjlDQN9RbMx+bEjP7+ggMiFRprSti032Oipxw== + node-fetch@^2.6.0: version "2.6.6" resolved "https://registry.yarnpkg.com/node-fetch/-/node-fetch-2.6.6.tgz#1751a7c01834e8e1697758732e9efb6eeadfaf89" @@ -8758,12 +8770,12 @@ object.pick@^1.2.0, object.pick@^1.3.0: dependencies: isobject "^3.0.1" -oembed-parser@1.5.2: - version "1.5.2" - resolved "https://registry.yarnpkg.com/oembed-parser/-/oembed-parser-1.5.2.tgz#a35830793f0cf03519ffedb9a43b815d291f0327" - integrity sha512-Um9aqB6fu1+DmxyKawuVcP4TpNv7gw9jmd65mIVxkQxR40+BpEz2jrl/0xaahV67omOl9eGv/OxtK0O7zVh5JQ== +oembed-parser@1.4.9: + version "1.4.9" + resolved "https://registry.yarnpkg.com/oembed-parser/-/oembed-parser-1.4.9.tgz#d23127c96185dfa2d998b8567e6c7df164f3d824" + integrity sha512-RCOjuv20IMm9XekZB1ZefdYPc+x5qe8IyCeY/xcN71I2z70vQl+L420eI5Mjyy/NQFLv+QPEgj/aYh1vptO83w== dependencies: - got "^11.8.2" + cross-fetch "^3.1.4" on-finished@^2.3.0, on-finished@~2.3.0: version "2.3.0"