Skip to content

build(deps): bump date-fns from 3.6.0 to 4.4.0 - #494

Open
dependabot[bot] wants to merge 1 commit into
mainfrom
dependabot/npm_and_yarn/date-fns-4.4.0
Open

build(deps): bump date-fns from 3.6.0 to 4.4.0#494
dependabot[bot] wants to merge 1 commit into
mainfrom
dependabot/npm_and_yarn/date-fns-4.4.0

Conversation

@dependabot

@dependabot dependabot Bot commented on behalf of github Jul 31, 2026

Copy link
Copy Markdown
Contributor

Bumps date-fns from 3.6.0 to 4.4.0.

Release notes

Sourced from date-fns's releases.

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

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

Fixed

v4.2.1

Fixed

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

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* page.

* Not really

Changed

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

v4.1.0

This release adds time zone support to format functions (that I somehow missed when working on the feature) and fixes a few bugs.

Make sure also upgrade TZDate to v1.0.2 as it includes a bunch of critical bug fixes.

Fixed

  • Fixed internal constructFrom throwing an exception on null arguments. While null isn't allowed, the functions should rather return Invalid Date or NaN in such cases. See #3885.

Added

... (truncated)

Commits
  • cd53d25 Promote to v4.4.0
  • d948ec1 Preserve but deprecate CDN versions for v4, set up v5 with polyfills
  • ee65753 Add root mise :format task
  • 9f5bdf5 Add positional argument to test/smoke.sh script
  • 651ead6 Split CDN bundles into separate @​date-fns/cdn package
  • 224c1a2 Deprecate type tests as attw hangs on date-fns package
  • 7bb2842 Switch PACKAGE_OUTPUT_PATH to --dist flag in the package build script
  • b6ad5ac Add flags to control package build script
  • 424a783 Fix docs release after moving to monorepo setup
  • f95bcf1 (docs): Add missing tsx dependency
  • Additional commits viewable in compare view

Dependabot compatibility score

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


Dependabot commands and options

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot show <dependency name> ignore conditions will show all of the ignore conditions of the specified dependency
  • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)

Bumps [date-fns](https://github.com/date-fns/date-fns) from 3.6.0 to 4.4.0.
- [Release notes](https://github.com/date-fns/date-fns/releases)
- [Commits](date-fns/date-fns@v3.6.0...v4.4.0)

---
updated-dependencies:
- dependency-name: date-fns
  dependency-version: 4.4.0
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot Bot added dependencies Dependency updates javascript Pull requests that update Javascript code labels Jul 31, 2026
@dependabot
dependabot Bot requested review from a team as code owners July 31, 2026 12:40
@dependabot dependabot Bot added dependencies Dependency updates javascript Pull requests that update Javascript code labels Jul 31, 2026
@codecov

codecov Bot commented Jul 31, 2026

Copy link
Copy Markdown

Bundle Report

Changes will increase total bundle size by 202 bytes (0.07%) ⬆️. This is within the configured threshold ✅

Detailed changes
Bundle name Size Change
@myparcel-dev/delivery-options-MyParcelDeliveryOptionsLib-esm 162.77kB 97 bytes (0.06%) ⬆️
@myparcel-dev/delivery-options-MyParcelDeliveryOptionsLib-umd 123.69kB 105 bytes (0.08%) ⬆️

Affected Assets, Files, and Routes:

view changes for bundle: @myparcel-dev/delivery-options-MyParcelDeliveryOptionsLib-esm

Assets Changed:

Asset Name Size Change Total Size Change (%)
myparcel.lib.esm.js 97 bytes 162.77kB 0.06%
view changes for bundle: @myparcel-dev/delivery-options-MyParcelDeliveryOptionsLib-umd

Assets Changed:

Asset Name Size Change Total Size Change (%)
myparcel.lib.js 105 bytes 123.69kB 0.08%

@codecov

codecov Bot commented Jul 31, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 70.18%. Comparing base (b890671) to head (77d20a2).

Additional details and impacted files
@@           Coverage Diff           @@
##             main     #494   +/-   ##
=======================================
  Coverage   70.18%   70.18%           
=======================================
  Files         248      248           
  Lines        2794     2794           
  Branches      411      411           
=======================================
  Hits         1961     1961           
  Misses        525      525           
  Partials      308      308           

☔ View full report in Codecov by Harness.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@netlify

netlify Bot commented Jul 31, 2026

Copy link
Copy Markdown

Deploy Preview for myparcel-delivery-options ready!

Name Link
🔨 Latest commit 77d20a2
🔍 Latest deploy log https://app.netlify.com/projects/myparcel-delivery-options/deploys/6a6c97d7e1fec40008604d63
😎 Deploy Preview https://deploy-preview-494--myparcel-delivery-options.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify project configuration.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependencies Dependency updates javascript Pull requests that update Javascript code

Development

Successfully merging this pull request may close these issues.

0 participants