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

revert(color-contrast): revert upgrade to colorjs.io v0.5.0 to work with prototype.js #4429

Merged
merged 4 commits into from Apr 25, 2024

Conversation

straker
Copy link
Contributor

@straker straker commented Apr 25, 2024

This puts back the v0.4.3 code in color.js to handle colorjs.io not handling rad and turn values in hsl.

I also decided to use core-js Array.from polyfill rather than our own internal one since I needed to bring it in outside of the polyfill.js file and could then add it as an import and reuse it in both places.

Closes: #4428

@straker straker requested a review from a team as a code owner April 25, 2024 20:25
Copy link
Contributor

@dbjorge dbjorge left a comment

Choose a reason for hiding this comment

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

Mostly LGTM, just notice one issue with the old code we're reverting back to.

Verified that this doesn't negatively impact bundle size and doesn't require any LICENSE-3RD-PARTY update.

lib/commons/color/color.js Outdated Show resolved Hide resolved
@straker straker merged commit 29e7e2a into develop Apr 25, 2024
21 checks passed
@straker straker deleted the prototype branch April 25, 2024 22:47
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.

prototype.js breaks axe-core v4.9.0
2 participants