putout 27.2.0 → 27.3.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 +11 -0
- package/README.md +0 -1
- package/package.json +3 -4
- package/putout.json +2 -4
package/ChangeLog
CHANGED
|
@@ -1,3 +1,14 @@
|
|
|
1
|
+
2022.08.24, v27.3.0
|
|
2
|
+
|
|
3
|
+
fix:
|
|
4
|
+
- @putout/plugin-madrun: description
|
|
5
|
+
|
|
6
|
+
feature:
|
|
7
|
+
- @putout/plugin-logical-expressions: add remove-duplicates
|
|
8
|
+
- @putout/plugin-logical-expressions: add
|
|
9
|
+
- (package) @putout/plugin-simplify-logical-expressions v4.0.0
|
|
10
|
+
- (@putout/plugin-simplify-logical-expressions) merge @putout/plugin-remove-duplicates-from-logical-expressions
|
|
11
|
+
|
|
1
12
|
2022.08.24, v27.2.0
|
|
2
13
|
|
|
3
14
|
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`;
|
package/package.json
CHANGED
|
@@ -1,11 +1,12 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "putout",
|
|
3
|
-
"version": "27.
|
|
3
|
+
"version": "27.3.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,7 +129,6 @@
|
|
|
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
132
|
"@putout/plugin-remove-console": "^4.0.0",
|
|
133
133
|
"@putout/plugin-remove-constant-conditions": "^4.0.0",
|
|
134
134
|
"@putout/plugin-remove-debugger": "^5.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
|
|