goldstein 5.7.0 → 5.7.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 CHANGED
@@ -1,3 +1,13 @@
1
+ 2024.05.11, v5.7.2
2
+
3
+ fix:
4
+ - 3fddd10 goldstein: rm unused
5
+
6
+ 2024.05.11, v5.7.1
7
+
8
+ feature:
9
+ - 9856dbc goldstein: make esbuild optional
10
+
1
11
  2024.05.09, v5.7.0
2
12
 
3
13
  feature:
package/README.md CHANGED
@@ -22,7 +22,7 @@ Language ruled by the users, [create an issue](https://github.com/coderaiser/gol
22
22
  ## Install
23
23
 
24
24
  ```
25
- npm i goldstein -g
25
+ npm i goldstein esbuild -g
26
26
  ```
27
27
 
28
28
  ## CLI
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "goldstein",
3
- "version": "5.7.0",
3
+ "version": "5.7.2",
4
4
  "type": "module",
5
5
  "author": "coderaiser <mnemonic.enemy@gmail.com> (https://github.com/coderaiser)",
6
6
  "description": "JavaScript with no limits",
@@ -32,8 +32,6 @@
32
32
  "@putout/plugin-try-catch": "^3.0.0",
33
33
  "@putout/printer": "^8.0.1",
34
34
  "acorn": "^8.7.1",
35
- "esbuild": "^0.21.1",
36
- "esbuild-node-builtins": "^0.1.0",
37
35
  "estree-to-babel": "^9.0.0",
38
36
  "estree-util-attach-comments": "^3.0.0",
39
37
  "putout": "^35.0.0",
@@ -43,9 +41,13 @@
43
41
  "devDependencies": {
44
42
  "@babel/core": "^8.0.0-alpha.5",
45
43
  "@cloudcmd/stub": "^4.0.1",
44
+ "@putout/eslint-flat": "^2.0.0",
45
+ "@putout/plugin-goldstein": "./rules/goldstein",
46
46
  "@putout/test": "^9.0.1",
47
47
  "c8": "^9.1.0",
48
48
  "check-dts": "^0.7.1",
49
+ "esbuild": "^0.21.1",
50
+ "esbuild-node-builtins": "^0.1.0",
49
51
  "escover": "^4.0.1",
50
52
  "eslint": "^9.2.0",
51
53
  "eslint-plugin-putout": "^22.0.0",
@@ -56,8 +58,7 @@
56
58
  "redlint": "^3.14.1",
57
59
  "runsome": "^1.0.0",
58
60
  "supertape": "^10.1.0",
59
- "typescript": "^5.0.3",
60
- "@putout/plugin-goldstein": "./rules/goldstein"
61
+ "typescript": "^5.0.3"
61
62
  },
62
63
  "engines": {
63
64
  "node": ">=18"
@@ -104,16 +104,3 @@ export default function keywordTry(Parser) {
104
104
  }
105
105
  };
106
106
  }
107
-
108
- export function createGoldsteinTry(args) {
109
- return {
110
- type: 'TryStatement',
111
- expression: true,
112
- await: args.await,
113
- argument: {
114
- type: 'CallExpression',
115
- callee: args.callee,
116
- arguments: args.args,
117
- },
118
- };
119
- }