Skip to content

Releases: mck89/peast

1.13.0

22 May 16:10
Compare
Choose a tag to compare
  • Implemented ES2022 parser with class fields and private class methods

1.12.0

08 Jan 16:06
Compare
Choose a tag to compare
  • Added options array to Traverser constructor and shortcut method on nodes
  • Added Query class

1.11.0

09 Oct 15:18
Compare
Choose a tag to compare
  • Implemented ES2021 parser with logical assignment operators and numeric separators

1.10.4

21 Jun 17:18
Compare
Choose a tag to compare
  • Implemented parsing of coalescing operator
  • Implemented parsing of optional chaining
  • Fixed bug when parsing a semicolon on a new line after break and continue statements

1.10.3

03 Apr 09:10
Compare
Choose a tag to compare
  • Implemented parsing of import.meta syntax
  • Implemented parsing of BigIntLiteral as objects keys

1.10.2

15 Mar 16:06
Compare
Choose a tag to compare
  • Implemented parsing of export * as ns from "source" syntax
  • Fixed Renderer so that it won't trust computed flag in MemberExpression if property is not an Identifier

1.10.1

22 Dec 16:49
Compare
Choose a tag to compare
  • Fixed parsing of semicolon after do-while statement

1.10

22 Nov 18:16
Compare
Choose a tag to compare
  • Implemented ES2020 parser with dynamic import and BigInt
  • Implemented handling of UTF-8 and UTF-16 BOM when parsing the source
  • Fixed wrong rendering of unary and update expressions inside binary expressions in compact mode
  • BC break: major refactoring to delete all parsers except the base one and replace them with new Features classes that specify enabled parser features. This will remove duplicated code and makes the parser easier to extend with new features.

1.9.4

18 Oct 17:47
Compare
Choose a tag to compare
  • Handled invalid UTF-8 characters in the source code by throwing an exception or replacing them with a substitution character by setting the new strictEncoding option to false
  • Fixed bug when rendering object properties with equal key and value

1.9.3

13 Sep 18:09
Compare
Choose a tag to compare
  • Fixed another bug when rendering nested "if" statements with Compact formatter