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

build(deps-dev): Bump esbuild from 0.17.17 to 0.18.5 #166

Closed
wants to merge 1 commit into from

Conversation

dependabot[bot]
Copy link
Contributor

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

Bumps esbuild from 0.17.17 to 0.18.5.

Release notes

Sourced from esbuild's releases.

v0.18.5

  • Implement auto accessors (#3009)

    This release implements the new auto-accessor syntax from the upcoming JavaScript decorators proposal. The auto-accessor syntax looks like this:

    class Foo {
      accessor foo;
      static accessor bar;
    }
    new Foo().foo = Foo.bar;

    This syntax is not yet a part of JavaScript but it was added to TypeScript in version 4.9. More information about this feature can be found in microsoft/TypeScript#49705. Auto-accessors will be transformed if the target is set to something other than esnext:

    // Output (with --target=esnext)
    class Foo {
      accessor foo;
      static accessor bar;
    }
    new Foo().foo = Foo.bar;
    // Output (with --target=es2022)
    class Foo {
    #foo;
    get foo() {
    return this.#foo;
    }
    set foo(_) {
    this.#foo = ;
    }
    static #bar;
    static get bar() {
    return this.#bar;
    }
    static set bar() {
    this.#bar = _;
    }
    }
    new Foo().foo = Foo.bar;
    // Output (with --target=es2021)
    var _foo, _bar;
    class Foo {
    constructor() {
    __privateAdd(this, _foo, void 0);
    }
    get foo() {
    return __privateGet(this, _foo);

... (truncated)

Changelog

Sourced from esbuild's changelog.

0.18.5

  • Implement auto accessors (#3009)

    This release implements the new auto-accessor syntax from the upcoming JavaScript decorators proposal. The auto-accessor syntax looks like this:

    class Foo {
      accessor foo;
      static accessor bar;
    }
    new Foo().foo = Foo.bar;

    This syntax is not yet a part of JavaScript but it was added to TypeScript in version 4.9. More information about this feature can be found in microsoft/TypeScript#49705. Auto-accessors will be transformed if the target is set to something other than esnext:

    // Output (with --target=esnext)
    class Foo {
      accessor foo;
      static accessor bar;
    }
    new Foo().foo = Foo.bar;
    // Output (with --target=es2022)
    class Foo {
    #foo;
    get foo() {
    return this.#foo;
    }
    set foo(_) {
    this.#foo = ;
    }
    static #bar;
    static get bar() {
    return this.#bar;
    }
    static set bar() {
    this.#bar = _;
    }
    }
    new Foo().foo = Foo.bar;
    // Output (with --target=es2021)
    var _foo, _bar;
    class Foo {
    constructor() {
    __privateAdd(this, _foo, void 0);
    }
    get foo() {

... (truncated)

Commits
  • 931be1b publish 0.18.5 to npm
  • d46e491 fix #3009: release notes for auto-accessor support
  • 0252c7b fix decorators on auto-accessors and add a test
  • c12b289 check lowering target for js decorators in ts
  • 1ca08b0 implement lowering for auto-accessors
  • 8ffb21e pull out field lowering into helper
  • f52f600 pull out method lowering into helper
  • 092f635 move class-related lowering code to another file
  • 56698ab rename private symbols so generating them is safe
  • 109c94e warn about duplicate class members
  • 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.17.17 to 0.18.5.
- [Release notes](https://github.com/evanw/esbuild/releases)
- [Changelog](https://github.com/evanw/esbuild/blob/main/CHANGELOG.md)
- [Commits](evanw/esbuild@v0.17.17...v0.18.5)

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

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot bot added scope:dependencies dependency updates type:build changes to the build system or external dependencies labels Jun 20, 2023
@dependabot dependabot bot requested review from flexdevelopment, a team and unicornware June 20, 2023 21:10
@unicornware unicornware enabled auto-merge (squash) June 20, 2023 21:11
Copy link
Contributor

@flexdevelopment flexdevelopment left a comment

Choose a reason for hiding this comment

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

lgtm 👍🏾

Copy link
Contributor

@flexdevelopment flexdevelopment left a comment

Choose a reason for hiding this comment

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

lgtm 👍🏾

Copy link
Contributor

@flexdevelopment flexdevelopment left a comment

Choose a reason for hiding this comment

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

lgtm 👍🏾

@dependabot @github
Copy link
Contributor Author

dependabot bot commented on behalf of github Jun 21, 2023

Superseded by #167.

@dependabot dependabot bot closed this Jun 21, 2023
auto-merge was automatically disabled June 21, 2023 21:06

Pull request was closed

@dependabot dependabot bot deleted the dependabot/npm_and_yarn/esbuild-0.18.5 branch June 21, 2023 21:06
@github-actions
Copy link

This pull request has been automatically locked since there has not been any recent
activity after it was closed. Please open a new issue for related bugs or features. Be
sure to reference this issue.

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Aug 21, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
scope:dependencies dependency updates type:build changes to the build system or external dependencies
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant