Update dependency esbuild to v0.12.22 #668

Merged
konrad merged 1 commits from renovate/esbuild-0.x into main 2021-08-21 07:01:17 +00:00
Member

This PR contains the following updates:

Package Type Update Change
esbuild devDependencies patch 0.12.21 -> 0.12.22

Release Notes

evanw/esbuild

v0.12.22

Compare Source

  • Make HTTP range requests more efficient (#​1536)

    The local HTTP server built in to esbuild supports range requests, which are necessary for video playback in Safari. This means you can now use <video> tags in your HTML pages with esbuild's local HTTP server.

    Previously this was implemented inefficiently for files that aren't part of the build, but that are read from the underlying fallback directory. In that case the entire file was being read even though only part of the file was needed. In this release, only the part of the file that is needed is read so using HTTP range requests with esbuild in this case will now use less memory.

  • Fix CSS minification bug with box-shadow and var() (#​1538)

    The box-shadow property can be specified using 2, 3, or 4 numbers. The 3rd and 4th numbers are the blur radius and spread radius, and can be omitted if zero. When minifying, esbuild has an optimization that removes trailing zeros from runs of numbers within the box-shadow property. However, that optimization is not correct in the presence of tokens that are neither a number, a color, nor the token insert. These edge cases include var() or calc() tokens. With this release, esbuild will now do stronger validation and will only remove trailing zeros if the contents of the box-shadow property matches the underlying CSS grammar exactly.

    /* Original code */
    button {
      box-shadow: 0 0 0 var(--spread) red;
    }
    
    /* Old minified output */
    button{box-shadow:0 0 var(--spread) red}
    
    /* New minified output */
    button{box-shadow:0 0 0 var(--spread) red}
    

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 you tick the rebase/retry checkbox.

🔕 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.

This PR contains the following updates: | Package | Type | Update | Change | |---|---|---|---| | [esbuild](https://github.com/evanw/esbuild) | devDependencies | patch | [`0.12.21` -> `0.12.22`](https://renovatebot.com/diffs/npm/esbuild/0.12.21/0.12.22) | --- ### Release Notes <details> <summary>evanw/esbuild</summary> ### [`v0.12.22`](https://github.com/evanw/esbuild/blob/master/CHANGELOG.md#&#8203;01222) [Compare Source](https://github.com/evanw/esbuild/compare/v0.12.21...v0.12.22) - Make HTTP range requests more efficient ([#&#8203;1536](https://github.com/evanw/esbuild/issues/1536)) The local HTTP server built in to esbuild supports [range requests](https://developer.mozilla.org/en-US/docs/Web/HTTP/Range_requests), which are necessary for video playback in Safari. This means you can now use `<video>` tags in your HTML pages with esbuild's local HTTP server. Previously this was implemented inefficiently for files that aren't part of the build, but that are read from the underlying fallback directory. In that case the entire file was being read even though only part of the file was needed. In this release, only the part of the file that is needed is read so using HTTP range requests with esbuild in this case will now use less memory. - Fix CSS minification bug with `box-shadow` and `var()` ([#&#8203;1538](https://github.com/evanw/esbuild/issues/1538)) The `box-shadow` property can be specified using 2, 3, or 4 numbers. The 3rd and 4th numbers are the blur radius and spread radius, and can be omitted if zero. When minifying, esbuild has an optimization that removes trailing zeros from runs of numbers within the `box-shadow` property. However, that optimization is not correct in the presence of tokens that are neither a number, a color, nor the token `insert`. These edge cases include `var()` or `calc()` tokens. With this release, esbuild will now do stronger validation and will only remove trailing zeros if the contents of the `box-shadow` property matches the underlying CSS grammar exactly. ```css /* Original code */ button { box-shadow: 0 0 0 var(--spread) red; } /* Old minified output */ button{box-shadow:0 0 var(--spread) red} /* New minified output */ button{box-shadow:0 0 0 var(--spread) red} ``` </details> --- ### 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 you tick the rebase/retry checkbox. 🔕 **Ignore**: Close this PR and you won't be reminded about this update again. --- - [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check this box. --- This PR has been generated by [Renovate Bot](https://github.com/renovatebot/renovate).
renovate added the
dependencies
label 2021-08-21 03:01:27 +00:00
renovate added 1 commit 2021-08-21 03:01:28 +00:00
continuous-integration/drone/pr Build is passing Details
ba34b46245
Update dependency esbuild to v0.12.22
konrad merged commit ef734103f1 into main 2021-08-21 07:01:17 +00:00
This repo is archived. You cannot comment on pull requests.
No description provided.