goldstein 7.4.0 → 7.4.1
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
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "goldstein",
|
|
3
|
-
"version": "7.4.
|
|
3
|
+
"version": "7.4.1",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"author": "coderaiser <mnemonic.enemy@gmail.com> (https://github.com/coderaiser)",
|
|
6
6
|
"description": "JavaScript with no limits",
|
|
@@ -31,7 +31,7 @@
|
|
|
31
31
|
},
|
|
32
32
|
"dependencies": {
|
|
33
33
|
"@putout/plugin-declare": "^8.0.0",
|
|
34
|
-
"@putout/plugin-logical-expressions": "^
|
|
34
|
+
"@putout/plugin-logical-expressions": "^9.4.0",
|
|
35
35
|
"@putout/plugin-try-catch": "^8.0.0",
|
|
36
36
|
"@putout/printer": "^18.0.0",
|
|
37
37
|
"acorn": "^8.7.1",
|
|
@@ -28,7 +28,7 @@ export function parseMaybeAssign(forInit, refDestructuringErrors, afterLeftParse
|
|
|
28
28
|
|
|
29
29
|
// The tokenizer will assume an expression is allowed after
|
|
30
30
|
// `yield`, but this isn't that kind of yield
|
|
31
|
-
this.exprAllowed = false
|
|
31
|
+
this.exprAllowed = false; /* c8 ignore end */
|
|
32
32
|
}
|
|
33
33
|
|
|
34
34
|
let ownDestructuringErrors = false;
|
|
@@ -14,7 +14,7 @@ export default function keywordImport(Parser) {
|
|
|
14
14
|
/* c8 ignore start */
|
|
15
15
|
if (this.type === tokTypes.string) {
|
|
16
16
|
node.specifiers = empty;
|
|
17
|
-
node.source = this.parseExprAtom()
|
|
17
|
+
node.source = this.parseExprAtom(); /* c8 ignore end */
|
|
18
18
|
} else {
|
|
19
19
|
node.specifiers = this.parseImportSpecifiers();
|
|
20
20
|
this.expectContextual('from');
|
|
@@ -14,7 +14,7 @@ export default function keywordMissingInitializer(Parser) {
|
|
|
14
14
|
if (!this.parseSafeAssignment)
|
|
15
15
|
this.raise(this.lastTokEnd, `Enable 'operator-safe-assignment' to have ability to use '?='`);
|
|
16
16
|
|
|
17
|
-
decl.init = this.parseSafeAssignment()
|
|
17
|
+
decl.init = this.parseSafeAssignment(); /* c8 ignore start */
|
|
18
18
|
} else if (this.eat(tt.eq)) {
|
|
19
19
|
decl.init = this.parseMaybeAssign(isFor);
|
|
20
20
|
} else if (!allowMissingInitializer && kind === 'const' && this.type !== tt._in && !(this.options.ecmaVersion >= 6 && this.isContextual('of'))) {
|
|
@@ -21,7 +21,7 @@ export default function fn(Parser) {
|
|
|
21
21
|
if ((node.name === 'class' || node.name === 'function') && (this.lastTokEnd !== this.lastTokStart + 1 || this.input.charCodeAt(this.lastTokStart) !== 46))
|
|
22
22
|
this.context.pop();
|
|
23
23
|
|
|
24
|
-
this.type = tt.name
|
|
24
|
+
this.type = tt.name; /* c8 ignore end */
|
|
25
25
|
} else {
|
|
26
26
|
node.name = this.value;
|
|
27
27
|
}
|