Update dev dependencies and fix linting errors (#10228)
* chore: Uppate dev dependencies * chore: Fix lint errors * chore: Format options.json files * chore: Fix stupid flow errors * Update test262 whitelist Seems test262-stream was updated and now these tests work.
This commit is contained in:
@@ -1137,9 +1137,7 @@ export default class ExpressionParser extends LValParser {
|
||||
if (node.property.name !== propertyName || containsEsc) {
|
||||
this.raise(
|
||||
node.property.start,
|
||||
`The only valid meta property for ${meta.name} is ${
|
||||
meta.name
|
||||
}.${propertyName}`,
|
||||
`The only valid meta property for ${meta.name} is ${meta.name}.${propertyName}`,
|
||||
);
|
||||
}
|
||||
|
||||
|
||||
@@ -369,9 +369,8 @@ export default (superClass: Class<Parser>): Class<Parser> =>
|
||||
) {
|
||||
throw this.unexpected(
|
||||
pattern.start,
|
||||
`Name in a signature must be an Identifier, ObjectPattern or ArrayPattern, instead got ${
|
||||
pattern.type
|
||||
}`,
|
||||
"Name in a signature must be an Identifier, ObjectPattern or ArrayPattern," +
|
||||
`instead got ${pattern.type}`,
|
||||
);
|
||||
}
|
||||
return pattern;
|
||||
|
||||
Reference in New Issue
Block a user