New Release: 2.7.0

Bug Fixes

  • Accept get and set as ID properties (2ad235c)
  • allow trailing comma in ArrayBindingPattern (3477933), closes #2222
  • allow typeof symbol === "symbol" (7f7aac2), closes #2241 #2242
  • Correctly enforce maxparams:0 (011364e)
  • default to empty string in src/cli.js loadIgnores (0eeba14)
  • disallow 'lone' rest operator in identifier() (dd08f85), closes #2222
  • emit I003 more carefully and less annoyingly (757fb73), closes #2251
  • export all names for var/let/const declarations (3ce1267), closes #2248 #2253 #2252
  • Incorrect 'Unclosed string' when the closing quote is the first character after a newline (b804e65), closes #1532 #1532 #1319
  • predefine HTMLTemplateElement in browser (231557a), closes #2246
  • Prevent incorrect warnings for relations (64f85f3)
  • Relax restrictions on singleGroups (896bf82)
  • templates are operands, not operators (162dee6), closes #2223 #2224

Features

  • add varstmt enforcement option to disallow use of VariableStatements (59396f7), closes #1549