-
Notifications
You must be signed in to change notification settings - Fork 1
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
LPS-134865 Upgrade tinycolor2 to 1.4.2 #1201
Conversation
CI is automatically triggering the following test suites:
|
✔️ ci:test:sf - 1 out of 1 jobs passed in 3 minutesClick here for more details.Base Branch:Branch Name: master Sender Branch:Branch Name: LPP-41667-master 1 Successful Jobs:For more details click here. |
Jenkins Build:test-portal-source-format#6679 Jenkins Report:jenkins-report.html Jenkins Suite:sf Pull Request:liferay-frontend#1201 Testray Routine:EE Pull Request Testray Importer:publish-testray-report#1125 |
Hey @rolandpakai, I wouldn't recommend making the change directly in |
I agree with Matu here, we shouldn't be making any direct changes to our yarn.lock unless there is a corresponding dependency change in one of our package.json files. Updating tinycolor2 is best done in the Clay repo, and an even better option would be removing it entirely as a dependency from clay 😜 . And for what it is worth, it is my fault it's a dependency in Clay 😂 |
haha 😂 that's true 😁, well, depending on whether we can analyze whether it's worth it, I didn't get to look at the |
Jenkins Build:test-portal-acceptance-pullrequest(master)#8308 Jenkins Report:jenkins-report.html Jenkins Suite:relevant Pull Request:liferay-frontend#1201 Testray Routine:EE Pull Request Testray Build:[master] ci:test:relevant - rolandpakai > liferay-frontend - PR#1201 - 2021-06-28[10:11:44] Testray Importer:publish-testray-report#1126 |
I'm gonna close to avoid an accidental forwards, but feel free to continue the conversation on this PR |
Also, note that tinycolor2 was never using jquery for anything in its functionality, it was just there for their own demo site. So I don't think this would actually be an issue for that PTR. |
thank you for taking care for the upgrade in the clay. Thanks, Roland |
Hi @rolandpakai, I sent a new PR to update the package in Clay here, we're going to do a new release tomorrow, so you can follow the LPS-130580 ticket to follow up on the PR that we'll be sending out tomorrow. |
Thank you @matuzalemsteles |
do you think i can backport @clayui/color-picker 3.31.0 to 73x without any issue or version dependency? In 73x the current version is 3.5.0 Thanks, Roland |
hey @rolandpakai, sorry for delay, looking at the changelog we haven't had many significant changes that might break something, so I think it's safe. |
jQuery dependency coming from our clayui/color-picker which has a dependency of tinyColor2 (https://github.com/liferay/clay/blob/master/packages/clay-color-picker/package.json#L35), whose @1.4.1 version includes jQuery@1.9.1 (https://github.com/bgrins/TinyColor/blob/1.4.1/demo/jquery-1.9.1.js). Luckily for us, tinycolor2@1.4.2 removed any dependency from jQuery (bgrins/TinyColor@250a1e2)
More details: https://issues.liferay.com/browse/PTR-2475
cc @antonio-ortega