Skip to content

Commit d788421

Browse files
committed
Mark version 8.18.0
1 parent b61cb9a commit d788421

3 files changed

Lines changed: 14 additions & 2 deletions

File tree

acorn/CHANGELOG.md

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,15 @@
1+
## 8.18.0 (2026-07-28)
2+
3+
### New features
4+
5+
The new `startLocation` option can now be used to tell the parser the line and column the parse starts at (mostly useful with `parseExpressionAt`).
6+
7+
### Bug fixes
8+
9+
Reject uses of `**` with a non-parenthesized arrow function as left-hand side.
10+
11+
Avoid computing the start line in `parseExpressionAt` when locations aren't used.
12+
113
## 8.17.0 (2026-06-11)
214

315
### 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.17.0",
19+
"version": "8.18.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.17.0"
32+
export const version = "8.18.0"
3333
export {
3434
Parser,
3535
defaultOptions,

0 commit comments

Comments
 (0)