Skip to content

Conversation

dependabot[bot]
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Aug 19, 2024

Bumps chroma-js from 2.4.2 to 3.0.0.

Release notes

Sourced from chroma-js's releases.

v3.0.0

What's Changed

Full Changelog: gka/chroma.js@v2.6.0...v3.0.0

v2.6.0

What's Changed

Full Changelog: gka/chroma.js@v2.5.0...v2.6.0

v2.5.0

What's Changed

New Contributors

Full Changelog: gka/chroma.js@v2.3.0...v2.5.0

Changelog

Sourced from chroma-js's changelog.

3.0.0

  • 🎉 NEW: Add support for modern CSS color spaces. This means you can now export and parse CSS colors in lab(), lch(), oklab(), oklch() space.
  • 🎉 NEW: you can now control the standard white reference point for the CIE Lab and CIE Lch color spaces via setLabWhitePoint.
  • Breaking: color.css() will no longer return legacy CSS colors like rgb(255, 255, 0) but use modern CSS colors like rgb(255 255 0) instead.
  • fix: you can now use chroma.js both via the default export as well as named exports in ES6.
  • fix: switch to W3C implementation of OKLab color space

2.6.0

2.5.0

  • refactored code base to ES6 modules

2.4.0

  • add support for Oklab and Oklch color spaces

2.3.0

  • use binom of degree n in chroma.bezier

2.2.0

  • use Delta e2000 for chroma.deltaE #269

2.0.3

  • hsl2rgb will, like other x2rgb conversions now set the default alpha to 1

2.0.2

  • use a more mangle-safe check for Color class constructor to fix issues with uglifyjs and terser

2.0.1

  • added chroma.valid() for checking if a color can be parsed by chroma.js

2.0.0

  • chroma.js has been ported from CoffeeScript to ES6! This means you can now import parts of chroma in your projects!
  • changed HCG input space from [0..360,0..100,0..100] to [0..360,0..1,0..1] (to be in line with HSL)
  • added new object unpacking (e.g. hsl2rgb({h,s,l}))
  • changed default interpolation to lrgb in mix/interpolate and average.
  • if colors can't be parsed correctly, chroma will now throw Errors instead of silently failing with console.errors

1.4.1

  • chroma.scale() now interprets null as NaN and returns the fallback color. Before it had interpreted null as 0
  • added scale.nodata() to allow customizing the previously hard-coded fallback (aka "no data") color #cccccc

1.4.0

  • color.hex() now automatically sets the mode to 'rgba' if the colors alpha channel is < 1. so chroma('rgba(255,0,0,.5)').hex() will now return "#ff000080" instead of "#ff0000". if this is not what you want, you must explicitly set the mode to rgb using .hex("rgb").
  • bugfix in chroma.average in LRGB mode (#187)
  • chroma.scale now also works with just one color (#180)

... (truncated)

Commits

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 <dependency name> 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)

@dependabot dependabot bot added dependencies Pull requests that update a dependency file javascript Pull requests that update Javascript code labels Aug 19, 2024
@dependabot dependabot bot force-pushed the dependabot/npm_and_yarn/chroma-js-3.0.0 branch from db8d9f2 to 4cb9d41 Compare August 20, 2024 19:00
@dependabot dependabot bot force-pushed the dependabot/npm_and_yarn/chroma-js-3.0.0 branch 2 times, most recently from b6de2f1 to 92e95a6 Compare September 2, 2024 00:46
Bumps [chroma-js](https://github.com/gka/chroma.js) from 2.4.2 to 3.0.0.
- [Release notes](https://github.com/gka/chroma.js/releases)
- [Changelog](https://github.com/gka/chroma.js/blob/main/CHANGELOG.md)
- [Commits](https://github.com/gka/chroma.js/commits/v3.0.0)

---
updated-dependencies:
- dependency-name: chroma-js
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <[email protected]>
@dependabot dependabot bot force-pushed the dependabot/npm_and_yarn/chroma-js-3.0.0 branch from 92e95a6 to 7855a35 Compare September 3, 2024 02:13
Copy link
Contributor Author

dependabot bot commented on behalf of github Sep 10, 2024

Superseded by #276.

@dependabot dependabot bot closed this Sep 10, 2024
@dependabot dependabot bot deleted the dependabot/npm_and_yarn/chroma-js-3.0.0 branch September 10, 2024 20:41
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