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.
This PR contains the following updates:
^28.0.2
->^28.0.3
^1.10.18
->^1.11.8
^0.25.0
->^0.25.1
^4.34.8
->^4.35.0
^6.2.0
->^6.2.1
^6.1.1
->^6.2.1
Release Notes
rollup/plugins (@rollup/plugin-commonjs)
v28.0.3
2025-03-06
Bugfixes
__esModule
export (#1850)swc-project/swc (@swc/core)
v1.11.8
Compare Source
Bug Fixes
(es/fast-lexer) Fix lexing of numeric literals (#10153) (65d23fe)
(es/parser) Rescan
<<
in new expression (#10159) (35bd6d9)Features
Performance
(es/fast-lexer) Optimize lexing of keywords (#10155) (fb610b0)
(es/fast-lexer) Optimize bound checks (#10157) (d74360e)
(es/fast-lexer) Make whitespace skipper use SIMD properly (#10158) (15ea059)
(es/lexer) Optimize whitespace scanning (#10136) (8a59753)
(es/lexer) Optimize comment scanning (#10137) (9676c9a)
Refactor
(es/lexer) Add fast lexer implementation (#10145) (b993f86)
Drop unused crates (#10151) (58e4279)
Drop unused js interop bindings (#10161) (0ceefaf)
Ci
v1.11.7
Compare Source
Features
v1.11.6
Compare Source
Bug Fixes
(es/minifier) Fix regression due to #10056 (#10134) (b145275)
(es/typescript) Remove empty statements that const enum decls are folded into (#10128) (7bea830)
v1.11.5
Compare Source
Bug Fixes
(es/lints) Capture errors and emit from the original thread (#10119) (2304cd8)
(es/minifier) Skip inlining if the referential identity of a function matters (#10123) (c08fe8d)
(ts/fast-strip) Throw object consistently (#10122) (010ff2a)
Miscellaneous Tasks
base64
tov0.22.1
(#10124) (edea2c5)Performance
v1.11.4
Compare Source
Bug Fixes
(es/decorators) Support negative numbers (#10114) (5044580)
(es/minifier) Fix cargo feature
debug
(#10090) (48f68db)(es/minifier) Fix insufficient logging (#10091) (9ee79c9)
(es/minifier) Inline before cost analysis (#10092) (1425b56)
(es/minifier) Remove needless
println
(b1e5b2d)(es/resolver) Analyze variable declarations with
declare
(#10102) (cff6a64)(swc_malloc) Fix build issue due to malloc, really (#10117) (207a13f)
(swc_malloc) Add
target_env = "gnu"
check (#10118) (da81e11)Use
jemalloc
on platforms thatmimalloc
fails to build (#10116) (fb75b98)Miscellaneous Tasks
jsonc-parser
tov0.26.2
(#10112) (8c5f7ef)Performance
(es/minifier) Improve arrow function inlining cost analysis (#10093) (e74929c)
(es/resolver) Remove some vector allocations (#10101) (b65387a)
Use
mimalloc
on linux (#10113) (3334932)Refactor
Lrc
fromparse_expr_for_jsx
(#10098) (bab7704)v1.11.1
Compare Source
Bug Fixes
(error-reporters) Store diagnostics in
TransformOutput
(#10027) (52caf23)(es/loader) Fix the absolute path check when resolving modules (#10080) (a3894ae)
(es/minifier) Fix the order of match arms to inline correctly (#10053) (f0f842d)
(es/types) Add
transform.verbatimModuleSyntax
(#10079) (a883cdc)(swc_common) Fix build with
swc_allocator/nightly
(#10067) (6a90b1f)Documentation
swc_core
(#10072) (608bc69)Features
(es/ast) Add explicit
namespace
field to distinguish namespace and module declarations (#10023) (76c2cba)(es/ast) Add import attributes to
TsImportType
(#9796) (7d297be)(es/minifier) Inline across side-effect-free member exprs, (#10056) (19d01d7)
(es/minifier) Make seq inliner inline into var without init (#10077) (c4a839b)
(es/visit) Introduce core-only visitors (#10049) (bc666be)
(swc_allocator) Provide allocators (#10061) (d4362f7)
Miscellaneous Tasks
(deps) Update dependency swc-plugin-coverage-instrument to ^0.0.26 (#10051) (d3fbd21)
(swc_allocator) Remove
nightly
from default feature (#10058) (e78b9d1)(swc_allocator) Add
#[inline]
to allocator methods (#10066) (853eb53)Performance
(es/lints) Remove needless locks (#10086) (43458e9)
(es/minifier) Prevent double boxing (#10074) (29bd286)
Refactor
(atoms) Rename
FastAtom
toUnsafeAtom
(#10070) (1771222)(atoms) Remove
JsWord
alias (#10071) (f33b0bc)(es/minifier) Remove
CompileUnit
to simplify (#10055) (c75578b)evanw/esbuild (esbuild)
v0.25.1
Compare Source
Fix incorrect paths in inline source maps (#4070, #4075, #4105)
This fixes a regression from version 0.25.0 where esbuild didn't correctly resolve relative paths contained within source maps in inline
sourceMappingURL
data URLs. The paths were incorrectly being passed through as-is instead of being resolved relative to the source file containing thesourceMappingURL
comment, which was due to the data URL not being a file URL. This regression has been fixed, and this case now has test coverage.Fix invalid generated source maps (#4080, #4082, #4104, #4107)
This release fixes a regression from version 0.24.1 that could cause esbuild to generate invalid source maps. Specifically under certain conditions, esbuild could generate a mapping with an out-of-bounds source index. It was introduced by code that attempted to improve esbuild's handling of "null" entries in source maps (i.e. mappings with a generated position but no original position). This regression has been fixed.
This fix was contributed by @jridgewell.
Fix a regression with non-file source map paths (#4078)
The format of paths in source maps that aren't in the
file
namespace was unintentionally changed in version 0.25.0. Path namespaces is an esbuild-specific concept that is optionally available for plugins to use to distinguish paths fromfile
paths and from paths meant for other plugins. Previously the namespace was prepended to the path joined with a:
character, but version 0.25.0 unintentionally failed to prepend the namespace. The previous behavior has been restored.Fix a crash with
switch
optimization (#4088)The new code in the previous release to optimize dead code in switch statements accidentally introduced a crash in the edge case where one or more switch case values include a function expression. This is because esbuild now visits the case values first to determine whether any cases are dead code, and then visits the case bodies once the dead code status is known. That triggered some internal asserts that guard against traversing the AST in an unexpected order. This crash has been fixed by changing esbuild to expect the new traversal ordering. Here's an example of affected code:
Update Go from 1.23.5 to 1.23.7 (#4076, #4077)
This should have no effect on existing code as this version change does not change Go's operating system support. It may remove certain reports from vulnerability scanners that detect which version of the Go compiler esbuild uses.
This PR was contributed by @MikeWillCook.
rollup/rollup (rollup)
v4.35.0
Compare Source
2025-03-08
Features
Pull Requests
v4.34.9
Compare Source
2025-03-01
Bug Fixes
Pull Requests
egoist/rollup-plugin-esbuild (rollup-plugin-esbuild)
v6.2.1
Compare Source
Reverts
vitejs/vite (vite)
v6.2.1
Compare Source
isBuild
check from preAliasPlugin (#19587) (c9e086d), closes #19587applyToEnvironment
in internal plugins (#19588) (f678442), closes #19588*?url&no-inline
type and warning for.json?inline
/.json?no-inline
(#19566) (c0d3667), closes #19566v6.2.0
Compare Source
Configuration
📅 Schedule: Branch creation - "* 0-3 * * 1" (UTC), Automerge - At any time (no schedule defined).
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
👻 Immortal: This PR will be recreated if closed unmerged. Get config help if that's undesired.
This PR was generated by Mend Renovate. View the repository job log.