Features
- convert
const
tolet
when possible (21aff99) - process input as ES module by default (68d62a8, 17c3ae6)
- concatenate
let
andvar
declarations (e5cbd3e) - avoid mangling of
enableHighAccuracy
&maximumAge
DOM properties (aa7c338) - compress array element assignments into declaration (ffe0fe7, 3dfb379)
- handle lexical
function
declaration in ES6+ (e7b9b4a) - improve ESTree interoperability with third-party tools (ca4185a)
Bug Fixes
- assignment operator (f0ca9cf)
async
generator function (404794f)await
operator (0991077)BigInt
literal (2b1c321)class
field (f40dbd6, 1d400f1)class
literal (548f093)- default parameter (57dd3f6)
function
call (e37a148, a437a61)- generator function (574ca47)
if
statement (358faaa)- immediately invoked function expression (1d400f1, aef7065, dd88f38, c911704)
instanceof
operator (8d28052)let
statement (0cbd5ea)- logical operator (7270671)
- nullish coalescing operator (2cb6454)
switch
statement (34b6143)- ternary expression (f07dc5c)
- unary arithmetic operator (30bf068)
var
statement (2352909)