Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
chore(deps): Bump esbuild from 0.19.8 to 0.19.9 (#72)
Bumps [esbuild](https://github.com/evanw/esbuild) from 0.19.8 to 0.19.9. <details> <summary>Release notes</summary> <p><em>Sourced from <a href="https://github.com/evanw/esbuild/releases">esbuild's releases</a>.</em></p> <blockquote> <h2>v0.19.9</h2> <ul> <li> <p>Add support for transforming new CSS gradient syntax for older browsers</p> <p>The specification called <a href="https://www.w3.org/TR/css-images-4/">CSS Images Module Level 4</a> introduces new CSS gradient syntax for customizing how the browser interpolates colors in between color stops. You can now control the color space that the interpolation happens in as well as (for "polar" color spaces) control whether hue angle interpolation happens clockwise or counterclockwise. You can read more about this in <a href="https://developer.mozilla.org/en-US/blog/css-color-module-level-4/">Mozilla's blog post about new CSS gradient features</a>.</p> <p>With this release, esbuild will now automatically transform this syntax for older browsers in the <code>target</code> list. For example, here's a gradient that should appear as a rainbow in a browser that supports this new syntax:</p> <pre lang="css"><code>/* Original code */ .rainbow-gradient { width: 100px; height: 100px; background: linear-gradient(in hsl longer hue, #7ff, #77f); } <p>/* New output (with --target=chrome99) */ .rainbow-gradient { width: 100px; height: 100px; background: linear-gradient( #77ffff, #77ffaa 12.5%, #77ff80 18.75%, #84ff77 21.88%, #99ff77 25%, #eeff77 37.5%, #fffb77 40.62%, #ffe577 43.75%, #ffbb77 50%, #ff9077 56.25%, #ff7b77 59.38%, #ff7788 62.5%, #ff77dd 75%, #ff77f2 78.12%, #f777ff 81.25%, #cc77ff 87.5%, #7777ff); } </code></pre></p> <p>You can now use this syntax in your CSS source code and esbuild will automatically convert it to an equivalent gradient for older browsers. In addition, esbuild will now also transform "double position" and "transition hint" syntax for older browsers as appropriate:</p> <pre lang="css"><code>/* Original code */ .stripes { width: 100px; height: 100px; background: linear-gradient(#e65 33%, #ff2 33% 67%, #99e 67%); } </code></pre> </li> </ul> <!-- raw HTML omitted --> </blockquote> <p>... (truncated)</p> </details> <details> <summary>Changelog</summary> <p><em>Sourced from <a href="https://github.com/evanw/esbuild/blob/main/CHANGELOG.md">esbuild's changelog</a>.</em></p> <blockquote> <h2>0.19.9</h2> <ul> <li> <p>Add support for transforming new CSS gradient syntax for older browsers</p> <p>The specification called <a href="https://www.w3.org/TR/css-images-4/">CSS Images Module Level 4</a> introduces new CSS gradient syntax for customizing how the browser interpolates colors in between color stops. You can now control the color space that the interpolation happens in as well as (for "polar" color spaces) control whether hue angle interpolation happens clockwise or counterclockwise. You can read more about this in <a href="https://developer.mozilla.org/en-US/blog/css-color-module-level-4/">Mozilla's blog post about new CSS gradient features</a>.</p> <p>With this release, esbuild will now automatically transform this syntax for older browsers in the <code>target</code> list. For example, here's a gradient that should appear as a rainbow in a browser that supports this new syntax:</p> <pre lang="css"><code>/* Original code */ .rainbow-gradient { width: 100px; height: 100px; background: linear-gradient(in hsl longer hue, #7ff, #77f); } <p>/* New output (with --target=chrome99) */ .rainbow-gradient { width: 100px; height: 100px; background: linear-gradient( #77ffff, #77ffaa 12.5%, #77ff80 18.75%, #84ff77 21.88%, #99ff77 25%, #eeff77 37.5%, #fffb77 40.62%, #ffe577 43.75%, #ffbb77 50%, #ff9077 56.25%, #ff7b77 59.38%, #ff7788 62.5%, #ff77dd 75%, #ff77f2 78.12%, #f777ff 81.25%, #cc77ff 87.5%, #7777ff); } </code></pre></p> <p>You can now use this syntax in your CSS source code and esbuild will automatically convert it to an equivalent gradient for older browsers. In addition, esbuild will now also transform "double position" and "transition hint" syntax for older browsers as appropriate:</p> <pre lang="css"><code>/* Original code */ .stripes { width: 100px; height: 100px; background: linear-gradient(#e65 33%, #ff2 33% 67%, #99e 67%); </code></pre> </li> </ul> <!-- raw HTML omitted --> </blockquote> <p>... (truncated)</p> </details> <details> <summary>Commits</summary> <ul> <li><a href="https://github.com/evanw/esbuild/commit/9edc9d44c3d0480c27f68a71365f18e688b6184a"><code>9edc9d4</code></a> publish 0.19.9 to npm</li> <li><a href="https://github.com/evanw/esbuild/commit/791619e21a338f98b26c2467da90285c228d1225"><code>791619e</code></a> release notes: link to gradient tests</li> <li><a href="https://github.com/evanw/esbuild/commit/83b417172547c1e37625ba5e0de2dc81563b6766"><code>83b4171</code></a> css: implement lowering of gradient syntax</li> <li><a href="https://github.com/evanw/esbuild/commit/4a3b265608d36bc4d845a2ceb6b3ed071eac73d6"><code>4a3b265</code></a> css: fix <code>calc()</code> inlining whitespace bug</li> <li><a href="https://github.com/evanw/esbuild/commit/90989ec2a16dea5e12445cdb09999f69ee1a50f2"><code>90989ec</code></a> remove a stray log statement</li> <li><a href="https://github.com/evanw/esbuild/commit/f260285b2f85e187b5076842380b90a1a72c6220"><code>f260285</code></a> css gradients: handle color transition hints</li> <li><a href="https://github.com/evanw/esbuild/commit/e4c55af7a2c5dc8496d3ef0f4401aab665c90d63"><code>e4c55af</code></a> css gradients: lower colors, fix double positions</li> <li><a href="https://github.com/evanw/esbuild/commit/a389c52567c8401e7862ffea06ffcd71cddf8c98"><code>a389c52</code></a> css: add <code>lab()</code> + <code>lch()</code> + <code>oklab()</code> + <code>oklch()</code></li> <li><a href="https://github.com/evanw/esbuild/commit/b837f2142649bd16027660269816d016b1f8d05e"><code>b837f21</code></a> css: avoid overwriting manual fallback colors</li> <li><a href="https://github.com/evanw/esbuild/commit/824ede6237f3d3f10eb98a9ed42ffaa6551aa0c5"><code>824ede6</code></a> css: simplify <code>color()</code> duplication fallback logic</li> <li>Additional commits viewable in <a href="https://github.com/evanw/esbuild/compare/v0.19.8...v0.19.9">compare view</a></li> </ul> </details> <br /> [![Dependabot compatibility score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=esbuild&package-manager=npm_and_yarn&previous-version=0.19.8&new-version=0.19.9)](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 <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 </details> Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
- Loading branch information