Closed ota-meshi closed 1 year ago
LGTM, thanks! Leaving open in case anyone else wants to review it before merging.
Didn't see the other approval. Merging now
So this means ES2023 is final, right?
So this means ES2023 is final, right?
Yes, here's the specification: https://tc39.es/ecma262/2023/
Hashbang Grammar was the only syntax addition in ES2023 (to check, see https://github.com/tc39/proposals/blob/main/finished-proposals.md, last column is the spec year) and espree supports it.
This PR enables ES2024 and changes ES2024 to the latest supported version. It also adds support for the regexp v flag.
Acorn has been merged with changes that add support for the regexp v flag. (But not yet released.) https://github.com/acornjs/acorn/pull/1219#issuecomment-1560695559 https://github.com/acornjs/acorn/commit/1f8c7f1404add9548408ae5b8816461526716f96 https://github.com/acornjs/acorn/commit/fb4c5820138c21f93edd801985be5061db21a672
See also: https://github.com/tc39/proposal-regexp-v-flag https://github.com/tc39/ecma262/pull/2418