goldstein 3.3.1 → 3.3.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/ChangeLog +5 -0
- package/build/parser.cjs +1 -1
- package/package.json +1 -1
- package/packages/keyword-should/index.js +1 -1
package/ChangeLog
CHANGED
package/build/parser.cjs
CHANGED
|
@@ -5567,7 +5567,7 @@ function newSpeak3(Parser3) {
|
|
|
5567
5567
|
this.next();
|
|
5568
5568
|
const node = super.startNode();
|
|
5569
5569
|
if (this.type === types$1.braceL)
|
|
5570
|
-
return this.raise(this.start, `After 'should' only 'await' and 'function call' can come,
|
|
5570
|
+
return this.raise(this.start, `After 'should' only 'await' and 'function call' can come, brackets are not supported`);
|
|
5571
5571
|
const expression = this.parseExpression();
|
|
5572
5572
|
if (isCallExpression2(expression))
|
|
5573
5573
|
node.expression = {
|
package/package.json
CHANGED
|
@@ -37,7 +37,7 @@ export default function newSpeak(Parser) {
|
|
|
37
37
|
const node = super.startNode();
|
|
38
38
|
|
|
39
39
|
if (this.type === tt.braceL)
|
|
40
|
-
return this.raise(this.start, `After 'should' only 'await' and 'function call' can come,
|
|
40
|
+
return this.raise(this.start, `After 'should' only 'await' and 'function call' can come, brackets are not supported`);
|
|
41
41
|
|
|
42
42
|
const expression = this.parseExpression();
|
|
43
43
|
|