putout 26.19.0 → 26.20.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,26 @@
1
+ 2022.06.28, v26.20.0
2
+
3
+ fix:
4
+ - feature(@putout/engine-runner) run improve logging: determine nested level of path
5
+ - (@putout/operator-declare) module type get while find
6
+ - (@putout/plugin-declare-before-reference) no new line
7
+ - (@putout/plugin-convert-const-to-let) simplify
8
+ - (@putout/plugin-convert-const-to-let) report after transform
9
+
10
+
11
+ feature:
12
+ - (package) @putout/plugin-simplify-logical-expressions v3.0.0
13
+ - (@putout/plugin-simplify-logical-expressions) drop support of 🐊 < 26
14
+ - (@putout/eslint-config) yoda: disabled, @putout/apply-comparison-order used instead
15
+ - (@putout/plugin-apply-comparison-order) add
16
+ - (@putout/plugin-simplify-logical-expressions) add support of comparison with [], {}
17
+ - (eslint-plugin-putout) add-newline-before-return: improve loop: for begin -> from end
18
+ - (@putout/plugin-try-catch) add support of no error param
19
+ - (@putout/engine-runner) run fix: improve logging: determine nested level of path
20
+ - (@putout/eslint-config) padding-if: always: before and after
21
+ - (@putout/plugin-convert-const-to-let) improve support of multiple
22
+
23
+
1
24
  2022.06.23, v26.19.0
2
25
 
3
26
  feature:
package/README.md CHANGED
@@ -146,6 +146,7 @@ module.exports.replace = () => ({
146
146
  - ✅ apply [isArray](https://web.mit.edu/jwalden/www/isArray.html);
147
147
  - ✅ apply `if condition`;
148
148
  - ✅ apply `await import`;
149
+ - ✅ apply comparison order;
149
150
 
150
151
  ## Install
151
152
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "putout",
3
- "version": "26.19.0",
3
+ "version": "26.20.0",
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 and babel plugins support of js, jsx typescript, flow files, markdown, yaml and json",
@@ -71,6 +71,7 @@
71
71
  "@putout/operator-declare": "^4.0.0",
72
72
  "@putout/operator-regexp": "^1.0.0",
73
73
  "@putout/plugin-apply-array-at": "^2.0.0",
74
+ "@putout/plugin-apply-comparison-order": "^1.0.0",
74
75
  "@putout/plugin-apply-destructuring": "^5.0.0",
75
76
  "@putout/plugin-apply-early-return": "^2.0.0",
76
77
  "@putout/plugin-apply-if-condition": "^1.0.0",
@@ -166,7 +167,7 @@
166
167
  "@putout/plugin-remove-useless-variables": "^7.0.0",
167
168
  "@putout/plugin-reuse-duplicate-init": "^4.0.0",
168
169
  "@putout/plugin-simplify-assignment": "^1.0.0",
169
- "@putout/plugin-simplify-logical-expressions": "^2.0.0",
170
+ "@putout/plugin-simplify-logical-expressions": "^3.0.0",
170
171
  "@putout/plugin-simplify-ternary": "^3.0.0",
171
172
  "@putout/plugin-split-nested-destructuring": "^1.0.0",
172
173
  "@putout/plugin-split-variable-declarations": "^2.0.0",
package/putout.json CHANGED
@@ -130,6 +130,7 @@
130
130
  "apply-optional-chaining",
131
131
  "apply-numeric-separators",
132
132
  "apply-if-condition",
133
+ "apply-comparison-order",
133
134
  "extract-object-properties",
134
135
  "extract-sequence-expressions",
135
136
  "madrun",