Skip to content

Bump colorthief from 2.7.0 to 3.3.1 - #27

Open
dependabot[bot] wants to merge 1 commit into
developfrom
dependabot/npm_and_yarn/develop/colorthief-3.3.1
Open

Bump colorthief from 2.7.0 to 3.3.1#27
dependabot[bot] wants to merge 1 commit into
developfrom
dependabot/npm_and_yarn/develop/colorthief-3.3.1

Conversation

@dependabot

@dependabot dependabot Bot commented on behalf of github Mar 9, 2026

Copy link
Copy Markdown

Bumps colorthief from 2.7.0 to 3.3.1.

Release notes

Sourced from colorthief's releases.

v3.3.0

Adds colorthief CLI with color, palette, and swatches subcommands. Supports --json, --css, and ANSI output formats, stdin piping, multi-file input, and a friendly error message when sharp is not installed.

v3.2.0

Browser bundlers no longer warn about sharp - Bundlers like webpack (Angular), Vite, and Rollup previously emitted a "Can't resolve 'sharp'" warning when using colorthief in browser-only projects. The library now ships separate browser builds that contain no references to sharp or Node.js-specific code. Bundlers automatically pick the right build via the "browser" condition in package.json exports. No changes needed on your end. The API is identical. (lokesh/color-thief#279)

v3.1.0

Changed palette functions to default to utilizing OKLCH (previously RGB)

v3.0.0

Full TypeScript rewrite with a unified browser + Node.js API.

Highlights:

  • Rich Color objects with .hex(), .rgb(), .hsl(), .oklch(), .css()
  • OKLCH perceptually uniform quantization
  • Semantic swatches (Vibrant, Muted, DarkVibrant, DarkMuted, LightVibrant, LightMuted)
  • Live extraction with observe() for video, canvas, and img elements
  • Web Worker offloading
  • Progressive 3-pass extraction
  • WCAG contrast ratios and text color recommendations
  • AbortSignal support
  • Zero runtime dependencies
Commits
  • 01dc0f3 3.3.1
  • 32841a7 docs: update CLI references to colorthief-cli and add ./cli export
  • e1ceaa3 fix: apply npm pkg fix corrections for publish
  • 6f1c222 3.3.0
  • 8ed36e7 Merge pull request #280 from lokesh/cli
  • 13dbd71 feat: add CLI tool for extracting colors from images
  • 94dcd33 docs: update default color space in README and TypeScript interfaces to 'oklch'
  • 27fa209 3.2.0
  • 012f960 fix: add browser-specific builds to eliminate sharp warnings in bundlers
  • f39d446 3.1.0
  • Additional commits viewable in compare view

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)

Bumps [colorthief](https://github.com/lokesh/color-thief) from 2.7.0 to 3.3.1.
- [Release notes](https://github.com/lokesh/color-thief/releases)
- [Commits](lokesh/color-thief@v2.7.0...v3.3.1)

---
updated-dependencies:
- dependency-name: colorthief
  dependency-version: 3.3.1
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot Bot added the Dependencies Dependency updates label Mar 9, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Dependencies Dependency updates

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants