Skip to content

Releases: j4k0xb/webcrack

v1.7.0

13 Feb 20:00
Compare
Choose a tag to compare

New Features

  • Add block statement to arrow functions:
(e) => ((e.x *= -1), (e.y *= -1), e)

->

e => {
  e.x *= -1;
  e.y *= -1;
  return e;
};

v1.6.2

09 Feb 02:01
Compare
Choose a tag to compare

Bug Fixes

  • Bundle mappings get applied again when saving

v1.6.1

08 Feb 00:04
v1.6.1
Compare
Choose a tag to compare

Improvements

  • Apply mappings after instead of before saving bundle so it's still executable

v1.6.0

06 Feb 21:00
Compare
Choose a tag to compare

Improvements

  • Warns about mapping issues
  • Convert computed properties with classes, optional chaining

v1.5.1

05 Feb 16:59
Compare
Choose a tag to compare

Fixes

  • deterministic if/ternary change tracking

v1.5.0

05 Feb 16:55
Compare
Choose a tag to compare

New Features

  • multiple clean-up iterations: webcrack --max-iterations 10
  • bypass debug protection when decoding strings
  • merge strings: "a" + "b" + "c" -> "abc"
  • deterministic ternaries: "abc" == "abc" ? a() : b() -> a()
  • normalize computed object properties and methods: { ["abc"]: 1, ["xyz"]() {} } -> { abc: 1, xyz() {} }
  • extract sequence from switch: switch(a(), b(), c()) { ... } -> a(); b(); switch(c()) { ... }

Improvements

  • match array rotator in more cases
  • convert more computed properties in member expressions: exports["default"] -> exports.default

v1.4.0

04 Feb 01:37
Compare
Choose a tag to compare

New features

  • Simplify deterministic if statments: if ("xyz" === "xyz")
  • Ternary to if
  • Unpack webpack object format
  • Transform code option

Improvements

  • String array rotator matcher
  • Inlining variables works with assignments

v1.3.0

02 Feb 21:54
Compare
Choose a tag to compare

New Features

  • JavaScript API with type definitions
  • Module path remapping

Improvements

  • Stricter webpack matcher