Releases: j4k0xb/webcrack
Releases · j4k0xb/webcrack
v1.8.0
New Features
if (x) { } else { if (y) {} }
->
Bug Fixes
- Handle string decoder returning undefined by @Sorte1 in #1
v1.7.0
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
Bug Fixes
- Bundle mappings get applied again when saving
v1.6.1
Improvements
- Apply mappings after instead of before saving bundle so it's still executable
v1.6.0
Improvements
- Warns about mapping issues
- Convert computed properties with classes, optional chaining
v1.5.1
Fixes
- deterministic if/ternary change tracking
v1.5.0
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
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
New Features
- JavaScript API with type definitions
- Module path remapping
Improvements