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 dependencies #4872

Merged
merged 6 commits into from
May 29, 2020
Merged

Update dependencies #4872

merged 6 commits into from
May 29, 2020

Conversation

djhi
Copy link
Collaborator

@djhi djhi commented May 28, 2020

No description provided.

@djhi djhi added the RFR Ready For Review label May 28, 2020
@fzaninotto
Copy link
Member

I'm -1 about changing the version in peerDependencies. We don't need it, and it can be considered as a breaking change. We need to check the package is forward compatible, not break its backward compatibility.

"@material-ui/core": "^4.3.3",
"@material-ui/icons": "^4.2.1",
"@material-ui/styles": "^4.3.3",
"@material-ui/core": "^4.10.0",
Copy link
Member

Choose a reason for hiding this comment

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

the dependencies in react-admin should not change either.

version "7.8.4"
resolved "https://registry.yarnpkg.com/@babel/runtime/-/runtime-7.8.4.tgz#d79f5a2040f7caa24d53e563aad49cbc05581308"
integrity sha512-neAp3zt80trRVBI1x0azq6c57aNBqYZH8KhMm3TaB7wEI5Q4A2SHfBHE8w9gOhI/lrqxtEbXZgQIrHP+wvSGwQ==
dependencies:
regenerator-runtime "^0.13.2"

"@babel/runtime@^7.10.0":
Copy link
Member

Choose a reason for hiding this comment

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

This one is troublesome. Can you check that we don't double the runtime in production bundles?

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

After building the demo, I can confirm the runtime isn't bundled twice

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

In fact, the final bundle is even smaller (-2.45 KB) 😄

@fzaninotto fzaninotto merged commit 13663c7 into master May 29, 2020
@fzaninotto fzaninotto deleted the update-dependencies branch May 29, 2020 13:39
@fzaninotto fzaninotto modified the milestones: 2.9.10, 3.5.4 May 29, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
RFR Ready For Review
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants