UNPKG

1.36 kBMarkdownView Raw
1### Version 0.4.0 (2015-02-21) ###
2
3- Improved: `jsTokens.matchToToken` performance.
4- Added: Support for octal and binary number literals.
5- Added: Support for template strings.
6
7
8### Version 0.3.1 (2015-01-06) ###
9
10- Fixed: Support for unicode spaces. They used to be allowed in names (which is
11 very confusing), and some unicode newlines were wrongly allowed in strings and
12 regexes.
13
14
15### Version 0.3.0 (2014-12-19) ###
16
17- Changed: The `jsTokens.names` array has been replaced with the
18 `jsTokens.matchToToken` function. The capturing groups of `jsTokens` are no
19 longer part of the public API; instead use said function. See this [gist] for
20 an example. (Backwards-incompatible change.)
21- Changed: The empty string is now considered an “invalid” token, instead an
22 “empty” token (its own group). (Backwards-incompatible change.)
23- Removed: component support. (Backwards-incompatible change.)
24
25[gist]: https://gist.github.com/lydell/be49dbf80c382c473004
26
27
28### Version 0.2.0 (2014-06-19) ###
29
30- Changed: Match ES6 function arrows (`=>`) as an operator, instead of its own
31 category (“functionArrow”), for simplicity. (Backwards-incompatible change.)
32- Added: ES6 splats (`...`) are now matched as an operator (instead of three
33 punctuations). (Backwards-incompatible change.)
34
35
36### Version 0.1.0 (2014-03-08) ###
37
38- Initial release.