putout 25.5.0 → 25.7.1
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 +29 -0
- package/README.md +2 -2
- package/package.json +7 -4
- package/putout.json +4 -1
package/ChangeLog
CHANGED
|
@@ -1,3 +1,32 @@
|
|
|
1
|
+
2022.03.15, v25.7.1
|
|
2
|
+
|
|
3
|
+
feature:
|
|
4
|
+
- (package) @putout/plugin-extract-sequence-expressions v3.0.0
|
|
5
|
+
- (@putout/plugin-extract-sequence-expressions) drop support of 🐊 < 25
|
|
6
|
+
- (@putout/plugin-extract-sequence-expressions) add support of arguments
|
|
7
|
+
- (package) @putout/plugin-convert-commonjs-to-esm v9.0.0
|
|
8
|
+
- (package) @putout/plugin-putout v11.0.0
|
|
9
|
+
- (@putout/plugin-putout) drop support of 🐊 < 25
|
|
10
|
+
- (@putout/plugin-convert-commonjs-to-esm) drop support of 🐊 < 25
|
|
11
|
+
- (@putout/plugin-convert-commonjs-to-esm) add support of babel v7.17.7 (https://github.com/babel/babel/releases/tag/v7.17.7)
|
|
12
|
+
|
|
13
|
+
|
|
14
|
+
2022.03.14, v25.7.0
|
|
15
|
+
|
|
16
|
+
feature:
|
|
17
|
+
- (package) @putout/plugin-apply-early-return v2.0.0
|
|
18
|
+
- (@putout/plugin-apply-early-return) drop support of 🐊 < 25
|
|
19
|
+
- (@putout/plugin-apply-eary-return) improve
|
|
20
|
+
- (@putout/plugin-remove-useless-else) add
|
|
21
|
+
|
|
22
|
+
|
|
23
|
+
2022.03.13, v25.6.0
|
|
24
|
+
|
|
25
|
+
feature:
|
|
26
|
+
- (@putout/plugin-montag) rename from @putout/plugin-apply-montag
|
|
27
|
+
- (package) @putout/plugin-apply-early-return v1.0.1
|
|
28
|
+
|
|
29
|
+
|
|
1
30
|
2022.03.12, v25.5.0
|
|
2
31
|
|
|
3
32
|
fix:
|
package/README.md
CHANGED
|
@@ -122,7 +122,7 @@ module.exports.replace = () => ({
|
|
|
122
122
|
- ✅ convert `template` with one `expression` to `string`;
|
|
123
123
|
- ✅ convert `equal` to `strict equal`;
|
|
124
124
|
- ✅ convert `indexOf` to `includes`;
|
|
125
|
-
- ✅ convert `replace` to `replaceAll
|
|
125
|
+
- ✅ convert `replace` to `replaceAll`;
|
|
126
126
|
- ✅ convert `assignment` to `arrow function`;
|
|
127
127
|
- ✅ convert `forEach` to `for-of`;
|
|
128
128
|
- ✅ convert `map` to `for-of`;
|
|
@@ -134,7 +134,7 @@ module.exports.replace = () => ({
|
|
|
134
134
|
- ✅ declare `undefined variables`;
|
|
135
135
|
- ✅ apply `as` type assertions;
|
|
136
136
|
- ✅ apply `utility types`;
|
|
137
|
-
- ✅ apply `array.at
|
|
137
|
+
- ✅ apply `array.at`;
|
|
138
138
|
- ✅ apply `filter(Boolean)`;
|
|
139
139
|
- ✅ apply [isArray](https://web.mit.edu/jwalden/www/isArray.html);
|
|
140
140
|
- ✅ apply `if condition`;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "putout",
|
|
3
|
-
"version": "25.
|
|
3
|
+
"version": "25.7.1",
|
|
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",
|
|
@@ -72,6 +72,7 @@
|
|
|
72
72
|
"@putout/operator-regexp": "^1.0.0",
|
|
73
73
|
"@putout/plugin-apply-array-at": "^2.0.0",
|
|
74
74
|
"@putout/plugin-apply-destructuring": "^5.0.0",
|
|
75
|
+
"@putout/plugin-apply-early-return": "^2.0.0",
|
|
75
76
|
"@putout/plugin-apply-if-condition": "^1.0.0",
|
|
76
77
|
"@putout/plugin-apply-is-array": "^2.0.0",
|
|
77
78
|
"@putout/plugin-apply-numeric-separators": "^1.0.0",
|
|
@@ -83,7 +84,7 @@
|
|
|
83
84
|
"@putout/plugin-convert-assignment-to-arrow-function": "^1.0.0",
|
|
84
85
|
"@putout/plugin-convert-assignment-to-comparison": "^1.0.0",
|
|
85
86
|
"@putout/plugin-convert-bitwise-to-logical": "^1.0.0",
|
|
86
|
-
"@putout/plugin-convert-commonjs-to-esm": "^
|
|
87
|
+
"@putout/plugin-convert-commonjs-to-esm": "^9.0.0",
|
|
87
88
|
"@putout/plugin-convert-comparison-to-boolean": "^2.0.0",
|
|
88
89
|
"@putout/plugin-convert-concat-to-flat": "^1.0.0",
|
|
89
90
|
"@putout/plugin-convert-equal-to-strict-equal": "^1.0.0",
|
|
@@ -103,18 +104,19 @@
|
|
|
103
104
|
"@putout/plugin-declare-undefined-variables": "^7.0.0",
|
|
104
105
|
"@putout/plugin-eslint": "^2.0.0",
|
|
105
106
|
"@putout/plugin-extract-object-properties": "^7.0.0",
|
|
106
|
-
"@putout/plugin-extract-sequence-expressions": "^
|
|
107
|
+
"@putout/plugin-extract-sequence-expressions": "^3.0.0",
|
|
107
108
|
"@putout/plugin-github": "^3.0.0",
|
|
108
109
|
"@putout/plugin-gitignore": "^3.0.0",
|
|
109
110
|
"@putout/plugin-madrun": "^14.0.0",
|
|
110
111
|
"@putout/plugin-merge-destructuring-properties": "^6.0.0",
|
|
111
112
|
"@putout/plugin-merge-duplicate-imports": "^5.0.0",
|
|
112
113
|
"@putout/plugin-merge-if-statements": "^3.0.0",
|
|
114
|
+
"@putout/plugin-montag": "^1.0.0",
|
|
113
115
|
"@putout/plugin-nodejs": "^4.0.0",
|
|
114
116
|
"@putout/plugin-npmignore": "^2.0.0",
|
|
115
117
|
"@putout/plugin-package-json": "^4.0.0",
|
|
116
118
|
"@putout/plugin-promises": "^8.0.0",
|
|
117
|
-
"@putout/plugin-putout": "^
|
|
119
|
+
"@putout/plugin-putout": "^11.0.0",
|
|
118
120
|
"@putout/plugin-putout-config": "^2.0.0",
|
|
119
121
|
"@putout/plugin-regexp": "^5.0.0",
|
|
120
122
|
"@putout/plugin-remove-boolean-from-assertions": "^1.0.0",
|
|
@@ -141,6 +143,7 @@
|
|
|
141
143
|
"@putout/plugin-remove-useless-conditions": "^1.0.0",
|
|
142
144
|
"@putout/plugin-remove-useless-constructor": "^1.0.0",
|
|
143
145
|
"@putout/plugin-remove-useless-continue": "^1.0.0",
|
|
146
|
+
"@putout/plugin-remove-useless-else": "^1.0.0",
|
|
144
147
|
"@putout/plugin-remove-useless-escape": "^3.0.0",
|
|
145
148
|
"@putout/plugin-remove-useless-for-of": "^2.0.0",
|
|
146
149
|
"@putout/plugin-remove-useless-functions": "^2.0.0",
|
package/putout.json
CHANGED
|
@@ -123,6 +123,7 @@
|
|
|
123
123
|
},
|
|
124
124
|
"plugins": [
|
|
125
125
|
"apply-array-at",
|
|
126
|
+
"apply-early-return",
|
|
126
127
|
"apply-is-array",
|
|
127
128
|
"apply-destructuring",
|
|
128
129
|
"apply-optional-chaining",
|
|
@@ -144,6 +145,7 @@
|
|
|
144
145
|
"remove-unused-private-fields",
|
|
145
146
|
"remove-unused-expressions",
|
|
146
147
|
"remove-useless-variables",
|
|
148
|
+
"remove-useless-else",
|
|
147
149
|
"remove-useless-map",
|
|
148
150
|
"remove-useless-new",
|
|
149
151
|
"remove-useless-constructor",
|
|
@@ -215,7 +217,8 @@
|
|
|
215
217
|
"github",
|
|
216
218
|
"tape",
|
|
217
219
|
"try-catch",
|
|
218
|
-
"nodejs"
|
|
220
|
+
"nodejs",
|
|
221
|
+
"montag"
|
|
219
222
|
]
|
|
220
223
|
}
|
|
221
224
|
|