goldstein 3.2.4 → 3.3.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
@@ -1,3 +1,23 @@
1
+ 2023.08.07, v3.3.1
2
+
3
+ feature:
4
+ - af6f474 package: eslint-plugin-putout v19.0.3
5
+ - 2ecbcd5 package: putout v31.0.3
6
+
7
+ 2023.07.09, v3.3.0
8
+
9
+ feature:
10
+ - bbe6942 goldstein: update fixtures
11
+ - 34e8be9 package: @putout/printer v2.61.0
12
+ - 483a094 package: esbuild v0.18.11
13
+ - 2ccfc8b package: escover v3.4.0
14
+ - c49f5b6 package: eslint-plugin-putout v18.0.0
15
+ - 86e8467 package: estree-to-babel v6.0.0
16
+ - eee1ae4 package: c8 v8.0.0
17
+ - 92dce62 package: putout v30.2.0
18
+ - d7f423b package: eslint-plugin-n v16.0.1
19
+ - 430bceb package: nodemon v3.0.1
20
+
1
21
  2023.04.19, v3.2.4
2
22
 
3
23
  fix:
package/README.md CHANGED
@@ -87,6 +87,7 @@ compile(`
87
87
  return "Hello " + text
88
88
  }
89
89
  `);
90
+
90
91
  // returns
91
92
  `
92
93
  function hello() {
@@ -121,8 +122,8 @@ compile(source, {
121
122
  keywordFn,
122
123
  function id(Parser) {
123
124
  const {keywordTypes} = Parser.acorn;
124
- return class extends Parser {
125
- };
125
+
126
+ return class extends Parser {};
126
127
  },
127
128
  ],
128
129
  rules: {
@@ -229,6 +230,7 @@ Is the same as:
229
230
 
230
231
  ```js
231
232
  import tryCatch from 'try-catch';
233
+
232
234
  const [error, result] = tryCatch(hello, 'world');
233
235
  ```
234
236
 
@@ -242,6 +244,7 @@ Is the same as:
242
244
 
243
245
  ```js
244
246
  import tryToCatch from 'try-catch';
247
+
245
248
  const [error, result] = await tryToCatch(1, 2, 3);
246
249
  ```
247
250
 
@@ -342,8 +345,7 @@ function hello() => {
342
345
  That absolutely fine, it will be converted to:
343
346
 
344
347
  ```js
345
- function hello() {
346
- }
348
+ function hello() {}
347
349
  ```
348
350
 
349
351
  ## How to contribute?
package/bin/gs.js CHANGED
@@ -1,4 +1,5 @@
1
1
  #!/usr/bin/env node
2
+
2
3
  import esbuild from 'esbuild';
3
4
  import {
4
5
  readFileSync,