-
(es) Don't panic when wasm bytecheck faild (#9803) (c81be2e)
-
(es/parser) Do not parse empty stmt after using decl (#9798) (c2696db)
- (es/resolver) Fix wrong syntax context of vars with the same names as catch params (#9786) (5a44c6b)
-
(es/codegen) Use raw value for emitting JSX text (#9762) (b83c44f)
-
(es/compat) Fix marker for inlined helpers (#9776) (f54ec2c)
-
(es/minifier) Drop
console
in optional chainings (#9759) (39271ad) -
(es/minifier) Do not inline into the exact LHS (#9777) (985977b)
-
(es/minifier) Support
preserve_annotations
of terser (#9775) (6e1c9fd) -
(typescript) Align
isolatedDeclaration
implementation with tsc (#9715) (0adad25)
-
(deps) Update dependency magic-string to v0.30.13 (#9747) (fa80a1e)
-
(deps) Update dependency magic-string to v0.30.14 (#9764) (6e46a8b)
-
(@swc/types) Tsc build file ignored by npm (#9754) (14a5c1e)
-
(es) Source map
super(...args)
calls in injected constructors (#9745) (35b0ca0) -
(es/plugin) Migrate
swc plugin new
to use.cargo/config.toml
(#9740) (4ffb21e) -
(es/resolver) Ignore
VarDecl
withdeclare: true
(#9734) (aa0f784)
-
(es/typescript) Handle multiline type parameters in async arrow functions (#9704) (c5ed19c)
-
(es/typescript) Handle ASI hazards in fast type strip (#9707) (c135f71)
-
(es/generator) Fix code generation for
break
in nested while (#9684) (65872af) -
(es/resolver) Skip resolving lowercase
JSXIdentifiers
(#9686) (6ed1715) -
(es/types) Add
jsc.experimental.keepImportAssertions
to types (#9691) (4b4dcfa)
-
(es/minifier) Optimize switch with side effect and termination tests (#9677) (7344a63)
-
(es/parser) Ability to get script's potential module errors (#9682) (2bbd1e8)
-
(bindings) Update napi to handle string with
\0
(#9665) (8f45eaf) -
(bindings/node) Add
VisitTsPropertySignature
(#9670) (715c42c) -
(es/renamer) Check
preserved
in normal renaming mode (#9666) (87b4e10) -
(typescript) Check whether the method is abstract when checking
is_overload
(#9678) (78500af)
-
(es/compat) Add missing visit children for
destructuring
(#9658) (32116a0) -
(es/parser) Correct
>
and<
when exit type context (#9653) (abffc07) -
(es/proposal) Use
tsc
version of explicit resource management (#9585) (f735108) -
(wasm-typescript) Fix option types of functions (#9662) (4cbe33c)
-
(es) Run esnext transforms on esnext target (#9644) (8a19201)
-
(es/codegen) Emit space after div if rhs has leading comment (#9631) (f2be26e)
-
(es/lints) Correct the false positive error of TS2309 (#9635) (f74c1f3)
-
(es/minifier) Check type of assignment target before merging assignments (#9617) (4436621)
-
(es) Introduce
runPluginFirst
for Wasm plugins (#9645) (3d3e434) -
(es/minifier) Support unary negate in
cast_to_number
(#9642) (88a2186)
-
(es/codegen) Fix source map so it works with Sentry (#9627) (9c90a73)
-
(es/minifier) Compress consecutive return statements properly (#9620) (8263da1)
-
(es/module) Allow TypeScript nodes for
Rewriter
(#9606) (4ee45ac) -
(html/minifier) Fix HTML minifier TS types (#9615) (7b98bb5)
-
(bindings/html) Accept
Buffer|string
instead ofBuffer
(#9625) (62edb36) -
(es/testing) Parse test code as a
Program
instead of aModule
(#9264) (166b858) -
(es/testing) Parse test code as a
Program
instead of aModule
(#9623) (bfea322)
-
(es/codegen) Emit .d.ts when using --out-file (#9582) (3d9d641)
-
(es/module) Fix
jsc.paths
using absolute paths with dots in a filename for an alias (#9595) (74e3d04) -
(es/parser) Fix failure of TS instantiation followed by satisfies (#9583) (77900d8)
-
(ast) Add
archive(check_bytes)
to all relevant AST types (#9574) (185d6f5) -
(cli) Exclude non-files from get_files_list (#9560) (85cc2bd)
-
(es/codegen) Fix wrong sourcemap when there are new lines in tpl (#9578) (cf74382)
-
(es/compat) Skip
getter
andsetter
as FlowHelperfunction
do (#9580) (14cfd70) -
(es/minifier) Avoid decl name when mangle with eval (#9546) (e2242c4)
-
(es/minifier) Check variable type while optimizing
+=
(#9575) (04016e9) -
(es/module) Rewrite import specifier in type declaration (#9577) (fc0ba2a)
-
(plugin) Don't panic when ast byte not match (#9562) (c36871a)
- (bindings/node) Fix type definition (64ec111)
-
(es/compat) Handle label block in constructor (#9528) (c43dbad)
-
(es/decorator) Add support for private access expressions in legacy decorators (#9535) (62ed065)
-
(es/minifier)
typeof
class should befunction
(#9522) (c7fdd6b) -
(es/minifier) Prevent removing side effects from accessing getter (#9530) (8513816)
-
(es/typescript) Handle enum in single statement (#9532) (84b0043)
- (es/minifier) Iterate object properties in reverse direction while inlining property access (#9507) (f584ef7)
-
(ci) FIx pattern for
actions/download-artifact
(ac7bd31) -
(es/minifier) Force rename synthesized identifiers (#9473) (c72b5f8)
-
(es/minifier) Mark LHS of for-in/of as update (#9474) (ac432c4)
-
(es/typescript) Correctly handle deep import chains (#9487) (50d70d3)
-
(es/typescript) Correctly handle ESM context (#9490) (fc0483c)
-
(html) Fix html binding (eefae1c)
-
(bindings/html) Allow using
lightningcss
as minfiier (#9462) (74d6478) -
(es/minifier) Drop more patterns with
PURE
marker (#9478) (ede1a52)
-
(common) Do not use
adjust_mappings
fromsourcemap
crate (#9437) (563c162) -
(es) Mark TypeScript nodes as reachable from
Evaluator
(#9440) (308e5ec) -
(es/compat) Init this in sub class constructor for async (#9446) (bfaf31b)
-
(es/decorators) Fix metadata for accessors (#9444) (99738ef)
-
(es/typescript) Add
native_class_properties
to skip reordering of class properties inits (#9421) (d2929d1) -
(estree/compat) Remove dependency on
rayon
(#9393) (34d1b27) -
(html/minifier) Support using custom css minifier (#9425) (970cc81)
-
(es/preset-env) Update core js compat data (#9407) (ce761cf)
-
(es/typescript) Remove the workaround for wasm-bindgen (#9428) (55f7268)
-
(es/typescript) Strip optional mark and definite mark (#9411) (8c161a0)
-
(es/typescript) Strip exported default overload function declaration (#9412) (b395f48)
-
(es/typescript) Strip
this
param in getter/setter (#9414) (442fb7b) -
(es/typescript) Update ts-strip type definition (#9415) (165c8fa)
-
(common) Do not generate invalid source map (#9050) (9d65c77)
-
(common) Require newer version of allocator (#9386) (4e854c7)
-
(es/module) Drop the level of a few tracing events (#9380) (95af253)
-
(es/typescript) Enable Injector to process JSX (#9395) (e24e2ff)
-
(es/typescript) Strip declaration of exported function overloads (#9397) (5c8aa52)
-
(es/codegen) Print the missing
abstract
in class expression (#9372) (c2e3021) -
(es/decorators) Use correct class name reference (#9375) (badd6a9)
-
(es/typescript) Strip declare export in strip-only mode (#9374) (c53cce4)
-
(es/parser) Fix span for unterminated block comments (#9361) (dc1b87e)
-
(es/parser) Make
UnterminatedBlockComment
stick to the EOF (#9366) (4f0fc6e) -
(es/typescript) Handle single type statement in if/for/while (#9364) (2217730)
-
(es/typescript) Handle backtick in ASI issue (#9367) (6f1716c)
-
(es/codegen) Emit question token for class methods (#9342) (636585b)
-
(es/minifier) Preserve flags while dropping elements of
SeqExpr
(#8907) (24e8798) -
(es/typescript) Fix ASI in expression for fast strip (#9358) (3ee82e2)
-
(es/ast) Accept any case of EsVersion during deserialization (#9329) (56da6be)
-
(es/typescrupt) Fix ASI issue in fast ts strip (#9332) (57146cf)
-
(bindings/types) Add missing mangle options (#9298) (567f40d)
-
(es/ast) Make span of binding ident include type ann (#9293) (2b32481)
-
(allocator) Feature gate
nightly
via macros (#9274) (a31fb58) -
(es/typescript) Add esm build for fast ts strip (#9286) (d10cb9f)
-
(allocator) Use
std
instead ofallocator-api2
(#9281) (88723db) -
(es/codegen) Use
Vec<T>
fromswc_allocator
(#9280) (c1cd0b9) -
(es/helpers) Use
bool
instead ofAtomicBool
(#9321) (8107e98)
-
(allocator) Remove wrong assertions and add tests (#9252) (d8e8b04)
-
(es/codegen) Fix codegen of large numeric literals (#9226) (fba79e6)
-
(es/compat) Consider only the variables used in the closure (#9151) (1357531)
-
(es/compat) Add support for destructuring with BigInts (#9215) (2cc7028)
-
(es/minifier) Fix variable declaration in default branch (#9220) (a7c82bd)
-
(es/minifier) Check
this
in function params (#9229) (da4866d) -
(es/minifier) Remove optimization for array pattern (#9241) (521161e)
-
(es/minifier) Fix panic in bitwise logic and incorrect values (#9258) (baeb9e2)
-
(es/minifier) Collect raw str values for new Tpl element (#9261) (6ddbfa0)
-
(es/typescript) Handle unicode for fast ts strip (#9202) (096bfe3)
-
(es/typescript) Add
transform
mode back to fast TS strip (#9237) (8231e3c) -
(es/utils) Support for arrays using
cast_to_number
(#9212) (2aef14d)
-
(bindings/wasm) Shrink the size of the wasm file (#9191) (3a23b3d)
-
(es/typescript) Add a benchmark for fast TS strip (#9205) (7d9364c)
-
(es/visit) Introduce
standard_only_*
macros (#9207) (92879b1)
-
(allocator) Use
&
instead of a thread-local (#9235) (8d5670e) -
(allocator) Use RAII guard instead of
scope
(#9254) (6e098ae) -
(common) Drop
SyntaxContext
from AST nodes (#9175) (b2491e5) -
(es) Use
Into
andFrom
for AST construction (#9201) (0960b23)
-
(es/decorators) Fix bugs of
2022-03
implementation (#9145) (8a3ae44) -
(es/loader) Exclude
.json
from default extension list (#9134) (e94e5e7) -
(es/renamer) Fix renaming of default-exported declarations (#9135) (45f671d)
-
(es/typescript) Fix tricky cases in TS fast strip (#9159) (2bc51b8)
-
(es/typescript) Fix replacement logic of fast TS strip (#9163) (c5acafe)
-
(bindings/ts) Add transform/strip-only mode (#9138) (a08bb46)
-
(es/testing) Improve comment testing story (#9150) (3638e97)
- Use
@swc/counter
for 3rd-party download count (026ff7e)
-
(binding) Create Wasm package for stripping only TypeScript (#9124) (6b3c0da)
-
(es/minifier) Handle more indexing expression (#8750) (570c47a)
-
(common) Add fallible methods to
swc_common::SourceMap
(#9090) (e423d1b) -
(es/transform) Add experimental
.d.ts
generation (#9093) (51a2702) -
(typescript) Implement Isolated Declaration (#9086) (a855159)
-
(es/lexer) Make lexing of string literals faster (#9077) (373bac5)
-
(es/lexer) Reduce allocation while lexing identifiers (#9076) (69f00b8)
-
(es/lexer) Add a fast-path to template literal lexer (#9080) (238f1c5)