Update dependency date-fns to v4.4.0 #13

Open
renovate wants to merge 1 commit from renovate/date-fns-4.x-lockfile into main
Owner

This PR contains the following updates:

Package Change Age Confidence
date-fns 4.1.04.4.0 age confidence

Release Notes

date-fns/date-fns (date-fns)

v4.4.0

Compare Source

This release revisits the approach to CDN usage and introduces a new package, @date-fns/cdn and deprecates the date-fns CDN scripts. It allowed reducing the zipped package size from 5.83 MB down to 3.96 MB without introducing any breaking changes.

In v5.0.0-alpha.0 where CDN scripts are completely removed from date-fns the change is more significant and brings the zipped package size down to 2.89 MB.

It is just the first step in optimizing the package size. Expect further size reduction in the future v4 and v5 versions.

Changed
  • DEPRECATED: The date-fns CDN scripts are now deprecated and will be removed in the next major release. Please switch to the new @date-fns/cdn package for CDN usage.

  • Removed CDN source maps to reduce the package size. If you rely on them, please switch to the new @date-fns/cdn package that still includes them.

v4.3.0

Compare Source

Kudos to @​ImRodry and @​puneetdixit200 for their contributions.

Fixed

v4.2.1

Compare Source

Fixed
  • Fixed type definitions missing in v4.2.0 due to TypeScript misconfiguration.

v4.2.0

Compare Source

This is a minor release in all senses, it only includes documentation updates (first of many) that points to the new You Don't Need date-fns* page.

* Not really

Changed
  • Added Temporal API references to the JSDoc annotations of add, addBusinessDays, and addDays.

Configuration

📅 Schedule: (UTC)

  • 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.

This PR contains the following updates: | Package | Change | [Age](https://docs.renovatebot.com/merge-confidence/) | [Confidence](https://docs.renovatebot.com/merge-confidence/) | |---|---|---|---| | [date-fns](https://github.com/date-fns/date-fns) | [`4.1.0` → `4.4.0`](https://renovatebot.com/diffs/npm/date-fns/4.1.0/4.4.0) | ![age](https://developer.mend.io/api/mc/badges/age/npm/date-fns/4.4.0?slim=true) | ![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/date-fns/4.1.0/4.4.0?slim=true) | --- ### Release Notes <details> <summary>date-fns/date-fns (date-fns)</summary> ### [`v4.4.0`](https://github.com/date-fns/date-fns/releases/tag/v4.4.0) [Compare Source](https://github.com/date-fns/date-fns/compare/v4.3.0...v4.4.0) This release revisits the approach to CDN usage and introduces a new package, `@date-fns/cdn` and deprecates the `date-fns` CDN scripts. It allowed reducing the zipped package size from `5.83 MB` down to `3.96 MB` without introducing any breaking changes. In `v5.0.0-alpha.0` where CDN scripts are completely removed from `date-fns` the change is more significant and brings the zipped package size down to `2.89 MB`. It is just the first step in optimizing the package size. Expect further size reduction in the future v4 and v5 versions. ##### Changed - **DEPRECATED**: The `date-fns` CDN scripts are now deprecated and will be removed in the next major release. Please switch to the new `@date-fns/cdn` package for CDN usage. - Removed CDN source maps to reduce the package size. If you rely on them, please switch to the new `@date-fns/cdn` package that still includes them. ### [`v4.3.0`](https://github.com/date-fns/date-fns/releases/tag/v4.3.0) [Compare Source](https://github.com/date-fns/date-fns/compare/v4.2.1...v4.3.0) Kudos to [@&#8203;ImRodry](https://github.com/ImRodry) and [@&#8203;puneetdixit200](https://github.com/puneetdixit200) for their contributions. ##### Fixed - Fixed missing modularized optimization fallback ([for Next.js and others](https://x.com/kossnocorp/status/1731181274579325260)). See [#&#8203;4193](https://x.com/kossnocorp/status/1731181274579325260). - Fixed `pt` locale first day of week to be Sunday. See [#&#8203;4195](https://github.com/date-fns/date-fns/pull/4195) by [@&#8203;ImRodry](https://github.com/ImRodry). - Fixed `zh-CN`, `zh-HK`, and `zh-TW` locale month parsing for October, November, and December. See [#&#8203;4194](https://github.com/date-fns/date-fns/pull/4194) by [@&#8203;puneetdixit200](https://github.com/puneetdixit200). ### [`v4.2.1`](https://github.com/date-fns/date-fns/releases/tag/v4.2.1) [Compare Source](https://github.com/date-fns/date-fns/compare/v4.2.0...v4.2.1) ##### Fixed - Fixed type definitions missing in v4.2.0 due to TypeScript misconfiguration. ### [`v4.2.0`](https://github.com/date-fns/date-fns/releases/tag/v4.2.0) [Compare Source](https://github.com/date-fns/date-fns/compare/v4.1.0...v4.2.0) This is a minor release in all senses, it only includes documentation updates (first of many) that points to the new [You Don't Need date-fns\*](https://date-fns.org/you-dont-need-date-fns) page. \* Not really ##### Changed - Added Temporal API references to the JSDoc annotations of `add`, `addBusinessDays`, and `addDays`. </details> --- ### Configuration 📅 **Schedule**: (UTC) - 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. --- - [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check this box --- This PR has been generated by [Mend Renovate](https://github.com/renovatebot/renovate). <!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiI0My4yMjAuMCIsInVwZGF0ZWRJblZlciI6IjQzLjIyMC4wIiwidGFyZ2V0QnJhbmNoIjoibWFpbiIsImxhYmVscyI6W119-->
This pull request can be merged automatically.
You are not authorized to merge this pull request.
View command line instructions

Checkout

From your project repository, check out a new branch and test the changes.
git fetch -u origin renovate/date-fns-4.x-lockfile:renovate/date-fns-4.x-lockfile
git switch renovate/date-fns-4.x-lockfile

Merge

Merge the changes and update on Forgejo.

Warning: The "Autodetect manual merge" setting is not enabled for this repository, you will have to mark this pull request as manually merged afterwards.

git switch main
git merge --no-ff renovate/date-fns-4.x-lockfile
git switch renovate/date-fns-4.x-lockfile
git rebase main
git switch main
git merge --ff-only renovate/date-fns-4.x-lockfile
git switch renovate/date-fns-4.x-lockfile
git rebase main
git switch main
git merge --no-ff renovate/date-fns-4.x-lockfile
git switch main
git merge --squash renovate/date-fns-4.x-lockfile
git switch main
git merge --ff-only renovate/date-fns-4.x-lockfile
git switch main
git merge renovate/date-fns-4.x-lockfile
git push origin main
Sign in to join this conversation.
No description provided.