Skip to content

Conversation

dependabot[bot]
Copy link

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

Bumps esbuild to 0.25.2 and updates ancestor dependencies esbuild, @vitejs/plugin-vue, @vitejs/plugin-vue-jsx, vite, vite-plugin-vue-devtools and vitest. These dependencies need to be updated together.

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

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 @vitejs/plugin-vue from 5.1.4 to 5.2.3

Release notes

Sourced from @​vitejs/plugin-vue's releases.

plugin-vue@5.2.3

Please refer to CHANGELOG.md for details.

plugin-vue@5.2.2

Please refer to CHANGELOG.md for details.

plugin-vue@5.2.1

Please refer to CHANGELOG.md for details.

plugin-vue@5.2.0

Please refer to CHANGELOG.md for details.

plugin-vue@5.1.5

Please refer to CHANGELOG.md for details.

Changelog

Sourced from @​vitejs/plugin-vue's changelog.

5.2.3 (2025-03-17)

5.2.2 (2025-03-17)

  • feat: pass descriptor vapor flag to compileTemplte (219e007)
  • feat(css): tree shake scoped styles (#533) (333094f), closes #533
  • fix: generate unique component id (#538) (2704e85), closes #538
  • fix: properly interpret boolean values in define (#545) (46d3d65), closes #545
  • fix(deps): update all non-major dependencies (#482) (cdbae68), closes #482
  • fix(deps): update all non-major dependencies (#488) (5d39582), closes #488
  • fix(index): move the if check earlier to avoid creating unnecessary ssr when entering return block ( (2135c84), closes #523
  • fix(plugin-vue): default value for compile time flags (#495) (ae9d948), closes #495
  • fix(plugin-vue): ensure HMR updates styles when SFC is treated as a type dependency (#541) (4abe3be), closes #541
  • fix(plugin-vue): resolve sourcemap conflicts in build watch mode with cached modules (#505) (906cebb), closes #505
  • fix(plugin-vue): support external import URLs for monorepos (#524) (cdd4922), closes #524
  • fix(plugin-vue): support vapor template-only component (#529) (95be153), closes #529
  • fix(plugin-vue): suppress warnings for non-recognized pseudo selectors form lightningcss (#521) (15c0eb0), closes #521
  • chore(deps): update dependency rollup to ^4.27.4 (#479) (428320d), closes #479
  • chore(deps): update dependency rollup to ^4.28.1 (#484) (388403f), closes #484
  • chore(deps): update dependency rollup to ^4.29.1 (#493) (b092bc8), closes #493
  • chore(deps): update upstream (#503) (8c12b9f), closes #503
  • chore(deps): update upstream (#511) (d057351), closes #511
  • chore(deps): update upstream (#526) (59946d3), closes #526
  • chore(plugin-vue): simplify resolved declaration (7288a59)

5.2.1 (2024-11-26)

5.2.0 (2024-11-13)

  • feat: add a feature option to support custom component id generator (#461) (7a1fc4c), closes #461

5.1.5 (2024-11-11)

... (truncated)

Commits
  • b733b91 release: plugin-vue@5.2.3
  • 4bc5517 Revert "fix: generate unique component id" (#548)
  • 979cbbf release: plugin-vue@5.2.2
  • 333094f feat(css): tree shake scoped styles (#533)
  • 906cebb fix(plugin-vue): resolve sourcemap conflicts in build watch mode with cached ...
  • 2704e85 fix: generate unique component id (#538)
  • 46d3d65 fix: properly interpret boolean values in define (#545)
  • 4abe3be fix(plugin-vue): ensure HMR updates styles when SFC is treated as a type depe...
  • 59946d3 chore(deps): update upstream (#526)
  • 95be153 fix(plugin-vue): support vapor template-only component (#529)
  • Additional commits viewable in compare view

Updates @vitejs/plugin-vue-jsx from 4.0.1 to 4.1.2

Release notes

Sourced from @​vitejs/plugin-vue-jsx's releases.

plugin-vue-jsx@4.1.2

Please refer to CHANGELOG.md for details.

plugin-vue-jsx@4.1.1

Please refer to CHANGELOG.md for details.

plugin-vue@4.1.0

Please refer to CHANGELOG.md for details.

plugin-vue-jsx@4.1.0

Please refer to CHANGELOG.md for details.

plugin-vue@4.1.0-beta.0

Please refer to CHANGELOG.md for details.

Changelog

Sourced from @​vitejs/plugin-vue-jsx's changelog.

4.1.2 (2025-03-17)

  • fix: properly interpret boolean values in define (#545) (46d3d65), closes #545
  • fix(deps): update all non-major dependencies (#482) (cdbae68), closes #482
  • fix(deps): update all non-major dependencies (#502) (5bfbbc6), closes #502
  • fix(deps): update all non-major dependencies (#510) (28bca4b), closes #510

4.1.1 (2024-11-26)

4.1.0 (2024-11-11)

Commits
  • 7e59694 release: plugin-vue-jsx@4.1.2
  • 46d3d65 fix: properly interpret boolean values in define (#545)
  • 28bca4b fix(deps): update all non-major dependencies (#510)
  • 5bfbbc6 fix(deps): update all non-major dependencies (#502)
  • cdbae68 fix(deps): update all non-major dependencies (#482)
  • ff5624a release: plugin-vue-jsx@4.1.1
  • 4288652 chore: add vite 6 peer dep (#481)
  • 23ea2f9 release: plugin-vue-jsx@4.1.0
  • fdb3590 feat: support tsPluginOptions (#445)
  • e432bcb fix(deps): update all non-major dependencies (#439)
  • Additional commits viewable in compare view

Updates vite from 5.4.8 to 6.2.4

Release notes

Sourced from vite's releases.

v6.2.4

Please refer to CHANGELOG.md for details.

v6.2.3

Please refer to CHANGELOG.md for details.

v6.2.2

Please refer to CHANGELOG.md for details.

create-vite@6.2.1

Please refer to CHANGELOG.md for details.

v6.2.1

Please refer to CHANGELOG.md for details.

create-vite@6.2.0

Please refer to CHANGELOG.md for details.

v6.2.0

Please refer to CHANGELOG.md for details.

v6.2.0-beta.1

Please refer to CHANGELOG.md for details.

v6.2.0-beta.0

Please refer to CHANGELOG.md for details.

v6.1.3

Please refer to CHANGELOG.md for details.

v6.1.2

Please refer to CHANGELOG.md for details.

create-vite@6.1.1

Please refer to CHANGELOG.md for details.

v6.1.1

Please refer to CHANGELOG.md for details.

create-vite@6.1.0

Please refer to CHANGELOG.md for details.

v6.1.0

Please refer to CHANGELOG.md for details.

v6.1.0-beta.2

Please refer to CHANGELOG.md for details.

v6.1.0-beta.1

Please refer to CHANGELOG.md for details.

... (truncated)

Changelog

Sourced from vite's changelog.

6.2.4 (2025-03-31)

6.2.3 (2025-03-24)

6.2.2 (2025-03-14)

  • fix: await client buildStart on top level buildStart (#19624) (b31faab), closes #19624
  • fix(css): inline css correctly for double quote use strict (#19590) (d0aa833), closes #19590
  • fix(deps): update all non-major dependencies (#19613) (363d691), closes #19613
  • fix(indexHtml): ensure correct URL when querying module graph (#19601) (dc5395a), closes #19601
  • fix(preview): use preview https config, not server (#19633) (98b3160), closes #19633
  • fix(ssr): use optional chaining to prevent "undefined is not an object" happening in `ssrRewriteStac (4309755), closes #19612
  • feat: show friendly error for malformed base (#19616) (2476391), closes #19616
  • feat(worker): show asset filename conflict warning (#19591) (367d968), closes #19591
  • chore: extend commit hash correctly when ambigious with a non-commit object (#19600) (89a6287), closes #19600

6.2.1 (2025-03-07)

6.2.0 (2025-02-25)

... (truncated)

Commits
  • 037f801 release: v6.2.4
  • 7a4faba fix: fs check in transform middleware (#19761)
  • 16869d7 release: v6.2.3
  • f234b57 fix: fs raw query with query separators (#19702)
  • b12911e release: v6.2.2
  • 98b3160 fix(preview): use preview https config, not server (#19633)
  • b31faab fix: await client buildStart on top level buildStart (#19624)
  • dc5395a fix(indexHtml): ensure correct URL when querying module graph (#19601)
  • 2476391 feat: show friendly error for malformed base (#19616)
  • 4309755 fix(ssr): use optional chaining to prevent "undefined is not an object" happe...
  • Additional commits viewable in compare view

Updates vite-plugin-vue-devtools from 7.4.6 to 7.7.2

Release notes

Sourced from vite-plugin-vue-devtools's releases.

v7.7.2

   🐞 Bug Fixes

    View changes on GitHub

v7.7.1

   🚀 Features

    View changes on GitHub

v7.7.0

   🚀 Features

   🐞 Bug Fixes

    View changes on GitHub

v7.6.8

   🚀 Features

   🐞 Bug Fixes

    View changes on GitHub

v7.6.7

   🐞 Bug Fixes

    View changes on GitHub

v7.6.6

   🚀 Features

... (truncated)

Commits
  • bf491cd chore: release v7.7.2
  • 93c6bb8 chore: release v7.7.1
  • 144cc3f chore(deps): update dependency pathe to v2 (#760)
  • 87f80d4 chore: release v7.7.0
  • e758ac3 fix(vite): add configured headers for devtool-related response (#710)
  • c823a87 chore(vite): remove newline on server urls (#759)
  • 12e5b97 chore: pin vite-plugin-inspect version
  • 6059532 chore: release v7.6.8
  • 61b5df8 chore: pin vite-plugin-inspect as patch range
  • c8cfd6a feat: support vite-plugin-inspect for both Vite 5 and 6 (#730)
  • Additional commits viewable in compare view

Updates vitest from 1.6.1 to 3.1.1

Release notes

Sourced from vitest's releases.

v3.1.1

   🐞 Bug Fixes

    View changes on GitHub

v3.1.0

🚀 Features

🐞 Bug Fixes

🏎 Performance

... (truncated)

Commits

…plugin-vue-devtools and vitest

Bumps [esbuild](https://github.com/evanw/esbuild) to 0.25.2 and updates ancestor dependencies [esbuild](https://github.com/evanw/esbuild), [@vitejs/plugin-vue](https://github.com/vitejs/vite-plugin-vue/tree/HEAD/packages/plugin-vue), [@vitejs/plugin-vue-jsx](https://github.com/vitejs/vite-plugin-vue/tree/HEAD/packages/plugin-vue-jsx), [vite](https://github.com/vitejs/vite/tree/HEAD/packages/vite), [vite-plugin-vue-devtools](https://github.com/vuejs/devtools/tree/HEAD/packages/vite) and [vitest](https://github.com/vitest-dev/vitest/tree/HEAD/packages/vitest). These dependencies need to be updated together.


Updates `esbuild` from 0.21.5 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.21.5...v0.25.2)

Updates `@vitejs/plugin-vue` from 5.1.4 to 5.2.3
- [Release notes](https://github.com/vitejs/vite-plugin-vue/releases)
- [Changelog](https://github.com/vitejs/vite-plugin-vue/blob/main/packages/plugin-vue/CHANGELOG.md)
- [Commits](https://github.com/vitejs/vite-plugin-vue/commits/plugin-vue@5.2.3/packages/plugin-vue)

Updates `@vitejs/plugin-vue-jsx` from 4.0.1 to 4.1.2
- [Release notes](https://github.com/vitejs/vite-plugin-vue/releases)
- [Changelog](https://github.com/vitejs/vite-plugin-vue/blob/main/packages/plugin-vue-jsx/CHANGELOG.md)
- [Commits](https://github.com/vitejs/vite-plugin-vue/commits/plugin-vue-jsx@4.1.2/packages/plugin-vue-jsx)

Updates `vite` from 5.4.8 to 6.2.4
- [Release notes](https://github.com/vitejs/vite/releases)
- [Changelog](https://github.com/vitejs/vite/blob/v6.2.4/packages/vite/CHANGELOG.md)
- [Commits](https://github.com/vitejs/vite/commits/v6.2.4/packages/vite)

Updates `vite-plugin-vue-devtools` from 7.4.6 to 7.7.2
- [Release notes](https://github.com/vuejs/devtools/releases)
- [Commits](https://github.com/vuejs/devtools/commits/v7.7.2/packages/vite)

Updates `vitest` from 1.6.1 to 3.1.1
- [Release notes](https://github.com/vitest-dev/vitest/releases)
- [Commits](https://github.com/vitest-dev/vitest/commits/v3.1.1/packages/vitest)

---
updated-dependencies:
- dependency-name: esbuild
  dependency-type: indirect
- dependency-name: "@vitejs/plugin-vue"
  dependency-type: direct:development
- dependency-name: "@vitejs/plugin-vue-jsx"
  dependency-type: direct:development
- dependency-name: vite
  dependency-type: direct:development
- dependency-name: vite-plugin-vue-devtools
  dependency-type: direct:development
- dependency-name: vitest
  dependency-type: direct:development
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot bot added dependencies Pull requests that update a dependency file javascript Pull requests that update javascript code labels Apr 2, 2025
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