Skip to content

Releases: pionxzh/wakaru

cli: v0.0.2

15 Dec 02:00
Compare
Choose a tag to compare

0.0.2 (2023-12-15)

Features

  • cli: generate perf.json when perf is enabled (c5e59d6)
  • cli: implement new standalone CLI with better UX (deda1df)
  • cli: run unminify in worker (9f38458)
  • cli: support performance statistic (771b639)
  • support non-interative mode (7f70b43)
  • use poolifier to manage worker (59f5ddc)

Bug Fixes

  • cli: move out the timing measure (de53a94)
  • fix elapsed time (2e766a4)
  • improve error log (df455eb)
  • passing module meta and module mapping to unminify (551199e)
  • update clack patch and remove spinner for unpacking (d3b3da8)

unpacker: v0.0.4

04 Dec 18:20
Compare
Choose a tag to compare

0.0.4 (2023-12-04)

Features

  • babel-runtime: add matcher for taggedTemplateLiteral and taggedTemplateLiteralLoose (c0e2bee)
  • playground: let unpack run in worker (05bf698)

Bug Fixes

  • cli: paths out of cwd is not allowed (7cee0c8)
  • unpacker: fix require.d to export should not introduce duplicate identifier (50231b6)

unminify: v0.0.6

04 Dec 18:20
Compare
Choose a tag to compare

0.0.6 (2023-12-04)

Features

  • un-assignment-merging: add new rule un-assignment-merging for spliting chained assignment (59e2929)
  • use zod to validate transformation param (57407d1)
  • use array based rules transformationRules (b67da89)

Bug Fixes

  • cli: paths out of cwd is not allowed (7cee0c8)
  • cli: use common base dir as the base of output folder (7a939b7), closes #47
  • playground: refactor and improve rule list (08295e5)

unminify: v0.0.5

26 Nov 07:17
Compare
Choose a tag to compare

0.0.5 (2023-11-26)

Features

  • better support for runtime: automatic (237403f), closes #46
  • esmodule-flag: support various __esModule flag (397d5b3)
  • smart-inline: support computed property destructuring (0e4bdd9)
  • smart-rename: support forwardRef (d9db525), closes #48
  • smart-rename: support useReducer (381a2fd)
  • un-es6-class: support detecting imported helpers (c44f01a)
  • un-es6-class: support extending super class (19b35b9)

Bug Fixes

  • smart-inline: should not remove lonely property access (8a7d455)
  • smart-rename: handle naming conflic with top-down transform (01d2ac9), closes #54
  • supress multiple exports warning for code generated by babel (ba3a6ba), closes #53
  • un-esm: improve multiple export and mixed export (0f120ca)
  • un-esm: support module.exports.default = module.exports (5a21401), closes #63

unminify: v0.0.4

22 Nov 20:13
Compare
Choose a tag to compare

0.0.4 (2023-11-22)

Features

  • un-es6-class: support methods in Babel loose mode (4f9d9fc)

Bug Fixes

  • enum: should check and handle invalid identifier (67867f7), closes #52
  • smart-rename: stale the scope after renaming (4bbd8a0), closes #54

unpacker: v0.0.3

19 Nov 10:56
Compare
Choose a tag to compare

0.0.3 (2023-11-19)

Bug Fixes

  • avoid removing output folder (02f8d46)
  • move internal packages to devDeps (da665a0)

unpacker: v0.0.2

19 Nov 06:25
Compare
Choose a tag to compare

0.0.2 (2023-11-19)

Features

  • add un-iife (fba8056)
  • babel runtime scan (a2587de)
  • babel-helpers: support extends and improve objectDestructuringEmpty (c1957b6)
  • babel-runtime: support interopRequireDefault (55b64fa)
  • babel-runtime: support interopRequireWildcard (bc0006c)
  • build package (2c281bc)
  • extract @unminify/ast-utils (9c5fe11)
  • handle IIFE entry (c06c21b)
  • iife: detect various iife (0356085)
  • implement wrapDeclarationWithExport (a2f4249)
  • playground (74075f4)
  • playground: support share link (b1de7b2)
  • pre scan module meta (70fde64)
  • support minified enum (f7b882e)
  • un-indirect-call: implement indrect call replacement (2594302)
  • unpack browserify (6df2d3f)
  • unpacker: implement cli (e3d2777), closes #37
  • unpacker: implement webpack jsonp parsing (309479e)
  • webpack4 entry id detection (7acb7f7)

Bug Fixes

  • babel-runtime: support createForOfIteratorHelper (f2c08a3)
  • directly generate export statement (a4d1951)
  • fix reference check and identifier renaming (244cb3e)
  • fix type from ast-types (50527d7)
  • make jsonp support window["jsonp"] form (2017731)
  • module mapping type and improve preview format (d33ca82)
  • playground: improve the UI (2b2615c)
  • rename parameter with respect to scope and property (448595d)
  • rename should respect scope (571de1a)
  • replace require.d without checking exports (ebee03b)
  • unpacker: fix require.d replacment and add tests for it (3fd6772)

unminify: v0.0.3

19 Nov 10:56
Compare
Choose a tag to compare

0.0.3 (2023-11-19)

Bug Fixes

  • avoid removing output folder (02f8d46)
  • move internal packages to devDeps (da665a0)

unminify: v0.0.2

19 Nov 06:25
Compare
Choose a tag to compare

0.0.2 (2023-11-19)

Features

  • un-async-await for restoring __generator helper (eeb18da)
  • un-bracket-notation support float number (5b2f67a)
  • un-es-helper support __esModule` flag from ES3 (e9414d9)
  • un-esm import (ba5985f)
  • add un-block-statement (dd38267)
  • add un-builtin-prototype (3614fe2)
  • add un-enum rules for ts enum (d661d25)
  • add un-iife (fba8056)
  • add un-nullish-coalescing (0a7c5ce)
  • add un-optional-chaining (6f3e387)
  • add un-return (8acbe02)
  • add un-type-constructor (1eb89d7)
  • add un-while (fc95e03)
  • add comments to number literal (b65a4ee)
  • add rule un-bracket-notation (ddd5dd8)
  • add rule un-infinity (c6e68a7)
  • babel runtime scan (a2587de)
  • babel-helpers: add arrayLikeToArray and arrayWithoutHoles (eddd01b)
  • babel-helpers: add objectSpread (6000c0f)
  • babel-helpers: support extends and improve objectDestructuringEmpty (c1957b6)
  • babel-helpers: support slicedToArray (194c808)
  • babel-runtime: support interopRequireDefault (55b64fa)
  • babel-runtime: support interopRequireWildcard (bc0006c)
  • build package (2c281bc)
  • createForOfIteratorHelper: support for more cases (85aff28)
  • drop 5to6-codemod, use un-esm instead (327dc2e)
  • esm: support namespace import and dynamic import (aa26d8e)
  • expand coverage for un-while-loop (66f19d3)
  • extract @unminify/ast-utils (9c5fe11)
  • flip-operator: support void 0, MemberExpression and CallExpression (36d84bf)
  • iife: detect various iife (0356085)
  • implement return switch (13ec5a6)
  • implement template literal upgration (e507180)
  • improve cjs to esm transformation (4a1ec75)
  • improve comment retention (266871a)
  • improve coverage of un-sequence-expression (99c66ed)
  • improve flip operator (330461a)
  • lebab: enable lebab's class rule (e9e160f)
  • merge swtich transformation into un-if-statement` (0e04d01)
  • parameter: support arrow function and class method (b7835e9)
  • parameter: support parameter with logic minifier (7fd3fb5)
  • playground (74075f4)
  • pre scan module meta (70fde64)
  • remove temp varaible (b20b705)
  • separate variable declarators in for statement (d48d382)
  • seq: improve seq expr output for assignment and support arrow function body split (a5ac21e)
  • seq: split assignment inside assignment (3bac009)
  • smart-inline: implement destructuring (42eea37)
  • smart-inline: support inlining temp variable (a5b978d)
  • smart-rename: add rule smart-rename (3c5d8be)
  • smart-rename: support function param descturing (90ff587)
  • smart-rename: support renaming based on react API (f35d07d)
  • support minified enum (f7b882e)
  • support restoring __await to async await (7550cd7)
  • toConsumableArray: add babel toConsumableArray helper (47e6186)
  • transform numeric literal (aff4033)
  • typeof: support typeof x > "u" (8bcbe6a)
  • un-indirect-call: implement indrect call replacement (2594302)
  • un-jsx: support jsx transformation (2e7a0fa)
  • un-jsx: support rename component based on displayName (8bda66e)
  • un-parameter: add support for default and non-default parameter, rest not yet (17ac4d7)
  • un-parameter: correctly check parameter usage (fdaa584)
  • un-variable-merging: split export varaible declaration (e7035eb)
  • unminify: implement cli (16935d5), closes #37

Bug Fixes

  • jsxs should be listed as pragma for react runtime (aa292e9)
  • un-variable-merging filter (22e9c13)
  • un-variable-merging should respect parent scope binding (d3df7b5)
  • add un-sequence-expression after un-conditionals (9921c5c)
  • add createForOfIteratorHelper to the list (25a7d4c)
  • adjust rule order to improve curly braces and seq spliting (48f9312)
  • adot transformToMultiStatementContext for better replacement (40702d5)
  • auto rename component to be captialized ([51c3c65](https:/...
Read more