That's only half the story. It's "deprecated" because it's done. There's nothing more to add, fix or improve in the eyes of the maintainer. What a nice place to end up in:
_"We now generally consider Moment to be a legacy project in maintenance mode. It is not dead, but it is indeed done."_
You skipped the line right after this which completely changed the meaning:
> We recognize that many existing projects may continue to use Moment, but we would like to discourage Moment from being used in new projects going forward.
Fair enough, but the parent mentioned that without quoting this part. So I just posted the other half. Regardless, you’re right - new projects shouldn’t use it because of unknown future problems.
> There's nothing more to add, fix or improve in the eyes of the maintainer. What a nice place to end up in
What a strange thing to say. Baffling.
It's deprecated because programming standards have changed, the team agrees with those standards and nevertheless feels it would be too much work to incorporate them. Not "there's nothing more to add" but "we choose to prioritize stability over new features"
Note that there exists a spiritual successor to Moment.js in Luxon[1]. The creator was a Moment maintainer and it lives under the Moment project umbrella.
Moment.js is deprecated: "Moment.js is a legacy project, now in maintenance mode. In most cases, you should choose a different library."
https://github.com/moment/moment/#project-status