Skip to content
This repository was archived by the owner on Jun 3, 2024. It is now read-only.

Bump Plotly.js to v1.58.0 #889

Merged
merged 4 commits into from
Dec 3, 2020
Merged

Bump Plotly.js to v1.58.0 #889

merged 4 commits into from
Dec 3, 2020

Conversation

archmoj
Copy link
Contributor

@archmoj archmoj commented Dec 3, 2020

Similar to #875.

@Marc-Andre-Rivet
Here are some TODOs:

cc: @nicolaskruchten @alexcjohnson

@Marc-Andre-Rivet
Copy link
Contributor

@archmoj

please check if you get the same diff for package-lock.json?

Looks good. Assuming you've run npm ci followed by npm install --save --exact [email protected]

@archmoj
Copy link
Contributor Author

archmoj commented Dec 3, 2020

@archmoj

please check if you get the same diff for package-lock.json?

Looks good. Assuming you've run npm ci followed by npm install --save --exact [email protected]

No. I run npm i.

@Marc-Andre-Rivet
Copy link
Contributor

No. I run npm i.

@archmoj 😮 - Revalidated, I get the same result as you if I run npm ci + bump Plotly.js locally so the lockfile in this PR is 👌 but I don't understand why. If I run npm i + bump Plotly.js I get additional changes.

Maybe this has to do with npm==6.14.9 in your environment. Will investigate a bit. But this PR is ready to be merged in any case.

Copy link
Contributor

@Marc-Andre-Rivet Marc-Andre-Rivet left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💃 @archmoj Thanks!

@archmoj
Copy link
Contributor Author

archmoj commented Dec 3, 2020

Some of the strange diffs in package-lock was related to different version of tape.

plotly.js
plotlyjs

dash-core
dashcore

Should we do something about it?

@Marc-Andre-Rivet
Copy link
Contributor

Marc-Andre-Rivet commented Dec 3, 2020

@archmoj I've always seen many nested deps being updated here but never thought much it, just assumed they are coming from Plotly.js or one of its deps - that said we consume the built Plotly.js package so differences here should have no impact.

If <named_dep> is a direct dependency of Plotly.js using the exact version might help for consistency, but this inconsistency should have no impact based on our usage.

@archmoj
Copy link
Contributor Author

archmoj commented Dec 3, 2020

@archmoj I've always seen many nested deps being updated here but never thought much it, just assumed they are coming from Plotly.js or one of its deps - that said we consume the built Plotly.js package so differences here should have no impact.

If <named_dep> is a direct dependency of Plotly.js using the exact version might help for consistency, but this inconsistency should have no impact based on our usage.

We used to change various dependencies in the past but not quite this time.
Concerning tape module I have this PR open: mikolalysenko/boundary-cells#1
@alexcjohnson could you please ping Mikola there?

@alexcjohnson
Copy link
Collaborator

Heh ok, @archmoj thanks for nailing down where those packages come from. Would be nice to clean up at some point (and yes, I'll nudge Mikola re: tape) but for now this seems fine. 💃

@archmoj
Copy link
Contributor Author

archmoj commented Dec 3, 2020

@Marc-Andre-Rivet
I am not authorized to merge this pull request.
Please merge it when you want.

@Marc-Andre-Rivet Marc-Andre-Rivet merged commit 3a88ac2 into dev Dec 3, 2020
@Marc-Andre-Rivet Marc-Andre-Rivet deleted the plotly.js-v1.58.0 branch December 3, 2020 16:30
@Marc-Andre-Rivet
Copy link
Contributor

@archmoj I'll update the branch policy to allow core-contributors to merge in core repos. Current policy is arguably a bit too strict since it's already protected by mandatory codeowners review.

@archmoj
Copy link
Contributor Author

archmoj commented Dec 3, 2020

@archmoj I'll update the branch policy to allow core-contributors to merge in core repos. Current policy is arguably a bit too strict since it's already protected by mandatory codeowners review.

"strict" is good.

@Marc-Andre-Rivet
Copy link
Contributor

@archmoj But too strict isn't always :)

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

Successfully merging this pull request may close these issues.

3 participants