Releases: pionxzh/wakaru
Releases Β· pionxzh/wakaru
unpacker: v0.1.2
unminify: v0.2.2
unminify: v0.2.1
0.2.1 (2024-04-23)
Features
- un-sequence-expression: support for in and for of loop (f584dc1)
- unminify: add
un-import-rename
rule (95d3d00)
Bug Fixes
- improve removing temporary variables (288f71b)
- un-default-parameter: handle parameters with gap (#124) (1458630)
- un-indirect-call: better naming conflicts handling (976d80f)
- un-optional-chaining: handle edge case when optional chaining are concated (3c8190f)
- un-sequence-expression: keep the last assignment in for init (68e36c5)
- un-sequence-expression: shouold not split seqs in while condition (4607903), closes #122
cli: v0.0.10
unminify: v0.2.0
0.2.0 (2024-03-02)
β BREAKING CHANGES
- update the format of conflic name from
{name}$0
to{name}_1
Features
Inline common global variable references.
- const d = document;
- const c = d.createElement('canvas');
+ const c = document.createElement('canvas');
Rename variables based on object property access.
- const t = s.target;
- const p = t.parent;
- const v = p.value;
+ const s_target = s.target;
+ const s_target_parent = s_target.parent;
+ const s_target_parent_value = s_target_parent.value;
- add
un-parameter-rest
intoun-parameters
(92fec7f) - add
un-argument-spread
rule (1f5fbd6) - smart-inline: support global variable inlining and property access path renaming (1a91aa4)
Bug Fixes
unminify: v0.1.5
0.1.5 (2024-02-16)
Bug Fixes
- jsx: should not transform
document.createElement
to JSX (86469e7) - smart-inline: fix missing renaming in property descturing (55e2938), closes #117
- un-esm: fix missing bare import (7f6f199)
- un-indirect-call: should not remove unused default imports from unprocessed sources (cfc00a9)
- un-jsx: disable preact's
h
pragma to avoid conflicting with normal minified code (a97c8ea)