Skip to content

Bump esbuild from 0.18.5 to 0.18.11 #227

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

Merged
merged 1 commit into from
Jul 1, 2023

Conversation

dependabot[bot]
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Jul 1, 2023

Bumps esbuild from 0.18.5 to 0.18.11.

Release notes

Sourced from esbuild's releases.

v0.18.11

  • Fix a TypeScript code generation edge case (#3199)

    This release fixes a regression in version 0.18.4 where using a TypeScript namespace that exports a class declaration combined with --keep-names and a --target of es2021 or earlier could cause esbuild to export the class from the namespace using an incorrect name (notice the assignment to X2._Y vs. X2.Y):

    // Original code
    // Old output (with --keep-names --target=es2021)
    var X;
    ((X2) => {
    const _Y = class _Y {
    };
    __name(_Y, "Y");
    let Y = _Y;
    X2._Y = _Y;
    })(X || (X = {}));
    // New output (with --keep-names --target=es2021)
    var X;
    ((X2) => {
    const _Y = class _Y {
    };
    __name(_Y, "Y");
    let Y = _Y;
    X2.Y = _Y;
    })(X || (X = {}));

v0.18.10

  • Fix a tree-shaking bug that removed side effects (#3195)

    This fixes a regression in version 0.18.4 where combining --minify-syntax with --keep-names could cause expressions with side effects after a function declaration to be considered side-effect free for tree shaking purposes. The reason was because --keep-names generates an expression statement containing a call to a helper function after the function declaration with a special flag that makes the function call able to be tree shaken, and then --minify-syntax could potentially merge that expression statement with following expressions without clearing the flag. This release fixes the bug by clearing the flag when merging expression statements together.

  • Fix an incorrect warning about CSS nesting (#3197)

    A warning is currently generated when transforming nested CSS to a browser that doesn't support :is() because transformed nested CSS may need to use that feature to represent nesting. This was previously always triggered when an at-rule was encountered in a declaration context. Typically the only case you would encounter this is when using CSS nesting within a selector rule. However, there is a case where that's not true: when using a margin at-rule such as @top-left within @page. This release avoids incorrectly generating a warning in this case by checking that the at-rule is within a selector rule before generating a warning.

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)

... (truncated)

Changelog

Sourced from esbuild's changelog.

0.18.11

  • Fix a TypeScript code generation edge case (#3199)

    This release fixes a regression in version 0.18.4 where using a TypeScript namespace that exports a class declaration combined with --keep-names and a --target of es2021 or earlier could cause esbuild to export the class from the namespace using an incorrect name (notice the assignment to X2._Y vs. X2.Y):

    // Original code
    // Old output (with --keep-names --target=es2021)
    var X;
    ((X2) => {
    const _Y = class _Y {
    };
    __name(_Y, "Y");
    let Y = _Y;
    X2._Y = _Y;
    })(X || (X = {}));
    // New output (with --keep-names --target=es2021)
    var X;
    ((X2) => {
    const _Y = class _Y {
    };
    __name(_Y, "Y");
    let Y = _Y;
    X2.Y = _Y;
    })(X || (X = {}));

0.18.10

  • Fix a tree-shaking bug that removed side effects (#3195)

    This fixes a regression in version 0.18.4 where combining --minify-syntax with --keep-names could cause expressions with side effects after a function declaration to be considered side-effect free for tree shaking purposes. The reason was because --keep-names generates an expression statement containing a call to a helper function after the function declaration with a special flag that makes the function call able to be tree shaken, and then --minify-syntax could potentially merge that expression statement with following expressions without clearing the flag. This release fixes the bug by clearing the flag when merging expression statements together.

  • Fix an incorrect warning about CSS nesting (#3197)

    A warning is currently generated when transforming nested CSS to a browser that doesn't support :is() because transformed nested CSS may need to use that feature to represent nesting. This was previously always triggered when an at-rule was encountered in a declaration context. Typically the only case you would encounter this is when using CSS nesting within a selector rule. However, there is a case where that's not true: when using a margin at-rule such as @top-left within @page. This release avoids incorrectly generating a warning in this case by checking that the at-rule is within a selector rule before generating a warning.

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

... (truncated)

Commits

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)

@dependabot dependabot bot added dependencies Pull requests that update a dependency file javascript Pull requests that update Javascript code labels Jul 1, 2023
@github-actions
Copy link
Contributor

github-actions bot commented Jul 1, 2023

Dependency Review

The following issues were found:
  • ✅ 0 vulnerable package(s)
  • ✅ 0 package(s) with incompatible licenses
  • ✅ 0 package(s) with invalid SPDX license definitions
  • ⚠️ 2 package(s) with unknown licenses.
See the Details below.

License Issues

package-lock.json

PackageVersionLicenseIssue Type
esbuild0.18.11NullUnknown License

package.json

PackageVersionLicenseIssue Type
esbuild^0.18.11NullUnknown License

Scanned Manifest Files

package-lock.json
  • @esbuild/android-arm@0.18.11
  • @esbuild/android-arm64@0.18.11
  • @esbuild/android-x64@0.18.11
  • @esbuild/darwin-arm64@0.18.11
  • @esbuild/darwin-x64@0.18.11
  • @esbuild/freebsd-arm64@0.18.11
  • @esbuild/freebsd-x64@0.18.11
  • @esbuild/linux-arm@0.18.11
  • @esbuild/linux-arm64@0.18.11
  • @esbuild/linux-ia32@0.18.11
  • @esbuild/linux-loong64@0.18.11
  • @esbuild/linux-mips64el@0.18.11
  • @esbuild/linux-ppc64@0.18.11
  • @esbuild/linux-riscv64@0.18.11
  • @esbuild/linux-s390x@0.18.11
  • @esbuild/linux-x64@0.18.11
  • @esbuild/netbsd-x64@0.18.11
  • @esbuild/openbsd-x64@0.18.11
  • @esbuild/sunos-x64@0.18.11
  • @esbuild/win32-arm64@0.18.11
  • @esbuild/win32-ia32@0.18.11
  • @esbuild/win32-x64@0.18.11
  • esbuild@0.18.11
  • @esbuild/android-arm@0.18.5
  • @esbuild/android-arm64@0.18.5
  • @esbuild/android-x64@0.18.5
  • @esbuild/darwin-arm64@0.18.5
  • @esbuild/darwin-x64@0.18.5
  • @esbuild/freebsd-arm64@0.18.5
  • @esbuild/freebsd-x64@0.18.5
  • @esbuild/linux-arm@0.18.5
  • @esbuild/linux-arm64@0.18.5
  • @esbuild/linux-ia32@0.18.5
  • @esbuild/linux-loong64@0.18.5
  • @esbuild/linux-mips64el@0.18.5
  • @esbuild/linux-ppc64@0.18.5
  • @esbuild/linux-riscv64@0.18.5
  • @esbuild/linux-s390x@0.18.5
  • @esbuild/linux-x64@0.18.5
  • @esbuild/netbsd-x64@0.18.5
  • @esbuild/openbsd-x64@0.18.5
  • @esbuild/sunos-x64@0.18.5
  • @esbuild/win32-arm64@0.18.5
  • @esbuild/win32-ia32@0.18.5
  • @esbuild/win32-x64@0.18.5
  • esbuild@0.18.5
package.json
  • esbuild@^0.18.11
  • esbuild@^0.18.5

@github-actions github-actions bot enabled auto-merge July 1, 2023 09:24
@dependabot dependabot bot force-pushed the dependabot/npm_and_yarn/esbuild-0.18.11 branch from 7cbef47 to cb617b3 Compare July 1, 2023 09:26
Bumps [esbuild](https://github.com/evanw/esbuild) from 0.18.5 to 0.18.11.
- [Release notes](https://github.com/evanw/esbuild/releases)
- [Changelog](https://github.com/evanw/esbuild/blob/main/CHANGELOG.md)
- [Commits](evanw/esbuild@v0.18.5...v0.18.11)

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

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot bot force-pushed the dependabot/npm_and_yarn/esbuild-0.18.11 branch from cb617b3 to 2b2722c Compare July 1, 2023 09:27
@github-actions github-actions bot merged commit 98b67d6 into main Jul 1, 2023
@github-actions github-actions bot deleted the dependabot/npm_and_yarn/esbuild-0.18.11 branch July 1, 2023 09:29
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.

0 participants