Skip to content

chore(deps-dev): bump colorjs.io from 0.5.2 to 0.6.1#10

Open
dependabot[bot] wants to merge 1 commit intomainfrom
dependabot/npm_and_yarn/colorjs.io-0.6.1
Open

chore(deps-dev): bump colorjs.io from 0.5.2 to 0.6.1#10
dependabot[bot] wants to merge 1 commit intomainfrom
dependabot/npm_and_yarn/colorjs.io-0.6.1

Conversation

@dependabot
Copy link
Copy Markdown

@dependabot dependabot bot commented on behalf of github Apr 6, 2026

Bumps colorjs.io from 0.5.2 to 0.6.1.

Release notes

Sourced from colorjs.io's releases.

v0.6.1

Just a small patch to fix a TS issue!

What's Changed

New Contributors

Full Changelog: color-js/color.js@v0.6.0...v0.6.1

v0.6.0

This has taken a while and three pre-releases, but we wanted to make sure we got everything right. This is likely to be the last v0.x release, as Color.js is certainly mature enough to go to v1 in the next major version. Speaking of maturity…

⬇️ Over 100 million downloads! 🤯

Color.js has now been downloaded over 114 million times on npm! The rate of increase is still accelerating, currently at 3.5 million downloads per week!

We even had to automate updating the number in our README so we could have a chance to keep up (thanks @​MysteryBlokHed!).

Making Color.js sustainable

You may have noticed we removed ads from the Color.js website a while back. While Carbon ads were the good kind of ads (relevant, not intrusive), it was not really worth it, they barely made enough to cover costs like the domain name etc.

Instead, we have started an Open Collective that you can fund directly. If your company depends on Color.js in any way, it is in your best interest to ensure its future is sustainable.

Once there are enough sponsors, we plan to feature them prominently on our website and README, so if you want to be among the first ones to get your name in there, now’s the chance:

Breaking changes

There are a number of breaking changes in this release, but they should only negatively affect some pretty specialized use cases.

null instead of NaN to represent none values

As announced in v0.5.0, we have now switched to using null instead of NaN to represent none values (naturally occurring when converting achromatic colors to certain color spaces). Not only is null conceptually closer, but since CSS also now has a NaN value, this change allows us to represent it properly, using an actual NaN value.

NaN continues to be parsed (and becomes NaN in JS). Instead of being serialized as NaN (which is invalid in CSS), it is serialized as calc(NaN) which is a valid CSS coordinate. For roundtripping to work properly, this also means we now parse calc(NaN) as well. Slippery slope? We’ll see. 😁

... (truncated)

Commits

@dependabot dependabot bot added dependencies Pull requests that update a dependency file javascript Pull requests that update javascript code labels Apr 6, 2026
@coryrylan coryrylan force-pushed the main branch 2 times, most recently from 9e4fea4 to 340ad3f Compare April 6, 2026 22:27
@dependabot dependabot bot force-pushed the dependabot/npm_and_yarn/colorjs.io-0.6.1 branch from bd4e962 to 8d96862 Compare April 6, 2026 22:29
@dependabot dependabot bot force-pushed the dependabot/npm_and_yarn/colorjs.io-0.6.1 branch from 8d96862 to 2443243 Compare April 10, 2026 02:16
@coryrylan coryrylan force-pushed the main branch 4 times, most recently from 917755d to 262dcdd Compare April 10, 2026 12:58
@dependabot dependabot bot force-pushed the dependabot/npm_and_yarn/colorjs.io-0.6.1 branch from 2443243 to 0da48ee Compare April 10, 2026 13:00
Dependabot couldn't find the original pull request head commit, 2443243.
@dependabot dependabot bot force-pushed the dependabot/npm_and_yarn/colorjs.io-0.6.1 branch from 0da48ee to 5da543d Compare April 10, 2026 19:28
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependencies Pull requests that update a dependency file javascript Pull requests that update javascript code

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants