- Notifications
You must be signed in to change notification settings - Fork1k
Commitcf8d766
authored
chore: bump chroma-js from 2.4.2 to 2.6.0 in /site (#20123)
Bumps [chroma-js](https://github.com/gka/chroma.js) from 2.4.2 to 2.6.0.<details><summary>Release notes</summary><p><em>Sourced from <ahref="https://github.com/gka/chroma.js/releases">chroma-js'sreleases</a>.</em></p><blockquote><h2>v2.6.0</h2><h2>What's Changed</h2><ul><li>🎉 NEW: color.tint + color.shade (thanks to <ahref="https://github.com/tremby"><code>@tremby</code></a> in <ahref="https://redirect.github.com/gka/chroma.js/pull/246">gka/chroma.js#246</a>)</li><li>fix: remove false w3c color cornflower (thanks to <ahref="https://github.com/friedPotat0"><code>@friedPotat0</code></a> in<ahref="https://redirect.github.com/gka/chroma.js/pull/298">gka/chroma.js#298</a>)</li><li>docs: replace website with archive by <ahref="https://github.com/Artoria2e5"><code>@Artoria2e5</code></a> in <ahref="https://redirect.github.com/gka/chroma.js/pull/264">gka/chroma.js#264</a></li></ul><p><strong>Full Changelog</strong>: <ahref="https://github.com/gka/chroma.js/compare/v2.5.0...v2.6.0">https://github.com/gka/chroma.js/compare/v2.5.0...v2.6.0</a></p><h2>v2.5.0</h2><h2>What's Changed</h2><ul><li>🎉 Big code refactoring to ES modules plus dependency and build setupupdates by <a href="https://github.com/gka"><code>@gka</code></a> &<a href="https://github.com/zyyv"><code>@zyyv</code></a> in <ahref="https://redirect.github.com/gka/chroma.js/pull/336">gka/chroma.js#336</a></li><li>Update 404 links in readme.md by <ahref="https://github.com/rdela"><code>@rdela</code></a> in <ahref="https://redirect.github.com/gka/chroma.js/pull/326">gka/chroma.js#326</a></li><li>Update readme.md by <ahref="https://github.com/JiatLn"><code>@JiatLn</code></a> in <ahref="https://redirect.github.com/gka/chroma.js/pull/307a.js/pull/336">gka/chroma.js#307</a></li></ul><h2>New Contributors</h2><ul><li><a href="https://github.com/zyyv"><code>@zyyv</code></a> made theirfirst contribution in <ahref="https://redirect.github.com/gka/chroma.js/pull/336">gka/chroma.js#336</a></li><li><a href="https://github.com/rdela"><code>@rdela</code></a> madetheir first contribution in <ahref="https://redirect.github.com/gka/chroma.js/pull/326">gka/chroma.js#326</a></li><li><a href="https://github.com/JiatLn"><code>@JiatLn</code></a> madetheir first contribution in <ahref="https://redirect.github.com/gka/chroma.js/pull/307">gka/chroma.js#307</a></li></ul><p><strong>Full Changelog</strong>: <ahref="https://github.com/gka/chroma.js/compare/v2.3.0...v2.5.0">https://github.com/gka/chroma.js/compare/v2.3.0...v2.5.0</a></p></blockquote></details><details><summary>Changelog</summary><p><em>Sourced from <ahref="https://github.com/gka/chroma.js/blob/main/CHANGELOG.md">chroma-js'schangelog</a>.</em></p><blockquote><h3>2.6.0</h3><ul><li>🎉 NEW: add <ahref="https://github.com/gka/chroma.js/blob/main%5Bhttps://github.com/gka/chroma.js/blob/main%60https://github.com/gka/chroma.js/blob/mainchttps://github.com/gka/chroma.js/blob/mainohttps://github.com/gka/chroma.js/blob/mainlhttps://github.com/gka/chroma.js/blob/mainohttps://github.com/gka/chroma.js/blob/mainrhttps://github.com/gka/chroma.js/blob/main.https://github.com/gka/chroma.js/blob/mainshttps://github.com/gka/chroma.js/blob/mainhhttps://github.com/gka/chroma.js/blob/mainahttps://github.com/gka/chroma.js/blob/maindhttps://github.com/gka/chroma.js/blob/mainehttps://github.com/gka/chroma.js/blob/main(https://github.com/gka/chroma.js/blob/main)https://github.com/gka/chroma.js/blob/main%60https://github.com/gka/chroma.js/blob/main%5Dhttps://github.com/gka/chroma.js/blob/main(https://github.com/gka/chroma.js/blob/main#https://github.com/gka/chroma.js/blob/mainchttps://github.com/gka/chroma.js/blob/mainohttps://github.com/gka/chroma.js/blob/mainlhttps://github.com/gka/chroma.js/blob/mainohttps://github.com/gka/chroma.js/blob/mainrhttps://github.com/gka/chroma.js/blob/main-https://github.com/gka/chroma.js/blob/mainshttps://github.com/gka/chroma.js/blob/mainhhttps://github.com/gka/chroma.js/blob/mainahttps://github.com/gka/chroma.js/blob/maindhttps://github.com/gka/chroma.js/blob/mainehttps://github.com/gka/chroma.js/blob/main)https://github.com/gka/chroma.js/blob/main">https://github.com/gka/chroma.js/blob/main[https://github.com/gka/chroma.js/blob/main`https://github.com/gka/chroma.js/blob/mainchttps://github.com/gka/chroma.js/blob/mainohttps://github.com/gka/chroma.js/blob/mainlhttps://github.com/gka/chroma.js/blob/mainohttps://github.com/gka/chroma.js/blob/mainrhttps://github.com/gka/chroma.js/blob/main.https://github.com/gka/chroma.js/blob/mainshttps://github.com/gka/chroma.js/blob/mainhhttps://github.com/gka/chroma.js/blob/mainahttps://github.com/gka/chroma.js/blob/maindhttps://github.com/gka/chroma.js/blob/mainehttps://github.com/gka/chroma.js/blob/main(https://github.com/gka/chroma.js/blob/main)https://github.com/gka/chroma.js/blob/main`https://github.com/gka/chroma.js/blob/main]https://github.com/gka/chroma.js/blob/main(https://github.com/gka/chroma.js/blob/main#https://github.com/gka/chroma.js/blob/mainchttps://github.com/gka/chroma.js/blob/mainohttps://github.com/gka/chroma.js/blob/mainlhttps://github.com/gka/chroma.js/blob/mainohttps://github.com/gka/chroma.js/blob/mainrhttps://github.com/gka/chroma.js/blob/main-https://github.com/gka/chroma.js/blob/mainshttps://github.com/gka/chroma.js/blob/mainhhttps://github.com/gka/chroma.js/blob/mainahttps://github.com/gka/chroma.js/blob/maindhttps://github.com/gka/chroma.js/blob/mainehttps://github.com/gka/chroma.js/blob/main)https://github.com/gka/chroma.js/blob/main</a>,<ahref="https://github.com/gka/chroma.js/blob/main%5Bhttps://github.com/gka/chroma.js/blob/main%60https://github.com/gka/chroma.js/blob/mainchttps://github.com/gka/chroma.js/blob/mainohttps://github.com/gka/chroma.js/blob/mainlhttps://github.com/gka/chroma.js/blob/mainohttps://github.com/gka/chroma.js/blob/mainrhttps://github.com/gka/chroma.js/blob/main.https://github.com/gka/chroma.js/blob/mainthttps://github.com/gka/chroma.js/blob/mainihttps://github.com/gka/chroma.js/blob/mainnhttps://github.com/gka/chroma.js/blob/mainthttps://github.com/gka/chroma.js/blob/main(https://github.com/gka/chroma.js/blob/main)https://github.com/gka/chroma.js/blob/main%60https://github.com/gka/chroma.js/blob/main%5Dhttps://github.com/gka/chroma.js/blob/main(https://github.com/gka/chroma.js/blob/main#https://github.com/gka/chroma.js/blob/mainchttps://github.com/gka/chroma.js/blob/mainohttps://github.com/gka/chroma.js/blob/mainlhttps://github.com/gka/chroma.js/blob/mainohttps://github.com/gka/chroma.js/blob/mainrhttps://github.com/gka/chroma.js/blob/main-https://github.com/gka/chroma.js/blob/mainshttps://github.com/gka/chroma.js/blob/mainhhttps://github.com/gka/chroma.js/blob/mainahttps://github.com/gka/chroma.js/blob/maindhttps://github.com/gka/chroma.js/blob/mainehttps://github.com/gka/chroma.js/blob/main)https://github.com/gka/chroma.js/blob/main">https://github.com/gka/chroma.js/blob/main[https://github.com/gka/chroma.js/blob/main`https://github.com/gka/chroma.js/blob/mainchttps://github.com/gka/chroma.js/blob/mainohttps://github.com/gka/chroma.js/blob/mainlhttps://github.com/gka/chroma.js/blob/mainohttps://github.com/gka/chroma.js/blob/mainrhttps://github.com/gka/chroma.js/blob/main.https://github.com/gka/chroma.js/blob/mainthttps://github.com/gka/chroma.js/blob/mainihttps://github.com/gka/chroma.js/blob/mainnhttps://github.com/gka/chroma.js/blob/mainthttps://github.com/gka/chroma.js/blob/main(https://github.com/gka/chroma.js/blob/main)https://github.com/gka/chroma.js/blob/main`https://github.com/gka/chroma.js/blob/main]https://github.com/gka/chroma.js/blob/main(https://github.com/gka/chroma.js/blob/main#https://github.com/gka/chroma.js/blob/mainchttps://github.com/gka/chroma.js/blob/mainohttps://github.com/gka/chroma.js/blob/mainlhttps://github.com/gka/chroma.js/blob/mainohttps://github.com/gka/chroma.js/blob/mainrhttps://github.com/gka/chroma.js/blob/main-https://github.com/gka/chroma.js/blob/mainshttps://github.com/gka/chroma.js/blob/mainhhttps://github.com/gka/chroma.js/blob/mainahttps://github.com/gka/chroma.js/blob/maindhttps://github.com/gka/chroma.js/blob/mainehttps://github.com/gka/chroma.js/blob/main)https://github.com/gka/chroma.js/blob/main</a>.</li><li>fix: remove false w3c color cornflower</li></ul><h3>2.5.0</h3><ul><li>refactored code base to ES6 modules</li></ul><h3>2.4.0</h3><ul><li>add support for Oklab and Oklch color spaces</li></ul><h3>2.3.0</h3><ul><li>use binom of degree n in chroma.bezier</li></ul><h3>2.2.0</h3><ul><li>use Delta e2000 for chroma.deltaE <ahref="https://redirect.github.com/gka/chroma.js/issues/269">#269</a></li></ul><h3>2.0.3</h3><ul><li>hsl2rgb will, like other x2rgb conversions now set the default alphato 1</li></ul><h3>2.0.2</h3><ul><li>use a more mangle-safe check for Color class constructor to fixissues with uglifyjs and terser</li></ul><h3>2.0.1</h3><ul><li>added <code>chroma.valid()</code> for checking if a color can beparsed by chroma.js</li></ul><h3>2.0.0</h3><ul><li>chroma.js has been ported from CoffeeScript to ES6! This means youcan now import parts of chroma in your projects!</li><li>changed HCG input space from [0..360,0..100,0..100] to[0..360,0..1,0..1] (to be in line with HSL)</li><li>added new object unpacking (e.g. <code>hsl2rgb({h,s,l})</code>)</li><li>changed default interpolation to <code>lrgb</code> inmix/interpolate and average.</li><li>if colors can't be parsed correctly, chroma will now throw Errorsinstead of silently failing with console.errors</li></ul><h3>1.4.1</h3><ul><li>chroma.scale() now interprets <code>null</code> as NaN and returnsthe fallback color. Before it had interpreted <code>null</code> as<code>0</code></li><li>added <code>scale.nodata()</code> to allow customizing thepreviously hard-coded fallback (aka "no data") color#cccccc</li></ul><h3>1.4.0</h3><ul><li>color.hex() now automatically sets the mode to 'rgba' if the colorsalpha channel is < 1. so<code>chroma('rgba(255,0,0,.5)').hex()</code> will now return<code>"#ff000080"</code> instead of<code>"#ff0000"</code>. if this is not what you want, you mustexplicitly set the mode to <code>rgb</code> using<code>.hex("rgb")</code>.</li><li>bugfix in chroma.average in LRGB mode (<ahref="https://redirect.github.com/gka/chroma.js/issues/187">#187</a>)</li><li>chroma.scale now also works with just one color (<ahref="https://redirect.github.com/gka/chroma.js/issues/180">#180</a>)</li></ul><h3>1.3.5</h3><ul><li>added LRGB interpolation</li></ul><h3>1.3.4</h3><ul><li>passing <em>null</em> as mode in scale.colors will return chromaobjects</li></ul><h3>1.3.3</h3><!-- raw HTML omitted --></blockquote><p>... (truncated)</p></details><details><summary>Commits</summary><ul><li>See full diff in <ahref="https://github.com/gka/chroma.js/commits/v2.6.0">compareview</a></li></ul></details><br />[](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores)Dependabot will resolve any conflicts with this PR as long as you don'talter it yourself. You can also trigger a rebase manually by commenting`@dependabot rebase`.[//]: # (dependabot-automerge-start)[//]: # (dependabot-automerge-end)---<details><summary>Dependabot commands and options</summary><br />You can trigger Dependabot actions by commenting on this PR:- `@dependabot rebase` will rebase this PR- `@dependabot recreate` will recreate this PR, overwriting any editsthat 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 afteryour CI passes on it- `@dependabot cancel merge` will cancel a previously requested mergeand block automerging- `@dependabot reopen` will reopen this PR if it is closed- `@dependabot close` will close this PR and stop Dependabot recreatingit. You can achieve the same result by closing it manually- `@dependabot show <dependency name> ignore conditions` will show allof the ignore conditions of the specified dependency- `@dependabot ignore this major version` will close this PR and stopDependabot creating any more for this major version (unless you reopenthe PR or upgrade to it yourself)- `@dependabot ignore this minor version` will close this PR and stopDependabot creating any more for this minor version (unless you reopenthe PR or upgrade to it yourself)- `@dependabot ignore this dependency` will close this PR and stopDependabot creating any more for this dependency (unless you reopen thePR or upgrade to it yourself)</details>Signed-off-by: dependabot[bot] <support@github.com>Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>1 parent4cabb95 commitcf8d766
2 files changed
+6
-6
lines changedOriginal file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
76 | 76 |
| |
77 | 77 |
| |
78 | 78 |
| |
79 |
| - | |
| 79 | + | |
80 | 80 |
| |
81 | 81 |
| |
82 | 82 |
| |
|
Some generated files are not rendered by default. Learn more aboutcustomizing how changed files appear on GitHub.
0 commit comments
Comments
(0)