build(deps): bump esbuild, @vitejs/plugin-react, @astrojs/tailwind, astro and tsx #428
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Bumps esbuild to 0.25.2 and updates ancestor dependencies esbuild, @vitejs/plugin-react, @astrojs/tailwind, astro and tsx. These dependencies need to be updated together.
Updates
esbuild
from 0.21.5 to 0.25.2Release 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 theflags
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 thei
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 = ...
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, bar
from ESM to CommonJS, esbuild appends this to the end of the file: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:
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.
... (truncated)
Commits
4475787
publish 0.25.2 to npm8f56771
fix #4121: map js regexp flags to go regexp flags36b458d
follow-up to #41098b8437c
feat: support index source map (#4109)75286c1
unit test for absolute windows paths in source mapbcc77fb
fix #4100: invalid identifiers in node annotation37cb6a2
fix a warning fromnpm publish
6bfc1c1
publish 0.25.1 to npmf9b3952
fix #4078: prepend namespaces to source map pathsccf3dd7
add "contributed by" in changelogUpdates
@vitejs/plugin-react
from 4.3.1 to 4.3.4Release notes
Sourced from
@vitejs/plugin-react
's releases.Changelog
Sourced from
@vitejs/plugin-react
's changelog.Commits
2e368a6
release: plugin-react@4.3.4bde1ad6
feat: add Vite 6 to peerDependencies range (#390)45a727c
fix(deps): update all non-major dependencies (#373)5d2b6c6
fix: force non-legacy import attributes babel output (#386)b61592a
release: plugin-react@4.3.3e8a923f
fix: addreact-dom
inoptimizeOps
to handle CJS script. (#375)7a7e339
feat: support new React Compiler target option (#374)63b2e38
release: plugin-react@4.3.2fdf6ce4
fix(deps): update all non-major dependencies (#273)4544e97
feat: update refresh utils for React Router 7 support (#363)Updates
@astrojs/tailwind
from 5.1.0 to 5.1.5Changelog
Sourced from
@astrojs/tailwind
's changelog.Commits
0a0b197
[ci] release (#12991)3357ff6
fix(deps): update all non-major dependencies (#13008)cf30880
fix: upgrade Vite and update tests (#13 8000 011)7a0855b
fix(deps): update all non-major dependencies (#12579)3d89e62
fix: align esbuild to vite (#12361)5f4c543
[ci] release (#12790)739dbfb
fix(deps): upgrade Vite (#12799)901c21f
test: make tailwind test more stable (#12732)7a02982
[ci] release (#12595)4f2fd0a
fix: cleanup peer deps ranges (#12594)Updates
astro
from 4.15.4 to 5.5.6Release notes
Sourced from astro's releases.
... (truncated)
Changelog
Sourced from astro's changelog.
... (truncated)
Commits
ddc98eb
[ci] release (#13513)ff9d69e
fix: updatevite
to latest version (#13526)b8645c1
[ci] format82cd583
fix(i18n): return value frompreferredLocale
(#13524)32499c0
chore(tailwind): delete integration (#13511)a5061d6
fix(deps): update astro dependencies (#13498)7185491
[ci] format06de673
refactor(actions): useOmit
to avoid leaking types to shared context (#13429)b33cc17
[ci] release (#13504)3488324
[ci] formatUpdates
tsx
from 4.19.1 to 4.19.3Release notes
Sourced from tsx's releases.
Commits
e04e6c6
fix: upgradeesbuild
to~0.25.0
to address vuln report (#698)28a3e7d
docs: update links tonpx
(#680)38b7135
docs: add carbon ads7c47074
fix: generate sourcesContent when Node.js debugger is enabled (#670)315d5f4
docs(watch): document--include
flag375e39a
test: refactor enforce-timeout524cb77
docs(cjs): add compilation caveats7f8a051
chore(deps): update dependency node to v20.18.0 (#660)97e8de0
chore: upgrade pnpm95d2b0f
chore: remove commit hooksDependabot 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.