1 | ### Version 1.0.1 (2015-06-20) ###
|
2 |
|
3 | - Fixed: Declared an undeclared variable.
|
4 |
|
5 |
|
6 | ### Version 1.0.0 (2015-02-26) ###
|
7 |
|
8 | - Changed: Merged the 'operator' and 'punctuation' types into 'punctuator'. That
|
9 | type is now equivalent to the Punctuator token in the ECMAScript
|
10 | specification. (Backwards-incompatible change.)
|
11 | - Fixed: A `-` followed by a number is now correctly matched as a punctuator
|
12 | followed by a number. It used to be matched as just a number, but there is no
|
13 | such thing as negative number literals. (Possibly backwards-incompatible
|
14 | change.)
|
15 |
|
16 |
|
17 | ### Version 0.4.1 (2015-02-21) ###
|
18 |
|
19 | - Added: Support for the regex `u` flag.
|
20 |
|
21 |
|
22 | ### Version 0.4.0 (2015-02-21) ###
|
23 |
|
24 | - Improved: `jsTokens.matchToToken` performance.
|
25 | - Added: Support for octal and binary number literals.
|
26 | - Added: Support for template strings.
|
27 |
|
28 |
|
29 | ### Version 0.3.1 (2015-01-06) ###
|
30 |
|
31 | - Fixed: Support for unicode spaces. They used to be allowed in names (which is
|
32 | very confusing), and some unicode newlines were wrongly allowed in strings and
|
33 | regexes.
|
34 |
|
35 |
|
36 | ### Version 0.3.0 (2014-12-19) ###
|
37 |
|
38 | - Changed: The `jsTokens.names` array has been replaced with the
|
39 | `jsTokens.matchToToken` function. The capturing groups of `jsTokens` are no
|
40 | longer part of the public API; instead use said function. See this [gist] for
|
41 | an example. (Backwards-incompatible change.)
|
42 | - Changed: The empty string is now considered an “invalid” token, instead an
|
43 | “empty” token (its own group). (Backwards-incompatible change.)
|
44 | - Removed: component support. (Backwards-incompatible change.)
|
45 |
|
46 | [gist]: https://gist.github.com/lydell/be49dbf80c382c473004
|
47 |
|
48 |
|
49 | ### Version 0.2.0 (2014-06-19) ###
|
50 |
|
51 | - Changed: Match ES6 function arrows (`=>`) as an operator, instead of its own
|
52 | category (“functionArrow”), for simplicity. (Backwards-incompatible change.)
|
53 | - Added: ES6 splats (`...`) are now matched as an operator (instead of three
|
54 | punctuations). (Backwards-incompatible change.)
|
55 |
|
56 |
|
57 | ### Version 0.1.0 (2014-03-08) ###
|
58 |
|
59 | - Initial release.
|