putout 27.1.0 → 27.2.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 +9 -0
- package/README.md +3 -3
- package/package.json +2 -3
- package/putout.json +0 -1
package/ChangeLog
CHANGED
|
@@ -1,3 +1,12 @@
|
|
|
1
|
+
2022.08.24, v27.2.0
|
|
2
|
+
|
|
3
|
+
feature:
|
|
4
|
+
- (package) @putout/plugin-simplify-logical-expressions v4.0.0
|
|
5
|
+
- (@putout/plugin-simplify-logical-expressions) merge @putout/plugin-remove-duplicates-from-logical-expressions
|
|
6
|
+
- (@putout/plugin-convert-const-to-let) improve support of split-variable-declarations
|
|
7
|
+
- (@putout/plugin-extract-object-properties) deep-equal: traverse: path -> initPath
|
|
8
|
+
- (@putout/plugin-declare-imports-first) add support of export from
|
|
9
|
+
|
|
1
10
|
2022.08.08, v27.1.0
|
|
2
11
|
|
|
3
12
|
fix:
|
package/README.md
CHANGED
|
@@ -273,9 +273,9 @@ For example if you need to `remove-something` create 🐊[**Putout**](https://gi
|
|
|
273
273
|
const putout = require('putout');
|
|
274
274
|
|
|
275
275
|
const source = `
|
|
276
|
-
const t = 'hello';
|
|
277
|
-
const m = t + '!';
|
|
278
|
-
console.log(t);
|
|
276
|
+
const t = 'hello';
|
|
277
|
+
const m = t + '!';
|
|
278
|
+
console.log(t);
|
|
279
279
|
`;
|
|
280
280
|
|
|
281
281
|
putout(source, {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "putout",
|
|
3
|
-
"version": "27.
|
|
3
|
+
"version": "27.2.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",
|
|
@@ -134,7 +134,6 @@
|
|
|
134
134
|
"@putout/plugin-remove-debugger": "^5.0.0",
|
|
135
135
|
"@putout/plugin-remove-duplicate-case": "^2.0.0",
|
|
136
136
|
"@putout/plugin-remove-duplicate-keys": "^3.0.0",
|
|
137
|
-
"@putout/plugin-remove-duplicates-from-logical-expressions": "^1.0.0",
|
|
138
137
|
"@putout/plugin-remove-empty": "^8.0.0",
|
|
139
138
|
"@putout/plugin-remove-iife": "^1.0.0",
|
|
140
139
|
"@putout/plugin-remove-nested-blocks": "^6.0.0",
|
|
@@ -167,7 +166,7 @@
|
|
|
167
166
|
"@putout/plugin-remove-useless-variables": "^7.0.0",
|
|
168
167
|
"@putout/plugin-reuse-duplicate-init": "^4.0.0",
|
|
169
168
|
"@putout/plugin-simplify-assignment": "^1.0.0",
|
|
170
|
-
"@putout/plugin-simplify-logical-expressions": "^
|
|
169
|
+
"@putout/plugin-simplify-logical-expressions": "^4.0.0",
|
|
171
170
|
"@putout/plugin-simplify-ternary": "^3.0.0",
|
|
172
171
|
"@putout/plugin-split-nested-destructuring": "^1.0.0",
|
|
173
172
|
"@putout/plugin-split-variable-declarations": "^2.0.0",
|
package/putout.json
CHANGED
|
@@ -177,7 +177,6 @@
|
|
|
177
177
|
"remove-constant-conditions",
|
|
178
178
|
"remove-boolean-from-assertions",
|
|
179
179
|
"remove-boolean-from-logical-expressions",
|
|
180
|
-
"remove-duplicates-from-logical-expressions",
|
|
181
180
|
"remove-duplicate-case",
|
|
182
181
|
"remove-nested-blocks",
|
|
183
182
|
"remove-unreachable-code",
|