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

Update dependency esbuild to v0.19.2 - autoclosed #22

Closed
wants to merge 1 commit into from

Conversation

renovate[bot]
Copy link
Contributor

@renovate renovate bot commented Jul 13, 2023

Mend Renovate

This PR contains the following updates:

Package Change Age Adoption Passing Confidence
esbuild 0.19.1 -> 0.19.2 age adoption passing confidence

Release Notes

evanw/esbuild (esbuild)

v0.19.2

Compare Source

  • Update how CSS nesting is parsed again

    CSS nesting syntax has been changed again, and esbuild has been updated to match. Type selectors may now be used with CSS nesting:

    .foo {
      div {
        color: red;
      }
    }

    Previously this was disallowed in the CSS specification because it's ambiguous whether an identifier is a declaration or a nested rule starting with a type selector without requiring unbounded lookahead in the parser. It has now been allowed because the CSS working group has decided that requiring unbounded lookahead is acceptable after all.

    Note that this change means esbuild no longer considers any existing browser to support CSS nesting since none of the existing browsers support this new syntax. CSS nesting will now always be transformed when targeting a browser. This situation will change in the future as browsers add support for this new syntax.

  • Fix a scope-related bug with --drop-labels= (#​3311)

    The recently-released --drop-labels= feature previously had a bug where esbuild's internal scope stack wasn't being restored properly when a statement with a label was dropped. This could manifest as a tree-shaking issue, although it's possible that this could have also been causing other subtle problems too. The bug has been fixed in this release.

  • Make renamed CSS names unique across entry points (#​3295)

    Previously esbuild's generated names for local names in CSS were only unique within a given entry point (or across all entry points when code splitting was enabled). That meant that building multiple entry points with esbuild could result in local names being renamed to the same identifier even when those entry points were built simultaneously within a single esbuild API call. This problem was especially likely to happen with minification enabled. With this release, esbuild will now avoid renaming local names from two separate entry points to the same name if those entry points were built with a single esbuild API call, even when code splitting is disabled.

  • Fix CSS ordering bug with @layer before @import

    CSS lets you put @layer rules before @import rules to define the order of layers in a stylesheet. Previously esbuild's CSS bundler incorrectly ordered these after the imported files because before the introduction of cascade layers to CSS, imported files could be bundled by removing the @import rules and then joining files together in the right order. But with @layer, CSS files may now need to be split apart into multiple pieces in the bundle. For example:

    /* Original code */
    @​layer start;
    @​import "data:text/css,@​layer inner.start;";
    @​import "data:text/css,@​layer inner.end;";
    @​layer end;
    
    /* Old output (with --bundle) */
    @​layer inner.start;
    @​layer inner.end;
    @​layer start;
    @​layer end;
    
    /* New output (with --bundle) */
    @​layer start;
    @​layer inner.start;
    @​layer inner.end;
    @​layer end;
    
  • Unwrap nested duplicate @media rules (#​3226)

    With this release, esbuild's CSS minifier will now automatically unwrap duplicate nested @media rules:

    /* Original code */
    @​media (min-width: 1024px) {
      .foo { color: red }
      @​media (min-width: 1024px) {
        .bar { color: blue }
      }
    }
    
    /* Old output (with --minify) */
    @​media (min-width: 1024px){.foo{color:red}@​media (min-width: 1024px){.bar{color:#​00f}}}
    
    /* New output (with --minify) */
    @​media (min-width: 1024px){.foo{color:red}.bar{color:#​00f}}

    These rules are unlikely to be authored manually but may result from using frameworks such as Tailwind to generate CSS.


Configuration

📅 Schedule: Branch creation - At any time (no schedule defined), 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.

🔕 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 Mend Renovate. View repository job log here.

@codecov
Copy link

codecov bot commented Jul 13, 2023

Codecov Report

Merging #22 (2717214) into main (88f34f7) will not change coverage.
The diff coverage is n/a.

@@            Coverage Diff            @@
##              main       #22   +/-   ##
=========================================
  Coverage   100.00%   100.00%           
=========================================
  Files            3         3           
  Lines          182       182           
  Branches        43        43           
=========================================
  Hits           182       182           

@renovate renovate bot changed the title Update dependency esbuild to v0.18.12 Update dependency esbuild to v0.18.13 Jul 15, 2023
@renovate renovate bot force-pushed the renovate/esbuild-0.x-lockfile branch from 5e1a656 to 517e6d3 Compare July 15, 2023 04:31
@renovate renovate bot changed the title Update dependency esbuild to v0.18.13 Update dependency esbuild to v0.18.14 Jul 18, 2023
@renovate renovate bot force-pushed the renovate/esbuild-0.x-lockfile branch from 517e6d3 to 84863bb Compare July 18, 2023 06:58
@renovate renovate bot changed the title Update dependency esbuild to v0.18.14 Update dependency esbuild to v0.18.15 Jul 20, 2023
@renovate renovate bot force-pushed the renovate/esbuild-0.x-lockfile branch from 84863bb to 7b2baa6 Compare July 20, 2023 14:54
@renovate renovate bot changed the title Update dependency esbuild to v0.18.15 Update dependency esbuild to v0.18.16 Jul 23, 2023
@renovate renovate bot force-pushed the renovate/esbuild-0.x-lockfile branch from 7b2baa6 to 0400682 Compare July 23, 2023 07:29
@renovate renovate bot changed the title Update dependency esbuild to v0.18.16 Update dependency esbuild to v0.18.17 Jul 26, 2023
@renovate renovate bot force-pushed the renovate/esbuild-0.x-lockfile branch from 0400682 to c2433ec Compare July 26, 2023 02:04
@renovate renovate bot changed the title Update dependency esbuild to v0.18.17 Update dependency esbuild to v0.18.18 Aug 5, 2023
@renovate renovate bot force-pushed the renovate/esbuild-0.x-lockfile branch from c2433ec to bb11fbc Compare August 5, 2023 18:39
@renovate renovate bot changed the title Update dependency esbuild to v0.18.18 Update dependency esbuild to v0.18.18 - autoclosed Aug 5, 2023
@renovate renovate bot closed this Aug 5, 2023
@renovate renovate bot deleted the renovate/esbuild-0.x-lockfile branch August 5, 2023 18:44
@renovate renovate bot changed the title Update dependency esbuild to v0.18.18 - autoclosed Update dependency esbuild to v0.18.18 Aug 7, 2023
@renovate renovate bot reopened this Aug 7, 2023
@renovate renovate bot restored the renovate/esbuild-0.x-lockfile branch August 7, 2023 04:18
@renovate renovate bot changed the title Update dependency esbuild to v0.18.18 Update dependency esbuild to v0.18.19 Aug 7, 2023
@renovate renovate bot force-pushed the renovate/esbuild-0.x-lockfile branch from bb11fbc to 1d7a5ac Compare August 7, 2023 04:18
@renovate renovate bot changed the title Update dependency esbuild to v0.18.19 Update dependency esbuild to v0.18.20 Aug 8, 2023
@renovate renovate bot force-pushed the renovate/esbuild-0.x-lockfile branch from 1d7a5ac to 10020a7 Compare August 8, 2023 06:50
@renovate renovate bot changed the title Update dependency esbuild to v0.18.20 Update dependency esbuild to v0.18.20 - autoclosed Aug 8, 2023
@renovate renovate bot closed this Aug 8, 2023
@renovate renovate bot deleted the renovate/esbuild-0.x-lockfile branch August 8, 2023 16:49
@renovate renovate bot changed the title Update dependency esbuild to v0.18.20 - autoclosed Update dependency esbuild to v0.18.20 Aug 14, 2023
@renovate renovate bot reopened this Aug 14, 2023
@renovate renovate bot restored the renovate/esbuild-0.x-lockfile branch August 14, 2023 04:57
@renovate renovate bot changed the title Update dependency esbuild to v0.18.20 Update dependency esbuild to v0.19.2 Aug 14, 2023
@renovate renovate bot force-pushed the renovate/esbuild-0.x-lockfile branch from 10020a7 to 2717214 Compare August 14, 2023 04:58
@renovate renovate bot changed the title Update dependency esbuild to v0.19.2 Update dependency esbuild to v0.19.2 - autoclosed Sep 4, 2023
@renovate renovate bot closed this Sep 4, 2023
@renovate renovate bot deleted the renovate/esbuild-0.x-lockfile branch September 4, 2023 17:44
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.

0 participants