goldstein 2.5.0 → 2.6.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,18 @@
1
+ 2023.04.01, v2.6.0
2
+
3
+ feature:
4
+ - ccdb0f1 package: esbuild v0.17.14
5
+ - ecf9023 package: eslint-plugin-putout v17.2.1
6
+ - 15a95e5 package: typescript v5.0.3
7
+ - 84a6049 package: putout v29.1.11
8
+ - d4f22c6 package: check-dts v0.7.1
9
+
10
+ 2023.01.06, v2.5.1
11
+
12
+ feature:
13
+ - package: esbuild v0.16.14
14
+ - package: putout v28.5.0
15
+
1
16
  2022.11.14, v2.5.0
2
17
 
3
18
  feature:
package/README.md CHANGED
@@ -137,7 +137,7 @@ function hello() {
137
137
  return '';
138
138
  }
139
139
 
140
- return 'Hello ' + text;
140
+ return `Hello ${text}`;
141
141
  }
142
142
  ```
143
143
 
@@ -148,20 +148,20 @@ function hello() {
148
148
  Applies [`tryCatch`](https://github.com/coderaiser/try-catch):
149
149
 
150
150
  ```gs
151
- const [error, result] = try hello(1, 2, 3);
151
+ const [error, result] = try hello('world');
152
152
  ```
153
153
 
154
154
  Is the same as:
155
155
 
156
156
  ```js
157
157
  import tryCatch from 'try-catch';
158
- const [error, result] = tryCatch(1, 2, 3);
158
+ const [error, result] = tryCatch(hello, 'world');
159
159
  ```
160
160
 
161
161
  and
162
162
 
163
163
  ```gs
164
- const [error, result] = try await hello(1, 2, 3);
164
+ const [error, result] = try await hello('world');
165
165
  ```
166
166
 
167
167
  Is the same as:
package/package.json CHANGED
@@ -1,8 +1,7 @@
1
1
  {
2
2
  "name": "goldstein",
3
- "version": "2.5.0",
3
+ "version": "2.6.0",
4
4
  "type": "module",
5
- "commitType": "colon",
6
5
  "author": "coderaiser <mnemonic.enemy@gmail.com> (https://github.com/coderaiser)",
7
6
  "description": "JavaScript with no limits",
8
7
  "main": "./packages/goldstein/index.js",
@@ -27,26 +26,26 @@
27
26
  },
28
27
  "dependencies": {
29
28
  "acorn": "^8.7.1",
30
- "esbuild": "^0.15.7",
31
- "putout": "^28.0.0",
29
+ "esbuild": "^0.17.14",
30
+ "putout": "^29.1.11",
32
31
  "try-catch": "^3.0.1"
33
32
  },
34
33
  "license": "MIT",
35
34
  "devDependencies": {
36
35
  "@cloudcmd/stub": "^4.0.1",
37
36
  "c8": "^7.5.0",
38
- "check-dts": "^0.6.3",
37
+ "check-dts": "^0.7.1",
39
38
  "escover": "^2.0.2",
40
39
  "eslint": "^8.0.0-beta.1",
41
40
  "eslint-plugin-n": "^15.2.4",
42
- "eslint-plugin-putout": "^16.0.0",
41
+ "eslint-plugin-putout": "^17.2.1",
43
42
  "madrun": "^9.0.0",
44
43
  "mock-require": "^3.0.3",
45
44
  "montag": "^1.2.1",
46
45
  "nodemon": "^2.0.2",
47
46
  "runsome": "^1.0.0",
48
47
  "supertape": "^8.0.1",
49
- "typescript": "^4.4.4",
48
+ "typescript": "^5.0.3",
50
49
  "zenload": "^2.0.0"
51
50
  },
52
51
  "engines": {
@@ -32,7 +32,7 @@ export const compile = (source) => {
32
32
  const {code} = putout(jsCode, {
33
33
  plugins: [
34
34
  'try-catch',
35
- 'declare-undefined-variables',
35
+ 'declare',
36
36
  ],
37
37
  });
38
38