@swc/core
Advanced tools
Changelog
[1.7.39] - 2024-10-22
(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)
Changelog
[1.7.36] - 2024-10-15
(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)
Changelog
[1.7.35] - 2024-10-10
(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 of Buffer
(#9625) (62edb36)
(es/testing) Parse test code as a Program
instead of a Module
(#9264) (166b858)
(es/testing) Parse test code as a Program
instead of a Module
(#9623) (bfea322)