Skip to content

Bump esbuild, astro and wrangler #38

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

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

dependabot[bot]
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Apr 30, 2025

Bumps esbuild to 0.25.3 and updates ancestor dependencies esbuild, astro and wrangler. These dependencies need to be updated together.

Updates esbuild from 0.24.2 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).

Commits

Updates astro from 5.3.0 to 5.7.10

Release notes

Sourced from astro's releases.

[email protected]

Patch Changes

[email protected]

Patch Changes

[email protected]

Patch Changes

  • #13715 b32dffa Thanks @​florian-lefebvre! - Updates unifont to fix a case where a unicodeRange related error would be thrown when using the experimental fonts API

[email protected]

Patch Changes

[email protected]

Patch Changes

  • #13703 659904b Thanks @​florian-lefebvre! - Fixes a bug where empty fallbacks could not be provided when using the experimental fonts API

  • #13680 18e1b97 Thanks @​florian-lefebvre! - Improves the UnsupportedExternalRedirect error message to include more details such as the concerned destination

  • #13703 659904b Thanks @​ascorbic! - Simplifies styles for experimental responsive images

    ⚠️ BREAKING CHANGE FOR EXPERIMENTAL RESPONSIVE IMAGES ONLY ⚠️

    The generated styles for image layouts are now simpler and easier to override. Previously the responsive image component used CSS to set the size and aspect ratio of the images, but this is no longer needed. Now the styles just include object-fit and object-position for all images, and sets max-width: 100% for constrained images and width: 100% for full-width images.

    This is an implementation change only, and most users will see no change. However, it may affect any custom styles you have added to your responsive images. Please check your rendered images to determine whether any change to your CSS is needed.

    The styles now use the :where() pseudo-class, which has a specificity of 0, meaning that it is easy to override with your own styles. You can now be sure that your own classes will always override the applied styles, as will global styles on img.

    An exception is Tailwind 4, which uses cascade layers, meaning the rules are always lower specificity. Astro supports browsers that do not support cascade layers, so we cannot use this. If you need to override the styles using Tailwind 4, you must use !important classes. Do check if this is needed though: there may be a layout that is more appropriate for your use case.

  • #13703 659904b Thanks @​ascorbic! - Adds warnings about using local font files in the publicDir when the experimental fonts API is enabled.

... (truncated)

Changelog

Sourced from astro's changelog.

5.7.10

Patch Changes

5.7.9

Patch Changes

5.7.8

Patch Changes

  • #13715 b32dffa Thanks @​florian-lefebvre! - Updates unifont to fix a case where a unicodeRange related error would be thrown when using the experimental fonts API

5.7.7

Patch Changes

5.7.6

Patch Changes

  • #13703 659904b Thanks @​ascorbic! - Fixes a bug where empty fallbacks could not be provided when using the experimental fonts API

  • #13680 18e1b97 Thanks @​florian-lefebvre! - Improves the UnsupportedExternalRedirect error message to include more details such as the concerned destination

  • #13703 659904b Thanks @​ascorbic! - Simplifies styles for experimental responsive images

    ⚠️ BREAKING CHANGE FOR EXPERIMENTAL RESPONSIVE IMAGES ONLY ⚠️

    The generated styles for image layouts are now simpler and easier to override. Previously the responsive image component used CSS to set the size and aspect ratio of the images, but this is no longer needed. Now the styles just include object-fit and object-position for all images, and sets max-width: 100% for constrained images and width: 100% for full-width images.

    This is an implementation change only, and most users will see no change. However, it may affect any custom styles you have added to your responsive images. Please check your rendered images to determine whether any change to your CSS is needed.

... (truncated)

Commits

Updates wrangler from 3.109.1 to 4.13.2

Release notes

Sourced from wrangler's releases.

[email protected]

Patch Changes

[email protected]

Patch Changes

[email protected]

Minor Changes

  • #8640 5ce70bd Thanks @​kentonv! - Add support for defining props on a Service binding.

    In your configuration file, you can define a service binding with props:

    {
    	"services": [
    		{
    			"binding": "MY_SERVICE",
    			"service": "some-worker",
    			"props": { "foo": 123, "bar": "value" }
    		}
    	]
    }

    These can then be accessed by the callee:

    import { WorkerEntrypoint } from "cloudflare:workers";
    export default class extends WorkerEntrypoint {
    fetch() {
    return new Response(JSON.stringify(this.ctx.props));
    }
    }

  • #8771 0cfcfe0 Thanks @​dario-piotrowicz! - feat: add config.keep_names option

... (truncated)

Changelog

Sourced from wrangler's changelog.

4.13.2

Patch Changes

4.13.1

Patch Changes

4.13.0

Minor Changes

  • #8640 5ce70bd Thanks @​kentonv! - Add support for defining props on a Service binding.

    In your configuration file, you can define a service binding with props:

    {
    	"services": [
    		{
    			"binding": "MY_SERVICE",
    			"service": "some-worker",
    			"props": { "foo": 123, "bar": "value" }
    		}
    	]
    }

    These can then be accessed by the callee:

    import { WorkerEntrypoint } from "cloudflare:workers";
    export default class extends WorkerEntrypoint {
    fetch() {
    return new Response(JSON.stringify(this.ctx.props));
    }
    }

... (truncated)

Commits

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 dependencies [esbuild](https://github.com/evanw/esbuild), [astro](https://github.com/withastro/astro/tree/HEAD/packages/astro) and [wrangler](https://github.com/cloudflare/workers-sdk/tree/HEAD/packages/wrangler). These dependencies need to be updated together.


Updates `esbuild` from 0.24.2 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.24.2...v0.25.3)

Updates `astro` from 5.3.0 to 5.7.10
- [Release notes](https://github.com/withastro/astro/releases)
- [Changelog](https://github.com/withastro/astro/blob/main/packages/astro/CHANGELOG.md)
- [Commits](https://github.com/withastro/astro/commits/[email protected]/packages/astro)

Updates `wrangler` from 3.109.1 to 4.13.2
- [Release notes](https://github.com/cloudflare/workers-sdk/releases)
- [Changelog](https://github.com/cloudflare/workers-sdk/blob/main/packages/wrangler/CHANGELOG.md)
- [Commits](https://github.com/cloudflare/workers-sdk/commits/[email protected]/packages/wrangler)

---
updated-dependencies:
- dependency-name: esbuild
  dependency-version: 0.25.3
  dependency-type: indirect
- dependency-name: astro
  dependency-version: 5.7.10
  dependency-type: direct:production
- dependency-name: wrangler
  dependency-version: 4.13.2
  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 Apr 30, 2025
Copy link

cloudflare-workers-and-pages bot commented Apr 30, 2025

Deploying erisa with  Cloudflare Pages  Cloudflare Pages

Latest commit: 0b02104
Status: ✅  Deploy successful!
Preview URL: https://3a4732d1.erisa.pages.dev
Branch Preview URL: https://dependabot-npm-and-yarn-mult-tuli.erisa.pages.dev

View logs

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