Skip to content

Tags: undeadinu/acorn

Tags

6.0.5

Verified

This tag was signed with the committer’s verified signature.
marijnh Marijn Haverbeke
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.

6.0.4

Verified

This tag was signed with the committer’s verified signature.
marijnh Marijn Haverbeke
Version 6.0.4

### Bug fixes

Further improvements to tokenizing regular expressions in corner cases.

6.0.3

Verified

This tag was signed with the committer’s verified signature.
marijnh Marijn Haverbeke
Version 6.0.3

### Bug fixes

Fix bug in tokenizing an expression-less return followed by a function followed by a regular expression.

Remove stray symlink in the package tarball.

walk-6.1.0

Mark acorn-walk 6.1.0

6.0.2

Verified

This tag was signed with the committer’s verified signature.
marijnh Marijn Haverbeke
Acorn 6.0.2

### Bug fixes

Fix bug where default expressions could fail to parse inside an object destructuring assignment expression.

6.0.1

Verified

This tag was signed with the committer’s verified signature.
marijnh Marijn Haverbeke
Version 6.0.1

### Bug fixes

Fix wrong value in `version` export.

6.0.0

Verified

This tag was signed with the committer’s verified signature.
marijnh Marijn Haverbeke
Version 6.0.0

### Bug fixes

Better handle variable-redefinition checks for catch bindings and functions directly under if statements.

Forbid `new.target` in top-level arrow functions.

Fix issue with parsing a regexp after `yield` in some contexts.

### New features

The package now comes with TypeScript definitions.

### Breaking changes

The default value of the `ecmaVersion` option is now 9 (2018).

Plugins work differently, and will have to be rewritten to work with this version.

The loose parser and walker have been moved into separate packages (`acorn-loose` and `acorn-walk`).

5.7.3

Verified

This tag was signed with the committer’s verified signature.
marijnh Marijn Haverbeke
Version 5.7.3

### Bug fixes

Fix failure to tokenize regexps after expressions like `x.of`.

Better error message for unterminated template literals.

5.7.2

Verified

This tag was signed with the committer’s verified signature.
marijnh Marijn Haverbeke
Version 5.7.2

### Bug fixes

Properly handle `allowAwaitOutsideFunction` in for statements.

Treat function declarations at the top level of modules like let bindings.

Don't allow async function declarations as the only statement under a label.

5.7.1

Verified

This tag was signed with the committer’s verified signature.
marijnh Marijn Haverbeke
Version 5.7.1

### Bug fixes

Make sure the walker and bin files are rebuilt on release (the previous release didn't get the up-to-date versions).