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

Bump esbuild from 0.18.4 to 0.18.9 #1248

Merged
merged 1 commit into from
Jun 26, 2023

Conversation

dependabot[bot]
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Jun 26, 2023

Bumps esbuild from 0.18.4 to 0.18.9.

Release notes

Sourced from esbuild's releases.

v0.18.9

  • Fix await using declarations inside async generator functions

    I forgot about the new await using declarations when implementing lowering for async generator functions in the previous release. This change fixes the transformation of await using declarations when they are inside lowered async generator functions:

    // Original code
    async function* foo() {
      await using x = await y
    }
    // Old output (with --supported:async-generator=false)
    function foo() {
    return __asyncGenerator(this, null, function* () {
    await using x = yield new __await(y);
    });
    }
    // New output (with --supported:async-generator=false)
    function foo() {
    return __asyncGenerator(this, null, function* () {
    var _stack = [];
    try {
    const x = __using(stack, yield new __await(y), true);
    } catch () {
    var _error = _, _hasError = true;
    } finally {
    var _promise = __callDispose(_stack, _error, _hasError);
    _promise && (yield new __await(_promise));
    }
    });
    }

  • Insert some prefixed CSS properties when appropriate (#3122)

    With this release, esbuild will now insert prefixed CSS properties in certain cases when the target setting includes browsers that require a certain prefix. This is currently done for the following properties:

    • appearance: *; => -webkit-appearance: *; -moz-appearance: *;
    • backdrop-filter: *; => -webkit-backdrop-filter: *;
    • background-clip: text => -webkit-background-clip: text;
    • box-decoration-break: *; => -webkit-box-decoration-break: *;
    • clip-path: *; => -webkit-clip-path: *;
    • font-kerning: *; => -webkit-font-kerning: *;
    • hyphens: *; => -webkit-hyphens: *;
    • initial-letter: *; => -webkit-initial-letter: *;
    • mask-image: *; => -webkit-mask-image: *;
    • mask-origin: *; => -webkit-mask-origin: *;
    • mask-position: *; => -webkit-mask-position: *;
    • mask-repeat: *; => -webkit-mask-repeat: *;

... (truncated)

Changelog

Sourced from esbuild's changelog.

0.18.9

  • Fix await using declarations inside async generator functions

    I forgot about the new await using declarations when implementing lowering for async generator functions in the previous release. This change fixes the transformation of await using declarations when they are inside lowered async generator functions:

    // Original code
    async function* foo() {
      await using x = await y
    }
    // Old output (with --supported:async-generator=false)
    function foo() {
    return __asyncGenerator(this, null, function* () {
    await using x = yield new __await(y);
    });
    }
    // New output (with --supported:async-generator=false)
    function foo() {
    return __asyncGenerator(this, null, function* () {
    var _stack = [];
    try {
    const x = __using(stack, yield new __await(y), true);
    } catch () {
    var _error = _, _hasError = true;
    } finally {
    var _promise = __callDispose(_stack, _error, _hasError);
    _promise && (yield new __await(_promise));
    }
    });
    }

  • Insert some prefixed CSS properties when appropriate (#3122)

    With this release, esbuild will now insert prefixed CSS properties in certain cases when the target setting includes browsers that require a certain prefix. This is currently done for the following properties:

    • appearance: *; => -webkit-appearance: *; -moz-appearance: *;
    • backdrop-filter: *; => -webkit-backdrop-filter: *;
    • background-clip: text => -webkit-background-clip: text;
    • box-decoration-break: *; => -webkit-box-decoration-break: *;
    • clip-path: *; => -webkit-clip-path: *;
    • font-kerning: *; => -webkit-font-kerning: *;
    • hyphens: *; => -webkit-hyphens: *;
    • initial-letter: *; => -webkit-initial-letter: *;
    • mask-image: *; => -webkit-mask-image: *;
    • mask-origin: *; => -webkit-mask-origin: *;
    • mask-position: *; => -webkit-mask-position: *;

... (truncated)

Commits
  • d568ff0 publish 0.18.9 to npm
  • 7e10dd6 fix #2041: add text loader data to source maps
  • 9ed47f5 fix #3122: prefix some more css properties
  • 9d8a7e5 prefix some css properties (#3122)
  • 33322d2 switch css minify from in-place to a new array
  • a4e2a1e minify: shorter printing of ts enum property keys
  • dc913df printer: extract enum inlining into a helper
  • dd65995 move release notes to the right place
  • 50f78c1 fix(compat-table): refine Destructuring support status (#3179)
  • a7236e4 fix #2809: an obscure identifier minification bug
  • Additional commits viewable in compare view

Dependabot compatibility score

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 commands and options

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 ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)

Bumps [esbuild](https://github.com/evanw/esbuild) from 0.18.4 to 0.18.9.
- [Release notes](https://github.com/evanw/esbuild/releases)
- [Changelog](https://github.com/evanw/esbuild/blob/main/CHANGELOG.md)
- [Commits](evanw/esbuild@v0.18.4...v0.18.9)

---
updated-dependencies:
- dependency-name: esbuild
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot bot requested a review from pixeldesu as a code owner June 26, 2023 09:57
@dependabot dependabot bot added dependencies Pull requests that update a dependency file javascript Pull requests that update Javascript code labels Jun 26, 2023
@codecov
Copy link

codecov bot commented Jun 26, 2023

Codecov Report

Patch and project coverage have no change.

Comparison is base (9f23f31) 95.22% compared to head (a3db6d0) 95.22%.

Additional details and impacted files
@@           Coverage Diff           @@
##             main    #1248   +/-   ##
=======================================
  Coverage   95.22%   95.22%           
=======================================
  Files         166      166           
  Lines        2598     2598           
=======================================
  Hits         2474     2474           
  Misses        124      124           

☔ View full report in Codecov by Sentry.
📢 Do you have feedback about the report comment? Let us know in this issue.

Copy link
Member

@pixeldesu pixeldesu left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@dependabot merge

@dependabot dependabot bot merged commit dbbba32 into main Jun 26, 2023
10 checks passed
@dependabot dependabot bot deleted the dependabot/npm_and_yarn/esbuild-0.18.9 branch June 26, 2023 10:44
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
dependencies Pull requests that update a dependency file javascript Pull requests that update Javascript code
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant