You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Added parsing of HTML comments if source is not a module
Added some validations:
Disallowed legacy octal escape syntax (\07) in templates
Disallowed legacy octal escape syntax (\07) in strings if strict mode
Disallowed legacy octal syntax (077) for numbers if strict mode
Disallowed delete followed by single identifiers in strict mode
Disallowed labelled function declarations in strict mode
Allowed if (...) function () {} syntax if not in strict mode
BC break: removed Function_ and Class_ interfaces and traits and replaced them with abstract classes
BC break: if sourceEncoding is not specified, the parser won't try to autodetect it, but will assume UTF-8
BC break: Literal is now an abstract class that is extended by the new classes for literals: StringLiteral, NumericLiteral, BooleanLiteral and NullLiteral