Skip to content
This repository was archived by the owner on Apr 11, 2019. It is now read-only.

Update dependency chroma-js to v2 #255

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

renovate[bot]
Copy link

@renovate renovate bot commented Mar 13, 2019

This PR contains the following updates:

Package Type Update Change References
chroma-js dependencies major ^1.3.4 -> ^2.0.0 source

Release Notes

gka/chroma.js

v2.0.3

Compare Source

  • hsl2rgb will, like other x2rgb conversions now set the default alpha to 1

v2.0.2

Compare Source

  • use a more mangle-safe check for Color class constructor to fix issues with uglifyjs and terser

v2.0.1

Compare Source

  • added chroma.valid() for checking if a color can be parsed by chroma.js

v2.0.0

Compare Source

  • chroma.js has been ported from CoffeeScript to ES6! This means you can now import parts of chroma in your projects!
  • changed HCG input space from [0..360,0..100,0..100] to [0..360,0..1,0..1] (to be in line with HSL)
  • added new object unpacking (e.g. hsl2rgb({h,s,l}))
  • changed default interpolation to lrgb in mix/interpolate and average.
  • if colors can't be parsed correctly, chroma will now throw Errors instead of silently failing with console.errors

Renovate configuration

📅 Schedule: At any time (no schedule defined).

🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

♻️ Rebasing: Whenever PR becomes conflicted, or if you modify the PR title to begin with "rebase!".

🔕 Ignore: Close this PR and you won't be reminded about this update again.


  • If you want to rebase/retry this PR, check this box

This PR has been generated by Renovate Bot. View repository job log here.


This change is Reviewable

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants