Releases: Bobris/Njsast
Releases · Bobris/Njsast
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).
1.2.3
1.2.2
1.2.1
1.2.0
1.1.0
1.0.1
1.0.0
0.5.0
0.4.0
Added
- Unused classes are eliminated by optimizer.
- Support for export { x } from "y"; and export { x as y } from "z"; patterns
- Compress optimization for cloned constant variables
- Improved bundling dead code elimination of export as namespace
Fixed
- Bundler for Code generated by TypeScript 3.9.2
- Bundling of
export * as x from "y";
- Bundling of
export var x = func; x = func2;
pattern. - Bundling of JS dependency with
var x = (function(){ window.x = window.x || {}; ...; return x; })();
pattern. - Bundling of JS dependency with
if (typeof module !== "undefined" && module.exports) {
pattern.