chore(deps): bump date-fns from 3.6.0 to 4.1.0 #217
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Bumps date-fns from 3.6.0 to 4.1.0.
Release notes
Sourced from date-fns's releases.
... (truncated)
Changelog
Sourced from date-fns's changelog.
... (truncated)
Commits
313b902Fix v4.1.0 change log entry26cd336Promote to v4.1.097b53b9Cover time zone edge cases59b7563Add missing time zone support to format, formatISO, formatISO9075, formatRela...0121164Prevent constructFrom from throwing an error on nullbd87ef5Update@date-fns/docs99b4e67Prepare v4.08df1706Rewrite the time zones doce351977Promote to v4.0.0-beta.18523656Fix scripts/test/types.shDependabot 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 rebasewill rebase this PR@dependabot recreatewill recreate this PR, overwriting any edits that have been made to it@dependabot mergewill merge this PR after your CI passes on it@dependabot squash and mergewill squash and merge this PR after your CI passes on it@dependabot cancel mergewill cancel a previously requested merge and block automerging@dependabot reopenwill reopen this PR if it is closed@dependabot closewill close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually@dependabot show <dependency name> ignore conditionswill show all of the ignore conditions of the specified dependency@dependabot ignore this major versionwill 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 versionwill 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 dependencywill close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)Greptile Summary
Dependency upgrade bumping
date-fnsfrom v3.6.0 to v4.1.0. This is a major version update that introduces first-class time zone support and several improvements.Key changes in date-fns v4:
TZDateclass andinoption for contextUTCDate,TZDate,Date, primitives)constructFrombug with null argumentsThe codebase primarily uses:
addDays,subDays,addMonths,differenceInDays,formatDatefromdate-fnsUTCDatefrom@date-fns/utc(separate package, unaffected)Confidence Score: 4/5
@date-fns/utcpackage which is separate and unaffected by this upgrade.Important Files Changed
Sequence Diagram
sequenceDiagram participant Dev as Developer participant Dep as Dependabot participant NPM as NPM Registry participant CI as CI/CD Pipeline participant Code as Codebase Dep->>NPM: Check for date-fns updates NPM-->>Dep: v4.1.0 available Dep->>Code: Update package.json (3.6.0 → 4.1.0) Dep->>Dev: Create PR #217 Dev->>CI: Trigger automated checks CI->>Code: Run type checking CI->>Code: Run tests CI->>Code: Run build CI-->>Dev: Report results Note over Code: date-fns v4 provides:<br/>- Time zone support<br/>- Mixed date type handling<br/>- Bug fixes<br/>- Backward compatible APIs Dev->>Dev: Review changes Dev->>Code: Merge PR (if approved)