azure-search-openai-demo
azure-search-openai-demo copied to clipboard
Bump esbuild, @vitejs/plugin-react and vite in /app/frontend
Bumps esbuild to 0.25.2 and updates ancestor dependencies esbuild, @vitejs/plugin-react and vite. 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
filteroption. Internally these are translated into Go regular expressions. However, this translation previously ignored theflagsproperty 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?$/iis 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 theiflag. 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 = ...ormodule.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 fileexport let foo, barfrom 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
--defineandimport.meta(#4010, #4012, #4013)The previous change in version 0.24.1 to use a more expression-like parser for
definevalues to allow quoted property names introduced a regression that removed the ability to use--define:import.meta=.... Even thoughimportis normally a keyword that can't be used as an identifier, ES modules special-case theimport.metaexpression to behave like an identifier anyway. This change fixes the regression.This fix was contributed by
@sapphi-red.0.24.1
Allow
es2024as a target intsconfig.json(#4004)TypeScript recently added
es2024as a compilation target, so esbuild now supports this in thetargetfield oftsconfig.jsonfiles, 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/setThis 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
--defineand--pure(#4008)The
defineandpureAPI 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--defineand--pureconsistent with--global-name, which already supported quoted property names. For example, the following is now possible:
... (truncated)
Commits
4475787publish 0.25.2 to npm8f56771fix #4121: map js regexp flags to go regexp flags36b458dfollow-up to #41098b8437cfeat: support index source map (#4109)75286c1unit test for absolute windows paths in source mapbcc77fbfix #4100: invalid identifiers in node annotation37cb6a2fix a warning fromnpm publish6bfc1c1publish 0.25.1 to npmf9b3952fix #4078: prepend namespaces to source map pathsccf3dd7add "contributed by" in changelog- Additional commits viewable in compare view
Updates @vitejs/plugin-react from 4.3.3 to 4.4.0
Release notes
Sourced from @vitejs/plugin-react's releases.
[email protected]
Make compatible with rolldown-vite
This plugin is now compatible with rolldown-powered version of Vite. Note that currently the
__sourceproperty value position might be incorrect. This will be fixed in the near future.[email protected]
Add
reactRefreshHostoptionAdd
reactRefreshHostoption to set a React Fast Refresh runtime URL prefix. This is useful in a module federation context to enable HMR by specifying the host application URL in the Vite config of a remote application. See full discussion here: module-federation/vite#183export default defineConfig({ plugins: [react({ reactRefreshHost: 'http://localhost:3000' })], })[email protected]
No release notes provided.
[email protected]
Add Vite 6 to peerDependencies range
Vite 6 is highly backward compatible, not much to add!
Force Babel to output spec compliant import attributes #386
The default was an old spec (
with type: "json"). We now enforce spec compliant (with { type: "json" })
Changelog
Sourced from @vitejs/plugin-react's changelog.
4.4.0 (2025-04-15)
Make compatible with rolldown-vite
This plugin is now compatible with rolldown-powered version of Vite. Note that currently the
__sourceproperty value position might be incorrect. This will be fixed in the near future.4.4.0-beta.2 (2025-04-15)
Add
reactRefreshHostoptionAdd
reactRefreshHostoption to set a React Fast Refresh runtime URL prefix. This is useful in a module federation context to enable HMR by specifying the host application URL in the Vite config of a remote application. See full discussion here: module-federation/vite#183export default defineConfig({ plugins: [react({ reactRefreshHost: 'http://localhost:3000' })], })4.4.0-beta.1 (2025-04-09)
4.4.0-beta.0 (2025-04-09)
4.3.4 (2024-11-26)
Add Vite 6 to peerDependencies range
Vite 6 is highly backward compatible, not much to add!
Force Babel to output spec compliant import attributes #386
The default was an old spec (
with type: "json"). We now enforce spec compliant (with { type: "json" })
Commits
8beda4frelease: [email protected]fffe4adfeat: add support for rolldown-vite (#451)c197fd9release: [email protected]bd1a1adfix(deps): update all non-major dependencies (#392)87f7fddfeat: addreactRefreshHostoption to support module federation HMR (#420)da01d56release: [email protected]9b1b510chore: fix refresh runtime path in dev (#444)8258442release: [email protected]f7d2f7echore: add type field to plugin-react package (#445)55dec04feat: add plugin-react-oxc (#439)- Additional commits viewable in compare view
Updates vite from 5.4.18 to 6.3.1
Release notes
Sourced from vite's releases.
[email protected]
Please refer to CHANGELOG.md for details.
v6.3.1
Please refer to CHANGELOG.md for details.
[email protected]
Please refer to CHANGELOG.md for details.
v6.3.0
Please refer to CHANGELOG.md for details.
v6.3.0-beta.2
Please refer to CHANGELOG.md for details.
v6.3.0-beta.1
Please refer to CHANGELOG.md for details.
v6.3.0-beta.0
Please refer to CHANGELOG.md for details.
v6.2.6
Please refer to CHANGELOG.md for details.
v6.2.5
Please refer to CHANGELOG.md for details.
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.
[email protected]
Please refer to CHANGELOG.md for details.
v6.2.1
Please refer to CHANGELOG.md for details.
[email protected]
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.
... (truncated)
Changelog
Sourced from vite's changelog.
6.3.1 (2025-04-17)
- fix: avoid using
Promise.allSettledin preload function (#19805) (35c7f35), closes #19805- fix: backward compat for internal plugin
transformcalls (#19878) (a152b7c), closes #198786.3.0 (2025-04-16)
- fix(hmr): avoid infinite loop happening with
hot.invalidatein circular deps (#19870) (d4ee5e8), closes #19870- fix(preview): use host url to open browser (#19836) (5003434), closes #19836
6.3.0-beta.2 (2025-04-11)
- fix: addWatchFile doesn't work if base is specified (fixes #19792) (#19794) (8bed1de), closes #19792 #19794
- fix: correct the behavior when multiple transform filter options are specified (#19818) (7200dee), closes #19818
- fix: fs check with svg and relative paths (#19782) (62d7e81), closes #19782
- fix: keep entry asset files imported by other files (#19779) (2fa1495), closes #19779
- fix: reject requests with
#in request-target (#19830) (175a839), closes #19830- fix: unbundle
fdirto fixcommonjsOptions.dynamicRequireTargets(#19791) (71227be), closes #19791- fix(css): remove empty chunk imports correctly when chunk file name contained special characters (#1 (b125172), closes #19814
- fix(dev): make query selector regexes more inclusive (fix #19213) (#19767) (f530a72), closes #19213 #19767
- fix(hmr): run HMR handler sequentially (#19793) (380c10e), closes #19793
- fix(module-runner): allow already resolved id as entry (#19768) (e2e11b1), closes #19768
- fix(types): remove the
keepProcessEnvfrom theDefaultEnvironmentOptionstype (#19796) (36935b5), closes #19796- refactor: simplify pluginFilter implementation (#19828) (0a0c50a), closes #19828
- perf(css): avoid constructing
renderedModules(#19775) (59d0b35), closes #19775- test: tweak generateCodeFrame test (#19812) (8fe3538), closes #19812
- docs(vite): fix description of
transformIndexHtmlhook (#19799) (a0e1a04), closes #19799- chore: remove unused eslint directive (#19781) (cb4f5b4), closes #19781
6.3.0-beta.1 (2025-04-03)
- fix: align plugin hook filter behavior with pluginutils (#19736) (0bbdd2c), closes #19736
- fix: fs check in transform middleware (#19761) (5967313), closes #19761
- fix(hmr): throw non-standard error info causes logical error (#19776) (6b648c7), closes #19776
- perf: only bundle node version
debug(#19715) (e435aae), closes #19715- feat(env): add false option for envDir to disable env loading (#19503) (bca89e1), closes #19503
- feat(types): make CustomPluginOptionsVite backward compatible (#19760) (821edf1), closes #19760
- chore: fix some typos in comment (#19728) (35ee848), closes #19728
6.3.0-beta.0 (2025-03-26)
... (truncated)
Commits
c9eda23chore(css): move environment destructuring after condition check (#19492)797959fchore(html): remove unnecessary value check (#19491)aa1d807test: add glob import test case (#19516)d8461b5release: v6.2.0c94c9e0fix(deps): update all non-major dependencies (#19501)5c70296chore: use unicode cross icon instead of x (#19497)07091a1fix(worker): string interpolation in dynamic worker options (#19476)e01573arelease: v6.2.0-beta.112b0b8afix(css): temporary add?.afterthis.getModuleInfoinvite:css-post(#...d686252release: v6.2.0-beta.0- 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 rebasewill rebase this PR@dependabot recreatewill recreate this PR, overwriting any edits that have been made to it@dependabot mergewill merge this PR after your CI passes on it@dependabot squash and mergewill squash and merge this PR after your CI passes on it@dependabot cancel mergewill cancel a previously requested merge and block automerging@dependabot reopenwill reopen this PR if it is closed@dependabot closewill close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually@dependabot show <dependency name> ignore conditionswill show all of the ignore conditions of the specified dependency@dependabot ignore this major versionwill 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 versionwill 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 dependencywill 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.