build(deps): bump esbuild, fumadocs-mdx and tsx
Created by: dependabot[bot]
Bumps esbuild to 0.28.1 and updates ancestor dependencies esbuild, fumadocs-mdx and tsx. These dependencies need to be updated together.
Updates esbuild from 0.27.2 to 0.28.1
Release notes
Sourced from esbuild's releases.
v0.28.1
Disallow
\in local development server HTTP requests (GHSA-g7r4-m6w7-qqqr)This release fixes a security issue where HTTP requests to esbuild's local development server could traverse outside of the serve directory on Windows using a
\backslash character. It happened due to the use of Go'spath.Clean()function, which only handles Unix-style/characters. HTTP requests with paths containing\are no longer allowed.Thanks to
@dellaliberafor reporting this issue.Add integrity checks to the Deno API (GHSA-gv7w-rqvm-qjhr)
The previous release of esbuild added integrity checks to esbuild's npm install script. This release also adds integrity checks to esbuild's Deno install script. Now esbuild's Deno API will also fail with an error if the downloaded esbuild binary contains something other than the expected content.
Note that esbuild's Deno API installs from
registry.npmjs.orgby default, but allows theNPM_CONFIG_REGISTRYenvironment variable to override this with a custom package registry. This change means that the esbuild executable served byNPM_CONFIG_REGISTRYmust now match the expected content.Thanks to
@sondt99for reporting this issue.Avoid inlining
usingandawait usingdeclarations (#4482)Previously esbuild's minifier sometimes incorrectly inlined
usingandawait usingdeclarations into subsequent uses of that declaration, which then fails to dispose of the resource correctly. This bug happened because inlining was done forletandconstdeclarations by avoiding doing it forvardeclarations, which no longer worked when more declaration types were added. Here's an example:// Original code { using x = new Resource() x.activate() } // Old output (with --minify) new Resource().activate(); // New output (with --minify) {using e=new Resource;e.activate()}Fix module evaluation when an error is thrown (#4461, #4467)
If an error is thrown during module evaluation, esbuild previously didn't preserve the state of the module for subsequent module references. This was observable if
import()orrequire()is used to import a module multiple times. The thrown error is supposed to be thrown by every call toimport()orrequire(), not just the first. With this release, esbuild will now throw the same error every time you callimport()orrequire()on a module that throws during its evaluation.Fix some edge cases around the
newoperator (#4477)Previously esbuild incorrectly printed certain edge cases involving complex expressions inside the target of a
newexpression (specifically an optional chain and/or a tagged template literal). The generated code for thenewtarget was not correctly wrapped with parentheses, and either contained a syntax error or had different semantics. These edge cases have been fixed so that they now correctly wrap thenewtarget in parentheses. Here is an example of some affected code:// Original code new (foo()`bar`)() new (foo()?.bar)() // Old output new foo()bar(); new (foo())?.bar();
... (truncated)
Changelog
Sourced from esbuild's changelog.
Changelog: 2025
This changelog documents all esbuild versions published in the year 2025 (versions 0.25.0 through 0.27.2).
Commits
-
bb9db84publish 0.28.1 to npm -
9ff053esecurity: add integrity checks to the Deno API -
0a9bf21enforce non-negative size in gzip parser -
e2a1a71security: forbid\\in local dev server requests -
83a2cbffix #4482: don't inlineusingdeclarations -
308ad74fix #4471: renaming of nestedvardeclarations -
f013f5ffix some typos -
aafd6e4chore: fix some minor issues in comments (#4462) -
15300c3follow up: cjs evaluation fixes -
1bda0c3fix #4461, fix #4467: esm evaluation fixes - Additional commits viewable in compare view
Updates fumadocs-mdx from 14.2.2 to 14.3.2
Commits
-
d6bf3e0Merge pull request #3235 from fuma-nama/changeset-release/dev -
af7ee2dCLI: fix layout preserve plugin -
970b1bfOpenAPI: fix inconsistency in option names -
2eff8e9Chore: update showcases -
fa781f1fix jsdoc omitted from output -
a83709fclean code -
3e85c69Docs: add more docs for MDX Remote -
79d3209Core: narrow schema types -
387e659UI: relocate toc width -
e1f19c7Version Packages (#3232) - Additional commits viewable in compare view
Updates tsx from 4.21.0 to 4.22.4
Release notes
Sourced from tsx's releases.
v4.22.4
4.22.4 (2026-05-31)
Bug Fixes
This release is also available on:
v4.22.3
4.22.3 (2026-05-19)
Bug Fixes
This release is also available on:
v4.22.2
4.22.2 (2026-05-18)
Bug Fixes
- preserve CJS JSON require in ESM hooks (35b700b)
- preserve named exports from CommonJS TypeScript (11de737)
- support module.exports require(esm) interop (cf8f199)
This release is also available on:
v4.22.1
4.22.1 (2026-05-17)
Bug Fixes
This release is also available on:
... (truncated)
Commits
-
1ce8463fix: resolve CommonJS directory requires inside dependencies (#803) -
dce02fcfix: decode typed loader source -
68f72f3fix: preserve entrypoint with TypeScript preload hooks -
69455cftest: cover package exports for ambiguous ESM reexports -
35b700bfix: preserve CJS JSON require in ESM hooks -
ef807dbchore: update testing dependencies -
3917090test: document compatibility test taxonomy -
de8113frefactor: centralize Node capability facts -
c1f62dbtest: consolidate tsconfig path edge coverage -
4e08174test: consolidate loader hook coverage - Additional commits viewable in compare view
Maintainer changes
This version was pushed to npm by GitHub Actions, a new releaser for tsx since your current version.
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 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.