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 CHANGED
@@ -1,3 +1,9 @@
1
+ 2023.09.13, v4.1.0
2
+
3
+ feature:
4
+ - a7b3eae package: @putout/printer v4.2.0
5
+ - 5c23933 package: estree-to-babel v7.0.0
6
+
1
7
  2023.08.30, v4.0.2
2
8
 
3
9
  feature:
package/build/parser.cjs CHANGED
@@ -5474,7 +5474,7 @@ var {
5474
5474
  isCallExpression,
5475
5475
  isAwaitExpression
5476
5476
  } = import_putout.types;
5477
- function newSpeak2(Parser3) {
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 newSpeak3(Parser3) {
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: newSpeak2,
5847
- keywordShould: newSpeak3,
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.2",
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": "^3.6.0",
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": "^6.0.0",
39
+ "estree-to-babel": "^7.0.0",
40
40
  "putout": "^31.0.3",
41
41
  "try-catch": "^3.0.1"
42
42
  },
@@ -11,7 +11,7 @@ const {
11
11
  isAwaitExpression,
12
12
  } = types;
13
13
 
14
- export default function newSpeak(Parser) {
14
+ export default function keywordTry(Parser) {
15
15
  const {keywordTypes} = Parser.acorn;
16
16
 
17
17
  return class extends Parser {