Skip to content

chore(deps): bump colord from 2.9.3 to 2.12.0 - #117

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

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

Conversation

@dependabot

@dependabot dependabot Bot commented on behalf of github Nov 13, 2026

Copy link
Copy Markdown
Contributor

Bumps colord from 2.9.3 to 2.12.0.

Release notes

Sourced from colord's releases.

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

  • New oklab and oklch plugins to parse and convert OKLab and OKLCH colors (CSS Color 4)

v2.10.1

Patch Changes

  • Fix: Read the alpha byte of a HEX color exactly, so #cc88 no longer comes back as #cccc8887 ❤️ @​spokodev
  • Fix: Stop minify from turning down an alpha hex that holds the color exactly, and from returning nothing at all when every notation is switched off

v2.10 (RGB color mixing)

  • mix, tints, shades and tones (mix plugin) now accept an optional interpolation color space. LAB stays the default; pass "rgb" to interpolate RGB channels instead — the way browsers and design tools (such as Figma) composite translucent layers.
import { colord, extend } from "colord";
import mixPlugin from "colord/plugins/mix";
extend([mixPlugin]);
colord("#ff0000").mix("#ffffff", 0.5, "rgb").toHex(); // "#ff8080"
colord("#f0f3f1").mix("#007d40", 0.14, "rgb").toHex(); // "#cee2d8" — same as compositing rgba(0, 125, 64, 0.14) over #f0f3f1
colord("#ff0000").tints(3, "rgb").map((c) => c.toHex()); // ["#ff0000", "#ff8080", "#ffffff"]

Changelog

Sourced from colord's changelog.

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
  • Fix: Type plugin default imports correctly in ES modules under TypeScript's node16 and nodenext resolution

2.11.0

Minor Changes

  • New oklab and oklch plugins to parse and convert OKLab and OKLCH colors (CSS Color 4)

2.10.1

Patch Changes

  • Fix: Read the alpha byte of a HEX color exactly, so #cc88 no longer comes back as #cccc8887 ❤️ @​spokodev
  • Fix: Stop minify from turning down an alpha hex that holds the color exactly, and from returning nothing at all when every notation is switched off

2.10.0

  • Improve mix plugin by adding an optional "rgb" interpolation mode to mix, tints, tones and shades

2.9.7

  • Make HEX parsing and serialization more than 2x faster

2.9.6

  • Fix: Rotate the unrounded hue so rotate and harmonies preserve the original color
  • Fix: Normalize HWB whiteness + blackness over 100% to gray ❤️ @​spokodev

2.9.5

Both fixes change returned numbers for a small set of colors; toHex() output is unchanged. Snapshots holding h: 360, "hsl(360, …)" or a delta() value may need updating.

2.9.4

  • Fix: Reject malformed color strings in linear time ❤️ @​GAP-dev
Commits
Maintainer changes

This version was pushed to npm by GitHub Actions, a new releaser for colord 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 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)
    You can disable automated security fix PRs for this repo from the Security Alerts page.

Bumps [colord](https://github.com/omgovich/colord) from 2.9.3 to 2.12.0.
- [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.12.0)

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

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 Nov 13, 2026
@coderabbitai

coderabbitai Bot commented Nov 13, 2026

Copy link
Copy Markdown

Important

Review skipped

Bot user detected.

To trigger a single review, invoke the @coderabbitai review command.

Run configuration

  • Source mode: Auto
  • Repository: Unavailable
  • Branch: Unavailable
  • File: No configuration file from this repository applied
  • Commit: Unavailable
  • Layers: defaults
  • Review profile: CHILL
  • Plan: Advanced
  • Run ID: fd99a58a-6f5d-4650-81cc-b46fd82e5c52

You can disable this status message by setting the reviews.review_status to false in the CodeRabbit configuration file.

Use the checkbox below for a quick retry:

  • Trigger review
  • Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

Share

@github-actions

Copy link
Copy Markdown

⚠️ Deprecation Warning: The deny-licenses option is deprecated for possible removal in the next major release. For more information, see issue 997.

Dependency Review

✅ No vulnerabilities or license issues or OpenSSF Scorecard issues found.

OpenSSF Scorecard

PackageVersionScoreDetails
npm/colord 2.12.0 🟢 5
Details
CheckScoreReason
Code-Review⚠️ 1Found 5/27 approved changesets -- score normalized to 1
Maintained🟢 1017 commit(s) and 7 issue activity found in the last 90 days -- score normalized to 10
Security-Policy🟢 10security policy file detected
Binary-Artifacts🟢 10no binaries found in the repo
Dangerous-Workflow🟢 10no dangerous workflow patterns detected
Packaging⚠️ -1packaging workflow not detected
Pinned-Dependencies⚠️ 2dependency not pinned by hash detected -- score normalized to 2
Token-Permissions⚠️ 0detected GitHub workflow tokens with excessive permissions
CII-Best-Practices⚠️ 0no effort to earn an OpenSSF best practices badge detected
Fuzzing⚠️ 0project is not fuzzed
License🟢 10license file detected
Signed-Releases⚠️ -1no releases found
Branch-Protection🟢 3branch protection is not maximal on development and all release branches
SAST⚠️ 0SAST tool is not run on all commits -- score normalized to 0

Scanned Files

  • package-lock.json

@dependabot @github

dependabot Bot commented on behalf of github Nov 15, 2026

Copy link
Copy Markdown
Contributor Author

Superseded by #123.

@dependabot dependabot Bot closed this Nov 15, 2026
@dependabot
dependabot Bot deleted the dependabot/npm_and_yarn/colord-2.12.0 branch November 15, 2026 12:09
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