fix(deps): update swc monorepo#476
Merged
Merged
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.10.9->1.10.101.10.7->1.12.4Release Notes
swc-project/swc-node (@swc-node/register)
v1.10.10Compare Source
swc-project/swc (@swc/core)
v1.12.4Compare Source
Bug Fixes
(es/minifier) Fix
Bufferhandling 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-coreandpar-iter(#10629) (38f7d51)Fix CI (#10641) (9df98f7)
Refactor
v1.12.3Compare Source
Bug Fixes
v1.12.2Compare Source
Bug Fixes
(ci) Fix build of
@swc/minifier(0dc5244)(es/codegen) Fix
.mappath 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
Noneintry_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.1Compare 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.0Compare Source
Bug Fixes
(@swc/types) Add
jsc.output.charset(#10567) (26b41e8)(es/codegen) Don't call
cmt.get_leadingfor 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 varin namespace (#10579) (2daa17f)(ts/isolated-dts) Add edges
SymbolFlags::ValueandSymbolFlags::Typein exports (#10577) (e6d4da2)Fix bindings (0f858fd)
Documentation
Features
(es/minifier) Regex support for
format.comments(#10571) (e441df5)(es/module) Add support for
import.meta.mainin AMD and CJS (#10596) (759de2e)Miscellaneous Tasks
virtual-fsto 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
BytesStrinstead ofLrc<String>(#10580) (6f00973)(swc_common) Use
swc_sourcemapinstead (#10593) (8a9f609)Testing
v1.11.31Compare Source
Bug Fixes
(es/codegen) Improve comments handling (#10534) (d9ba838)
(es/codegen) Exclude
constructorfrom 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_postoFiles(#10560) (71224c3)Miscellaneous Tasks
(bindings) Use published versions of crates (#10513) (f65f028)
(ecosystem-ci) Exclude
ts-node(2b284e1)Performance
(es/minifier) Merge
PropertyCollectorinto 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_indicescalls (#10541) (51507bc)Refactor
(es/codegen) Migrate to
ryu-jsfor numeric literal codegen (#10503) (4bc4244)(es/lexer) Cleanup code for reading tokens (#10533) (a72092c)
(es/lexer) Share
skip_block_comment(#10549) (b101a87)(es/parser) Share code for parsing strings (#10522) (931a2d6)
(es/parser) Cleanup (#10559) (963ac9e)
(ts/fast-dts) Derive computed flags from source code (#10510) (a2d5664)
v1.11.29Compare Source
Bug Fixes
(@swc/types) Add
transform.nativeClassProperties(#10418) (f3af44c)(@swc/types) Add
resolveFullytoBaseModuleConfig(#10426) (164cbaa)(ci) Remove wasmer override (425eeb9)
(es/compat) Properly handle rest assignment in for-in/of head (#10489) (b9c0446)
(es/jest) Hoisting vars with names starting with mock (#10410) (a29eb29)
(es/jest) Revert #10410 (#10452) (bc756f8)
(es/minifier) Properly handle object shorthand syntax during compression (#10467) (bae4940)
(es/module) Handle
__proto__export name (#10420) (1b94c7a)(es/optimization) Support decimal numbers in
jsonify(#10424) (affdec2)(es/react-compiler) Mark function components declared as a var interesting (#10437) (5eac076)
(es/renamer) Fix (broken) identifier preserving API (#10474) (06c64cf)
(ts/fast-dts) Emit
readonlyfor Object getter prop (#10492) (6c03e20)(ts/fast-dts) Align object getter/setter emit behavior with TypeScript (#10502) (78c754e)
Features
(common) Allow using
build_sourcemapwith multipleSourceMap(#10438) (2a07c8a)(common) Add
ignoreListsupport for sourcemap (#10442) (6750459)(config) Allow using glob in some places (#10445) (f7a6359)
(config) Use
globsetinstead (#10446) (7bbaef8)(es/module) Add support for stripping "node:" prefix in imports and exports (#10461) (ae2ff62)
(es/react-compiler) Initialize support crate (#10422) (1e88e6b)
Initialize
@swc/react-compiler(#10475) (883b24c)Miscellaneous Tasks
Performance
(common) Accept owned instance of
sourcemap::SourceMap(#10463) (6ee439a)(es/minifier) Use fxhash for DCE (#10440) (c0ddd96)
(es/minifier) Remove needless
collect_declscall (#10450) (8e4b6ce)(es/minifier) Clear graph eagerly in DCE (#10455) (31e21d7)
(es/minifier) Perform full analysis only once for DCE (#10454) (61baf84)
(es/minifier) Use
bitflagsfor var info (#10459) (36f8385)(es/optimization) Rely on
resolverfrominline_globals(#10449) (1978809)(es/renamer) Merge Id/Def collector (#10487) (73377f0)
(es/utils) Make
IdentUsageFinderparallel (#10444) (d074bca)(es/utils) Stop visiting once found in
EvalFinder(#10483) (3402270)Refactor
(common) Remove useless
&mut(#10405) (edbeb49)(common) Remove unused methods (#10469) (b77311a)
(ecma/transform) Cleanup rename analyzer (#10500) (de51be1)
(es) Remove unused code (#10460) (d344133)
(es) Deduplicate
EvalFinder(#10472) (9f104af)(es/minifier) Remove unused file (#10465) (7d49097)
(es/minifier) Merge label/private name renamer (#10480) (5add84d)
(es/parser) Split parser into also-lex/parse-only (#10399) (26289ab)
(es/parser) Parse shebang and cleanup (#10481) (619873a)
(es/parser) Cleanup usage of
is!andbump!(#10490) (b695b68)(es/renamer) Inline
get_unresolved(#10493) (0f5d9c1)(es/transforms) Unify
preset_envandes_versiontransform (#10451) (6546c27)Build
(plugin) Update
wasmertov6.0.0(#10439) (b9eff3c)Update
rustctonightly-2025-05-06(#10443) (a7cbde7)v1.11.24Compare Source
v1.11.22Compare Source
Bug Fixes
(es/parser) Parse
export default from;withexportDefaultFrom: trueoption (#10373) (a270cb0)(es/proposal) Fix exported class for
explicit-resource-management(#10393) (6b5dbc6)(swc_core) Fix downstream doc builds (#10401) (df511ba)
Upgrade browserslist-rs version (#10389) (f802892)
Features
(bindings/core) Enhance existing parse function to accept both string and buffer types(#10371) (c9a2afc)
(css/prefixer) Fix default implementation (#10351) (34f4e41)
Miscellaneous Tasks
(bindings/node) Add
README.md(#10402) (a0e89f0)(es/parser) Remove useless check (#10386) (d1770ac)
(es/utils) Mark Symbol members as literal (#10400) (3935b60)
Performance
(common) Use
nextinstead ofnth(#10403) (12c2807)(es/minifier) Use bigflags to reduce context size of analyzer (#10380) (773d19c)
(es/minifier) Use
bitflagsto reduce context size ofInfectionCollector(#10387) (126d432)(es/minifier) Use
bitflagsto reduce compress context size (#10381) (99495bd)(es/parser) Move
found_module_itemtoParser(#10388) (fd52c5c)Refactor
(es/compat) Simplify
async_to_generator(#10341) (e9eeba1)(es/lexer) Split lexer (#10377) (3ef2bd1)
Testing
v1.11.21Compare Source
Bug Fixes
(es/helpers) Sync tslib
_ts_generatorimplementation (#10366) (d3fb992)(es/proposal) Fix scope of declarations for
explicit-resource-management(#10362) (eb7f7e9)(ts/fast-strip) Increase Wasm stack size (#10359) (6d444a5)
Miscellaneous Tasks
Performance
(es/parser) Reduce string comparison (#10355) (21789c4)
(es/parser) Add initial capacitity for some vectors (#10361) (7b7b50e)
(es/parser) Reduce clone of token contexts (#10364) (3ab47b2)
(es/parser) Use
bitflagsto reduce parser context size (#10367) (a2d3596)(es/parser) Replace byte arguments with generics (#10370) (68f7667)
(es/parser) Use
arrayvecand unsafepushto optimize escaped string parsing (#10369) (e12ae1c)v1.11.20Compare Source
Bug Fixes
(error_reporters) Removing unused code to fix clippy check (#10338) (5970f93)
(es/minifier) Preserve block with block scoped declaration (#10335) (a4ac3b7)
(es/parser) Allow abstract method named
accessor(#10327) (3f71776)(es/preset-env) Consider
browserslistconfig ifenv.targetis not configured (#8921) (a2dc372)(es/resolver) Handle using declarations (#10354) (dad815c)
fix(es/compat): Remove one promise tick in yield* (tc39/ecma262#2819) (#10317)
Related issue:
Features
(errors) Integrate
miettefor enhanced diagnostic reporting (#10241) (156c3b1)(es/codegen) Support
sourceMap.urloption ofterser(#10346) (566bc7c)(plugin/runner) Support
pluginEnvVars(#10318) (795fedc)Miscellaneous Tasks
(es/helpers) Update peer dependency version for
@swc/helpersto>=0.5.17(#10321) (ddbf3e1)(ide) Disable RA diagnostics (#10324) (fcf280f)
Performance
(es/ast) Reduce redundant string comparison for
Atoms (#10323) (3ce9d81)(es/jsx) Cache FileName for JSX pass (#9951) (#10322) (9852940)
(es/parser) Remove redundant
is_asciicalls (#10334) (e66b4d6)(es/parser) Remove ascii check for no-ascii (#10350) (4279b96)
Testing
20in exec tests (#10348) (eee73ce)v1.11.18Compare Source
Bug Fixes
(errors) Disable wrapping of text lines (#10314) (f6840ea)
(es/codegen) Ensure proper Unicode escape handling for ES5 and below #10028 (#10309) (7f76fa3)
(node) Fix
worker_threadsissue on glibc platform (#10306) (1d1ff9e)Features
(es/minifier) Optimize number to int (#10294) (6dcfa70)
(es/minifier) Remove useless to number (#10308) (898f170)
(ts/isolated-dts) Distinguish js value and ts type (#10316) (c480604)
Refactor
(es/codegen) Split
lib.rsinto multiple files (#10304) (5a07a5d)(es/codegen) Refactor macro to inverse order (#10297) (78f907f)
Testing
v1.11.16Compare Source
Miscellaneous Tasks
v1.11.15Compare Source
Bug Fixes
(bindings/node) Fix build on platforms without plugin (#10301) (3faae55)
(cli) Fix plugin target as
wasm32-wasip1(#10293) (7daf4f4)(deps) Update cargo (patch) (#10081) (e0ff00e)
(es) Do not reuse
Compilerforminify()andtransform()(#10273) (63bd8a1)(es/analysis) Support comments (#10299) (2919d16)
(es/bugfix) Do not rename in non-ident-function (#10274) (48b6bdb)
(es/minifier) Remove unnecessary check when invoke IIFE (#10257) (6b75775)
(es/parser) Parser a program as a module with TLA in non-expression statement (#10287) (157c52a)
(html) Remove
asyncfromminifyFragmentSync(#10289) (7028457)Documentation
(es/types) Document
outFileExtension(#10265) (99018c5)Add star history to
README.md(b51eea9)Features
(es) Add Rust plugin host part for analysis API (#10285) (d213a84)
(es) Add analysis API and refactor output API (#10288) (a53c60d)
(es/minifier) Allow disabling char frequency analysis (#10259) (50c62d1)
(es/minifier) Merge expression with empty return (#10283) (c276a38)
(es/minifier) Optimize code generated by optional chaining (#10292) (0d88041)
(es/minifier) Support
reduce_escaped_newline(#10232) (64fb286)(ts/fast-strip) Improve error message format (#10298) (29c4afb)
Add parallel iterators (#10075) (3b775bf)
Miscellaneous Tasks
Performance
(es/minifier) Adjust parallelism threshold (#10260) (28cc6f6)
(es/minifier) Process
consandaltofIfStmtin parallel (#10262) (ccb6eb8)(es/minifier) Move logic to the pure minifier (#10264) (7ecd807)
(es/minifier) Use
swc_par_iterinstead ofrayon(#10267) (78e37a1)Refactor
Extract
par-coreandpar-iter(#10269) (0c63bda)Drop
swc_fast_graph(#10268) (b23c8cb)Testing
v1.11.13Compare Source
Features
(es/minifier) Merge alt's cons with cons (#10256) (589bcd7)
(swc_core) Expose features of
swc_parallel(#10258) (042f19f)Performance
expr_simplifierinto pure optimizer (#10202) (9c9b0ba)v1.11.12Compare Source
Bug Fixes
(es/minifier) Make
inline_globalsnoop by default (#10231) (b192dc8)(es/minifier) Fix access to
GLOBALSin char freq compute (#10239) (6286663)(es/parser) Fix span of wrong
awaittokens (#10252) (5c28dc3)(es/types) Fix broken types (#10224) (540bdf8)
Documentation
Features
(es/fast-lexer) Enhance identifier handling with Unicode support (#10226) (482b63a)
(es/minifier) Invoke IIFE into block (#10220) (c9a6c23)
(es/minifier) Remove needless blocks (#10234) (0817970)
(swc_parallel) Introduce
rayonmode (#10237) (3c2213c)(ts/fast-strip) Add start/end span information (#10251) (ab39a62)
(ts/fast-strip) Improve error message snippet (#10253) (f4f426c)
(ts/fast-strip) Remove line numbers (#10254) (40e216d)
Performance
dead_branch_removerinto pure optimizer (#10201) (6841523)v1.11.11Compare Source
Bug Fixes
(es/ast) Fix Typo in API (#10210) (8eb87ba)
(es/minifier) Do not drop numbers incorrectly (#10211) (80ccd86)
(es/minifier) Allow TypeScript nodes to fix
styled-jsx(#10221) (9d87d4d)Features
Configuration
📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).
🚦 Automerge: Enabled.
♻ 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.