From 9d15aef243659dbab5af771d21d553de28babddb Mon Sep 17 00:00:00 2001 From: Steve Larson <9larsons@gmail.com> Date: Tue, 9 Jul 2024 16:31:36 -0500 Subject: [PATCH] Updated timezone dependency (#20570) ref https://linear.app/tryghost/issue/ENG-1266 - Mexico changed tz to not participate in DST - our package was a couple years behind, so we likely have fixes for other countries/regions, too --- .../lib/ember-power-calendar-utils/package.json | 2 +- ghost/admin/package.json | 4 ++-- ghost/core/package.json | 4 ++-- ghost/email-service/package.json | 2 +- ghost/members-events-service/package.json | 2 +- ghost/members-importer/package.json | 2 +- package.json | 2 +- yarn.lock | 12 ++++++------ 8 files changed, 15 insertions(+), 15 deletions(-) diff --git a/ghost/admin/lib/ember-power-calendar-utils/package.json b/ghost/admin/lib/ember-power-calendar-utils/package.json index 5034506a93..87dbbba776 100644 --- a/ghost/admin/lib/ember-power-calendar-utils/package.json +++ b/ghost/admin/lib/ember-power-calendar-utils/package.json @@ -9,6 +9,6 @@ ], "dependencies": { "ember-cli-babel": "8.2.0", - "moment-timezone": "0.5.23" + "moment-timezone": "0.5.45" } } diff --git a/ghost/admin/package.json b/ghost/admin/package.json index 4bb8a42be3..b3bbb818b3 100644 --- a/ghost/admin/package.json +++ b/ghost/admin/package.json @@ -131,7 +131,7 @@ "liquid-wormhole": "3.0.1", "loader.js": "4.7.0", "miragejs": "0.1.48", - "moment-timezone": "0.5.23", + "moment-timezone": "0.5.45", "normalize.css": "3.0.3", "papaparse": "5.3.2", "postcss-color-mod-function": "3.0.3", @@ -161,7 +161,7 @@ "ember-basic-dropdown": "6.0.2", "ember-in-viewport": "4.1.0", "moment": "2.24.0", - "moment-timezone": "0.5.23" + "moment-timezone": "0.5.45" }, "ember": { "edition": "octane" diff --git a/ghost/core/package.json b/ghost/core/package.json index 289654eb7b..7f6a0977ad 100644 --- a/ghost/core/package.json +++ b/ghost/core/package.json @@ -212,7 +212,7 @@ "lodash": "4.17.21", "luxon": "3.4.4", "moment": "2.24.0", - "moment-timezone": "0.5.23", + "moment-timezone": "0.5.45", "multer": "1.4.4", "mysql2": "3.10.2", "nconf": "0.12.1", @@ -270,7 +270,7 @@ "@tryghost/logging": "2.4.15", "jackspeak": "2.1.1", "moment": "2.24.0", - "moment-timezone": "0.5.23" + "moment-timezone": "0.5.45" }, "nx": { "targets": { diff --git a/ghost/email-service/package.json b/ghost/email-service/package.json index 27eff2ddbb..189f9be6ff 100644 --- a/ghost/email-service/package.json +++ b/ghost/email-service/package.json @@ -37,6 +37,6 @@ "cheerio": "0.22.0", "handlebars": "4.7.8", "juice": "9.1.0", - "moment-timezone": "0.5.23" + "moment-timezone": "0.5.45" } } diff --git a/ghost/members-events-service/package.json b/ghost/members-events-service/package.json index 007a7fffce..566df42419 100644 --- a/ghost/members-events-service/package.json +++ b/ghost/members-events-service/package.json @@ -20,7 +20,7 @@ "devDependencies": { "c8": "8.0.1", "mocha": "10.2.0", - "moment": "2.29.4", + "moment": "2.30.1", "should": "13.2.3", "sinon": "15.2.0" }, diff --git a/ghost/members-importer/package.json b/ghost/members-importer/package.json index 9f21f1c308..d681e9d851 100644 --- a/ghost/members-importer/package.json +++ b/ghost/members-importer/package.json @@ -30,6 +30,6 @@ "@tryghost/members-csv": "0.0.0", "@tryghost/metrics": "1.0.34", "@tryghost/tpl": "0.1.30", - "moment-timezone": "0.5.23" + "moment-timezone": "0.5.45" } } diff --git a/package.json b/package.json index 136c85a890..1aa8b05595 100644 --- a/package.json +++ b/package.json @@ -47,7 +47,7 @@ "@tryghost/logging": "2.4.15", "jackspeak": "2.1.1", "moment": "2.24.0", - "moment-timezone": "0.5.23" + "moment-timezone": "0.5.45" }, "renovate": { "extends": [ diff --git a/yarn.lock b/yarn.lock index e10878c37c..1ab878fa60 100644 --- a/yarn.lock +++ b/yarn.lock @@ -24345,14 +24345,14 @@ module-details-from-path@^1.0.3: resolved "https://registry.yarnpkg.com/module-details-from-path/-/module-details-from-path-1.0.3.tgz#114c949673e2a8a35e9d35788527aa37b679da2b" integrity sha512-ySViT69/76t8VhE1xXHK6Ch4NcDd26gx0MzKXLO+F7NOtnqH68d9zF94nT8ZWSxXh8ELOERsnJO/sWt1xZYw5A== -moment-timezone@0.5.23, moment-timezone@0.5.34, moment-timezone@^0.5.23, moment-timezone@^0.5.31, moment-timezone@^0.5.33: - version "0.5.23" - resolved "https://registry.yarnpkg.com/moment-timezone/-/moment-timezone-0.5.23.tgz#7cbb00db2c14c71b19303cb47b0fb0a6d8651463" - integrity sha512-WHFH85DkCfiNMDX5D3X7hpNH3/PUhjTGcD0U1SgfBGZxJ3qUmJh5FdvaFjcClxOvB3rzdfj4oRffbI38jEnC1w== +moment-timezone@0.5.34, moment-timezone@0.5.45, moment-timezone@^0.5.23, moment-timezone@^0.5.31, moment-timezone@^0.5.33: + version "0.5.45" + resolved "https://registry.yarnpkg.com/moment-timezone/-/moment-timezone-0.5.45.tgz#cb685acd56bac10e69d93c536366eb65aa6bcf5c" + integrity sha512-HIWmqA86KcmCAhnMAN0wuDOARV/525R2+lOLotuGFzn4HO+FH+/645z2wx0Dt3iDv6/p61SIvKnDstISainhLQ== dependencies: - moment ">= 2.9.0" + moment "^2.29.4" -moment@2.24.0, moment@2.27.0, moment@2.29.1, moment@2.29.3, moment@2.29.4, "moment@>= 2.9.0", moment@^2.10.2, moment@^2.18.1, moment@^2.19.3, moment@^2.27.0, moment@^2.29.1: +moment@2.24.0, moment@2.27.0, moment@2.29.1, moment@2.29.3, moment@2.29.4, moment@2.30.1, moment@^2.10.2, moment@^2.18.1, moment@^2.19.3, moment@^2.27.0, moment@^2.29.1, moment@^2.29.4: version "2.24.0" resolved "https://registry.yarnpkg.com/moment/-/moment-2.24.0.tgz#0d055d53f5052aa653c9f6eb68bb5d12bf5c2b5b" integrity sha512-bV7f+6l2QigeBBZSM/6yTNq4P2fNpSWj/0e7jQcy87A8e7o2nAfP/34/2ky5Vw4B9S446EtIhodAzkFCcR4dQg==