Skip to content

Bump colord from 2.9.3 to 2.14.1 - #695

Open
dependabot[bot] wants to merge 1 commit into
mainfrom
dependabot/npm_and_yarn/colord-2.10.0
Open

dependabot[bot] wants to merge 1 commit into
mainfrom
dependabot/npm_and_yarn/colord-2.10.0

Conversation

@dependabot

@dependabot dependabot Bot commented on behalf of github Sep 8, 2026 •

Copy link
Copy Markdown
Contributor

Bumps colord from 2.9.3 to 2.14.1.

Release notes

Sourced from colord's releases.

v2.14.1

Patch Changes

  • Fix: brightness() rounds a brightness that is exactly half up, so rgb(0 177 84) is 0.45, not 0.44 ❤️ @​simonkundrik
  • Fix: extend() accepts a plugin that require() returns as { default }, as in CodeSandbox. ❤️ @​astralarya
  • Fix: a gray from LAB, LCH, OKLab, OKLCH or mix() comes out exactly gray, so lch(50% 0 0) is hsl(0, 0%, 47%), not hsl(152, 0%, 47%), and colord("[#000](https://github.com/omgovich/colord/issues/000)").mix("[#070707](https://github.com/omgovich/colord/issues/070707)") is [#040404](https://github.com/omgovich/colord/issues/040404), not [#030403](https://github.com/omgovich/colord/issues/030403) ❤️ @​anubhavlal07
  • Fix: toHsl(), toHsv(), toHwb() and hue() round a hue or saturation that is exactly half up, so [#007805](https://github.com/omgovich/colord/issues/007805) has the hue 123, not 122 ❤️ @​simonkundrik
  • Fix: mix() and the palettes in RGB space round a channel that is exactly half up, so black mixed 58% of the way to [#191919](https://github.com/omgovich/colord/issues/191919) is #0f0f0f, not #0e0e0e ❤️ @​simonkundrik
  • Fix: tints(1), shades(1) and tones(1) return the original color, not a transparent black ❤️ @​simonkundrik

v2.14.0

Minor Changes

  • New: lab plugin parses lab() strings and adds toLabString() ❤️ @​bardrop

Patch Changes

  • Fix: parsing CMYK colors rounds a channel that is exactly half up, so device-cmyk(0% 0% 0% 90%) is #1a1a1a and not [#191919](https://github.com/omgovich/colord/issues/191919) ❤️ @​simonkundrik
  • Fix: parse plain numbers for saturation/lightness in space-separated hsl() and for whiteness/blackness in hwb(), such as hsl(120 50 50) and hwb(120 20 30) ❤️ @​bardrop
  • Fix: lab plugin clamps a lightness above 100 to 100, as CSS Color 4 requires, such as { l: 130, a: -60, b: 60 } ❤️ @​bardrop
  • Fix: parse space-separated rgb() that mixes numbers and percentages, such as rgb(10% 20 30) ❤️ @​bardrop
  • Fix: HSL, HSV and HWB conversions round a channel that is exactly half up, so hwb(0 10% 0%) is #ff1a1a as in browsers, not #ff1919; grayscale(), rotate(), saturate(), lighten() and harmonies() may shift such channels one step too ❤️ @​simonkundrik
  • Fix: toCmyk() and toCmykString() round a percent that is exactly half up, so [#050808](https://github.com/omgovich/colord/issues/050808) is c: 38, not c: 37

v2.13.0

Minor Changes

  • New relative option of lighten, darken, saturate and desaturate that scales the current value ❤️ @​EricRovell

Patch Changes

  • Parse CSS color function strings faster: the number pattern now matches an integer without backtracking ❤️ @​g4lb
  • Fix: lch plugin clamps a negative chroma to 0 instead of flipping the hue, such as lch(50% -20 30) ❤️ @​bardrop
  • Fix: lch plugin parses a plain number lightness and a percentage chroma, such as lch(52.2 72.2 56.2) ❤️ @​Kernel-Hunter
  • Fix: minify() no longer picks an hsl() string that rounds to a different color
  • Fix: names plugin no longer treats "constructor" and "__proto__" as valid colors ❤️ @​Kernel-Hunter

v2.12.0

Minor Changes

  • Parse numbers in scientific notation (rgb(1e2 .5e1 0 / 25e-2)), as the CSS spec allows

Patch Changes

  • Fix: Parse CSS angle units case-insensitively, so hsl(0.25TURN 50% 50%) means 90 degrees instead of 0.25 ❤️ @​blueDaydreaming725
  • Fix: Keep exact colors at the mix() endpoints and when only alpha differs, so a mixture into white no longer turns green after .darken() ❤️ @​feritcemkahraman
  • Fix: Type plugin default imports correctly in ES modules under TypeScript's node16 and nodenext resolution

v2.11.0 (OKLab and OKLCH)

Minor Changes

... (truncated)

Changelog

Sourced from colord's changelog.

2.14.1

Patch Changes

  • Fix: brightness() rounds a brightness that is exactly half up, so rgb(0 177 84) is 0.45, not 0.44 ❤️ @​simonkundrik
  • Fix: extend() accepts a plugin that require() returns as { default }, as in CodeSandbox. ❤️ @​astralarya
  • Fix: a gray from LAB, LCH, OKLab, OKLCH or mix() comes out exactly gray, so lch(50% 0 0) is hsl(0, 0%, 47%), not hsl(152, 0%, 47%), and colord("[#000](https://github.com/omgovich/colord/issues/000)").mix("[#070707](https://github.com/omgovich/colord/issues/070707)") is [#040404](https://github.com/omgovich/colord/issues/040404), not [#030403](https://github.com/omgovich/colord/issues/030403) ❤️ @​anubhavlal07
  • Fix: toHsl(), toHsv(), toHwb() and hue() round a hue or saturation that is exactly half up, so [#007805](https://github.com/omgovich/colord/issues/007805) has the hue 123, not 122 ❤️ @​simonkundrik
  • Fix: mix() and the palettes in RGB space round a channel that is exactly half up, so black mixed 58% of the way to [#191919](https://github.com/omgovich/colord/issues/191919) is #0f0f0f, not #0e0e0e ❤️ @​simonkundrik
  • Fix: tints(1), shades(1) and tones(1) return the original color, not a transparent black ❤️ @​simonkundrik

2.14.0

Minor Changes

  • New: lab plugin parses lab() strings and adds toLabString() ❤️ @​bardrop

Patch Changes

  • Fix: parsing CMYK colors rounds a channel that is exactly half up, so device-cmyk(0% 0% 0% 90%) is #1a1a1a and not [#191919](https://github.com/omgovich/colord/issues/191919) ❤️ @​simonkundrik
  • Fix: parse plain numbers for saturation/lightness in space-separated hsl() and for whiteness/blackness in hwb(), such as hsl(120 50 50) and hwb(120 20 30) ❤️ @​bardrop
  • Fix: lab plugin clamps a lightness above 100 to 100, as CSS Color 4 requires, such as { l: 130, a: -60, b: 60 } ❤️ @​bardrop
  • Fix: parse space-separated rgb() that mixes numbers and percentages, such as rgb(10% 20 30) ❤️ @​bardrop
  • Fix: HSL, HSV and HWB conversions round a channel that is exactly half up, so hwb(0 10% 0%) is #ff1a1a as in browsers, not #ff1919; grayscale(), rotate(), saturate(), lighten() and harmonies() may shift such channels one step too ❤️ @​simonkundrik
  • Fix: toCmyk() and toCmykString() round a percent that is exactly half up, so [#050808](https://github.com/omgovich/colord/issues/050808) is c: 38, not c: 37

2.13.0

Minor Changes

  • New relative option of lighten, darken, saturate and desaturate that scales the current value ❤️ @​EricRovell

Patch Changes

  • Parse CSS color function strings faster: the number pattern now matches an integer without backtracking ❤️ @​g4lb
  • Fix: lch plugin clamps a negative chroma to 0 instead of flipping the hue, such as lch(50% -20 30) ❤️ @​bardrop
  • Fix: lch plugin parses a plain number lightness and a percentage chroma, such as lch(52.2 72.2 56.2) ❤️ @​Kernel-Hunter
  • Fix: minify() no longer picks an hsl() string that rounds to a different color
  • Fix: names plugin no longer treats "constructor" and "__proto__" as valid colors ❤️ @​Kernel-Hunter

2.12.0

Minor Changes

  • Parse numbers in scientific notation (rgb(1e2 .5e1 0 / 25e-2)), as the CSS spec allows

Patch Changes

  • Fix: Parse CSS angle units case-insensitively, so hsl(0.25TURN 50% 50%) means 90 degrees instead of 0.25 ❤️ @​blueDaydreaming725
  • Fix: Keep exact colors at the mix() endpoints and when only alpha differs, so a mixture into white no longer turns green after .darken() ❤️ @​feritcemkahraman

... (truncated)

Commits
Maintainer changes

This version was pushed to npm by GitHub Actions, a new releaser for colord since your current version.


@dependabot dependabot Bot added dependencies Pull requests that update a dependency file javascript Pull requests that update javascript code labels Sep 8, 2026
@coveralls

coveralls commented Sep 8, 2026 •

Copy link
Copy Markdown

Coverage Status

coverage: 31.628%. remained the same — dependabot/npm_and_yarn/colord-2.10.0 into main

@paulsmirnov

Copy link
Copy Markdown
Member

@dependabot rebase

Bumps [colord](https://github.com/omgovich/colord) from 2.9.3 to 2.14.1.
- [Release notes](https://github.com/omgovich/colord/releases)
- [Changelog](https://github.com/omgovich/colord/blob/master/CHANGELOG.md)
- [Commits](https://github.com/omgovich/colord/commits/v2.14.1)

---
updated-dependencies:
- dependency-name: colord
  dependency-version: 2.10.0
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot Bot changed the title Bump colord from 2.9.3 to 2.10.0 Bump colord from 2.9.3 to 2.14.1 Nov 27, 2026
@dependabot
dependabot Bot force-pushed the dependabot/npm_and_yarn/colord-2.10.0 branch from 4f99b15 to 254b61c Compare November 27, 2026 22:12
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