From 886774d89f25e2af86bf149ca4db375ffa85d7ec Mon Sep 17 00:00:00 2001 From: "renovate[bot]" <29139614+renovate[bot]@users.noreply.github.com> Date: Tue, 28 Feb 2023 15:07:34 +0100 Subject: [PATCH] chore(deps): update dependency date-fns-tz to v2 (#3177) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit [![Mend Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com) This PR contains the following updates: | Package | Change | Age | Adoption | Passing | Confidence | |---|---|---|---|---|---| | [date-fns-tz](https://togithub.com/marnusw/date-fns-tz) | [`^1.3.7` -> `^2.0.0`](https://renovatebot.com/diffs/npm/date-fns-tz/1.3.7/2.0.0) | [![age](https://badges.renovateapi.com/packages/npm/date-fns-tz/2.0.0/age-slim)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://badges.renovateapi.com/packages/npm/date-fns-tz/2.0.0/adoption-slim)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://badges.renovateapi.com/packages/npm/date-fns-tz/2.0.0/compatibility-slim/1.3.7)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://badges.renovateapi.com/packages/npm/date-fns-tz/2.0.0/confidence-slim/1.3.7)](https://docs.renovatebot.com/merge-confidence/) | --- ### Release Notes
marnusw/date-fns-tz ### [`v2.0.0`](https://togithub.com/marnusw/date-fns-tz/blob/HEAD/CHANGELOG.md#v200-30-January-2023) [Compare Source](https://togithub.com/marnusw/date-fns-tz/compare/v1.3.8...v2.0.0) - \[BREAKING CHANGE] Optimize configuration for ESM exports (entry points for cjs / esm / typescript) ([#​212](https://togithub.com/marnusw/date-fns-tz/issues/212)) **Upgrade guide:** Both CJS and ESM imports now use the default import paths. CJS will continue working unchanged; to fix ESM imports: Before: ```js import { format } from 'date-fns-tz/esm' import utcToZonedTime from 'date-fns-tz/esm/utcToZonedTime' ``` After: ```js import { format } from 'date-fns-tz' import utcToZonedTime from 'date-fns-tz/utcToZonedTime' ``` ### [`v1.3.8`](https://togithub.com/marnusw/date-fns-tz/blob/HEAD/CHANGELOG.md#v138-30-January-2023) [Compare Source](https://togithub.com/marnusw/date-fns-tz/compare/v1.3.7...v1.3.8) - \[TESTS] Tests documenting `zonedTimeToUtc` daylight saving jumps ([#​220](https://togithub.com/marnusw/date-fns-tz/issues/220)) - \[TYPES] Update `format` types to match date-fns ([#​199](https://togithub.com/marnusw/date-fns-tz/issues/199)) - \[BUGFIX] Fixed `undefined` timezone error ([#​214](https://togithub.com/marnusw/date-fns-tz/issues/214))
--- ### Configuration 📅 **Schedule**: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined). 🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied. ♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox. 🔕 **Ignore**: Close this PR and you won't be reminded about this update again. --- - [ ] If you want to rebase/retry this PR, check this box --- This PR has been generated by [Mend Renovate](https://www.mend.io/free-developer-tools/renovate/). View repository job log [here](https://app.renovatebot.com/dashboard#github/Unleash/unleash). Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> --- frontend/package.json | 2 +- frontend/yarn.lock | 8 ++++---- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/frontend/package.json b/frontend/package.json index c3a2a6cb69..3b56b8b69b 100644 --- a/frontend/package.json +++ b/frontend/package.json @@ -108,7 +108,7 @@ "vitest": "0.28.5", "whatwg-fetch": "3.6.2", "countries-and-timezones": "^3.4.0", - "date-fns-tz": "^1.3.7" + "date-fns-tz": "^2.0.0" }, "optionalDependencies": { "orval": "^6.10.3" diff --git a/frontend/yarn.lock b/frontend/yarn.lock index 5dab9acae9..d777eade14 100644 --- a/frontend/yarn.lock +++ b/frontend/yarn.lock @@ -4050,10 +4050,10 @@ data-urls@^3.0.2: whatwg-mimetype "^3.0.0" whatwg-url "^11.0.0" -date-fns-tz@^1.3.7: - version "1.3.7" - resolved "https://registry.yarnpkg.com/date-fns-tz/-/date-fns-tz-1.3.7.tgz#e8e9d2aaceba5f1cc0e677631563081fdcb0e69a" - integrity sha512-1t1b8zyJo+UI8aR+g3iqr5fkUHWpd58VBx8J/ZSQ+w7YrGlw80Ag4sA86qkfCXRBLmMc4I2US+aPMd4uKvwj5g== +date-fns-tz@^2.0.0: + version "2.0.0" + resolved "https://registry.yarnpkg.com/date-fns-tz/-/date-fns-tz-2.0.0.tgz#1b14c386cb8bc16fc56fe333d4fc34ae1d1099d5" + integrity sha512-OAtcLdB9vxSXTWHdT8b398ARImVwQMyjfYGkKD2zaGpHseG2UPHbHjXELReErZFxWdSLph3c2zOaaTyHfOhERQ== date-fns@2.29.3: version "2.29.3"