putout 25.4.0 → 25.6.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 +36 -0
- package/README.md +2 -2
- package/package.json +4 -3
- package/putout.json +3 -2
package/ChangeLog
CHANGED
|
@@ -1,3 +1,39 @@
|
|
|
1
|
+
2022.03.13, v25.6.0
|
|
2
|
+
|
|
3
|
+
feature:
|
|
4
|
+
- (@putout/plugin-montag) rename from @putout/plugin-apply-montag
|
|
5
|
+
- (package) @putout/plugin-apply-early-return v1.0.1
|
|
6
|
+
|
|
7
|
+
|
|
8
|
+
2022.03.12, v25.5.0
|
|
9
|
+
|
|
10
|
+
fix:
|
|
11
|
+
- feature(@putout/engine-runner) validate absent fix
|
|
12
|
+
- (@putout/plugin-regexp) get isSimpleRegexp check back
|
|
13
|
+
|
|
14
|
+
|
|
15
|
+
feature:
|
|
16
|
+
- (@putout/plugin-promises) merge @putout/plugin-apply-await-import
|
|
17
|
+
- (@putout/engine-runner) validate absent fix
|
|
18
|
+
- (@putout/engine-runner) include: add report validation
|
|
19
|
+
- (eslint-plugin-putout) @typescript-eslint/lines-between-class-members: turn off
|
|
20
|
+
- (@putout/eslint-config) disable lines-between-property-members
|
|
21
|
+
- (@putout/eslint-config) padding-line-between-statements: add functions
|
|
22
|
+
- (@putout/engine-loader) replace -> replaceAll
|
|
23
|
+
- (@putout/plugin-regexp) improve support of newlines
|
|
24
|
+
- (@putout/plugin-convert-quotes-to-backticks) improve support of multiple backslashes
|
|
25
|
+
- (@putout/plugin-regexp) convert-replace-to-replace-all: improve RegExp support
|
|
26
|
+
|
|
27
|
+
|
|
28
|
+
2022.03.08, v25.4.1
|
|
29
|
+
|
|
30
|
+
feature:
|
|
31
|
+
- (package) @putout/plugin-convert-quotes-to-backticks v2.0.0
|
|
32
|
+
- (@putout/plugin-convert-quotes-to-backticks) drop support of putout < 25
|
|
33
|
+
- (@putout/plugin-convert-quotes-to-backticks) add support of double backslash (xtermjs/xterm.js#3674)
|
|
34
|
+
- (@putout/plugin-regexp) remove-useless-group: exclude match (xtermjs/xterm.js#3674)
|
|
35
|
+
|
|
36
|
+
|
|
1
37
|
2022.03.08, v25.4.0
|
|
2
38
|
|
|
3
39
|
feature:
|
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.6.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 and babel plugins support of js, jsx typescript, flow files, markdown, yaml and json",
|
|
@@ -71,8 +71,8 @@
|
|
|
71
71
|
"@putout/operator-declare": "^4.0.0",
|
|
72
72
|
"@putout/operator-regexp": "^1.0.0",
|
|
73
73
|
"@putout/plugin-apply-array-at": "^2.0.0",
|
|
74
|
-
"@putout/plugin-apply-await-import": "^1.0.0",
|
|
75
74
|
"@putout/plugin-apply-destructuring": "^5.0.0",
|
|
75
|
+
"@putout/plugin-apply-early-return": "^1.0.1",
|
|
76
76
|
"@putout/plugin-apply-if-condition": "^1.0.0",
|
|
77
77
|
"@putout/plugin-apply-is-array": "^2.0.0",
|
|
78
78
|
"@putout/plugin-apply-numeric-separators": "^1.0.0",
|
|
@@ -97,7 +97,7 @@
|
|
|
97
97
|
"@putout/plugin-convert-math-pow": "^4.0.0",
|
|
98
98
|
"@putout/plugin-convert-mock-require-to-mock-import": "^2.0.0",
|
|
99
99
|
"@putout/plugin-convert-object-assign-to-merge-spread": "^5.0.0",
|
|
100
|
-
"@putout/plugin-convert-quotes-to-backticks": "^
|
|
100
|
+
"@putout/plugin-convert-quotes-to-backticks": "^2.0.0",
|
|
101
101
|
"@putout/plugin-convert-template-to-string": "^1.0.0",
|
|
102
102
|
"@putout/plugin-convert-to-arrow-function": "^3.0.0",
|
|
103
103
|
"@putout/plugin-convert-typeof-to-is-type": "^2.0.0",
|
|
@@ -111,6 +111,7 @@
|
|
|
111
111
|
"@putout/plugin-merge-destructuring-properties": "^6.0.0",
|
|
112
112
|
"@putout/plugin-merge-duplicate-imports": "^5.0.0",
|
|
113
113
|
"@putout/plugin-merge-if-statements": "^3.0.0",
|
|
114
|
+
"@putout/plugin-montag": "^1.0.0",
|
|
114
115
|
"@putout/plugin-nodejs": "^4.0.0",
|
|
115
116
|
"@putout/plugin-npmignore": "^2.0.0",
|
|
116
117
|
"@putout/plugin-package-json": "^4.0.0",
|
package/putout.json
CHANGED
|
@@ -123,7 +123,7 @@
|
|
|
123
123
|
},
|
|
124
124
|
"plugins": [
|
|
125
125
|
"apply-array-at",
|
|
126
|
-
"apply-
|
|
126
|
+
"apply-early-return",
|
|
127
127
|
"apply-is-array",
|
|
128
128
|
"apply-destructuring",
|
|
129
129
|
"apply-optional-chaining",
|
|
@@ -216,7 +216,8 @@
|
|
|
216
216
|
"github",
|
|
217
217
|
"tape",
|
|
218
218
|
"try-catch",
|
|
219
|
-
"nodejs"
|
|
219
|
+
"nodejs",
|
|
220
|
+
"montag"
|
|
220
221
|
]
|
|
221
222
|
}
|
|
222
223
|
|