putout 25.4.1 → 25.7.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 CHANGED
@@ -1,3 +1,39 @@
1
+ 2022.03.14, v25.7.0
2
+
3
+ feature:
4
+ - (package) @putout/plugin-apply-early-return v2.0.0
5
+ - (@putout/plugin-apply-early-return) drop support of 🐊 < 25
6
+ - (@putout/plugin-apply-eary-return) improve
7
+ - (@putout/plugin-remove-useless-else) add
8
+
9
+
10
+ 2022.03.13, v25.6.0
11
+
12
+ feature:
13
+ - (@putout/plugin-montag) rename from @putout/plugin-apply-montag
14
+ - (package) @putout/plugin-apply-early-return v1.0.1
15
+
16
+
17
+ 2022.03.12, v25.5.0
18
+
19
+ fix:
20
+ - feature(@putout/engine-runner) validate absent fix
21
+ - (@putout/plugin-regexp) get isSimpleRegexp check back
22
+
23
+
24
+ feature:
25
+ - (@putout/plugin-promises) merge @putout/plugin-apply-await-import
26
+ - (@putout/engine-runner) validate absent fix
27
+ - (@putout/engine-runner) include: add report validation
28
+ - (eslint-plugin-putout) @typescript-eslint/lines-between-class-members: turn off
29
+ - (@putout/eslint-config) disable lines-between-property-members
30
+ - (@putout/eslint-config) padding-line-between-statements: add functions
31
+ - (@putout/engine-loader) replace -> replaceAll
32
+ - (@putout/plugin-regexp) improve support of newlines
33
+ - (@putout/plugin-convert-quotes-to-backticks) improve support of multiple backslashes
34
+ - (@putout/plugin-regexp) convert-replace-to-replace-all: improve RegExp support
35
+
36
+
1
37
  2022.03.08, v25.4.1
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` (disabled, [stage 4](https://github.com/tc39/proposal-string-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` ([not bundled](https://github.com/nodejs/node/blob/master/doc/changelogs/CHANGELOG_V16.md#2021-07-29-version-1660-current-bethgriggs));
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.4.1",
3
+ "version": "25.7.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": "^2.0.0",
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",
@@ -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",
@@ -142,6 +143,7 @@
142
143
  "@putout/plugin-remove-useless-conditions": "^1.0.0",
143
144
  "@putout/plugin-remove-useless-constructor": "^1.0.0",
144
145
  "@putout/plugin-remove-useless-continue": "^1.0.0",
146
+ "@putout/plugin-remove-useless-else": "^1.0.0",
145
147
  "@putout/plugin-remove-useless-escape": "^3.0.0",
146
148
  "@putout/plugin-remove-useless-for-of": "^2.0.0",
147
149
  "@putout/plugin-remove-useless-functions": "^2.0.0",
package/putout.json CHANGED
@@ -123,7 +123,7 @@
123
123
  },
124
124
  "plugins": [
125
125
  "apply-array-at",
126
- "apply-await-import",
126
+ "apply-early-return",
127
127
  "apply-is-array",
128
128
  "apply-destructuring",
129
129
  "apply-optional-chaining",
@@ -145,6 +145,7 @@
145
145
  "remove-unused-private-fields",
146
146
  "remove-unused-expressions",
147
147
  "remove-useless-variables",
148
+ "remove-useless-else",
148
149
  "remove-useless-map",
149
150
  "remove-useless-new",
150
151
  "remove-useless-constructor",
@@ -216,7 +217,8 @@
216
217
  "github",
217
218
  "tape",
218
219
  "try-catch",
219
- "nodejs"
220
+ "nodejs",
221
+ "montag"
220
222
  ]
221
223
  }
222
224