Skip to content

Releases: pionxzh/wakaru

unpacker: v0.1.2

06 Jul 06:57
b55654d
Compare
Choose a tag to compare

0.1.2 (2024-05-26)

Features

  • Allow Arrow functions in module definitions (6a60b92)
  • Allow re-exports from modules in Webpack5 (89065a4)

unminify: v0.2.2

06 Jul 06:57
b55654d
Compare
Choose a tag to compare

0.2.2 (2024-05-26)

Features

  • un-jsx: inline constant tag inlining (#129) (2fb95bb)

Bug Fixes

  • pass local name for imports to avoid crash (cbfbc04)
  • unminify: fix edge cases of un-optional-chaining and un-nullish-coalescing (a3511ba)

unminify: v0.2.1

23 Apr 19:33
Compare
Choose a tag to compare

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

23 Apr 19:33
Compare
Choose a tag to compare

0.0.10 (2024-04-23)

Features

  • added support for --perf-output in CLI (e4ce13c)

unminify: v0.2.0

02 Mar 13:22
Compare
Choose a tag to compare

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 into un-parameters (92fec7f)
  • add un-argument-spread rule (1f5fbd6)
  • smart-inline: support global variable inlining and property access path renaming (1a91aa4)

Bug Fixes

  • adjust iife rule order (b5c3fc7)
  • smart-rename: remove destructuring length limitation (23cf3e4)
  • update the format of conflic name from {name}$0 to {name}_1 (dac2125)

unminify: v0.1.5

16 Feb 17:57
Compare
Choose a tag to compare

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)

cli: v0.0.9

16 Feb 17:57
Compare
Choose a tag to compare

0.0.9 (2024-02-16)

Bug Fixes

  • cli: worker pool size should not more than file count (63c6f02)
  • reduce cli size by enabling minify (25cd173)

unminify: v0.1.4

21 Jan 06:51
Compare
Choose a tag to compare

0.1.4 (2024-01-21)

Features

  • support async transformation (9e37839)

Bug Fixes

cli: v0.0.8

21 Jan 07:04
Compare
Choose a tag to compare

0.0.8 (2024-01-21)

Bug Fixes

cli: v0.0.7

21 Jan 06:51
Compare
Choose a tag to compare

0.0.7 (2024-01-21)

Features

  • cli: add file size checker and warning (f76be29)
  • support async transformation (9e37839)