Skip to content

Bump chroma-js and @types/chroma-js#199

Open
dependabot[bot] wants to merge 3 commits intomainfrom
dependabot/npm_and_yarn/multi-38cd7aa7ac
Open

Bump chroma-js and @types/chroma-js#199
dependabot[bot] wants to merge 3 commits intomainfrom
dependabot/npm_and_yarn/multi-38cd7aa7ac

Conversation

@dependabot
Copy link
Copy Markdown
Contributor

@dependabot dependabot Bot commented on behalf of github Apr 28, 2026

Bumps chroma-js and @types/chroma-js. These dependencies needed to be updated together.
Updates chroma-js from 2.4.2 to 3.2.0

Release notes

Sourced from chroma-js's releases.

v3.2.0

What's Changed

New Contributors

Full Changelog: gka/chroma.js@v3.1.4...v3.2.0

v3.1.4

What's Changed

Full Changelog: gka/chroma.js@v3.1.3...v3.1.4

v3.1.3

What's Changed

New Contributors

Full Changelog: gka/chroma.js@v3.1.2...v3.1.3

v3.1.2

  • fixed a bug in Lch interpolation of hue-less colors

v3.1.1

  • fix: allow deep-imports in vite projects

3.1.0

What's Changed

  • feat: parse 'transparent' as black with 0% opacity - resolves #280
  • make it easier to access colorbrewer palette names - resolves #314
  • docs: explain differences to official colorbrewer scales - resolves #316
  • fix: correct parsing of modern css colors with percentage alpha - resolves #297
  • fix: css output for hue-less colors in lch() and oklch() - resolves #357

Full Changelog: gka/chroma.js@v3.0.0...v3.1.0

v3.0.0

What's Changed

  • 🎉 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: switch to W3C implementation of OKLab color space

... (truncated)

Changelog

Sourced from chroma-js's changelog.

3.2.0

  • scale.domain now returns the original domain array when called with no arguments

3.1.3

  • updated dependencies

3.1.2

  • fixed a bug in Lch interpolation of hue-less colors

3.1.1

  • fix: allow deep-imports in vite projects

3.1.0

  • feat: parse 'transparent' as black with 0% opacity - resolves #280
  • make it easier to access colorbrewer palette names - resolves #314
  • docs: explain differences to official colorbrewer scales - resolves #316
  • fix: correct parsing of modern css colors with percentage alpha - resolves #297
  • fix: css output for hue-less colors in lch() and oklch() - resolves #357

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

... (truncated)

Commits

Updates @types/chroma-js from 2.4.3 to 3.1.2

Commits

You can trigger a rebase of this PR 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 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)

Bumps [chroma-js](https://github.com/gka/chroma.js) and [@types/chroma-js](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/chroma-js). These dependencies needed to be updated together.

Updates `chroma-js` from 2.4.2 to 3.2.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.2.0)

Updates `@types/chroma-js` from 2.4.3 to 3.1.2
- [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases)
- [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/chroma-js)

---
updated-dependencies:
- dependency-name: chroma-js
  dependency-version: 3.2.0
  dependency-type: direct:production
  update-type: version-update:semver-major
- dependency-name: "@types/chroma-js"
  dependency-version: 3.1.2
  dependency-type: direct:development
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot Bot added dependencies Pull requests that update a dependency file javascript Pull requests that update javascript code labels Apr 28, 2026
@maxiadlovskii maxiadlovskii self-requested a review May 4, 2026 08:08
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.

2 participants