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

chore(deps): update all non-major dependencies #898

Merged
merged 1 commit into from Dec 11, 2023

Conversation

renovate[bot]
Copy link
Contributor

@renovate renovate bot commented Dec 11, 2023

Mend Renovate

This PR contains the following updates:

Package Update Change
esbuild patch 0.19.8 -> 0.19.9
watchexec minor 1.23.0 -> 1.24.0

Release Notes

evanw/esbuild (esbuild)

v0.19.9

Compare Source

  • Add support for transforming new CSS gradient syntax for older browsers

    The specification called CSS Images Module Level 4 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 Mozilla's blog post about new CSS gradient features.

    With this release, esbuild will now automatically transform this syntax for older browsers in the target list. For example, here's a gradient that should appear as a rainbow in a browser that supports this new syntax:

    /* Original code */
    .rainbow-gradient {
      width: 100px;
      height: 100px;
      background: linear-gradient(in hsl longer hue, #​7ff, #​77f);
    }
    
    /* 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);
    }

    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:

    /* Original code */
    .stripes {
      width: 100px;
      height: 100px;
      background: linear-gradient(#e65 33%, #ff2 33% 67%, #​99e 67%);
    }
    .glow {
      width: 100px;
      height: 100px;
      background: radial-gradient(white 10%, 20%, black);
    }
    
    /* New output (with --target=chrome33) */
    .stripes {
      width: 100px;
      height: 100px;
      background:
        linear-gradient(
          #e65 33%,
          #ff2 33%,
          #ff2 67%,
          #​99e 67%);
    }
    .glow {
      width: 100px;
      height: 100px;
      background:
        radial-gradient(
          #ffffff 10%,
          #aaaaaa 12.81%,
          #​959595 15.62%,
          #​7b7b7b 21.25%,
          #​5a5a5a 32.5%,
          #​444444 43.75%,
          #​323232 55%,
          #​161616 77.5%,
          #​000000);
    }

    You can see visual examples of these new syntax features by looking at esbuild's gradient transformation tests.

    If necessary, esbuild will construct a new gradient that approximates the original gradient by recursively splitting the interval in between color stops until the approximation error is within a small threshold. That is why the above output CSS contains many more color stops than the input CSS.

    Note that esbuild deliberately replaces the original gradient with the approximation instead of inserting the approximation before the original gradient as a fallback. The latest version of Firefox has multiple gradient rendering bugs (including incorrect interpolation of partially-transparent colors and interpolating non-sRGB colors using the incorrect color space). If esbuild didn't replace the original gradient, then Firefox would use the original gradient instead of the fallback the appearance would be incorrect in Firefox. In other words, the latest version of Firefox supports modern gradient syntax but interprets it incorrectly.

  • Add support for color(), lab(), lch(), oklab(), oklch(), and hwb() in CSS

    CSS has recently added lots of new ways of specifying colors. You can read more about this in Chrome's blog post about CSS color spaces.

    This release adds support for minifying colors that use the color(), lab(), lch(), oklab(), oklch(), or hwb() syntax and/or transforming these colors for browsers that don't support it yet:

    /* Original code */
    div {
      color: hwb(90deg 20% 40%);
      background: color(display-p3 1 0 0);
    }
    
    /* New output (with --target=chrome99) */
    div {
      color: #​669933;
      background: #ff0f0e;
      background: color(display-p3 1 0 0);
    }

    As you can see, colors outside of the sRGB color space such as color(display-p3 1 0 0) are mapped back into the sRGB gamut and inserted as a fallback for browsers that don't support the new color syntax.

  • Allow empty type parameter lists in certain cases (#​3512)

    TypeScript allows interface declarations and type aliases to have empty type parameter lists. Previously esbuild didn't handle this edge case but with this release, esbuild will now parse this syntax:

    interface Foo<> {}
    type Bar<> = {}

    This fix was contributed by @​magic-akari.

watchexec/watchexec (watchexec)

v1.24.0: CLI v1.24.0

Software development often involves running the same commands over and over. Boring! Watchexec is a simple, standalone tool that watches a path and runs a command whenever it detects modifications. Install it today with cargo-binstall watchexec-cli, from the binaries below, find it in your favourite package manager, or build it from source with cargo install watchexec-cli.

In this release:
  • New: start/stop messages are now in colour. Use --colour=never (--color also accepted) to disable, or the conventional always and auto. (#​144, #​237, #​698)
  • New: --timings to print how long the command took. (#​278, #​698)
  • New: --quiet to disable printing any message (except warning and error logs). (#​698)
  • New: --bell to ring the terminal bell on command end. (#​238, #​698)
  • New: --ignore-nothing to switch on all the --no-*-ignore flags. (#​275, #​625, #​695)
  • New: --only-emit-events disables launching a command, and only prints events to stdout. Requires --emit-events-to to specify the format to print. This lets you obtain a stream of change events to handle directly rather than mediating via a command. (#​676, #​691)
  • New: --map-signal to map signals received by Watchexec to other signals sent to the command. (#​151, #​387, #​710)
  • Change: --emit-events-to stdin and json-stdin modes are renamed to stdio and json-stdio respectively; the old names are aliased to preserve compatibility.
Other changes:
  • Uses the Watchexec library 3.0. (#​601)
  • -w /dev/null disables watching any files. This is the literal string /dev/null, it won't detect the null device via links or fifos. (#​601)
  • Running as PID1 (e.g. in Docker) is fully supported. (#​140, #​601, #​624)
  • Performance improvements and bugfixes around reaping processes (via command-group 5). (#​601)
  • Performance improvements and bugfixes around watching files (via notify 6). (#​601)
  • Clear the screen before printing events, so --print-events and --clear can meaningfully be used together. (#​601)
  • Hint that more or less help is available with long --help and short -h flags. (#​601)
  • The PDF version of the manual page is gone, due to the tooling I used disappearing, and the general ugliness of its typesetting. (#​710)

Configuration

📅 Schedule: Branch creation - "before 4am on Monday" (UTC), Automerge - 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.

👻 Immortal: This PR will be recreated if closed unmerged. Get config help if that's undesired.


  • If you want to rebase/retry this PR, check this box

This PR has been generated by Mend Renovate. View repository job log here.

@renovate renovate bot changed the title chore(deps): update dependency watchexec to v1.24.0 chore(deps): update all non-major dependencies Dec 11, 2023
@alecthomas alecthomas merged commit ad03817 into master Dec 11, 2023
2 checks passed
@alecthomas alecthomas deleted the renovate/all-minor-patch branch December 11, 2023 03:38
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant