diff --git a/acorn/CHANGELOG.md b/acorn/CHANGELOG.md index b9ef4266a..c404a235c 100644 --- a/acorn/CHANGELOG.md +++ b/acorn/CHANGELOG.md @@ -1,3 +1,9 @@ +## 8.12.1 (2024-07-03) + +### Bug fixes + +Fix a regression that caused Acorn to no longer run on Node versions <8.10. + ## 8.12.0 (2024-06-14) ### New features @@ -17,7 +23,7 @@ Mark the `Parser` constructor as protected, not private, so plugins can extend i 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. diff --git a/acorn/package.json b/acorn/package.json index be2eba048..355692a30 100644 --- a/acorn/package.json +++ b/acorn/package.json @@ -16,7 +16,7 @@ ], "./package.json": "./package.json" }, - "version": "8.12.0", + "version": "8.12.1", "engines": { "node": ">=0.4.0" }, diff --git a/acorn/src/index.js b/acorn/src/index.js index 3c6e1312c..4140f12d2 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.12.0" +export const version = "8.12.1" export { Parser, defaultOptions,