Releases
v2.6.0
j4k0xb
released this
10 Jul 12:47
Features
unpack webpack 0.11 and development builds
handle external browserify dependencies without an id like { 'vscode': undefined }
allow stdin/stdout for cli: echo '1+1' | webcrack
, webcrack input.js > output.js
dedicated debug logger which is disabled when using webcrack as a dependency
convert JSON.parse("[1,2,3]")
to [1, 2, 3]
detect for (; []; ) {
as infinite loop
detect inverted dead code conditions: if (!("abc" !== "xyz")) {
path mappings not starting with ./
(e.g. { lodash: m.numericLiteral(4) }
) are now treated as node_modules
Bug Fixes
detect top-level bundle first (previously it always tried to find a nested webpack bundle before browserify)
apply bundle transforms regardless of saving (when using the js api)
stricter readonly object checks for control flow flattening (ignore const a = { x: 1 }; a.x++;
etc)
Performance
40% faster string array and decoder renaming
faster unminify/unpack transforms
You can’t perform that action at this time.