Skip to content

Releases: Bobris/Njsast

2.2.0

06 May 13:55

Choose a tag to compare

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

17 Apr 12:14

Choose a tag to compare

Changed

Now using .Net 9.0.

Fixed

Many bugs in bundler and minification.

2.0.0

07 Jan 21:56

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

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

Choose a tag to compare

Fixed

Regression in bundling in special case.

1.2.1

30 Jan 01:12

Choose a tag to compare

Released 1.2.1

1.2.0

29 Jan 15:31

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

Choose a tag to compare

Added

Compression optimizations around template strings.

1.0.1

17 Jan 23:51

Choose a tag to compare

Released 1.0.1

1.0.0

17 Jan 23:50

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