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

Update moment #4956

Closed
wants to merge 1 commit into from
Closed

Conversation

vadimdemedes
Copy link

It's a minor change, but Chart.js using the old version of moment prevents it from being deduplicated, resulting in bigger size of bundles (containing multiple versions of moment).

@simonbrunel
Copy link
Member

Chart.js doesn't use an old version of moment, ^2.10.2 means the latest version between 2.10.2 and 3.0.0 (currently 2.19.2?). This has been discussed in #4891 as a compatibility version and should actually help to avoid duplication of the moment dependency.

@vadimdemedes
Copy link
Author

Weird, it's not deduplicated in my case. Let me see what's the issue and reply back.

@benmccann
Copy link
Contributor

That's because the change Simon referred to hasn't been included in a released version yet. The fix will be in Chart.js 2.8.0

@benmccann
Copy link
Contributor

I'm going to close this issue since it should be fixed when 2.8.0 is released

@benmccann benmccann closed this Nov 16, 2017
@vadimdemedes vadimdemedes deleted the update-moment branch November 17, 2017 07:59
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