@swc/wasm-web
Advanced tools
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)
Changelog
[1.7.28] - 2024-09-24
(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
and setter
as FlowHelper function
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)