StackExchange / Stacks

Stack Overflow’s Design System
https://stackoverflow.design
MIT License
602 stars 89 forks source link

build(deps-dev): bump colorjs.io from 0.4.5 to 0.5.0 #1669

Closed dependabot[bot] closed 4 months ago

dependabot[bot] commented 4 months ago

Bumps colorjs.io from 0.4.5 to 0.5.0.

Release notes

Sourced from colorjs.io's releases.

v0.5.0

It’s been a while since our last release, so this is a big one! Going forwards, we plan to make at least one release per month.

Heads ups

⚠️ Future breaking change

Color.js currently uses NaN values to represent CSS none (e.g. for achromatic colors). However, CSS also now has a NaN value, which is currently impossible to represent in Color.js. Therefore, In the next non-minor version, we will start using null to represent none. If you have code that handles these values, you can prepare for the change by detecting which value is being used and using that instead of a hardcoded NaN:

const NONE_COORD = new Color("rgb(none none none)").coords[0].valueOf()

🆕 Color.js Discord server

We’ve just set up a Discord server so that people can help each other and discuss color science topics in a more immediate way. Join now!. Do note we also have a Discussions section for more long-form help.

⬇️ 2 million downloads!

We’ve recently passed a big milestone: Color.js was downloaded 2 million times on npm!

New in v0.5.0

New Color Spaces

Improved compatibility with CSS:

Gamut mapping improvements

... (truncated)

Commits
  • 58524b8 Release 0.5.0
  • e5e1280 Export types at top level of /fn entrypoint (#466)
  • f86150b update babel deps
  • c258d1d Audit function parameter and return types (3/2) (#461)
  • ae9ea42 Allow hwb to accept numbers (#464)
  • a1a11cb [elements/color-swatch] Fix case where value attribute is set before init
  • e48d472 [Gamut Mapping App] Hide deltas if mapped color is unchanged. (#459)
  • d082f35 Refactor out a clip and an LH correction and still retain ∆h ~4.4
  • c167531 Audit function parameter and return types (2/2) (#457)
  • 0d6b31b Always show delta display to help confirm it is in gamut (#458)
  • Additional commits viewable in compare view
Maintainer changes

This version was pushed to npm by jgerigmeyer, a new releaser for colorjs.io since your current version.


Dependabot compatibility score

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR: - `@dependabot rebase` will rebase this PR - `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it - `@dependabot merge` will merge this PR after your CI passes on it - `@dependabot squash and merge` will squash and merge this PR after your CI passes on it - `@dependabot cancel merge` will cancel a previously requested merge and block automerging - `@dependabot reopen` will reopen this PR if it is closed - `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually - `@dependabot show ignore conditions` will show all of the ignore conditions of the specified dependency - `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)