goldstein 4.0.2 → 4.1.0
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 +6 -0
- package/build/parser.cjs +4 -4
- package/package.json +3 -3
- package/packages/keyword-try/index.js +1 -1
package/ChangeLog
CHANGED
package/build/parser.cjs
CHANGED
|
@@ -5474,7 +5474,7 @@ var {
|
|
|
5474
5474
|
isCallExpression,
|
|
5475
5475
|
isAwaitExpression
|
|
5476
5476
|
} = import_putout.types;
|
|
5477
|
-
function
|
|
5477
|
+
function keywordTry(Parser3) {
|
|
5478
5478
|
const { keywordTypes } = Parser3.acorn;
|
|
5479
5479
|
return class extends Parser3 {
|
|
5480
5480
|
parseExprAtom(refDestructuringErrors, forInit) {
|
|
@@ -5553,7 +5553,7 @@ var {
|
|
|
5553
5553
|
isCallExpression: isCallExpression2,
|
|
5554
5554
|
isAwaitExpression: isAwaitExpression2
|
|
5555
5555
|
} = import_putout2.types;
|
|
5556
|
-
function
|
|
5556
|
+
function newSpeak2(Parser3) {
|
|
5557
5557
|
const { keywordTypes } = Parser3.acorn;
|
|
5558
5558
|
keywordTypes.should = new TokenType("should", {
|
|
5559
5559
|
keyword: "should"
|
|
@@ -5843,8 +5843,8 @@ function fn3(Parser3) {
|
|
|
5843
5843
|
var defaultKeywords = {
|
|
5844
5844
|
keywordFn: fn,
|
|
5845
5845
|
keywordGuard: newSpeak,
|
|
5846
|
-
keywordTry
|
|
5847
|
-
keywordShould:
|
|
5846
|
+
keywordTry,
|
|
5847
|
+
keywordShould: newSpeak2,
|
|
5848
5848
|
keywordThrow,
|
|
5849
5849
|
keywordCurry,
|
|
5850
5850
|
keywordFreeze,
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "goldstein",
|
|
3
|
-
"version": "4.0
|
|
3
|
+
"version": "4.1.0",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"author": "coderaiser <mnemonic.enemy@gmail.com> (https://github.com/coderaiser)",
|
|
6
6
|
"description": "JavaScript with no limits",
|
|
@@ -32,11 +32,11 @@
|
|
|
32
32
|
"@putout/plugin-declare": "^2.0.1",
|
|
33
33
|
"@putout/plugin-logical-expressions": "^4.0.0",
|
|
34
34
|
"@putout/plugin-try-catch": "^3.0.0",
|
|
35
|
-
"@putout/printer": "^
|
|
35
|
+
"@putout/printer": "^4.2.0",
|
|
36
36
|
"acorn": "^8.7.1",
|
|
37
37
|
"esbuild": "^0.19.2",
|
|
38
38
|
"esbuild-node-builtins": "^0.1.0",
|
|
39
|
-
"estree-to-babel": "^
|
|
39
|
+
"estree-to-babel": "^7.0.0",
|
|
40
40
|
"putout": "^31.0.3",
|
|
41
41
|
"try-catch": "^3.0.1"
|
|
42
42
|
},
|