UNPKG

9.91 kBPlain TextView Raw
12018-06-17: Version 4.0.1
2
3 * Fix parsing async get/set in a class (issue 1861, 1875)
4 * Account for different return statement argument (issue 1829, 1897, 1928)
5 * Correct the handling of HTML comment when parsing a module (issue 1841)
6 * Fix incorrect parse async with proto-identifier-shorthand (issue 1847)
7 * Fix negative column in binary expression (issue 1844)
8 * Fix incorrect YieldExpression in object methods (issue 1834)
9 * Various documentation fixes
10
112017-06-10: Version 4.0.0
12
13 * Support ES2017 async function and await expression (issue 1079)
14 * Support ES2017 trailing commas in function parameters (issue 1550)
15 * Explicitly distinguish parsing a module vs a script (issue 1576)
16 * Fix JSX non-empty container (issue 1786)
17 * Allow JSX element in a yield expression (issue 1765)
18 * Allow `in` expression in a concise body with a function body (issue 1793)
19 * Setter function argument must not be a rest parameter (issue 1693)
20 * Limit strict mode directive to functions with a simple parameter list (issue 1677)
21 * Prohibit any escape sequence in a reserved word (issue 1612)
22 * Only permit hex digits in hex escape sequence (issue 1619)
23 * Prohibit labelled class/generator/function declaration (issue 1484)
24 * Limit function declaration as if statement clause only in non-strict mode (issue 1657)
25 * Tolerate missing ) in a with and do-while statement (issue 1481)
26
272016-12-22: Version 3.1.3
28
29 * Support binding patterns as rest element (issue 1681)
30 * Account for different possible arguments of a yield expression (issue 1469)
31
322016-11-24: Version 3.1.2
33
34 * Ensure that import specifier is more restrictive (issue 1615)
35 * Fix duplicated JSX tokens (issue 1613)
36 * Scan template literal in a JSX expression container (issue 1622)
37 * Improve XHTML entity scanning in JSX (issue 1629)
38
392016-10-31: Version 3.1.1
40
41 * Fix assignment expression problem in an export declaration (issue 1596)
42 * Fix incorrect tokenization of hex digits (issue 1605)
43
442016-10-09: Version 3.1.0
45
46 * Do not implicitly collect comments when comment attachment is specified (issue 1553)
47 * Fix incorrect handling of duplicated proto shorthand fields (issue 1485)
48 * Prohibit initialization in some variants of for statements (issue 1309, 1561)
49 * Fix incorrect parsing of export specifier (issue 1578)
50 * Fix ESTree compatibility for assignment pattern (issue 1575)
51
522016-09-03: Version 3.0.0
53
54 * Support ES2016 exponentiation expression (issue 1490)
55 * Support JSX syntax (issue 1467)
56 * Use the latest Unicode 8.0 (issue 1475)
57 * Add the support for syntax node delegate (issue 1435)
58 * Fix ESTree compatibility on meta property (issue 1338)
59 * Fix ESTree compatibility on default parameter value (issue 1081)
60 * Fix ESTree compatibility on try handler (issue 1030)
61
622016-08-23: Version 2.7.3
63
64 * Fix tokenizer confusion with a comment (issue 1493, 1516)
65
662016-02-02: Version 2.7.2
67
68 * Fix out-of-bound error location in an invalid string literal (issue 1457)
69 * Fix shorthand object destructuring defaults in variable declarations (issue 1459)
70
712015-12-10: Version 2.7.1
72
73 * Do not allow trailing comma in a variable declaration (issue 1360)
74 * Fix assignment to `let` in non-strict mode (issue 1376)
75 * Fix missing delegate property in YieldExpression (issue 1407)
76
772015-10-22: Version 2.7.0
78
79 * Fix the handling of semicolon in a break statement (issue 1044)
80 * Run the test suite with major web browsers (issue 1259, 1317)
81 * Allow `let` as an identifier in non-strict mode (issue 1289)
82 * Attach orphaned comments as `innerComments` (issue 1328)
83 * Add the support for token delegator (issue 1332)
84
852015-09-01: Version 2.6.0
86
87 * Properly allow or prohibit `let` in a binding identifier/pattern (issue 1048, 1098)
88 * Add sourceType field for Program node (issue 1159)
89 * Ensure that strict mode reserved word binding throw an error (issue 1171)
90 * Run the test suite with Node.js and IE 11 on Windows (issue 1294)
91 * Allow binding pattern with no initializer in a for statement (issue 1301)
92
932015-07-31: Version 2.5.0
94
95 * Run the test suite in a browser environment (issue 1004)
96 * Ensure a comma between imported default binding and named imports (issue 1046)
97 * Distinguish `yield` as a keyword vs an identifier (issue 1186)
98 * Support ES6 meta property `new.target` (issue 1203)
99 * Fix the syntax node for yield with expression (issue 1223)
100 * Fix the check of duplicated proto in property names (issue 1225)
101 * Fix ES6 Unicode escape in identifier name (issue 1229)
102 * Support ES6 IdentifierStart and IdentifierPart (issue 1232)
103 * Treat await as a reserved word when parsing as a module (issue 1234)
104 * Recognize identifier characters from Unicode SMP (issue 1244)
105 * Ensure that export and import can be followed by a comma (issue 1250)
106 * Fix yield operator precedence (issue 1262)
107
1082015-07-01: Version 2.4.1
109
110 * Fix some cases of comment attachment (issue 1071, 1175)
111 * Fix the handling of destructuring in function arguments (issue 1193)
112 * Fix invalid ranges in assignment expression (issue 1201)
113
1142015-06-26: Version 2.4.0
115
116 * Support ES6 for-of iteration (issue 1047)
117 * Support ES6 spread arguments (issue 1169)
118 * Minimize npm payload (issue 1191)
119
1202015-06-16: Version 2.3.0
121
122 * Support ES6 generator (issue 1033)
123 * Improve parsing of regular expressions with `u` flag (issue 1179)
124
1252015-04-17: Version 2.2.0
126
127 * Support ES6 import and export declarations (issue 1000)
128 * Fix line terminator before arrow not recognized as error (issue 1009)
129 * Support ES6 destructuring (issue 1045)
130 * Support ES6 template literal (issue 1074)
131 * Fix the handling of invalid/incomplete string escape sequences (issue 1106)
132 * Fix ES3 static member access restriction (issue 1120)
133 * Support for `super` in ES6 class (issue 1147)
134
1352015-03-09: Version 2.1.0
136
137 * Support ES6 class (issue 1001)
138 * Support ES6 rest parameter (issue 1011)
139 * Expand the location of property getter, setter, and methods (issue 1029)
140 * Enable TryStatement transition to a single handler (issue 1031)
141 * Support ES6 computed property name (issue 1037)
142 * Tolerate unclosed block comment (issue 1041)
143 * Support ES6 lexical declaration (issue 1065)
144
1452015-02-06: Version 2.0.0
146
147 * Support ES6 arrow function (issue 517)
148 * Support ES6 Unicode code point escape (issue 521)
149 * Improve the speed and accuracy of comment attachment (issue 522)
150 * Support ES6 default parameter (issue 519)
151 * Support ES6 regular expression flags (issue 557)
152 * Fix scanning of implicit octal literals (issue 565)
153 * Fix the handling of automatic semicolon insertion (issue 574)
154 * Support ES6 method definition (issue 620)
155 * Support ES6 octal integer literal (issue 621)
156 * Support ES6 binary integer literal (issue 622)
157 * Support ES6 object literal property value shorthand (issue 624)
158
1592015-03-03: Version 1.2.5
160
161 * Fix scanning of implicit octal literals (issue 565)
162
1632015-02-05: Version 1.2.4
164
165 * Fix parsing of LeftHandSideExpression in ForInStatement (issue 560)
166 * Fix the handling of automatic semicolon insertion (issue 574)
167
1682015-01-18: Version 1.2.3
169
170 * Fix division by this (issue 616)
171
1722014-05-18: Version 1.2.2
173
174 * Fix duplicated tokens when collecting comments (issue 537)
175
1762014-05-04: Version 1.2.1
177
178 * Ensure that Program node may still have leading comments (issue 536)
179
1802014-04-29: Version 1.2.0
181
182 * Fix semicolon handling for expression statement (issue 462, 533)
183 * Disallow escaped characters in regular expression flags (issue 503)
184 * Performance improvement for location tracking (issue 520)
185 * Improve the speed of comment attachment (issue 522)
186
1872014-03-26: Version 1.1.1
188
189 * Fix token handling of forward slash after an array literal (issue 512)
190
1912014-03-23: Version 1.1.0
192
193 * Optionally attach comments to the owning syntax nodes (issue 197)
194 * Simplify binary parsing with stack-based shift reduce (issue 352)
195 * Always include the raw source of literals (issue 376)
196 * Add optional input source information (issue 386)
197 * Tokenizer API for pure lexical scanning (issue 398)
198 * Improve the web site and its online demos (issue 337, 400, 404)
199 * Performance improvement for location tracking (issue 417, 424)
200 * Support HTML comment syntax (issue 451)
201 * Drop support for legacy browsers (issue 474)
202
2032013-08-27: Version 1.0.4
204
205 * Minimize the payload for packages (issue 362)
206 * Fix missing cases on an empty switch statement (issue 436)
207 * Support escaped ] in regexp literal character classes (issue 442)
208 * Tolerate invalid left-hand side expression (issue 130)
209
2102013-05-17: Version 1.0.3
211
212 * Variable declaration needs at least one declarator (issue 391)
213 * Fix benchmark's variance unit conversion (issue 397)
214 * IE < 9: \v should be treated as vertical tab (issue 405)
215 * Unary expressions should always have prefix: true (issue 418)
216 * Catch clause should only accept an identifier (issue 423)
217 * Tolerate setters without parameter (issue 426)
218
2192012-11-02: Version 1.0.2
220
221 Improvement:
222
223 * Fix esvalidate JUnit output upon a syntax error (issue 374)
224
2252012-10-28: Version 1.0.1
226
227 Improvements:
228
229 * esvalidate understands shebang in a Unix shell script (issue 361)
230 * esvalidate treats fatal parsing failure as an error (issue 361)
231 * Reduce Node.js package via .npmignore (issue 362)
232
2332012-10-22: Version 1.0.0
234
235 Initial release.