Skip to content

Conversation

@dependabot
Copy link
Contributor

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

Bumps esbuild to 0.25.2 and updates ancestor dependency minify. These dependencies need to be updated together.

Updates esbuild from 0.24.2 to 0.25.2

Release notes

Sourced from esbuild's releases.

v0.25.2

  • Support flags in regular expressions for the API (#4121)

    The JavaScript plugin API for esbuild takes JavaScript regular expression objects for the filter option. Internally these are translated into Go regular expressions. However, this translation previously ignored the flags property of the regular expression. With this release, esbuild will now translate JavaScript regular expression flags into Go regular expression flags. Specifically the JavaScript regular expression /\.[jt]sx?$/i is turned into the Go regular expression `(?i)\.[jt]sx?$` internally inside of esbuild's API. This should make it possible to use JavaScript regular expressions with the i flag. Note that JavaScript and Go don't support all of the same regular expression features, so this mapping is only approximate.

  • Fix node-specific annotations for string literal export names (#4100)

    When node instantiates a CommonJS module, it scans the AST to look for names to expose via ESM named exports. This is a heuristic that looks for certain patterns such as exports.NAME = ... or module.exports = { ... }. This behavior is used by esbuild to "annotate" CommonJS code that was converted from ESM with the original ESM export names. For example, when converting the file export let foo, bar from ESM to CommonJS, esbuild appends this to the end of the file:

    // Annotate the CommonJS export names for ESM import in node:
    0 && (module.exports = {
      bar,
      foo
    });

    However, this feature previously didn't work correctly for export names that are not valid identifiers, which can be constructed using string literal export names. The generated code contained a syntax error. That problem is fixed in this release:

    // Original code
    let foo
    export { foo as "foo!" }
    // Old output (with --format=cjs --platform=node)
    ...
    0 && (module.exports = {
    "foo!"
    });
    // New output (with --format=cjs --platform=node)
    ...
    0 && (module.exports = {
    "foo!": null
    });

  • Basic support for index source maps (#3439, #4109)

    The source map specification has an optional mode called index source maps that makes it easier for tools to create an aggregate JavaScript file by concatenating many smaller JavaScript files with source maps, and then generate an aggregate source map by simply providing the original source maps along with some offset information. My understanding is that this is rarely used in practice. I'm only aware of two uses of it in the wild: ClojureScript and Turbopack.

    This release provides basic support for indexed source maps. However, the implementation has not been tested on a real app (just on very simple test input). If you are using index source maps in a real app, please try this out and report back if anything isn't working for you.

    Note that this is also not a complete implementation. For example, index source maps technically allows nesting source maps to an arbitrary depth, while esbuild's implementation in this release only supports a single level of nesting. It's unclear whether supporting more than one level of nesting is important or not given the lack of available test cases.

    This feature was contributed by @​clyfish.

v0.25.1

... (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 minify from 13.0.0 to 14.0.0

Release notes

Sourced from minify's releases.

minify v14.0.0

🔥 feature

  • 575152c minify: drop support of node < 20
  • adb0f91 minify: supertape v11.0.3
  • 36fc306 minify: putout v39.0.11
  • e6897d7 minify: madrun v11.0.0
  • d202e06 minify: eslint-plugin-putout v26.1.0
  • 890c675 minify: @​putout/minify v5.0.0
  • 860da27 minify: esbuild v0.25.1
Changelog

Sourced from minify's changelog.

2025.03.24, v14.0.0

feature:

  • 575152c minify: drop support of node < 20
  • adb0f91 minify: supertape v11.0.3
  • 36fc306 minify: putout v39.0.11
  • e6897d7 minify: madrun v11.0.0
  • d202e06 minify: eslint-plugin-putout v26.1.0
  • 890c675 minify: @​putout/minify v5.0.0
  • 860da27 minify: esbuild v0.25.1

2025.02.03, v13.0.0

feature:

  • 5d7c3a8 minify: css: set lightningcss as default minifier
  • 093cd38 minify: eslint-plugin-putout v24.0.0
  • 6c6b44b minify: putout v38.0.2

2025.02.02, v12.1.0

fix:

  • 2d90a15 minify: css: options (#136)

2025.01.13, v12.0.1

fix:

  • 51ec950 correct putout options (#134)

feature:

  • 600bbc6 minify: putout v37.8.2

2024.11.18, v12.0.0

feature:

  • 3f40172 minify: esbuild v0.24.0
  • 16f69c3 minify: add ability to configure css (#130)

2024.09.12, v11.4.1

feature:

  • 9fb91fb minify: eslint-plugin-putout v23.1.0
  • 868efd1 minify: putout v36.5.1

2024.07.06, v11.4.0

feature:

  • 1c144e5 minify: swc: add

2024.07.03, v11.3.0

... (truncated)

Commits
  • 4922b8c chore: minify: v14.0.0
  • 575152c feature: minify: drop support of node < 20
  • 5f33d13 chore: lint
  • adb0f91 feature: minify: supertape v11.0.3
  • 36fc306 feature: minify: putout v39.0.11
  • e6897d7 feature: minify: madrun v11.0.0
  • d202e06 feature: minify: eslint-plugin-putout v26.1.0
  • 890c675 feature: minify: @​putout/minify v5.0.0
  • 860da27 feature: minify: esbuild v0.25.1
  • See full diff 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.2 and updates ancestor dependency [minify](https://github.com/coderaiser/minify). These dependencies need to be updated together.


Updates `esbuild` from 0.24.2 to 0.25.2
- [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.2)

Updates `minify` from 13.0.0 to 14.0.0
- [Release notes](https://github.com/coderaiser/minify/releases)
- [Changelog](https://github.com/coderaiser/minify/blob/master/ChangeLog)
- [Commits](coderaiser/minify@v13.0.0...v14.0.0)

---
updated-dependencies:
- dependency-name: esbuild
  dependency-version: 0.25.2
  dependency-type: indirect
- dependency-name: minify
  dependency-version: 14.0.0
  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 5, 2025
@netlify
Copy link

netlify bot commented Apr 5, 2025

Deploy Preview for image-compare-component ready!

Name Link
🔨 Latest commit d90a7f0
🔍 Latest deploy log https://app.netlify.com/sites/image-compare-component/deploys/67f179beadf97b000869c4ca
😎 Deploy Preview https://deploy-preview-96--image-compare-component.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site configuration.

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