Skip to content

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

Merged
straker merged 4 commits intodevelopfrom
prototype
Apr 25, 2024
Merged

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

Conversation

@straker
Copy link
Copy Markdown
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
Copy Markdown
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.

@straker straker merged commit 29e7e2a into develop Apr 25, 2024
@straker straker deleted the prototype branch April 25, 2024 22:47
@Montiwa11
Copy link
Copy Markdown

5c5ede0

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

3 participants