putout 27.2.0 → 27.4.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,27 @@
1
+ 2022.08.25, v27.4.0
2
+
3
+ feature:
4
+ - package: @putout/plugin-remove-console v5.0.0
5
+ - @putout/plugin-remove-console: drop support of 🐊 < 27
6
+ - @putout/plugin-remove-console: simplify a bit
7
+ - @putout/rule-set-commit-type: add
8
+
9
+ 2022.08.24, v27.3.1
10
+
11
+ fix:
12
+ - putout: exit codes
13
+
14
+ 2022.08.24, v27.3.0
15
+
16
+ fix:
17
+ - @putout/plugin-madrun: description
18
+
19
+ feature:
20
+ - @putout/plugin-logical-expressions: add remove-duplicates
21
+ - @putout/plugin-logical-expressions: add
22
+ - (package) @putout/plugin-simplify-logical-expressions v4.0.0
23
+ - (@putout/plugin-simplify-logical-expressions) merge @putout/plugin-remove-duplicates-from-logical-expressions
24
+
1
25
  2022.08.24, v27.2.0
2
26
 
3
27
  feature:
package/README.md CHANGED
@@ -101,7 +101,6 @@ module.exports.replace = () => ({
101
101
  - ✅ remove `constant conditions`;
102
102
  - ✅ remove `boolean` from `assertion`;
103
103
  - ✅ remove `boolean` from `logical expressions`;
104
- - ✅ remove `duplicates` from `logical expressions`;
105
104
  - ✅ remove `duplicates` from TypeScript `Union`;
106
105
  - ✅ remove `unreachable code`;
107
106
  - ✅ remove `duplicate keys`;
@@ -10,10 +10,10 @@ module.exports = {
10
10
  WAS_STOP: 6,
11
11
  INVALID_OPTION: 7,
12
12
  CANNOT_LOAD_PROCESSOR: 8,
13
- UNHANDLED: 9,
13
+ CANNOT_LOAD_FORMATTER: 9,
14
14
  RULLER_WITH_FIX: 10,
15
15
  RULLER_NO_FILES: 11,
16
16
  INVALID_CONFIG: 12,
17
- CANNOT_LOAD_FORMATTER: 13,
17
+ UNHANDLED: 13,
18
18
  };
19
19
 
@@ -7,8 +7,8 @@ export const NO_FORMATTER = 5;
7
7
  export const WAS_STOP = 6;
8
8
  export const INVALID_OPTION = 7;
9
9
  export const CANNOT_LOAD_PROCESSOR = 8;
10
- export const UNHANDLED = 9;
10
+ export const CANNOT_LOAD_FORMATTER = 9;
11
11
  export const RULLER_WITH_FIX = 10;
12
12
  export const RULLER_NO_FILES = 11;
13
13
  export const INVALID_CONFIG = 12;
14
- export const CANNOT_LOAD_FORMATTER = 13;
14
+ export const UNHANDLED = 13;
package/package.json CHANGED
@@ -1,11 +1,12 @@
1
1
  {
2
2
  "name": "putout",
3
- "version": "27.2.0",
3
+ "version": "27.4.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, Babel and support of js, jsx, typescript, flow, markdown, yaml and json",
7
7
  "homepage": "http://github.com/coderaiser/putout#readme",
8
8
  "main": "./lib/putout.js",
9
+ "commitType": "colon",
9
10
  "exports": {
10
11
  ".": {
11
12
  "require": "./lib/putout.js",
@@ -84,7 +85,6 @@
84
85
  "@putout/plugin-convert-array-copy-to-slice": "^2.0.0",
85
86
  "@putout/plugin-convert-assignment-to-arrow-function": "^1.0.0",
86
87
  "@putout/plugin-convert-assignment-to-comparison": "^1.0.0",
87
- "@putout/plugin-convert-bitwise-to-logical": "^1.0.0",
88
88
  "@putout/plugin-convert-commonjs-to-esm": "^9.0.0",
89
89
  "@putout/plugin-convert-comparison-to-boolean": "^3.0.0",
90
90
  "@putout/plugin-convert-concat-to-flat": "^1.0.0",
@@ -114,6 +114,7 @@
114
114
  "@putout/plugin-extract-sequence-expressions": "^3.0.0",
115
115
  "@putout/plugin-github": "^3.0.0",
116
116
  "@putout/plugin-gitignore": "^3.0.0",
117
+ "@putout/plugin-logical-expressions": "^1.0.0",
117
118
  "@putout/plugin-madrun": "^14.0.0",
118
119
  "@putout/plugin-merge-destructuring-properties": "^6.0.0",
119
120
  "@putout/plugin-merge-duplicate-imports": "^7.0.0",
@@ -128,8 +129,7 @@
128
129
  "@putout/plugin-putout-config": "^2.0.0",
129
130
  "@putout/plugin-regexp": "^5.0.0",
130
131
  "@putout/plugin-remove-boolean-from-assertions": "^1.0.0",
131
- "@putout/plugin-remove-boolean-from-logical-expressions": "^4.0.0",
132
- "@putout/plugin-remove-console": "^4.0.0",
132
+ "@putout/plugin-remove-console": "^5.0.0",
133
133
  "@putout/plugin-remove-constant-conditions": "^4.0.0",
134
134
  "@putout/plugin-remove-debugger": "^5.0.0",
135
135
  "@putout/plugin-remove-duplicate-case": "^2.0.0",
@@ -166,7 +166,6 @@
166
166
  "@putout/plugin-remove-useless-variables": "^7.0.0",
167
167
  "@putout/plugin-reuse-duplicate-init": "^4.0.0",
168
168
  "@putout/plugin-simplify-assignment": "^1.0.0",
169
- "@putout/plugin-simplify-logical-expressions": "^4.0.0",
170
169
  "@putout/plugin-simplify-ternary": "^3.0.0",
171
170
  "@putout/plugin-split-nested-destructuring": "^1.0.0",
172
171
  "@putout/plugin-split-variable-declarations": "^2.0.0",
package/putout.json CHANGED
@@ -176,7 +176,6 @@
176
176
  "remove-useless-array-entries",
177
177
  "remove-constant-conditions",
178
178
  "remove-boolean-from-assertions",
179
- "remove-boolean-from-logical-expressions",
180
179
  "remove-duplicate-case",
181
180
  "remove-nested-blocks",
182
181
  "remove-unreachable-code",
@@ -185,10 +184,8 @@
185
184
  "split-variable-declarations",
186
185
  "split-nested-destructuring",
187
186
  "simplify-assignment",
188
- "simplify-logical-expressions",
189
187
  "simplify-ternary",
190
188
  "convert-const-to-let",
191
- "convert-bitwise-to-logical",
192
189
  "convert-esm-to-commonjs",
193
190
  "convert-commonjs-to-esm",
194
191
  "convert-apply-to-spread",
@@ -234,7 +231,8 @@
234
231
  "try-catch",
235
232
  "nodejs",
236
233
  "montag",
237
- "new"
234
+ "new",
235
+ "logical-expressions"
238
236
  ]
239
237
  }
240
238