@tko/utils.parser fails to parse an object literal whose last property is written in ES6 shorthand form (a bare identifier, e.g. { a } instead of { a: a }) when that identifier is immediately followed by the closing } with no other characters in between, including whitespace.
parse("x:{a}") // Should work, but throws: Expected ',' but got ''
parse("x:{a,}") // OK (trailing comma "protects" it)
parse("x:{a }") // OK (extra space "protects" it)
parse("x:{a:1}") // OK (explicit key:value form is not affected)
@tko/utils.parserfails to parse an object literal whose last property is written in ES6 shorthand form (a bare identifier, e.g.{ a }instead of{ a: a }) when that identifier is immediately followed by the closing}with no other characters in between, including whitespace.