Skip to content
This repository was archived by the owner on May 23, 2025. It is now read-only.

Conversation

@dependabot
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github May 1, 2025

Bumps esbuild to 0.25.3 and updates ancestor dependency aegir. These dependencies need to be updated together.

Updates esbuild from 0.21.5 to 0.25.3

Release notes

Sourced from esbuild's releases.

v0.25.3

  • Fix lowered async arrow functions before super() (#4141, #4142)

    This change makes it possible to call an async arrow function in a constructor before calling super() when targeting environments without async support, as long as the function body doesn't reference this. Here's an example (notice the change from this to null):

    // Original code
    class Foo extends Object {
      constructor() {
        (async () => await foo())()
        super()
      }
    }
    // Old output (with --target=es2016)
    class Foo extends Object {
    constructor() {
    (() => __async(this, null, function* () {
    return yield foo();
    }))();
    super();
    }
    }
    // New output (with --target=es2016)
    class Foo extends Object {
    constructor() {
    (() => __async(null, null, function* () {
    return yield foo();
    }))();
    super();
    }
    }

    Some background: Arrow functions with the async keyword are transformed into generator functions for older language targets such as --target=es2016. Since arrow functions capture this, the generated code forwards this into the body of the generator function. However, JavaScript class syntax forbids using this in a constructor before calling super(), and this forwarding was problematic since previously happened even when the function body doesn't use this. Starting with this release, esbuild will now only forward this if it's used within the function body.

    This fix was contributed by @​magic-akari.

  • Fix memory leak with --watch=true (#4131, #4132)

    This release fixes a memory leak with esbuild when --watch=true is used instead of --watch. Previously using --watch=true caused esbuild to continue to use more and more memory for every rebuild, but --watch=true should now behave like --watch and not leak memory.

    This bug happened because esbuild disables the garbage collector when it's not run as a long-lived process for extra speed, but esbuild's checks for which arguments cause esbuild to be a long-lived process weren't updated for the new --watch=true style of boolean command-line flags. This has been an issue since this boolean flag syntax was added in version 0.14.24 in 2022. These checks are unfortunately separate from the regular argument parser because of how esbuild's internals are organized (the command-line interface is exposed as a separate Go API so you can build your own custom esbuild CLI).

    This fix was contributed by @​mxschmitt.

  • More concise output for repeated legal comments (#4139)

    Some libraries have many files and also use the same legal comment text in all files. Previously esbuild would copy each legal comment to the output file. Starting with this release, legal comments duplicated across separate files will now be grouped in the output file by unique comment content.

... (truncated)

Changelog

Sourced from esbuild's changelog.

Changelog: 2024

This changelog documents all esbuild versions published in the year 2024 (versions 0.19.12 through 0.24.2).

0.24.2

  • Fix regression with --define and import.meta (#4010, #4012, #4013)

    The previous change in version 0.24.1 to use a more expression-like parser for define values to allow quoted property names introduced a regression that removed the ability to use --define:import.meta=.... Even though import is normally a keyword that can't be used as an identifier, ES modules special-case the import.meta expression to behave like an identifier anyway. This change fixes the regression.

    This fix was contributed by @​sapphi-red.

0.24.1

  • Allow es2024 as a target in tsconfig.json (#4004)

    TypeScript recently added es2024 as a compilation target, so esbuild now supports this in the target field of tsconfig.json files, such as in the following configuration file:

    {
      "compilerOptions": {
        "target": "ES2024"
      }
    }

    As a reminder, the only thing that esbuild uses this field for is determining whether or not to use legacy TypeScript behavior for class fields. You can read more in the documentation.

    This fix was contributed by @​billyjanitsch.

  • Allow automatic semicolon insertion after get/set

    This change fixes a grammar bug in the parser that incorrectly treated the following code as a syntax error:

    class Foo {
      get
      *x() {}
      set
      *y() {}
    }

    The above code will be considered valid starting with this release. This change to esbuild follows a similar change to TypeScript which will allow this syntax starting with TypeScript 5.7.

  • Allow quoted property names in --define and --pure (#4008)

    The define and pure API options now accept identifier expressions containing quoted property names. Previously all identifiers in the identifier expression had to be bare identifiers. This change now makes --define and --pure consistent with --global-name, which already supported quoted property names. For example, the following is now possible:

... (truncated)

Commits

Updates aegir from 44.1.2 to 45.2.1

Release notes

Sourced from aegir's releases.

v45.2.1

45.2.1 (2025-04-23)

Dependencies

  • dev: bump electron from 34.2.0 to 35.2.0 (#1783) (5eac0cd)

v45.2.0

45.2.0 (2025-04-22)

Features

v45.1.4

45.1.4 (2025-03-19)

Bug Fixes

v45.1.3

45.1.3 (2025-03-10)

Bug Fixes

  • do not spell check string CIDs/PeerIds (ef44dee)

v45.1.2

45.1.2 (2025-02-24)

Documentation

v45.1.1

45.1.1 (2025-02-24)

Bug Fixes

v45.1.0

45.1.0 (2025-02-24)

Features

Dependencies

... (truncated)

Changelog

Sourced from aegir's changelog.

45.2.1 (2025-04-23)

Dependencies

  • dev: bump electron from 34.2.0 to 35.2.0 (#1783) (5eac0cd)

45.2.0 (2025-04-22)

Features

45.1.4 (2025-03-19)

Bug Fixes

45.1.3 (2025-03-10)

Bug Fixes

  • do not spell check string CIDs/PeerIds (ef44dee)

45.1.2 (2025-02-24)

Documentation

45.1.1 (2025-02-24)

Bug Fixes

45.1.0 (2025-02-24)

Features

Dependencies

  • dev: bump electron from 33.4.0 to 34.2.0 (#1734) (4177dec)

45.0.10 (2025-02-22)

Trivial Changes

... (truncated)

Commits
  • 2bdcaf8 chore(release): 45.2.1 [skip ci]
  • 5eac0cd deps(dev): bump electron from 34.2.0 to 35.2.0 (#1783)
  • acbfe0f chore(release): 45.2.0 [skip ci]
  • d13229c feat: support multiple output files (#1785)
  • 2d5d48e ci: uci/copy-templates (#1768)
  • a5c2111 chore(release): 45.1.4 [skip ci]
  • 07eeb7b fix: update dictionary
  • 24094f6 chore(release): 45.1.3 [skip ci]
  • ef44dee fix: do not spell check string CIDs/PeerIds
  • 19acd79 chore(release): 45.1.2 [skip ci]
  • Additional commits viewable in compare view

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 show <dependency name> ignore conditions will show all of the ignore conditions of the specified dependency
  • @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)
    You can disable automated security fix PRs for this repo from the Security Alerts page.

Bumps [esbuild](https://github.com/evanw/esbuild) to 0.25.3 and updates ancestor dependency [aegir](https://github.com/ipfs/aegir). These dependencies need to be updated together.


Updates `esbuild` from 0.21.5 to 0.25.3
- [Release notes](https://github.com/evanw/esbuild/releases)
- [Changelog](https://github.com/evanw/esbuild/blob/main/CHANGELOG-2024.md)
- [Commits](evanw/esbuild@v0.21.5...v0.25.3)

Updates `aegir` from 44.1.2 to 45.2.1
- [Release notes](https://github.com/ipfs/aegir/releases)
- [Changelog](https://github.com/ipfs/aegir/blob/main/CHANGELOG.md)
- [Commits](ipfs/aegir@v44.1.2...v45.2.1)

---
updated-dependencies:
- dependency-name: esbuild
  dependency-version: 0.25.3
  dependency-type: indirect
- dependency-name: aegir
  dependency-version: 45.2.1
  dependency-type: direct:development
...

Signed-off-by: dependabot[bot] <[email protected]>
@dependabot dependabot bot added dependencies Pull requests that update a dependency file javascript Pull requests that update javascript code labels May 1, 2025
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

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