Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: Update chroma-js requirement from ^1.1.1 to ^2.0.3 #14

Merged
merged 1 commit into from
Feb 17, 2019

Conversation

dependabot-preview[bot]
Copy link
Contributor

Updates the requirements on chroma-js to permit the latest version.

Changelog

Sourced from chroma-js's changelog.

Changelog

2.0.2

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

2.0.1

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

2.0.0

  • 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

1.4.1

  • chroma.scale() now interprets null as NaN and returns the fallback color. Before it had interpreted null as 0
  • added scale.nodata() to allow customizing the previously hard-coded fallback (aka "no data") color #cccccc

1.4.0

  • color.hex() now automatically sets the mode to 'rgba' if the colors alpha channel is < 1. so chroma('rgba(255,0,0,.5)').hex() will now return "#ff000080" instead of "#ff0000". if this is not what you want, you must explicitly set the mode to rgb using .hex("rgb").
  • bugfix in chroma.average in LRGB mode (#187)
  • chroma.scale now also works with just one color (#180)

1.3.5

  • added LRGB interpolation

1.3.4

  • passing null as mode in scale.colors will return chroma objects

1.3.3

  • added color.clipped
  • added chroma.distance
  • added chroma.deltaE
  • color.set now returns a new chroma instance
  • chroma.scale now allows disabling of internal cache
  • chroma.average now works with any color mode
  • added unit tests for color conversions
  • use hex colors as default string representation
  • RGB channels are now stored as floats internally for higher precision
  • bugfix with cubehelix and constant lightness
  • bugfix in chroma.limits quantiles
  • bugfix when running scale.colors(1)
  • bugfix in hsi2rgb color conversion

1.2.2

... (truncated)
Commits

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 merge will merge this PR after your CI passes on it
  • @dependabot squash and merge will squash and merge this PR after your CI passes on it
  • @dependabot cancel merge will cancel a previously requested merge
  • @dependabot reopen will reopen this PR if it is closed
  • @dependabot ignore this [patch|minor|major] version will close this PR and stop Dependabot creating any more for this minor/major 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)
  • @dependabot use these labels will set the current labels as the default for future PRs for this repo and language
  • @dependabot use these reviewers will set the current reviewers as the default for future PRs for this repo and language
  • @dependabot use these assignees will set the current assignees as the default for future PRs for this repo and language
  • @dependabot use this milestone will set the current milestone as the default for future PRs for this repo and language
  • @dependabot badge me will comment on this PR with code to add a "Dependabot enabled" badge to your readme

Additionally, you can set the following in your Dependabot dashboard:

  • Update frequency (including time of day and day of week)
  • Automerge options (never/patch/minor, and dev/runtime dependencies)
  • Pull request limits (per update run and/or open at any time)
  • Out-of-range updates (receive only lockfile updates, if desired)
  • Security updates (receive only security updates, if desired)

Finally, you can contact us by mentioning @dependabot.

Updates the requirements on [chroma-js](https://github.com/gka/chroma.js) to permit the latest version.
- [Release notes](https://github.com/gka/chroma.js/releases)
- [Changelog](https://github.com/gka/chroma.js/blob/master/CHANGELOG.md)
- [Commits](gka/chroma.js@v1.1.1...v2.0.3)

Signed-off-by: dependabot[bot] <support@dependabot.com>
@dependabot-preview dependabot-preview bot added the dependencies Pull requests that update a dependency file label Feb 16, 2019
@zeke zeke changed the title Update chroma-js requirement from ^1.1.1 to ^2.0.3 fix: Update chroma-js requirement from ^1.1.1 to ^2.0.3 Feb 17, 2019
@zeke zeke merged commit e3ae8a9 into master Feb 17, 2019
@zeke zeke deleted the dependabot/npm_and_yarn/chroma-js-tw-2.0.3 branch February 17, 2019 00:11
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
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants