Skip to content

Commit 5445810

Browse files
committed
Mark version 8.12.0
1 parent 9046cc0 commit 5445810

File tree

4 files changed

+28
-2
lines changed

4 files changed

+28
-2
lines changed

AUTHORS

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
List of Acorn contributors. Updated before every release.
22

3+
adams85
34
Adam Walsh
45
Adrian Heine
56
Adrian Rakovsky
@@ -69,6 +70,7 @@ Koichi ITO
6970
krator
7071
kyranet
7172
laosb
73+
Lucas Mirelmann
7274
luckyzeng
7375
Marek
7476
Marijn Haverbeke

acorn/CHANGELOG.md

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,27 @@
1+
## 8.12.0 (2024-06-14)
2+
3+
### New features
4+
5+
Support ES2025 duplicate capture group names in regular expressions.
6+
7+
### Bug fixes
8+
9+
Include `VariableDeclarator` in the `AnyNode` type so that walker objects can refer to it without getting a type error.
10+
11+
Properly raise a parse error for invalid `for`/`of` statements using `async` as binding name.
12+
13+
Properly recognize \"use strict\" when preceded by a string with an escaped newline.
14+
15+
Mark the `Parser` constructor as protected, not private, so plugins can extend it without type errors.
16+
17+
Fix a bug where some invalid `delete` expressions were let through when the operand was parenthesized and `preserveParens` was enabled.
18+
19+
Properly normalize line endings in raw strings of invalid template tokens.
20+
21+
Properly track line numbers for escaped newlines in strings.
22+
23+
Fix a bug that broke line number accounting after a template literal with invalid escape sequences.
24+
125
## 8.11.3 (2023-12-29)
226

327
### Bug fixes

acorn/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616
],
1717
"./package.json": "./package.json"
1818
},
19-
"version": "8.11.3",
19+
"version": "8.12.0",
2020
"engines": {
2121
"node": ">=0.4.0"
2222
},

acorn/src/index.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ import {isIdentifierChar, isIdentifierStart} from "./identifier.js"
3131
import {Token} from "./tokenize.js"
3232
import {isNewLine, lineBreak, lineBreakG, nonASCIIwhitespace} from "./whitespace.js"
3333

34-
export const version = "8.11.3"
34+
export const version = "8.12.0"
3535
export {
3636
Parser,
3737
defaultOptions,

0 commit comments

Comments
 (0)