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.15->1.11.81.11.96.7.0->6.8.2Release Notes
swc-project/swc (@swc/core)
v1.11.8Compare 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.7Compare Source
Features
v1.11.6Compare 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.5Compare 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
base64tov0.22.1(#10124) (edea2c5)Performance
v1.11.4Compare 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
jemallocon platforms thatmimallocfails to build (#10116) (fb75b98)Miscellaneous Tasks
jsonc-parsertov0.26.2(#10112) (8c5f7ef)Performance
(es/minifier) Improve arrow function inlining cost analysis (#10093) (e74929c)
(es/resolver) Remove some vector allocations (#10101) (b65387a)
Use
mimallocon linux (#10113) (3334932)Refactor
Lrcfromparse_expr_for_jsx(#10098) (bab7704)v1.11.1Compare 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
namespacefield 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
nightlyfrom 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
FastAtomtoUnsafeAtom(#10070) (1771222)(atoms) Remove
JsWordalias (#10071) (f33b0bc)(es/minifier) Remove
CompileUnitto simplify (#10055) (c75578b)v1.10.18Compare Source
Bug Fixes
Miscellaneous Tasks
minify-allexample ignore parsing errors (#10045) (6c7ec46)Build
v1.10.17Compare Source
Bug Fixes
(deps) Update cargo (patch) (#10021) (ffb7734)
(typescript) Improve type inferring for undefined and null (#10038) (5059ece)
(typescript) Remove the usages of private members (#10037) (8410b59)
Performance
(hstr) Use thin arc for hash and length (#10033) (2bea793)
(hstr) Skip interning if the text is long enough (#10035) (2622e4e)
Testing
(hstr) Add tests (#10043) (32b58f0)
(ts/fast-strip) Add tests for
declare moduleerror cases (#10040) (37672e0)v1.10.16Compare Source
Bug Fixes
(es/minifier) Check assign target before merge assign cond (#10020) (6dab49a)
(es/parser) Preserve comment positions with leading semicolon (#10019) (c9937b6)
(swc_common) Fix panic with non-narrow chars with width != 2 (#10011) (f9f4cac)
(ts/fast-strip) Handle unsupported
modulekeyword (#10022) (308f5d0)Performance
compact_str(#10008) (7d7319f)swc-project/plugins (@swc/plugin-styled-components)
v6.8.2Patch Changes
04465bc: Update swc_core to v14.0.0, reallyConfiguration
📅 Schedule: Branch creation - "before 12pm" in timezone Asia/Seoul, 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 has been generated by Renovate Bot.