bjerkio / website

Bjerk's official website, built using Astro πŸš€
https://bjerk.io/
7 stars 2 forks source link

fix(deps): update dependency date-fns-tz to v3 #710

Open renovate[bot] opened 7 months ago

renovate[bot] commented 7 months ago

This PR contains the following updates:

Package Change Age Adoption Passing Confidence
date-fns-tz ^2.0.0 -> ^3.0.0 age adoption passing confidence

Release Notes

marnusw/date-fns-tz (date-fns-tz) ### [`v3.2.0`](https://redirect.github.com/marnusw/date-fns-tz/blob/HEAD/CHANGELOG.md#v320-27-September-2024) [Compare Source](https://redirect.github.com/marnusw/date-fns-tz/compare/v3.1.3...v3.2.0) - \[DEPS] `date-fns@4.0.0` supported ([#​301](https://redirect.github.com/marnusw/date-fns-tz/issues/301)) - \[PERFORMANCE] Make testDateFormatted static to avoid re-initialising it on every call ([#​297](https://redirect.github.com/marnusw/date-fns-tz/issues/297)) [@​hurali97](https://redirect.github.com/hurali97) - \[ENHANCEMENT] Compatibility with `date-fns` `setDefaultOptions` ([#​286](https://redirect.github.com/marnusw/date-fns-tz/issues/286)) [@​yangchristina](https://redirect.github.com/yangchristina) - \[DOCS] Fixed table of contents links ([#​284](https://redirect.github.com/marnusw/date-fns-tz/issues/284)) ### [`v3.1.3`](https://redirect.github.com/marnusw/date-fns-tz/blob/HEAD/CHANGELOG.md#v313-17-April-2024) [Compare Source](https://redirect.github.com/marnusw/date-fns-tz/compare/v3.1.2...v3.1.3) - \[BUGFIX] Make `getTimeZoneOffset`'s 2nd arg optional ### [`v3.1.2`](https://redirect.github.com/marnusw/date-fns-tz/blob/HEAD/CHANGELOG.md#v312-16-April-2024) [Compare Source](https://redirect.github.com/marnusw/date-fns-tz/compare/v3.1.1...v3.1.2) - \[BUGFIX] Fix `formatInTimeZone` use of `timeZone` string ([#​280](https://redirect.github.com/marnusw/date-fns-tz/issues/280)) ### [`v3.1.1`](https://redirect.github.com/marnusw/date-fns-tz/blob/HEAD/CHANGELOG.md#v311-16-April-2024) [Compare Source](https://redirect.github.com/marnusw/date-fns-tz/compare/b918358f8311f3f816061fe14726661f0a637ca4...v3.1.1) - \[BUGFIX] `getTimeZoneOffset`'s 2nd arg should be optional ([#​281](https://redirect.github.com/marnusw/date-fns-tz/issues/281)) ### [`v3.1.0`](https://redirect.github.com/marnusw/date-fns-tz/blob/HEAD/CHANGELOG.md#v310-15-April-2024) [Compare Source](https://redirect.github.com/marnusw/date-fns-tz/compare/v3.0.1...b918358f8311f3f816061fe14726661f0a637ca4) - \[REFACTOR] Full rewrite in TypeScript ([#​278](https://redirect.github.com/marnusw/date-fns-tz/issues/278)) Thank you, [@​brettwillis](https://redirect.github.com/brettwillis) - \[BREAKING CHANGE] `OptionsWithTZ` is now either `FormatOptionsWithTZ` or `ToDateOptionsWithTZ`, matching `date-fns` ### [`v3.0.1`](https://redirect.github.com/marnusw/date-fns-tz/blob/HEAD/CHANGELOG.md#v301-10-April-2024) [Compare Source](https://redirect.github.com/marnusw/date-fns-tz/compare/v3.0.0...v3.0.1) - \[BUGFIX] Fix named export typings ([#​277](https://redirect.github.com/marnusw/date-fns-tz/issues/277)) ### [`v3.0.0`](https://redirect.github.com/marnusw/date-fns-tz/blob/HEAD/CHANGELOG.md#v300-6-April-2024) [Compare Source](https://redirect.github.com/marnusw/date-fns-tz/compare/v2.0.1...v3.0.0) - \[UPGRADE] Support `date-fns` v3 ([#​265](https://redirect.github.com/marnusw/date-fns-tz/issues/265)) Thank you, [@​christopherklint97](https://redirect.github.com/christopherklint97) - \[BUGFIX] Correct import of `date-fns@v3` format and use Babel Webpack loader for mjs files ([#​271](https://redirect.github.com/marnusw/date-fns-tz/issues/271)) - \[BREAKING CHANGE] `date-fns` v2 is no longer supported - \[BREAKING CHANGE] Renamed `utcToZonedTime` to `toZonedTime` to make the name less confusing, just search & replace - \[BREAKING CHANGE] Renamed `zonedTimeToUtc` to `fromZonedTime` to make the name less confusing, just search & replace - \[BREAKING CHANGE] All functions are now exported using named exports, this requires changing direct imports from `import formatInTimeZone from 'date-fns-tz/formatInTimeZone'` to `import { formatInTimeZone } from 'date-fns-tz/formatInTimeZone'` - \[BREAKING CHANGE] Functions now don’t check the number of passed arguments, delegating this task to type checkers (This isn't fully implemented yet, but it should be the assumption moving forward, as it is in `date-fns`) - \[BREAKING CHANGE] Arguments are not explicitly converted to the target types. Instead, they are passed as is, delegating this task to type checkers (This isn't fully implemented yet, but it should be the assumption moving forward, as it is in `date-fns`) - \[BREAKING CHANGE] IE is no longer supported since `date-fns` no longer supports it - \[BREAKING CHANGE] Removed `flow` support since `date-fns` also removed it ### [`v2.0.1`](https://redirect.github.com/marnusw/date-fns-tz/blob/HEAD/CHANGELOG.md#v201-9-March-2024) [Compare Source](https://redirect.github.com/marnusw/date-fns-tz/compare/v2.0.0...v2.0.1) - \[DOCS] Fix incorrect output comment ([#​270](https://redirect.github.com/marnusw/date-fns-tz/issues/270)) - \[DEPS] Limit to date-fns 2.x ([#​262](https://redirect.github.com/marnusw/date-fns-tz/issues/262), [#​267](https://redirect.github.com/marnusw/date-fns-tz/issues/267)) - \[REFACTOR] `tzTokenizeDate`: Remove weird unneeded regex ([#​254](https://redirect.github.com/marnusw/date-fns-tz/issues/254)) - \[BUGFIX] Improving correctness of the `formatInTimeZone` close to the DST threshold ([#​247](https://redirect.github.com/marnusw/date-fns-tz/issues/247)) - \[ENHANCEMENT] Use hourCycle for browsers that support hour cycle formatting ([#​231](https://redirect.github.com/marnusw/date-fns-tz/issues/231)) - \[BUGFIX] Fix tzParseTimezone to parse 00:30 timezones properly ([#​229](https://redirect.github.com/marnusw/date-fns-tz/issues/229))

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.



This PR was generated by Mend Renovate. View the repository job log.