putout 35.29.0 → 35.30.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,24 @@
1
+ 2024.05.27, v35.30.1
2
+
3
+ feature:
4
+ - 4dcdfefbc putout: samadhi v2.0.0
5
+ - e43f4e406 @putout/plugin-conditions: apply-consistent-blocks: add any count of blocks support
6
+ - b7f7420ad @putout/plugin-conditions: apply-consistent-blocks: couple
7
+ - 3ecb697c4 @putout/plugin-putout: simplify-replace-template: add
8
+ - bc711bd18 @putout/cli-cache: file-entry-cache v9.0.0
9
+
10
+ 2024.05.27, v35.30.0
11
+
12
+ fix:
13
+ - 2f5c9cac7 @putout/operate: getPathAfterRequires: rm additional checks
14
+
15
+ feature:
16
+ - eb49ccbcf putout: @putout/plugin-logical-expressions v6.0.0
17
+ - a6e3bb03a @putout/plugin-logical-expressions: drop support of 🐊 < 35
18
+ - 819f9bccc @putout/plugin-logical-expressions: simplify: add support of JSXExpressionContainer
19
+ - d39a3f18a @putout/plugin-typescript: remove-setter-return-type: add
20
+ - 67cd1671e @putout/plugin-typescript: remove-getter-arguments: add
21
+
1
22
  2024.05.25, v35.29.0
2
23
 
3
24
  feature:
@@ -35,16 +35,15 @@ module.exports = ({fix, fixCount, isFlow, logError, raw, printer}) => async func
35
35
  raw && logError(e);
36
36
 
37
37
  const {lint} = await simpleImport('samadhi');
38
-
39
- const {places, code} = await lint(source, {
38
+ const [code, places] = await lint(source, {
40
39
  fix,
41
40
  isTS,
42
41
  });
43
42
 
44
43
  if (!fix && places.length)
45
44
  return {
46
- places,
47
45
  code,
46
+ places,
48
47
  };
49
48
 
50
49
  if (fix && !places.length)
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "putout",
3
- "version": "35.29.0",
3
+ "version": "35.30.1",
4
4
  "type": "commonjs",
5
5
  "author": "coderaiser <mnemonic.enemy@gmail.com> (https://github.com/coderaiser)",
6
6
  "description": "🐊 Pluggable and configurable code transformer with built-in ESLint, Babel and support of js, jsx, typescript, flow, markdown, yaml and json",
@@ -122,7 +122,7 @@
122
122
  "@putout/plugin-generators": "^1.0.0",
123
123
  "@putout/plugin-github": "^12.0.0",
124
124
  "@putout/plugin-gitignore": "^6.0.0",
125
- "@putout/plugin-logical-expressions": "^5.0.0",
125
+ "@putout/plugin-logical-expressions": "^6.0.0",
126
126
  "@putout/plugin-madrun": "^18.0.0",
127
127
  "@putout/plugin-math": "^2.0.0",
128
128
  "@putout/plugin-maybe": "^2.0.0",
@@ -202,7 +202,7 @@
202
202
  "nano-memoize": "^3.0.11",
203
203
  "once": "^1.4.0",
204
204
  "picomatch": "^4.0.1",
205
- "samadhi": "^1.0.0",
205
+ "samadhi": "^2.0.0",
206
206
  "try-catch": "^3.0.0",
207
207
  "try-to-catch": "^3.0.0",
208
208
  "wraptile": "^3.0.0",