This repository was archived by the owner on Apr 6, 2019. It is now read-only.
Tags: ChavaScript/chavascript-parser
Tags
Version 6.0.7 ### Bug fixes Check that exported bindings are defined. Don't treat `\u180e` as a whitespace character. Check for duplicate parameter names in methods. Don't allow shorthand properties when they are generators or async methods. Forbid binding `await` in async arrow function's parameter list.
Version 6.0.6 ### Bug fixes The content of class declarations and expressions is now always parsed in strict mode. Don't allow `let` or `const` to bind the variable name `let`. Treat class declarations as lexical. Don't allow a generator function declaration as the sole body of an `if` or `else`. Ignore `"use strict"` when after an empty statement. Allow string line continuations with special line terminator characters. Treat `for` bodies as part of the `for` scope when checking for conflicting bindings. Fix bug with parsing `yield` in a `for` loop initializer. Implement special cases around scope checking for functions.
Version 6.0.5
### Bug fixes
Fix TypeScript type for `Parser.extend` and add `allowAwaitOutsideFunction` to options type.
Don't treat `let` as a keyword when the next token is `{` on the next line.
Fix bug that broke checking for parentheses around an object pattern in a destructuring assignment when `preserveParens` was on.
PreviousNext