Skip to content

Releases: decaffeinate/decaffeinate-parser

v10.0.0

31 Dec 18:57
Compare
Choose a tag to compare

<a name"10.0.0">

10.0.0 (2016-12-31)

Bug Fixes

  • represent regular expressions as a Regex node (#120) (97d9c7d6)

Breaking Changes

  • Previously, regular expressions were represented as Identifier nodes, which hasn't been a problem for decaffeinate because all we wanted to do was pass them through anyway. Now, however, we want to do some processing on them and so need to identify them separately. Not to mention the fact that they are not identifiers!
    (97d9c7d6)

v9.0.4

31 Dec 06:00
Compare
Choose a tag to compare

<a name"9.0.4">

9.0.4 (2016-12-31)

Bug Fixes

  • convert string objects in the CoffeeScript AST into string primitives (#119) (2d3f67d2)

v9.0.3

30 Dec 22:03
Compare
Choose a tag to compare

<a name"9.0.3">

9.0.3 (2016-12-30)

Bug Fixes

  • redo fix for floats with leading periods (#113) (b8e1c120)

v9.0.2

30 Dec 21:49
Compare
Choose a tag to compare

<a name"9.0.2">

9.0.2 (2016-12-31)

Bug Fixes

  • ensure floats with leading periods work as expected (#112) (6a0a1424)
  • create Identifier nodes for unknown literals (#115) (1fd24963)

v9.0.1

30 Dec 02:20
Compare
Choose a tag to compare

<a name"9.0.1">

9.0.1 (yanked) (2016-12-30)

Bug Fixes

  • strip extra info before writing to _actual.json (#109) (75a3bac3)

v9.0.0

29 Dec 22:50
Compare
Choose a tag to compare

<a name"9.0.0">

9.0.0 (2016-12-29)

Breaking Changes

  • Rather than a While node with a virtual condition
    and null for other properties, this introduces a new Loop node that
    only has a body.
    (3447059f)

v8.0.0

29 Dec 20:21
Compare
Choose a tag to compare

<a name"8.0.0">

8.0.0 (2016-12-29)

Breaking Changes

  • This makes a couple changes to the generated AST. Nodes generated by mapper functions are now instances of subclasses of Node, the base node type. They have acquired start and end properties which are the values of the range tuple, which is deprecated and will eventually be removed. Also, every node now has a virtual property and most are false. Finally, regular expression flags are now represented by a class which has the single-character boolean properties as well as more descriptively-named ones.
    (316b7e3f)

v7.0.0

29 Dec 19:55
Compare
Choose a tag to compare

<a name"7.0.0">

7.0.0 (2016-12-29)

Breaking Changes

  • The coffeeScript option has been removed from parse since I plan to switch from checking constructor names to using instanceof checks to better integrate with TypeScript program flow analysis.
    (e4c9cabe)

v6.0.1

27 Dec 23:05
Compare
Choose a tag to compare

<a name"6.0.1">

6.0.1 (2016-12-27)

Bug Fixes

  • use coffee-lex tokens when generating quasi ranges (#101) (a9e3ed05)

v6.0.0

20 Dec 01:55
Compare
Choose a tag to compare

<a name"6.0.0">

6.0.0 (2016-12-20)

Breaking Changes

  • Technically this changes the API of ParseContext, which is a (semi-accidental) public API in decaffeinate-parser. However, decaffeinate doesn't seem to use this so I think it's safe to remove it.
    (5a72a0a7)