Skip to content

Commit 610d62d

Browse files
committed
Mark version 8.16.0
1 parent e4baf9e commit 610d62d

File tree

3 files changed

+20
-2
lines changed

3 files changed

+20
-2
lines changed

acorn/CHANGELOG.md

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,21 @@
1+
## 8.16.0 (2026-02-19)
2+
3+
### New features
4+
5+
The `sourceType` option can now be set to `"commonjs"` to have the parser treat the top level scope as a function scope.
6+
7+
Add support for Unicode 17.
8+
9+
### Bug fixes
10+
11+
Don't recognize `await using` as contextual keywords when followed directly by a backslash.
12+
13+
Fix an issue where the parser would allow `return` statements in `static` blocks when `allowReturnOutsideFunction` was enabled.
14+
15+
Properly reject `using` declarations that appear directly in `switch` or `for` head scopes.
16+
17+
Fix some corner case issues in the recognition of `using` syntax.
18+
119
## 8.15.0 (2025-06-08)
220

321
### New features

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.15.0",
19+
"version": "8.16.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
@@ -29,7 +29,7 @@ import {isIdentifierChar, isIdentifierStart} from "./identifier.js"
2929
import {Token} from "./tokenize.js"
3030
import {isNewLine, lineBreak, lineBreakG, nonASCIIwhitespace} from "./whitespace.js"
3131

32-
export const version = "8.15.0"
32+
export const version = "8.16.0"
3333
export {
3434
Parser,
3535
defaultOptions,

0 commit comments

Comments
 (0)