mirror of
https://github.com/coder/coder.git
synced 2026-09-24 15:04:27 +08:00
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 <a href="https://github.com/gka/chroma.js/releases">chroma-js's releases</a>.</em></p> <blockquote> <h2>v2.6.0</h2> <h2>What's Changed</h2> <ul> <li>🎉 NEW: color.tint + color.shade (thanks to <a href="https://github.com/tremby"><code>@tremby</code></a> in <a href="https://redirect.github.com/gka/chroma.js/pull/246">gka/chroma.js#246</a>)</li> <li>fix: remove false w3c color cornflower (thanks to <a href="https://github.com/friedPotat0"><code>@friedPotat0</code></a> in <a href="https://redirect.github.com/gka/chroma.js/pull/298">gka/chroma.js#298</a>)</li> <li>docs: replace website with archive by <a href="https://github.com/Artoria2e5"><code>@Artoria2e5</code></a> in <a href="https://redirect.github.com/gka/chroma.js/pull/264">gka/chroma.js#264</a></li> </ul> <p><strong>Full Changelog</strong>: <a href="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 setup updates by <a href="https://github.com/gka"><code>@gka</code></a> & <a href="https://github.com/zyyv"><code>@zyyv</code></a> in <a href="https://redirect.github.com/gka/chroma.js/pull/336">gka/chroma.js#336</a></li> <li>Update 404 links in readme.md by <a href="https://github.com/rdela"><code>@rdela</code></a> in <a href="https://redirect.github.com/gka/chroma.js/pull/326">gka/chroma.js#326</a></li> <li>Update readme.md by <a href="https://github.com/JiatLn"><code>@JiatLn</code></a> in <a href="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 their first contribution in <a href="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> made their first contribution in <a href="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> made their first contribution in <a href="https://redirect.github.com/gka/chroma.js/pull/307">gka/chroma.js#307</a></li> </ul> <p><strong>Full Changelog</strong>: <a href="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 <a href="https://github.com/gka/chroma.js/blob/main/CHANGELOG.md">chroma-js's changelog</a>.</em></p> <blockquote> <h3>2.6.0</h3> <ul> <li>🎉 NEW: add <a href="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>, <a href="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 <a href="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 alpha to 1</li> </ul> <h3>2.0.2</h3> <ul> <li>use a more mangle-safe check for Color class constructor to fix issues with uglifyjs and terser</li> </ul> <h3>2.0.1</h3> <ul> <li>added <code>chroma.valid()</code> for checking if a color can be parsed by chroma.js</li> </ul> <h3>2.0.0</h3> <ul> <li>chroma.js has been ported from CoffeeScript to ES6! This means you can 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> in mix/interpolate and average.</li> <li>if colors can't be parsed correctly, chroma will now throw Errors instead 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 returns the fallback color. Before it had interpreted <code>null</code> as <code>0</code></li> <li>added <code>scale.nodata()</code> to allow customizing the previously 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 colors alpha 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 must explicitly set the mode to <code>rgb</code> using <code>.hex("rgb")</code>.</li> <li>bugfix in chroma.average in LRGB mode (<a href="https://redirect.github.com/gka/chroma.js/issues/187">#187</a>)</li> <li>chroma.scale now also works with just one color (<a href="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 chroma objects</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 <a href="https://github.com/gka/chroma.js/commits/v2.6.0">compare view</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't alter 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 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 and block automerging - `@dependabot reopen` will reopen this PR if it is closed - `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually - `@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) </details> Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
This commit is contained in:
+1
-1
@@ -76,7 +76,7 @@
|
||||
"@xterm/xterm": "5.5.0",
|
||||
"ansi-to-html": "0.7.2",
|
||||
"axios": "1.12.0",
|
||||
"chroma-js": "2.4.2",
|
||||
"chroma-js": "2.6.0",
|
||||
"class-variance-authority": "0.7.1",
|
||||
"clsx": "2.1.1",
|
||||
"cmdk": "1.0.4",
|
||||
|
||||
Generated
+5
-5
@@ -143,8 +143,8 @@ importers:
|
||||
specifier: 1.12.0
|
||||
version: 1.12.0
|
||||
chroma-js:
|
||||
specifier: 2.4.2
|
||||
version: 2.4.2
|
||||
specifier: 2.6.0
|
||||
version: 2.6.0
|
||||
class-variance-authority:
|
||||
specifier: 0.7.1
|
||||
version: 0.7.1
|
||||
@@ -3459,8 +3459,8 @@ packages:
|
||||
resolution: {integrity: sha512-Qgzu8kfBvo+cA4962jnP1KkS6Dop5NS6g7R5LFYJr4b8Ub94PPQXUksCw9PvXoeXPRRddRNC5C1JQUR2SMGtnA==, tarball: https://registry.npmjs.org/chokidar/-/chokidar-4.0.3.tgz}
|
||||
engines: {node: '>= 14.16.0'}
|
||||
|
||||
chroma-js@2.4.2:
|
||||
resolution: {integrity: sha512-U9eDw6+wt7V8z5NncY2jJfZa+hUH8XEj8FQHgFJTrUFnJfXYf4Ml4adI2vXZOjqRDpFWtYVWypDfZwnJ+HIR4A==, tarball: https://registry.npmjs.org/chroma-js/-/chroma-js-2.4.2.tgz}
|
||||
chroma-js@2.6.0:
|
||||
resolution: {integrity: sha512-BLHvCB9s8Z1EV4ethr6xnkl/P2YRFOGqfgvuMG/MyCbZPrTA+NeiByY6XvgF0zP4/2deU2CXnWyMa3zu1LqQ3A==, tarball: https://registry.npmjs.org/chroma-js/-/chroma-js-2.6.0.tgz}
|
||||
|
||||
chromatic@11.29.0:
|
||||
resolution: {integrity: sha512-yisBlntp9hHVj19lIQdpTlcYIXuU9H/DbFuu6tyWHmj6hWT2EtukCCcxYXL78XdQt1vm2GfIrtgtKpj/Rzmo4A==, tarball: https://registry.npmjs.org/chromatic/-/chromatic-11.29.0.tgz}
|
||||
@@ -9727,7 +9727,7 @@ snapshots:
|
||||
dependencies:
|
||||
readdirp: 4.1.2
|
||||
|
||||
chroma-js@2.4.2: {}
|
||||
chroma-js@2.6.0: {}
|
||||
|
||||
chromatic@11.29.0: {}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user