putout 27.0.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 +50 -1
- package/README.md +3 -3
- package/package.json +7 -8
- package/putout.json +1 -2
package/ChangeLog
CHANGED
|
@@ -1,3 +1,52 @@
|
|
|
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
|
+
|
|
10
|
+
2022.08.08, v27.1.0
|
|
11
|
+
|
|
12
|
+
fix:
|
|
13
|
+
- feature: processor-markdown: find, add ability to pass additional plugins from options
|
|
14
|
+
- (eslint-plugin-putout) wrap: add schema
|
|
15
|
+
- (eslint-plugin-putout) putout: schema (close typescript-eslint/typescript-eslint#5420)
|
|
16
|
+
|
|
17
|
+
feature:
|
|
18
|
+
- (package) @putout/plugin-declare-imports-first v2.0.0
|
|
19
|
+
- (package) @putout/plugin-merge-duplicate-imports v7.0.0
|
|
20
|
+
- (package) @putout/plugin-nodejs v5.0.0
|
|
21
|
+
- (package) @putout/plugin-typescript v3.0.0
|
|
22
|
+
- (package) @putout/engine-runner v14.0.0
|
|
23
|
+
- (@putout/plugin-typescript) drop support of 🐊 < 27
|
|
24
|
+
- (@putout/plugin-typescript) remove-duplicates-from-union: listStore -> pathStore
|
|
25
|
+
- (@putout/test) UPDATE: add support of TypeScript fixtures
|
|
26
|
+
- (@putout/plugin-nodejs) drop support of 🐊 < 27
|
|
27
|
+
- (@putout/plugin-nodejs) declare-after-require: listStore -> pathStore
|
|
28
|
+
- (@putout/plugin-merge-duplicate-imports) listStore -> pathStore
|
|
29
|
+
- (@putout/plugin-merge-duplicate-imports) drop support of 🐊 < 27
|
|
30
|
+
- (@putout/plugin-declare-imports-first) drop support of 🐊 < 27
|
|
31
|
+
- (@putout/plugin-declare-imports-first) listStore -> pathStore
|
|
32
|
+
- (@putout/engine-runner) store: add pathStore: with additional check that path not removed
|
|
33
|
+
- (@putout/plugin-declare-imports-first) improve support of removed ImportDeclarations
|
|
34
|
+
- (@putout/plugin-remove-empty) pattern: improve support of AsyncFunctionExpression
|
|
35
|
+
- (@putout/plugin-remove-nested-blocks) improve support of @putout/plugin-remove-empty
|
|
36
|
+
- (@putout/plugin-remove-empty) improve support of @putout/plugin-remove-unused-for-of-variables
|
|
37
|
+
- processor-markdown: find, fix: add ability to pass additional plugins from options
|
|
38
|
+
- (@putout/plugin-nodejs) add convert-buffer-to-buffer-alloc
|
|
39
|
+
- (@putout/operate) improve compute check
|
|
40
|
+
- (@putout/plugin-putout) convert-number-to-numeric: improve support cases when both Number and Numeric declared
|
|
41
|
+
- (@putout/plugin-react-router) add convert-component-to-element
|
|
42
|
+
- (@putout/plugin-react-router) add
|
|
43
|
+
|
|
44
|
+
2022.07.20, v27.0.1
|
|
45
|
+
|
|
46
|
+
fix:
|
|
47
|
+
- (putout) match: .eslintrc.* -> .eslintrc{*,.json}
|
|
48
|
+
|
|
49
|
+
|
|
1
50
|
2022.07.20, v27.0.0
|
|
2
51
|
|
|
3
52
|
feature:
|
|
@@ -15,7 +64,7 @@ fix:
|
|
|
15
64
|
feature:
|
|
16
65
|
- (package) hermes-parser v0.9.0
|
|
17
66
|
- (@putout/test) processor: improve testing
|
|
18
|
-
- (@putout/test)
|
|
67
|
+
- (@putout/test) processors: add support of UPDATE
|
|
19
68
|
|
|
20
69
|
|
|
21
70
|
2022.07.20, v26.25.0
|
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",
|
|
@@ -56,7 +56,7 @@
|
|
|
56
56
|
"@putout/engine-loader": "^7.0.0",
|
|
57
57
|
"@putout/engine-parser": "^5.0.0",
|
|
58
58
|
"@putout/engine-processor": "^6.0.0",
|
|
59
|
-
"@putout/engine-runner": "^
|
|
59
|
+
"@putout/engine-runner": "^14.0.0",
|
|
60
60
|
"@putout/formatter-codeframe": "^4.0.0",
|
|
61
61
|
"@putout/formatter-dump": "^4.0.0",
|
|
62
62
|
"@putout/formatter-frame": "^3.0.0",
|
|
@@ -107,7 +107,7 @@
|
|
|
107
107
|
"@putout/plugin-convert-to-arrow-function": "^3.0.0",
|
|
108
108
|
"@putout/plugin-convert-typeof-to-is-type": "^2.0.0",
|
|
109
109
|
"@putout/plugin-declare-before-reference": "^1.0.0",
|
|
110
|
-
"@putout/plugin-declare-imports-first": "^
|
|
110
|
+
"@putout/plugin-declare-imports-first": "^2.0.0",
|
|
111
111
|
"@putout/plugin-declare-undefined-variables": "^7.0.0",
|
|
112
112
|
"@putout/plugin-eslint": "^4.2.0",
|
|
113
113
|
"@putout/plugin-extract-object-properties": "^8.0.0",
|
|
@@ -116,11 +116,11 @@
|
|
|
116
116
|
"@putout/plugin-gitignore": "^3.0.0",
|
|
117
117
|
"@putout/plugin-madrun": "^14.0.0",
|
|
118
118
|
"@putout/plugin-merge-destructuring-properties": "^6.0.0",
|
|
119
|
-
"@putout/plugin-merge-duplicate-imports": "^
|
|
119
|
+
"@putout/plugin-merge-duplicate-imports": "^7.0.0",
|
|
120
120
|
"@putout/plugin-merge-if-statements": "^3.0.0",
|
|
121
121
|
"@putout/plugin-montag": "^1.0.0",
|
|
122
122
|
"@putout/plugin-new": "^1.0.0",
|
|
123
|
-
"@putout/plugin-nodejs": "^
|
|
123
|
+
"@putout/plugin-nodejs": "^5.0.0",
|
|
124
124
|
"@putout/plugin-npmignore": "^2.0.0",
|
|
125
125
|
"@putout/plugin-package-json": "^4.0.0",
|
|
126
126
|
"@putout/plugin-promises": "^8.0.0",
|
|
@@ -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,14 +166,14 @@
|
|
|
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",
|
|
174
173
|
"@putout/plugin-strict-mode": "^5.0.0",
|
|
175
174
|
"@putout/plugin-tape": "^9.0.0",
|
|
176
175
|
"@putout/plugin-try-catch": "^1.0.0",
|
|
177
|
-
"@putout/plugin-typescript": "^
|
|
176
|
+
"@putout/plugin-typescript": "^3.0.0",
|
|
178
177
|
"@putout/plugin-webpack": "^1.0.0",
|
|
179
178
|
"@putout/processor-css": "^5.0.0",
|
|
180
179
|
"@putout/processor-ignore": "^3.0.0",
|
package/putout.json
CHANGED
|
@@ -68,7 +68,7 @@
|
|
|
68
68
|
"browserlist": {
|
|
69
69
|
".browserlistrc": "on"
|
|
70
70
|
},
|
|
71
|
-
".eslintrc
|
|
71
|
+
".eslintrc{*,.json}": {
|
|
72
72
|
"eslint": "on",
|
|
73
73
|
"eslint/convert-require-to-import": "off"
|
|
74
74
|
},
|
|
@@ -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",
|