Releases: Bobris/Njsast
Releases · Bobris/Njsast
2.2.0
Fixed
Bug in wrong deduplication of pure functions when a property is written.
Computed class fields keep their brackets when printing and their keys are treated as reads.
Added
Default hashbang parsing, RegExp unicode sets v flag, and import attributes.
Optional chain compression for known nullish and known non-nullish values.
2.1.0
2.0.0
Changed
Now using .Net 8.0.
Fixed
Scoping of class expressions names.
Changed
Default OutputOptions.Ecma is 6.
Added
Simple template string const eval.
Bundler in es6+ mode uses shorter Arrow IIFE pattern when wrapping whole body.
Fixed
Arrow with await async v => await v.
Printing of { [key]: value }
Wrong optimization with destructuring to const.
Bundling of import * as x from "x"; x;
Symbol renaming in Bundler (again).