Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Loosen moment dependency #289

Merged
merged 1 commit into from
Oct 27, 2019
Merged

Loosen moment dependency #289

merged 1 commit into from
Oct 27, 2019

Conversation

blowery
Copy link
Contributor

@blowery blowery commented Apr 9, 2019

Loosen the moment dependency so that downstream libraries can choose which version of moment to use.

Currently, consumers are forced to use moment@2.21.0 if they use chrono-node, even if they're already using a more recent version. This causes moment, which uses a stateful singleton for things like the default locale, to load and initialize more than once.

Loosen the moment dependency so that downstream libraries can choose which version of moment to use.
@coveralls
Copy link

Coverage Status

Coverage increased (+0.03%) to 92.726% when pulling 762e50b on blowery:patch-1 into 52c39c0 on wanasit:master.

1 similar comment
@coveralls
Copy link

Coverage Status

Coverage increased (+0.03%) to 92.726% when pulling 762e50b on blowery:patch-1 into 52c39c0 on wanasit:master.

@wanasit
Copy link
Owner

wanasit commented Oct 27, 2019

Thanks for the improvement!

@wanasit wanasit merged commit a292f3c into wanasit:master Oct 27, 2019
@blowery blowery deleted the patch-1 branch November 26, 2019 12:57
@blowery
Copy link
Contributor Author

blowery commented Nov 26, 2019

@wanasit Thanks for landing this! Could you please release a new version to npm so we can take advantage of the change? Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants