Ohm-Management - Projektarbeit B-ME
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

CHANGELOG.md 11KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452
  1. ## 6.0.4 (2018-11-05)
  2. ### Bug fixes
  3. Further improvements to tokenizing regular expressions in corner cases.
  4. ## 6.0.3 (2018-11-04)
  5. ### Bug fixes
  6. Fix bug in tokenizing an expression-less return followed by a function followed by a regular expression.
  7. Remove stray symlink in the package tarball.
  8. ## 6.0.2 (2018-09-26)
  9. ### Bug fixes
  10. Fix bug where default expressions could fail to parse inside an object destructuring assignment expression.
  11. ## 6.0.1 (2018-09-14)
  12. ### Bug fixes
  13. Fix wrong value in `version` export.
  14. ## 6.0.0 (2018-09-14)
  15. ### Bug fixes
  16. Better handle variable-redefinition checks for catch bindings and functions directly under if statements.
  17. Forbid `new.target` in top-level arrow functions.
  18. Fix issue with parsing a regexp after `yield` in some contexts.
  19. ### New features
  20. The package now comes with TypeScript definitions.
  21. ### Breaking changes
  22. The default value of the `ecmaVersion` option is now 9 (2018).
  23. Plugins work differently, and will have to be rewritten to work with this version.
  24. The loose parser and walker have been moved into separate packages (`acorn-loose` and `acorn-walk`).
  25. ## 5.7.3 (2018-09-10)
  26. ### Bug fixes
  27. Fix failure to tokenize regexps after expressions like `x.of`.
  28. Better error message for unterminated template literals.
  29. ## 5.7.2 (2018-08-24)
  30. ### Bug fixes
  31. Properly handle `allowAwaitOutsideFunction` in for statements.
  32. Treat function declarations at the top level of modules like let bindings.
  33. Don't allow async function declarations as the only statement under a label.
  34. ## 5.7.0 (2018-06-15)
  35. ### New features
  36. Upgraded to Unicode 11.
  37. ## 5.6.0 (2018-05-31)
  38. ### New features
  39. Allow U+2028 and U+2029 in string when ECMAVersion >= 10.
  40. Allow binding-less catch statements when ECMAVersion >= 10.
  41. Add `allowAwaitOutsideFunction` option for parsing top-level `await`.
  42. ## 5.5.3 (2018-03-08)
  43. ### Bug fixes
  44. A _second_ republish of the code in 5.5.1, this time with yarn, to hopefully get valid timestamps.
  45. ## 5.5.2 (2018-03-08)
  46. ### Bug fixes
  47. A republish of the code in 5.5.1 in an attempt to solve an issue with the file timestamps in the npm package being 0.
  48. ## 5.5.1 (2018-03-06)
  49. ### Bug fixes
  50. Fix misleading error message for octal escapes in template strings.
  51. ## 5.5.0 (2018-02-27)
  52. ### New features
  53. The identifier character categorization is now based on Unicode version 10.
  54. Acorn will now validate the content of regular expressions, including new ES9 features.
  55. ## 5.4.0 (2018-02-01)
  56. ### Bug fixes
  57. Disallow duplicate or escaped flags on regular expressions.
  58. Disallow octal escapes in strings in strict mode.
  59. ### New features
  60. Add support for async iteration.
  61. Add support for object spread and rest.
  62. ## 5.3.0 (2017-12-28)
  63. ### Bug fixes
  64. Fix parsing of floating point literals with leading zeroes in loose mode.
  65. Allow duplicate property names in object patterns.
  66. Don't allow static class methods named `prototype`.
  67. Disallow async functions directly under `if` or `else`.
  68. Parse right-hand-side of `for`/`of` as an assignment expression.
  69. Stricter parsing of `for`/`in`.
  70. Don't allow unicode escapes in contextual keywords.
  71. ### New features
  72. Parsing class members was factored into smaller methods to allow plugins to hook into it.
  73. ## 5.2.1 (2017-10-30)
  74. ### Bug fixes
  75. Fix a token context corruption bug.
  76. ## 5.2.0 (2017-10-30)
  77. ### Bug fixes
  78. Fix token context tracking for `class` and `function` in property-name position.
  79. Make sure `%*` isn't parsed as a valid operator.
  80. Allow shorthand properties `get` and `set` to be followed by default values.
  81. Disallow `super` when not in callee or object position.
  82. ### New features
  83. Support [`directive` property](https://github.com/estree/estree/compare/b3de58c9997504d6fba04b72f76e6dd1619ee4eb...1da8e603237144f44710360f8feb7a9977e905e0) on directive expression statements.
  84. ## 5.1.2 (2017-09-04)
  85. ### Bug fixes
  86. Disable parsing of legacy HTML-style comments in modules.
  87. Fix parsing of async methods whose names are keywords.
  88. ## 5.1.1 (2017-07-06)
  89. ### Bug fixes
  90. Fix problem with disambiguating regexp and division after a class.
  91. ## 5.1.0 (2017-07-05)
  92. ### Bug fixes
  93. Fix tokenizing of regexps in an object-desctructuring `for`/`of` loop and after `yield`.
  94. Parse zero-prefixed numbers with non-octal digits as decimal.
  95. Allow object/array patterns in rest parameters.
  96. Don't error when `yield` is used as a property name.
  97. Allow `async` as a shorthand object property.
  98. ### New features
  99. Implement the [template literal revision proposal](https://github.com/tc39/proposal-template-literal-revision) for ES9.
  100. ## 5.0.3 (2017-04-01)
  101. ### Bug fixes
  102. Fix spurious duplicate variable definition errors for named functions.
  103. ## 5.0.2 (2017-03-30)
  104. ### Bug fixes
  105. A binary operator after a parenthesized arrow expression is no longer incorrectly treated as an error.
  106. ## 5.0.0 (2017-03-28)
  107. ### Bug fixes
  108. Raise an error for duplicated lexical bindings.
  109. Fix spurious error when an assignement expression occurred after a spread expression.
  110. Accept regular expressions after `of` (in `for`/`of`), `yield` (in a generator), and braced arrow functions.
  111. Allow labels in front or `var` declarations, even in strict mode.
  112. ### Breaking changes
  113. Parse declarations following `export default` as declaration nodes, not expressions. This means that class and function declarations nodes can now have `null` as their `id`.
  114. ## 4.0.11 (2017-02-07)
  115. ### Bug fixes
  116. Allow all forms of member expressions to be parenthesized as lvalue.
  117. ## 4.0.10 (2017-02-07)
  118. ### Bug fixes
  119. Don't expect semicolons after default-exported functions or classes, even when they are expressions.
  120. Check for use of `'use strict'` directives in non-simple parameter functions, even when already in strict mode.
  121. ## 4.0.9 (2017-02-06)
  122. ### Bug fixes
  123. Fix incorrect error raised for parenthesized simple assignment targets, so that `(x) = 1` parses again.
  124. ## 4.0.8 (2017-02-03)
  125. ### Bug fixes
  126. Solve spurious parenthesized pattern errors by temporarily erring on the side of accepting programs that our delayed errors don't handle correctly yet.
  127. ## 4.0.7 (2017-02-02)
  128. ### Bug fixes
  129. Accept invalidly rejected code like `(x).y = 2` again.
  130. Don't raise an error when a function _inside_ strict code has a non-simple parameter list.
  131. ## 4.0.6 (2017-02-02)
  132. ### Bug fixes
  133. Fix exponential behavior (manifesting itself as a complete hang for even relatively small source files) introduced by the new 'use strict' check.
  134. ## 4.0.5 (2017-02-02)
  135. ### Bug fixes
  136. Disallow parenthesized pattern expressions.
  137. Allow keywords as export names.
  138. Don't allow the `async` keyword to be parenthesized.
  139. Properly raise an error when a keyword contains a character escape.
  140. Allow `"use strict"` to appear after other string literal expressions.
  141. Disallow labeled declarations.
  142. ## 4.0.4 (2016-12-19)
  143. ### Bug fixes
  144. Fix crash when `export` was followed by a keyword that can't be
  145. exported.
  146. ## 4.0.3 (2016-08-16)
  147. ### Bug fixes
  148. Allow regular function declarations inside single-statement `if` branches in loose mode. Forbid them entirely in strict mode.
  149. Properly parse properties named `async` in ES2017 mode.
  150. Fix bug where reserved words were broken in ES2017 mode.
  151. ## 4.0.2 (2016-08-11)
  152. ### Bug fixes
  153. Don't ignore period or 'e' characters after octal numbers.
  154. Fix broken parsing for call expressions in default parameter values of arrow functions.
  155. ## 4.0.1 (2016-08-08)
  156. ### Bug fixes
  157. Fix false positives in duplicated export name errors.
  158. ## 4.0.0 (2016-08-07)
  159. ### Breaking changes
  160. The default `ecmaVersion` option value is now 7.
  161. A number of internal method signatures changed, so plugins might need to be updated.
  162. ### Bug fixes
  163. The parser now raises errors on duplicated export names.
  164. `arguments` and `eval` can now be used in shorthand properties.
  165. Duplicate parameter names in non-simple argument lists now always produce an error.
  166. ### New features
  167. The `ecmaVersion` option now also accepts year-style version numbers
  168. (2015, etc).
  169. Support for `async`/`await` syntax when `ecmaVersion` is >= 8.
  170. Support for trailing commas in call expressions when `ecmaVersion` is >= 8.
  171. ## 3.3.0 (2016-07-25)
  172. ### Bug fixes
  173. Fix bug in tokenizing of regexp operator after a function declaration.
  174. Fix parser crash when parsing an array pattern with a hole.
  175. ### New features
  176. Implement check against complex argument lists in functions that enable strict mode in ES7.
  177. ## 3.2.0 (2016-06-07)
  178. ### Bug fixes
  179. Improve handling of lack of unicode regexp support in host
  180. environment.
  181. Properly reject shorthand properties whose name is a keyword.
  182. ### New features
  183. Visitors created with `visit.make` now have their base as _prototype_, rather than copying properties into a fresh object.
  184. ## 3.1.0 (2016-04-18)
  185. ### Bug fixes
  186. Properly tokenize the division operator directly after a function expression.
  187. Allow trailing comma in destructuring arrays.
  188. ## 3.0.4 (2016-02-25)
  189. ### Fixes
  190. Allow update expressions as left-hand-side of the ES7 exponential operator.
  191. ## 3.0.2 (2016-02-10)
  192. ### Fixes
  193. Fix bug that accidentally made `undefined` a reserved word when parsing ES7.
  194. ## 3.0.0 (2016-02-10)
  195. ### Breaking changes
  196. The default value of the `ecmaVersion` option is now 6 (used to be 5).
  197. Support for comprehension syntax (which was dropped from the draft spec) has been removed.
  198. ### Fixes
  199. `let` and `yield` are now “contextual keywords”, meaning you can mostly use them as identifiers in ES5 non-strict code.
  200. A parenthesized class or function expression after `export default` is now parsed correctly.
  201. ### New features
  202. When `ecmaVersion` is set to 7, Acorn will parse the exponentiation operator (`**`).
  203. The identifier character ranges are now based on Unicode 8.0.0.
  204. Plugins can now override the `raiseRecoverable` method to override the way non-critical errors are handled.
  205. ## 2.7.0 (2016-01-04)
  206. ### Fixes
  207. Stop allowing rest parameters in setters.
  208. Disallow `y` rexexp flag in ES5.
  209. Disallow `\00` and `\000` escapes in strict mode.
  210. Raise an error when an import name is a reserved word.
  211. ## 2.6.2 (2015-11-10)
  212. ### Fixes
  213. Don't crash when no options object is passed.
  214. ## 2.6.0 (2015-11-09)
  215. ### Fixes
  216. Add `await` as a reserved word in module sources.
  217. Disallow `yield` in a parameter default value for a generator.
  218. Forbid using a comma after a rest pattern in an array destructuring.
  219. ### New features
  220. Support parsing stdin in command-line tool.
  221. ## 2.5.0 (2015-10-27)
  222. ### Fixes
  223. Fix tokenizer support in the command-line tool.
  224. Stop allowing `new.target` outside of functions.
  225. Remove legacy `guard` and `guardedHandler` properties from try nodes.
  226. Stop allowing multiple `__proto__` properties on an object literal in strict mode.
  227. Don't allow rest parameters to be non-identifier patterns.
  228. Check for duplicate paramter names in arrow functions.