Sendbird pinning outdated lib in uikit utils not allowing me to update my current library

[Problem/Question]
I am working to try and update my current app’s date-fns library and since we also use @sendbird/uikit-utils it’s not allowing me to upgrade due to sendbird’s lib pinning the version below v3.


// If problem, please fill out the below. If question, please delete.
[UIKit Version]
3.7.4

[Reproduction Steps]
add the latest date-fns lib version to your project and attempt to:

import { format } from "date-fns";

format("2024-10-09T16:30:00.000Z", "EEE, MMM. d");

[Frequency]
all the time

[Current impact]
I am forced to use a lib version that is 5 years old and I want to not have to force each string I have to a Date object. Currently the lib requires me. to format(new Date("2024-10-09T16:30:00.000Z"), "EEE, MMM. d"); to not get an error.

As of note, I see other issues mentioning this one but not seeing this as a particular reason as to why they are having an issue.

See

Hello @Cory_Cunningham

As you can see in the latest version, a specific version of date-fns is not enforced.

You should be able to use the latest version of date-fns.
Please try upgrade date-fns, and let us know if you encounter any issues.

Ah, the docs I followed via the website led me here I didn’t notice it was a different commit

1 Like

Could you let me know where there are outdated links?
I’ll update them accordingly.