Skip to content

Run pr 10255#11643

Open
gastonfournier wants to merge 4 commits intomainfrom
run-pr-10255
Open

Run pr 10255#11643
gastonfournier wants to merge 4 commits intomainfrom
run-pr-10255

Conversation

@gastonfournier
Copy link
Contributor

No description provided.

renovate bot and others added 4 commits March 10, 2026 09:09
- Update date-fns-tz from ^2.0.0 to ^3.0.0 (compatible with date-fns v4) - Fix default imports of differenceInDays to use named imports from 'date-fns' - Switch MUI date picker adapter from AdapterDateFns to AdapterDateFnsV3 - Add explicit Duration and Locale type imports (no longer globally available in v4) - Fix test fixtures missing required createdAt field Co-authored-by: ivarconr <158948+ivarconr@users.noreply.github.com>
Co-authored-by: gastonfournier <455064+gastonfournier@users.noreply.github.com>
Copilot AI review requested due to automatic review settings March 17, 2026 17:05
@github-actions
Copy link
Contributor

Dependency Review

✅ No vulnerabilities or license issues or OpenSSF Scorecard issues found.

OpenSSF Scorecard

PackageVersionScoreDetails
npm/date-fns-tz 3.2.0 🟢 3.2
Details
CheckScoreReason
Dangerous-Workflow⚠️ -1no workflows found
Token-Permissions⚠️ -1No tokens found
Packaging⚠️ -1packaging workflow not detected
Code-Review🟢 5Found 9/16 approved changesets -- score normalized to 5
Maintained⚠️ 00 commit(s) and 0 issue activity found in the last 90 days -- score normalized to 0
Binary-Artifacts🟢 10no binaries found in the repo
Pinned-Dependencies⚠️ -1no dependencies found
CII-Best-Practices⚠️ 0no effort to earn an OpenSSF best practices badge detected
Security-Policy⚠️ 0security policy file not detected
License🟢 10license file detected
Fuzzing⚠️ 0project is not fuzzed
Signed-Releases⚠️ -1no releases found
Branch-Protection⚠️ -1internal error: error during branchesHandler.setup: internal error: some github tokens can't read classic branch protection rules: https://github.com/ossf/scorecard-action/blob/main/docs/authentication/fine-grained-auth-token.md
SAST⚠️ 0SAST tool is not run on all commits -- score normalized to 0

Scanned Files

  • frontend/yarn.lock
Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Updates the frontend date-handling dependencies to newer major versions and aligns UI date-picker integration/tests with the updated feature toggle shape.

Changes:

  • Bump date-fns to 4.1.0 and date-fns-tz to ^3.0.0 (with regenerated lockfile).
  • Switch MUI X date-pickers adapter import to the date-fns v3+ compatible adapter (AdapterDateFnsV3).
  • Update FeatureOverviewMetaData tests to include the required createdAt field.

Reviewed changes

Copilot reviewed 3 out of 4 changed files in this pull request and generated 1 comment.

File Description
frontend/package.json Updates date-fns / date-fns-tz dependency versions.
frontend/yarn.lock Lockfile updates reflecting the new date library versions/resolutions.
frontend/src/component/common/FilterDateItem/FilterDateItem.tsx Uses the MUI adapter compatible with date-fns v3+ (needed for v4).
frontend/src/component/feature/FeatureView/FeatureOverview/FeatureOverviewMetaData/FeatureOverviewMetaData.test.tsx Adds createdAt to test feature toggles to satisfy component usage.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

You can also share your feedback on Copilot code review. Take the survey.

"date-fns": "2.30.0",
"date-fns-tz": "^2.0.0",
"date-fns": "4.1.0",
"date-fns-tz": "^3.0.0",
@gastonfournier gastonfournier moved this from New to In Progress in Issues and PRs Mar 18, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

3 participants