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 dependency esbuild to v0.17.19 - autoclosed #310

Closed
wants to merge 1 commit into from

Conversation

renovate[bot]
Copy link
Contributor

@renovate renovate bot commented Apr 2, 2023

Mend Renovate

This PR contains the following updates:

Package Change Age Adoption Passing Confidence
esbuild 0.17.17 -> 0.17.19 age adoption passing confidence

Release Notes

evanw/esbuild

v0.17.19

Compare Source

  • Fix CSS transform bugs with nested selectors that start with a combinator (#​3096)

    This release fixes several bugs regarding transforming nested CSS into non-nested CSS for older browsers. The bugs were due to lack of test coverage for nested selectors with more than one compound selector where they all start with the same combinator. Here's what some problematic cases look like before and after these fixes:

    /* Original code */
    .foo {
      > &a,
      > &b {
        color: red;
      }
    }
    .bar {
      > &a,
      + &b {
        color: green;
      }
    }
    
    /* Old output (with --target=chrome90) */
    .foo :is(> .fooa, > .foob) {
      color: red;
    }
    .bar :is(> .bara, + .barb) {
      color: green;
    }
    
    /* New output (with --target=chrome90) */
    .foo > :is(a.foo, b.foo) {
      color: red;
    }
    .bar > a.bar,
    .bar + b.bar {
      color: green;
    }
  • Fix bug with TypeScript parsing of instantiation expressions followed by = (#​3111)

    This release fixes esbuild's TypeScript-to-JavaScript conversion code in the case where a potential instantiation expression is followed immediately by a = token (such that the trailing > becomes a >= token). Previously esbuild considered that to still be an instantiation expression, but the official TypeScript compiler considered it to be a >= operator instead. This release changes esbuild's interpretation to match TypeScript. This edge case currently appears to be problematic for other TypeScript-to-JavaScript converters as well:

    Original code TypeScript esbuild 0.17.18 esbuild 0.17.19 Sucrase Babel
    x<y>=a<b<c>>() x<y>=a(); x=a(); x<y>=a(); x=a() Invalid left-hand side in assignment expression
  • Avoid removing unrecognized directives from the directive prologue when minifying (#​3115)

    The directive prologue in JavaScript is a sequence of top-level string expressions that come before your code. The only directives that JavaScript engines currently recognize are use strict and sometimes use asm. However, the people behind React have made up their own directive for their own custom dialect of JavaScript. Previously esbuild only preserved the use strict directive when minifying, although you could still write React JavaScript with esbuild using something like --banner:js="'your directive here';". With this release, you can now put arbitrary directives in the entry point and esbuild will preserve them in its minified output:

    // Original code
    'use wtf'; console.log(123)
    
    // Old output (with --minify)
    console.log(123);
    
    // New output (with --minify)
    "use wtf";console.log(123);

    Note that this means esbuild will no longer remove certain stray top-level strings when minifying. This behavior is an intentional change because these stray top-level strings are actually part of the directive prologue, and could potentially have semantics assigned to them (as was the case with React).

  • Improved minification of binary shift operators

    With this release, esbuild's minifier will now evaluate the << and >>> operators if the resulting code would be shorter:

    // Original code
    console.log(10 << 10, 10 << 20, -123 >>> 5, -123 >>> 10);
    
    // Old output (with --minify)
    console.log(10<<10,10<<20,-123>>>5,-123>>>10);
    
    // New output (with --minify)
    console.log(10240,10<<20,-123>>>5,4194303);

v0.17.18

Compare Source

  • Fix non-default JSON import error with export {} from (#​3070)

    This release fixes a bug where esbuild incorrectly identified statements of the form export { default as x } from "y" assert { type: "json" } as a non-default import. The bug did not affect code of the form import { default as x } from ... (only code that used the export keyword).

  • Fix a crash with an invalid subpath import (#​3067)

    Previously esbuild could crash when attempting to generate a friendly error message for an invalid subpath import (i.e. an import starting with #). This happened because esbuild originally only supported the exports field and the code for that error message was not updated when esbuild later added support for the imports field. This crash has been fixed.


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.

@renovate renovate bot force-pushed the renovate/esbuild-0.x-lockfile branch 8 times, most recently from 6c19256 to 7f2d5d9 Compare April 10, 2023 01:40
@renovate renovate bot changed the title chore(deps): update dependency esbuild to v0.17.15 chore(deps): update dependency esbuild to v0.17.16 Apr 10, 2023
@renovate renovate bot force-pushed the renovate/esbuild-0.x-lockfile branch 4 times, most recently from 46aec06 to da41ea4 Compare April 11, 2023 07:43
@renovate renovate bot changed the title chore(deps): update dependency esbuild to v0.17.16 chore(deps): update dependency esbuild to v0.17.16 - autoclosed Apr 11, 2023
@renovate renovate bot closed this Apr 11, 2023
@renovate renovate bot deleted the renovate/esbuild-0.x-lockfile branch April 11, 2023 13:47
@renovate renovate bot changed the title chore(deps): update dependency esbuild to v0.17.16 - autoclosed chore(deps): update dependency esbuild to v0.17.16 Apr 16, 2023
@renovate renovate bot reopened this Apr 16, 2023
@renovate renovate bot restored the renovate/esbuild-0.x-lockfile branch April 16, 2023 22:51
@renovate renovate bot changed the title chore(deps): update dependency esbuild to v0.17.16 chore(deps): update dependency esbuild to v0.17.17 Apr 17, 2023
@renovate renovate bot force-pushed the renovate/esbuild-0.x-lockfile branch 2 times, most recently from 896b71e to 0c6c991 Compare April 17, 2023 09:59
@renovate renovate bot changed the title chore(deps): update dependency esbuild to v0.17.17 chore(deps): update dependency esbuild to v0.17.17 - autoclosed Apr 21, 2023
@renovate renovate bot closed this Apr 21, 2023
@renovate renovate bot deleted the renovate/esbuild-0.x-lockfile branch April 21, 2023 03:21
@renovate renovate bot changed the title chore(deps): update dependency esbuild to v0.17.17 - autoclosed chore(deps): update dependency esbuild to v0.17.17 Apr 22, 2023
@renovate renovate bot reopened this Apr 22, 2023
@renovate renovate bot restored the renovate/esbuild-0.x-lockfile branch April 22, 2023 23:17
@renovate renovate bot changed the title chore(deps): update dependency esbuild to v0.17.17 chore(deps): update dependency esbuild to v0.17.18 Apr 23, 2023
@renovate renovate bot force-pushed the renovate/esbuild-0.x-lockfile branch from 0c6c991 to 2f9b38b Compare April 23, 2023 02:37
@renovate renovate bot force-pushed the renovate/esbuild-0.x-lockfile branch 11 times, most recently from 5e5ae01 to 7392a4b Compare May 6, 2023 02:24
@renovate renovate bot force-pushed the renovate/esbuild-0.x-lockfile branch 3 times, most recently from 879ceb2 to b7c3d86 Compare May 10, 2023 15:11
@renovate renovate bot changed the title chore(deps): update dependency esbuild to v0.17.18 chore(deps): update dependency esbuild to v0.17.19 May 13, 2023
@renovate renovate bot force-pushed the renovate/esbuild-0.x-lockfile branch 4 times, most recently from 5f261d3 to 24fab22 Compare May 16, 2023 08:10
@renovate renovate bot force-pushed the renovate/esbuild-0.x-lockfile branch 2 times, most recently from 1ed2df6 to fda0a49 Compare May 27, 2023 17:46
@renovate renovate bot force-pushed the renovate/esbuild-0.x-lockfile branch from fda0a49 to e96d714 Compare May 29, 2023 02:19
@renovate renovate bot force-pushed the renovate/esbuild-0.x-lockfile branch 2 times, most recently from 4fdbe1e to a82856e Compare June 8, 2023 03:53
@renovate renovate bot force-pushed the renovate/esbuild-0.x-lockfile branch from a82856e to be75429 Compare June 8, 2023 15:13
@sonarcloud
Copy link

sonarcloud bot commented Jun 8, 2023

Kudos, SonarCloud Quality Gate passed!    Quality Gate passed

Bug A 0 Bugs
Vulnerability A 0 Vulnerabilities
Security Hotspot A 0 Security Hotspots
Code Smell A 0 Code Smells

No Coverage information No Coverage information
No Duplication information No Duplication information

@renovate renovate bot changed the title chore(deps): update dependency esbuild to v0.17.19 chore(deps): update dependency esbuild to v0.17.19 - autoclosed Jun 10, 2023
@renovate renovate bot closed this Jun 10, 2023
@renovate renovate bot deleted the renovate/esbuild-0.x-lockfile branch June 10, 2023 01:58
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