npm / meriyah
meriyah
What changed in meriyah 7, from its official release notes, upgrade guides and advisories. Sources checked 2026-10-24.
5 breaking2 behavior and defaults13 fixes and other
See which of these apply to your code, ranked, in your agent:
npx @unstale/cli initmeriyah 720 changes
Breaking changes 5
A slash after an await identifier is parsed as division.
Await is rejected in class field initializers.
Continue targets are restricted to iteration statement labels.
Escaped await is rejected in async arrow parameters.
Private identifiers are restricted to in expressions.
Behavior and default changes 2
Await identifiers are allowed in ordinary parameter defaults.
The parser allows constructor/accessor identifiers and using arrows.
Fixes and other changes 13
Namespaced tag names are compared by text.
LS/PS after a backslash in templates are treated as a line continuation.
Unicode 18 is supported.
Yield-in-parameter errors are reported at the yield token.
The parser propagates DestructuringKind.Await alongside Yield.
The parser allows async of in for await-of statements.
Line terminators are counted and entities are decoded in JSX attribute values.
Line terminators are counted in JSXText.
JSXText value decoding is fixed.
Named entries are decoded in JSXText.
Fixes the reported error location for duplicate bindings, helping developers identify the relevant source position.
Fixes parsing of JSX contextual identifiers, so JSX using them is handled correctly.
Fixes tokenization of
>when=follows, so JSX input is parsed correctly.