From ffbd749c8d1e8dc4f57cb28e2bfd3268b6620325 Mon Sep 17 00:00:00 2001 From: Rish Date: Tue, 30 Jul 2019 18:36:26 +0530 Subject: [PATCH] Added resolution for moment-timezone version refs #10870 - `moment-timezone` was bumped to `0.5.26` inadvertently as a result of bump to `url-utils` in https://github.com/TryGhost/Ghost/commit/6cb0f800c8220d371f007830344d376dbb07f094 - Added resolution makes sure we use `0.5.23` for `moment-timezone` till tests are updated to work with latest version --- package.json | 3 +++ yarn.lock | 9 +-------- 2 files changed, 4 insertions(+), 8 deletions(-) diff --git a/package.json b/package.json index 2ffa139f91..229b04fae2 100644 --- a/package.json +++ b/package.json @@ -156,5 +156,8 @@ "sinon": "7.2.3", "supertest": "4.0.2", "tmp": "0.0.33" + }, + "resolutions": { + "moment-timezone": "0.5.23" } } diff --git a/yarn.lock b/yarn.lock index 6055da2f2d..ee2611acf1 100644 --- a/yarn.lock +++ b/yarn.lock @@ -5083,19 +5083,12 @@ module-not-found-error@^1.0.0: version "1.0.1" resolved "https://registry.yarnpkg.com/module-not-found-error/-/module-not-found-error-1.0.1.tgz#cf8b4ff4f29640674d6cdd02b0e3bc523c2bbdc0" -moment-timezone@0.5.23: +moment-timezone@0.5.23, moment-timezone@0.5.26: version "0.5.23" resolved "https://registry.yarnpkg.com/moment-timezone/-/moment-timezone-0.5.23.tgz#7cbb00db2c14c71b19303cb47b0fb0a6d8651463" dependencies: moment ">= 2.9.0" -moment-timezone@0.5.26: - version "0.5.26" - resolved "https://registry.yarnpkg.com/moment-timezone/-/moment-timezone-0.5.26.tgz#c0267ca09ae84631aa3dc33f65bedbe6e8e0d772" - integrity sha512-sFP4cgEKTCymBBKgoxZjYzlSovC20Y6J7y3nanDc5RoBIXKlZhoYwBoZGe3flwU6A372AcRwScH8KiwV6zjy1g== - dependencies: - moment ">= 2.9.0" - moment@2.24.0, "moment@>= 2.9.0", moment@^2.10.6, moment@^2.15.2, moment@^2.18.1, moment@^2.19.3, moment@^2.23.0: version "2.24.0" resolved "https://registry.yarnpkg.com/moment/-/moment-2.24.0.tgz#0d055d53f5052aa653c9f6eb68bb5d12bf5c2b5b"