chore(deps): update dependency @swc/core to v1.12.9 #2498
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:
1.12.1
->1.12.9
Release Notes
swc-project/swc (@swc/core)
v1.12.9
Compare Source
Bug Fixes
(es/lexer) Parse uppercase hex numbers correctly (#10728) (ead6256)
(es/lexer) Allow keywords as jsx attribute names (#10730) (04ef20a)
(es/minifier) Fix top level option (#10227) (485fced)
(es/minifier) Do not drop self-referential class expressions (#10710) (39e6c2e)
(es/minifier) Mark
cons
andalt
ofCondExpr
asref
(#10740) (9649cc8)(es/minifier) Fix termination detection (#10741) (87bc698)
(es/parser) Allow non-prop operand in delete (#10733) (38132e0)
Features
(es/minifier) Hoist more properties (#10707) (0f2c8d5)
(es/transforms) Expose
tsEnumIsMutable
to JS (#10716) (6b3ae00)Performance
(es/minifier) Make
CharFreq::scan
in mangler table-based (#10679) (04d39aa)(ts/fast-strip) Use
swc_ecma_parser::Lexer
(#10677) (ffe0292)Optimize
Input::reset_to
(#10719) (8084066)Refactor
(es/lexer) Useless reset (#10714) (c9eee0b)
(es/lexer) Cleanup
read_int
(#10727) (c5fb4b1)(es/parser) Remove
read_number_no_dot
(#10703) (fa8607f)(es/parser) Remove needless branching (#10717) (b0c23b2)
Testing
(es/preset-env) Add entry import bench (#10722) (9868b4d)
Make codspeed concurrent on main branch (#10711) (4392ce3)
v1.12.7
Compare Source
Bug Fixes
(es/minifier) Fix condition for preserving properties (#10694) (5c57a05)
(es/minifier) Drop pure tagged string call expr (#10702) (85cd9a7)
(es/parser) Improve error message for template literals (#10690) (a066b76)
(es/parser) Rescan
>=
for JSX closing tag (#10693) (fe82c4c)(es/parser) Support keywords as JSX member expression properties (#10701) (643253d)
Features
(es/parser) Add
override
andout
keyword (#10695) (636d7a3)(es/parser) Enable import attributes unconditionally (#10706) (5ecc3ca)
(es/parser) Expose Token API with unstable feature flag (#10699) (750c7d4)
Performance
Testing
v1.12.6
Compare Source
Bug Fixes
(es/parser) Throw error if JSX does not end with
>
(#10687) (cb3d6db)(es/react-compiler) Use tsx syntax for parser (#10682) (a355e37)
(hstr) Support MSRV =
1.86
(#10673) (de19d1e)(ts/isolated-dts) Skip parameters without accessibility modifiers in private constructors (#10675) (1976d8e)
Features
Miscellaneous Tasks
react-leaflet
(cfbb1f9)Performance
(es/lexer) Optimize number literal parsing with fast path (#10655) (15d0828)
(es/lexer) Reduce allocations while lexing numbers (#10667) (115d228)
(es/lexer) Introduce
byte_search
to reduce comparison operations (#10668) (3806ffd)(es/lexer) Compare
\n
first (#10669) (9c41e2f)(es/lexer) Optimize lexing of numbers with separators (#10665) (cac651b)
(es/minifier) Remove needless clones (#10661) (5f4f7dd)
(ts/fast-strip) Prealloc buf for codegen (#10680) (a8347fe)
Refactor
Build
v1.12.5
Compare Source
Bug Fixes
(es/parser) Parse jsx entity (#10652) (bfd3bc5)
(es/parser) Consider reseved ident in jsx name (#10647) (9262a59)
Performance
next_token
(#10654) (1be2ca0)Refactor
\t
(#10650) (d6ac3b7)v1.12.4
Compare Source
Bug Fixes
(es/minifier) Fix
Buffer
handling ofminify()
API (#10643) (cdf068e)(es/minifier) Fix arrow inlining (#10642) (7232c10)
(es/parser) Don't be greedy in the end of jsx open el (#10637) (8a2c656)
Update
par-core
andpar-iter
(#10629) (38f7d51)Fix CI (#10641) (9df98f7)
Refactor
v1.12.3
Compare Source
Bug Fixes
v1.12.2
Compare Source
Bug Fixes
(ci) Fix build of
@swc/minifier
(0dc5244)(es/codegen) Fix
.map
path when usingoutput_path
(01e5bd1)(es/parser) Allow type ann in jsx expr child (#10626) (48f576c)
(swc) Fix wrong caching of resolvers regarding file exts (#10615) (68aacd1)
(ts/isolated-dts) Fix usage dependency (#10621) (b3677d3)
(ts/isolated-dts) Emit properties in overloaded constructor params (#10623) (6634ef1)
Features
None
intry_lookup_source_file
(#10625) (d8e2405)Performance
(atoms) Improve
atom!
for inlinable strings (#10612) (5113121)(es/minifier) Avoid calling some costly function when optimizing deep nested binary expr (#10611) (1434571)
(es/minifier) Remove needless JSON conversion (#10628) (4a58dca)
(es/parser) Reduce cmp in jsx spread child (#10606) (fb33c13)
Refactor
(es/parser) Cleanup - deduplicate some code (#10608) (5f9af96)
(es/parser) Remove token contexts (#10547) (7ffe9d2)
Configuration
📅 Schedule: Branch creation - Between 12:00 AM and 03:59 AM, only on Monday ( * 0-3 * * 1 ) in timezone Europe/Oslo, 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.
🔕 Ignore: Close this PR and you won't be reminded about this update again.
This PR was generated by Mend Renovate. View the repository job log.