Skip to content

Commit

Permalink
Mark version 8.12.0
Browse files Browse the repository at this point in the history
  • Loading branch information
marijnh committed Jun 14, 2024
1 parent 9046cc0 commit 5445810
Show file tree
Hide file tree
Showing 4 changed files with 28 additions and 2 deletions.
2 changes: 2 additions & 0 deletions AUTHORS
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
List of Acorn contributors. Updated before every release.

adams85
Adam Walsh
Adrian Heine
Adrian Rakovsky
Expand Down Expand Up @@ -69,6 +70,7 @@ Koichi ITO
krator
kyranet
laosb
Lucas Mirelmann
luckyzeng
Marek
Marijn Haverbeke
Expand Down
24 changes: 24 additions & 0 deletions acorn/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,27 @@
## 8.12.0 (2024-06-14)

### New features

Support ES2025 duplicate capture group names in regular expressions.

### Bug fixes

Include `VariableDeclarator` in the `AnyNode` type so that walker objects can refer to it without getting a type error.

Properly raise a parse error for invalid `for`/`of` statements using `async` as binding name.

Properly recognize \"use strict\" when preceded by a string with an escaped newline.

Mark the `Parser` constructor as protected, not private, so plugins can extend it without type errors.

Fix a bug where some invalid `delete` expressions were let through when the operand was parenthesized and `preserveParens` was enabled.

Properly normalize line endings in raw strings of invalid template tokens.

Properly track line numbers for escaped newlines in strings.

Fix a bug that broke line number accounting after a template literal with invalid escape sequences.

## 8.11.3 (2023-12-29)

### Bug fixes
Expand Down
2 changes: 1 addition & 1 deletion acorn/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
],
"./package.json": "./package.json"
},
"version": "8.11.3",
"version": "8.12.0",
"engines": {
"node": ">=0.4.0"
},
Expand Down
2 changes: 1 addition & 1 deletion acorn/src/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ import {isIdentifierChar, isIdentifierStart} from "./identifier.js"
import {Token} from "./tokenize.js"
import {isNewLine, lineBreak, lineBreakG, nonASCIIwhitespace} from "./whitespace.js"

export const version = "8.11.3"
export const version = "8.12.0"
export {
Parser,
defaultOptions,
Expand Down

0 comments on commit 5445810

Please sign in to comment.