Skip to content

chore(deps): bump the dependencies group with 2 updates#336

Merged
fraxken merged 1 commit into
mainfrom
dependabot/npm_and_yarn/dependencies-d1b9868837
Jul 20, 2026
Merged

chore(deps): bump the dependencies group with 2 updates#336
fraxken merged 1 commit into
mainfrom
dependabot/npm_and_yarn/dependencies-d1b9868837

Conversation

@dependabot

@dependabot dependabot Bot commented on behalf of github Jul 20, 2026

Copy link
Copy Markdown
Contributor

Bumps the dependencies group with 2 updates: colorjs.io and js-base64.

Updates colorjs.io from 0.6.1 to 0.7.0

Release notes

Sourced from colorjs.io's releases.

v0.7.0

Two pre-releases in the making, this release brings a lot of new color spaces, a new gamut mapping method, a smarter display(), a leaner dist/, and a pile of fixes. If you have been following along with the v0.7.0-alpha.1 and v0.7.0-alpha.2 pre-releases, the only things new to you are in Changes since v0.7.0-alpha.2.

⬇️ Over 240 million downloads! 🤯

Color.js has now been downloaded over 240 million times on npm!

As a reminder, we have an Open Collective that you can fund directly. If your company depends on Color.js in any way, it is in your best interest to ensure its future is sustainable.

🚨 Breaking changes

These are unlikely to break things for the majority of users, but theoretically could if you were doing weird stuff with Color.js 😜.

We cleaned up dist/ quite a bit with this release and re-evaluated what actually needs to be there:

  • Removed the pre-built ESM bundles. We now only generate bundles for CJS and global builds. ESM exports point directly at the corresponding files in src/. This also fixes a dual-instance bug where importing from src/ vs. the package root could yield different Color registries (by @​LeaVerou in #739).
  • Removed the minified .min.* files from the package, since packages are moving away from providing these and minification is becoming a consumer concern (by @​LeaVerou in #741).

For those of you that have been importing files directly from colorjs.io, removed files now redirect to the versions still there (e.g. colorjs.io/dist/color.min.js and colorjs.io/dist/color.js now both redirect to colorjs.io/src/color.js), so your code should continue to work.

New color spaces

  • 🆕 Gamut-relative (OK)LCH spaces (by @​LeaVerou in #736) Ever tried to use (OK)LCH and kept struggling with the irregularity of the gamut shape? You can now have your cake and eat it too, as we introduced gamut-relative versions of these spaces, where c = 1 is the most colorful in-gamut color at a given lightness and hue so you never have to worry about getting out of gamut! These new spaces are:
    • oklch-p3, oklch-srgb, oklch-rec2020,
    • lch-p3, lch-srgb, lch-rec2020.
    • All six are built on a new general GamutRelativeColorSpace class that can be easily used to generate such color spaces for any gamut and color space, as long as there is a coordinate to reduce that is guaranteed to get you in-gamut.
    • Note that this loses you some of the perceptual uniformity of the original spaces, but it is a tradeoff that is often worth it for the convenience of staying in-gamut. After all, perceptual uniformity only applies in-gamut anyway.
  • 🆕 hsl-p3 and hsl-rec2020: HSL syntax, wider gamut (by @​LeaVerou in #735)
  • 🆕 The experimental Helmlab family of perceptual color spaces: helmlab-metric (Helmlab MetricSpace), helmgen (HelmGen), and helmgenlch (HelmGenLCh) (by @​Grkmyldz148)

Other new features

  • 🆕 Smarter display() fallback When a color isn't natively supported by the browser, display() now stays as close as possible to the original color: it walks up the base color space chain (closest first) and uses the first supported ancestor, preserving the color's gamut (e.g. an hsl-p3 color falls back to color(display-p3 …) rather than lab()) instead of always jumping to the widest default. Adds an opt-in displaySpaces override on ColorSpace, a parameterizable supports(), and a DisplayOptions interface (by @​LeaVerou in #738)
  • 🆕 New gamut mapping method: raytrace. It traces a ray to the gamut boundary instead of binary-searching, automatically determining the RGB gamut and linear space from the space object (by @​facelessuser)
  • 🆕 New deltaE method: deltaEHelmlab, based on the Helmlab model (by @​Grkmyldz148)
  • 🆕 Added a collapse option to serialize()/Color.toString() to disable collapsing for hex colors (e.g. keep #ff0066 instead of collapsing it to #f06) (by @​MysteryBlokHed in #712)

For plugin/library/tooling authors

Exposed more internals, so you never have to duplicate stuff that Color.js already knows about:

  • Expose transformation matrices via ColorSpace.M Color spaces now expose the transformation matrices they use internally through a new M property, so consumers can reuse them instead of duplicating the data. Matrices for RGB spaces can also be supplied via the generic M option (by @​LeaVerou in #749)
  • Matrix algebra utilities Added inv (matrix inversion) and solve to the math utilities, so external libraries are no longer required when developing new color spaces (by @​facelessuser)
  • Polar spaces declare their hue coordinate via the new ColorSpace#hueId and ColorSpace#hueIndex, so code that needs the hue angle can look it up from the space definition instead of assuming it is named h (by @​svgeesus in #754)

... (truncated)

Commits
  • 6d5b195 Release 0.7.0
  • e80ef41 Draft release notes for v0.7.0
  • bb569be Premultiply alpha correctly in polar spaces, and handle none/zero alpha (#754)
  • 5b8e648 Drop AI tool enumeration per review feedback
  • f73be51 Update CONTRIBUTING.md
  • d5fb87d Add AI-assisted contributions section (closes #723)
  • 233fb8c [spaces/helmgenlch] Add cssId for color() serialization
  • 0ae29a6 Update README download count
  • e9d9fa8 Update README download count
  • 3980017 Update gamut surface threshold and document values for 32 bit vs 64 bit (#752)
  • Additional commits viewable in compare view

Updates js-base64 from 3.8.1 to 3.9.0

Commits
  • a71d71e version 3.9.0
  • dca2443 remove dependencies on node Buffer because Text{En,De}coder are also availabl...
  • fa5aa6b strictly type internal variables constants and functions, not just exported ones
  • See full diff in compare view

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 <dependency name> major version will close this group update PR and stop Dependabot creating any more for the specific dependency's major version (unless you unignore this specific dependency's major version or upgrade to it yourself)
  • @dependabot ignore <dependency name> minor version will close this group update PR and stop Dependabot creating any more for the specific dependency's minor version (unless you unignore this specific dependency's minor version or upgrade to it yourself)
  • @dependabot ignore <dependency name> will close this group update PR and stop Dependabot creating any more for the specific dependency (unless you unignore this specific dependency or upgrade to it yourself)
  • @dependabot unignore <dependency name> will remove all of the ignore conditions of the specified dependency
  • @dependabot unignore <dependency name> <ignore condition> will remove the ignore condition of the specified dependency and ignore conditions

Bumps the dependencies group with 2 updates: [colorjs.io](https://github.com/color-js/color.js) and [js-base64](https://github.com/dankogai/js-base64).


Updates `colorjs.io` from 0.6.1 to 0.7.0
- [Release notes](https://github.com/color-js/color.js/releases)
- [Commits](color-js/color.js@v0.6.1...v0.7.0)

Updates `js-base64` from 3.8.1 to 3.9.0
- [Commits](dankogai/js-base64@3.8.1...3.9.0)

---
updated-dependencies:
- dependency-name: colorjs.io
  dependency-version: 0.7.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: dependencies
- dependency-name: js-base64
  dependency-version: 3.9.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: dependencies
...

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 Jul 20, 2026
@changeset-bot

changeset-bot Bot commented Jul 20, 2026

Copy link
Copy Markdown

⚠️ No Changeset found

Latest commit: 9c6ac44

Merging this PR will not cause a version bump for any packages. If these changes should not result in a new version, you're good to go. If these changes should result in a version bump, you need to add a changeset.

This PR includes no changesets

When changesets are added to this PR, you'll see the packages that this PR includes changesets for and the associated semver types

Click here to learn what changesets are, and how to add one.

Click here if you're a maintainer who wants to add a changeset to this PR

@fraxken
fraxken merged commit 1e0dcbc into main Jul 20, 2026
4 checks passed
@dependabot
dependabot Bot deleted the dependabot/npm_and_yarn/dependencies-d1b9868837 branch July 20, 2026 19:21
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.

1 participant