diff --git a/acorn/CHANGELOG.md b/acorn/CHANGELOG.md index 2b1751851..ea8d6c04d 100644 --- a/acorn/CHANGELOG.md +++ b/acorn/CHANGELOG.md @@ -1,3 +1,15 @@ +## 8.8.0 (2022-07-21) + +### Bug fixes + +Allow parentheses around spread args in destructuring object assignment. + +Fix an issue where the tree contained `directive` properties in when parsing with a language version that doesn't support them. + +### New features + +Support hashbang comments by default in ECMAScript 2023 and later. + ## 8.7.1 (2021-04-26) ### Bug fixes diff --git a/acorn/package.json b/acorn/package.json index 174169746..896061c41 100644 --- a/acorn/package.json +++ b/acorn/package.json @@ -16,7 +16,7 @@ ], "./package.json": "./package.json" }, - "version": "8.7.1", + "version": "8.8.0", "engines": { "node": ">=0.4.0" }, diff --git a/acorn/src/index.js b/acorn/src/index.js index 671da3520..e5f6227b6 100644 --- a/acorn/src/index.js +++ b/acorn/src/index.js @@ -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.7.1" +export const version = "8.8.0" export { Parser, defaultOptions,