Skip to content

Releases: Bobris/Njsast

2.0.0

07 Jan 21:56
Compare
Choose a tag to compare

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

04 Mar 23:57
Compare
Choose a tag to compare

Fixed

Object spread with rest expansion as arrow function parses without error.

Fixed regression in bundling in another special case.

1.2.2

01 Feb 22:59
Compare
Choose a tag to compare

Fixed

Regression in bundling in special case.

1.2.1

30 Jan 01:12
Compare
Choose a tag to compare
Released 1.2.1

1.2.0

29 Jan 15:31
Compare
Choose a tag to compare

Added

Bundler has new library mode where all exports from main file are preserved as ESM exports.

Fixed

AstSequence includes parens it fixes BobrilSourceInfo styleDef case.

Bundling of exportStar TypeScript helper when included in source code.

1.1.0

22 Jan 20:52
Compare
Choose a tag to compare

Added

Compression optimizations around template strings.

1.0.1

17 Jan 23:51
Compare
Choose a tag to compare
Released 1.0.1

1.0.0

17 Jan 23:50
Compare
Choose a tag to compare

Added

  • Upgrade to .Net 6.0
  • Basic BigInt ES2020 support
  • Removed unnecessary parentis from nested power binary expression

Fixes

  • Fixing ES6+ support

0.5.0

09 Jan 21:48
Compare
Choose a tag to compare

Added

  • Optimize TypeScript enums
  • dead code elimination of result unused new Map()

Fixed

  • Bundler with import default when there is not default export

0.4.0

07 Nov 22:59
Compare
Choose a tag to compare

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.