fix(deps): update swc monorepo #72
Open
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.3.81 <=1.3.105
->>=1.3.81 <=1.13.2
0.87.28
->0.109.0
0.87.28
->0.109.0
0.35.0
->0.42.0
Release Notes
swc-project/swc (@swc/core)
v1.13.2
Compare Source
Bug Fixes
(es/minifier) Remove the last break in the second switch (#10923) (3ed4a12)
(es/parser) Reject malformed phase import statements (#10912) (5fde348)
(swc_core) Add
default-features = false
to dropstacker
(#10916) (38b45b7)Features
(es/compiler) Improve structure (#10903) (0cc6743)
(es/compiler) Merge
private_in_object
andstatic_blocks
(#10909) (c1405da)(es/compiler) Merge logical assignments (#10914) (ccbfcd1)
(es/compiler) Merge
export_namespace_from
(#10917) (ba6cc71)(es/renamer) Add
renamer_keep_contexts
(#10907) (1b15171)Miscellaneous Tasks
Opus
and allow assigning to theclaude-bot
(3275b9c)Performance
(es/lexer) Remove option for handler (#10881) (1ad8506)
(es/lexer) Reduce memory move (#10906) (145fba4)
(es/lexer) Reduce context query (#10910) (443aa1c)
(es/lexer) Reduce query and comparison (#10919) (400c996)
(es/minifier) Make
get_type
for===
lazy (#10920) (4eab8e8)(es/minifier) Reduce
get_type
calls (#10922) (9d55e88)(es/parser) Reduce check during parsing binding (#10905) (92ca5ec)
(es/parser) Reduce comparison (#10911) (e00c178)
Refactor
(es/compat) Initialize compiler API (#10902) (d6566ee)
(es/lexer) EOF Token (#10880) (54c866a)
(es/parser) Reduce
input_mut()
calls (#10899) (1816368)(es/parser) Remove unnecessary PResult (#10900) (27e548d)
(es/preset-env) Apply swc_ecma_compiler in preset env (#10921) (6f5b72a)
Testing
v1.13.1
Compare Source
Bug Fixes
(es/compat) Properly handle rest assignment in for-in/of RHS (#10883) (5d11851)
(es/decorators) Handle empty class members (#10892) (fe44972)
(es/minifier) Hoist props when only props are used (#10891) (452fc98)
(es/minifier) Recursively check stmt for variable when inlining function (#10896) (e37a93d)
(es/minifier) Termination check when stmts containing switch (#10898) (4429b20)
(es/parser) Fix parsing of JSX identifiers (#10894) (0047c39)
(ts/fast-strip) Strip private method overloads (#10886) (cdb6e87)
Testing
v1.13.0
Compare Source
Bug Fixes
(es/lexer) Disallow legacy octal literals as BigInt (#10867) (430fbf4)
(es/minifier) Restrict IIFE inlining in class contexts (#10879) (a01b54a)
(es/parser) Mark
static
as reserved in strict mode (#10861) (5bdddd7)Features
(es/minifier) Drop unused rest paramters (#10857) (5305486)
(es/minifier) Enhance IIFE invoker for arrow functions (#10860) (2b1ce3d)
(plugin/runner) Use wasmer-wasix sys-minimal feature to reduce binary size (#10638) (b5f704a)
Performance
(es/lexer) Reduce comparison while reading numbers (#10864) (c6ba5c2)
(es/lexer) Remove unnecessary check when reading keywords (#10866) (4aefe0e)
(es/parser) Reduce comparisons (#10862) (3bd9aad)
(es/parser) Remove useless alloc (#10865) (3ebf088)
(es/parser) Reduce token query (#10869) (d93ef64)
(es/parser) Remove duplicate check (#10872) (fe76460)
(es/parser) Remove duplicate check (#10874) (064123b)
(swc_error_reporters) Avoid creating miette handler when no diagnostics (#10852) (93b318f)
Refactor
(es/lexer) Avoid passing
convert
(#10868) (77393f8)(es/minifier) Cleanup (#10882) (2595cb1)
(es/parser) Remove duplicate check for reservedness (#10850) (4897bfd)
(es/parser) Remove span swap operation in parser (#10854) (32f4bb8)
v1.12.14
Compare Source
Bug Fixes
(es/minifier) Don't inline arrow when it contain
this
(#10825) (8b43bb3)(es/parser) Make
export
in NS to not affect file type (#10799) (ae22033)(es/parser) Correctly check ambient context (#10802) (f97ea03)
Features
(es/parser) Enable support for dynamic import with
defer
phase (#10845) (097d29d)(plugin) Remove
bytecheck
to make Wasm plugins backward compatible (#10842) (30ad808)Miscellaneous Tasks
(bindings) Fix dependency issues (7c57fbb)
(deps) Update
class-validator
to avoid comments (#10819) (bacfa4b)(ide) Enable
--workspace
for rust-analyzer check (#10809) (92647ff)Performance
(es/minifier) Use
u8
forremaining_depth
(#10833) (ed6956a)(hstr) Inline one more byte (#10817) (3886c97)
(hstr) Remove static tag (#10832) (66ae1e8)
Refactor
(es/helpers) Make inline helpers optional at compile time (#10808) (53f3881)
(es/lexer) Don't store buffer in lexer (#10830) (cac40f1)
(es/lints) Remove warnings without features (#10794) (41d507f)
(es/parser) Reduce token query (#10834) (5cd5185)
(es/parser) Reduce call to
parse_decorators
(#10846) (356d3a0)(es/parser) Remove duplicate check (#10847) (2b04efd)
(es/preset-env) Use strpool,phf for corejs2 data (#10803) (1652fd8)
(es/react) Remove redundant
replace
calls (#10795) (a670b37)(es/react) Remove
count_children
(#10818) (2116ab2)(hstr) Cleanup duplicate header (#10812) (630dde9)
(hstr) Make the deallocation of
Atom
s explicit (#10813) (406433d)(hstr) Remove
is_global
(#10820) (afda0f9)Testing
v1.12.11
Compare Source
Bug Fixes
(ci) Fix CI (#10790) (b3f9760)
(es) Use
default-features = false
forswc
crate usages (#10776) (50b2eac)(es) Make
swc_typescript
optional (#10792) (c32569d)(preset-env) Fix
default
value forcaniuse
(#10754) (aa4cd5b)(preset-env) Revert
default
value (#10778) (7af5824)Features
(es/minifeir) Inline lazily initialized literals (#10752) (fd5d2e2)
(es/minifier) Evaluate
Number.XXX
constants (#10756) (c47dab5)(es/minifier) Implement partial evaluation of array join (#10758) (bdf3a98)
(swc_core) Expose
swc_ecma_parser/unstable
(#10744) (db0679e)Miscellaneous Tasks
(common) Remove
clone()
in proc macro (#10762) (12e3180)(deps) Update
browserslist-rs
to0.19
(#10750) (f8bf21c)(deps) Remove unused deps with cargo-shear (#10765) (f4e4974)
(es/module) Drop
node
feature ofswc_ecma_loader
(#10761) (44471b5)(plugin/runner) Remove unused feature and dependency (#10764) (a7d8a0a)
Performance
(es/lexer) Use
bitflags
forSyntax
(#10676) (bf8c722)(es/lexer) Do not scan number if there's no underscore (#10788) (f5d92ee)
(es/lints) Make rules not parallel (#10772) (4e6001c)
(es/lints) Merge critical rules (#10773) (816e75a)
(es/parser) Reduce the number of context set ops (#10742) (08b4e8b)
(es/parser) Reduce value set operations for context (#10751) (4976b12)
(es/parser) Reduce query ops of current token (#10766) (4304f91)
(es/parser) Remove useless call in
parse_ident
(#10770) (4ca12c9)(es/renamer) Reduce time complexity in case of conflict (#10749) (0279914)
(hstr) Do not compare string during creating atoms (#10791) (43a4f11)
Replace
rayon
withpar-iter
(#10774) (a6e6ebe)Refactor
(es) Make
swc_ecma_lint
optional forswc
crate (#10767) (f80415b)(es/lexer) Use const fn in
SyntaxFlags
(#10737) (b9eb23a)(es/parser) Cleanup
parse_setter_param
(#10745) (70734f4)(es/parser) Cleanup
typed-arena
(#10769) (ce5138d)(es/parser) Cleanup for ctx (#10777) (d60a611)
(es/parser) Delete
with_ctx
(#10779) (ce057c5)(es/parser) Cleanup (#10781) (176ce36)
(es/preset) Remove deprecated
preset_env
function andfeature
module (#10759) (fa0e0ab)(es/preset-env) Use phf for corejs3 entry (#10712) (658b26d)
Testing
(es/minifier) Update the terser test list (#10748) (1eace01)
(es/minifier) Update the passing test list (#10782) (8aa888b)
(es/parser) Add a test for duplicate labels (#10784) (28fc643)
Pref
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)
v1.12.1
Compare Source
Bug Fixes
(@swc/types) Remove
nativeClassProperties
(#10592) (39032dc)(es/minifier) Fix top level detection of DCE (#10603) (964a560)
(es/minifier) Fix inlining of arrows (#10604) (cc3bc4d)
(es/minifier) Perform DCE on the end (#10602) (a97b149)
(swc_common) Add
Files#is_in_file
(#10599) (e6b61eb)Features
v1.12.0
Compare Source
Bug Fixes
(@swc/types) Add
jsc.output.charset
(#10567) (26b41e8)(es/codegen) Don't call
cmt.get_leading
for dummy span (#10568) (16e204d)(es/parser) Disallow spread operator(
...
) in JSX attribute values (#10587) (8deba78)(es/typescript) Pass
native_class_properties
(#10561) (7e4cd9a)(es/typescript) Handle
export declare var
in namespace (#10579) (2daa17f)(ts/isolated-dts) Add edges
SymbolFlags::Value
andSymbolFlags::Type
in exports (#10577) (e6d4da2)Fix bindings (0f858fd)
Documentation
Features
(es/minifier) Regex support for
format.comments
(#10571) (e441df5)(es/module) Add support for
import.meta.main
in AMD and CJS (#10596) (759de2e)Miscellaneous Tasks
virtual-fs
to dedupe dependencies (#10594) (de667bb)Refactor
(es/lexer) Remove unnecessary result wrap (#10578) (49d15df)
(es/parser) Extract
parse_jsx_attrs
(#10569) (6492786)(es/parser) Remove
cur!(false)
macro (#10583) (c96fa23)(swc_common) Remove
Input::find
(#10542) (494cef9)(swc_common) Use
BytesStr
instead ofLrc<String>
(#10580) (6f00973)(swc_common) Use
swc_sourcemap
instead (#10593) (8a9f609)Testing
v1.11.31
Compare Source
Bug Fixes
(es/codegen) Improve comments handling (#10534) (d9ba838)
(es/codegen) Exclude
constructor
from source map names (#10551) (ef85640)(es/fixer) Fix a bug with awaited arrow fn expression (#10555) (9dfdfa6)
(es/minifier) Fix missing variable (#10478) (6de3ef6)
(es/minifier) Inline object of member if prop is an ident (#10548) (e554381)
(es/minifier) Add side effect check for test expr when compressing IfStmt (#10550) (3e9728e)
(es/minifier) Fix typo in an option name (#10554) (a303941)
(es/parser) Emit syntax errors for strict mode in non-module or scripts (#10545) (1291b4a)
(es/react-compiler) Fix usefulness detection (#10506) (41075a1)
(es/utils) Fix
extract_var_ids
(#10511) (5644372)(react-compiler) Fix fast check (#10538) (9403ce2)
(swc_common) Fix build (#10544) (2ed934d)
(swc_common) Fix skip condition for sourcemap (#10562) (cbee0df)
(swc_common) Fix skip condition for sourcemap, really (#10563) (14feedb)
(swc_common) Revert skip condition patch (#10564) (2a2b284)
(ts/fast-dts) Correctly emit Symbol-keyed accessors in declarations (#10508) (1298e76)
(ts/fast-dts) Ensure correct emission of template literals and symbol-keyed properties (#10530) (8dbdbef)
Features
(es/regexp) Add crates for RegExp (#10525) (4b3f924)
(swc_common) Add
Globals::clone_data
(#10543) (39f30b0)(swc_common) Add
map_raw_pos
toFiles
(#10560) (71224c3)Miscellaneous Tasks
(bindings) Use published versions of crates (#10513) (f65f028)
(ecosystem-ci) Exclude
ts-node
(2b284e1)Performance
(es/minifier) Merge
PropertyCollector
into usage analyzer (#10514) (505bf54)(es/minifier) Remove needless clone (#10523) (1c02ef6)
(es/parser) Reduce comparison while reading logical (#10526) (2bc551c)
(es/renamer) Merge analyze/collect (#10509) (7b47f66)
(swc_common) Remove
char_indices
calls (#10541) (51507bc)Refactor
ryu-js
for numeric literal codegen ([#10503](https://redirect.github.com/swc-Configuration
📅 Schedule: Branch creation - Between 12:00 AM and 03:59 AM, only on Monday ( * 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 is behind base branch, 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.