Migrate react-moment to 2.0.2

Merged
HA
3mo ago
+128-11

Summary

Migrates rx.moment from react-moment@1.2.2 to react-moment@2.0.2.

Changes

  • Added moment-duration-format@2.2.2.
  • Updated trim to support boolean and string values.
  • Updated parse to support string and list values.
  • Regenerated Moment type metadata and lockfiles.
  • Added unit and integration regression tests.
  • Confirmed compatibility in both development and production modes.

Testing

  • 121 passed unit tests
  • 2 passed integration tests
  • Ruff formatting and lint checks passed
  • Lockfile and generated metadata validation passed

Related issue: #7003