Skip to content

Tags: console-one/acorn

Tags

8.7.1

Toggle 8.7.1's commit message

Verified

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

### Bug fixes

Stop handling `"use strict"` directives in ECMAScript versions before 5.

Fix an issue where duplicate quoted export names in `export *` syntax were incorrectly checked.

Add missing type for `tokTypes`.

8.7.0

Toggle 8.7.0's commit message

Verified

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

### New features

Support quoted export names.

Upgrade to Unicode 14.

Add support for Unicode 13 properties in regular expressions.

### Bug fixes

Use a loop to find line breaks, because the existing regexp search would overrun the end of the searched range and waste a lot of time in minified code.

8.6.0

Toggle 8.6.0's commit message

Verified

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

### Bug fixes

Fix a bug where an object literal with multiple `__proto__` properties would incorrectly be accepted if a later property value held an assigment.

### New features

Support class private fields with the `in` operator.

8.5.0

Toggle 8.5.0's commit message

Verified

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

### Bug fixes

Improve context-dependent tokenization in a number of corner cases.

Fix location tracking after a 0x2028 or 0x2029 character in a string literal (which before did not increase the line number).

Fix an issue where arrow function bodies in for loop context would inappropriately consume `in` operators.

Fix wrong end locations stored on SequenceExpression nodes.

Implement restriction that `for`/`of` loop LHS can't start with `let`.

### New features

Add support for ES2022 class static blocks.

Allow multiple input files to be passed to the CLI tool.

8.4.1

Toggle 8.4.1's commit message

Verified

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

### Bug fixes

Fix a bug where `allowAwaitOutsideFunction` would allow `await` in class field initializers, and setting `ecmaVersion` to 13 or higher would allow top-level await in non-module sources.

8.4.0

Toggle 8.4.0's commit message

Verified

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

### New features

A new option, `allowSuperOutsideMethod`, can be used to suppress the error when `super` is used in the wrong context.

8.3.0

Toggle 8.3.0's commit message

Verified

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

### New features

Default `allowAwaitOutsideFunction` to true for ECMAScript 2022 an higher.

Add support for the `p` ([indices](https://github.com/tc39/proposal-regexp-match-indices)) regexp flag.

8.2.4

Toggle 8.2.4's commit message

Verified

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

### Bug fixes

Fix spec conformity in corner case 'for await (async of ...)'.

8.2.3

Toggle 8.2.3's commit message

Verified

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

### Bug fixes

Fix an issue where the library couldn't parse 'for (async of ...)'.

Fix a bug in UTF-16 decoding that would read characters incorrectly in some circumstances.

8.2.2

Toggle 8.2.2's commit message

Verified

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

### Bug fixes

Fix a bug where a class field initialized to an async arrow function wouldn't allow await inside it. Same issue existed for generator arrow functions with yield.