From 5780542d41988ea2a4887803129e858f9b090f32 Mon Sep 17 00:00:00 2001 From: marudor Date: Sat, 22 May 2021 16:56:26 +0200 Subject: [PATCH] chore: only one moment-timezone --- package.json | 4 +++- yarn.lock | 11 ++--------- 2 files changed, 5 insertions(+), 10 deletions(-) diff --git a/package.json b/package.json index a7727909..30e0c294 100644 --- a/package.json +++ b/package.json @@ -19,7 +19,6 @@ "jquery": "^3.5.1", "jquery-ui": "^1.11.2", "moment": "^2.27.0", - "moment-timezone": "^0.5.31", "select2": "^4.0.13", "select2-bootstrap-theme": "0.1.0-beta.10" }, @@ -44,5 +43,8 @@ "terser-webpack-plugin": "^5.1.2", "webpack": "^5.37.1", "webpack-cli": "^4.7.0" + }, + "resolutions": { + "moment-timezone": "^0.5" } } diff --git a/yarn.lock b/yarn.lock index 149fb080..e6243c60 100644 --- a/yarn.lock +++ b/yarn.lock @@ -2382,21 +2382,14 @@ mkdirp@^1.0.4: resolved "https://registry.yarnpkg.com/mkdirp/-/mkdirp-1.0.4.tgz#3eb5ed62622756d79a5f0e2a221dfebad75c2f7e" integrity sha512-vVqVZQyf3WLx2Shd0qJ9xuvqgAyKPLAiqITEtqW0oIUjzo3PePDd6fW9iFz30ef7Ysp/oiWqbhszeGWW2T6Gzw== -moment-timezone@^0.4.0: - version "0.4.1" - resolved "https://registry.yarnpkg.com/moment-timezone/-/moment-timezone-0.4.1.tgz#81f598c3ad5e22cdad796b67ecd8d88d0f5baa06" - integrity sha1-gfWYw61eIs2teWtn7NjYjQ9bqgY= - dependencies: - moment ">= 2.6.0" - -moment-timezone@^0.5.31: +moment-timezone@^0.4.0, moment-timezone@^0.5: version "0.5.33" resolved "https://registry.yarnpkg.com/moment-timezone/-/moment-timezone-0.5.33.tgz#b252fd6bb57f341c9b59a5ab61a8e51a73bbd22c" integrity sha512-PTc2vcT8K9J5/9rDEPe5czSIKgLoGsH8UNpA4qZTVw0Vd/Uz19geE9abbIOQKaAQFcnQ3v5YEXrbSc5BpshH+w== dependencies: moment ">= 2.9.0" -"moment@>= 2.6.0", "moment@>= 2.9.0", moment@^2.10, moment@^2.10.2, moment@^2.27.0: +"moment@>= 2.9.0", moment@^2.10, moment@^2.10.2, moment@^2.27.0: version "2.29.1" resolved "https://registry.yarnpkg.com/moment/-/moment-2.29.1.tgz#b2be769fa31940be9eeea6469c075e35006fa3d3" integrity sha512-kHmoybcPV8Sqy59DwNDY3Jefr64lK/by/da0ViFcuA4DH0vQg5Q6Ze5VimxkfQNSC+Mls/Kx53s7TjP1RhFEDQ==