putout 28.3.0 → 28.5.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,19 @@
1
+ 2023.01.06, v28.5.0
2
+
3
+ feature:
4
+ - package: @putout/plugin-merge-duplicate-imports v8.0.0
5
+ - @putout/plugin-merge-duplicate-imports: drop support of 🐊 < 28
6
+ - @putout/plugin-merge-duplicate-imports: import support of duplicate imports
7
+
8
+ 2023.01.06, v28.4.0
9
+
10
+ fix:
11
+ - @putout/plugin-apply-is-array: description
12
+
13
+ feature:
14
+ - package: cosmiconfig v8.0.0
15
+ - @putout/plugin-apply-flat-map: add
16
+
1
17
  2022.12.29, v28.3.0
2
18
 
3
19
  feature:
package/README.md CHANGED
@@ -146,6 +146,7 @@ module.exports.replace = () => ({
146
146
  - ✅ apply `if condition`;
147
147
  - ✅ apply `await import`;
148
148
  - ✅ apply comparison order;
149
+ - ✅ apply `flatMap()`;
149
150
 
150
151
  ## Install
151
152
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "putout",
3
- "version": "28.3.0",
3
+ "version": "28.5.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",
@@ -75,6 +75,7 @@
75
75
  "@putout/plugin-apply-comparison-order": "^1.0.0",
76
76
  "@putout/plugin-apply-destructuring": "^5.0.0",
77
77
  "@putout/plugin-apply-early-return": "^2.0.0",
78
+ "@putout/plugin-apply-flat-map": "^1.0.0",
78
79
  "@putout/plugin-apply-if-condition": "^1.0.0",
79
80
  "@putout/plugin-apply-is-array": "^3.0.0",
80
81
  "@putout/plugin-apply-optional-chaining": "^2.0.0",
@@ -114,7 +115,7 @@
114
115
  "@putout/plugin-madrun": "^14.0.0",
115
116
  "@putout/plugin-math": "^1.0.0",
116
117
  "@putout/plugin-merge-destructuring-properties": "^6.0.0",
117
- "@putout/plugin-merge-duplicate-imports": "^7.0.0",
118
+ "@putout/plugin-merge-duplicate-imports": "^8.0.0",
118
119
  "@putout/plugin-merge-if-statements": "^3.0.0",
119
120
  "@putout/plugin-montag": "^1.0.0",
120
121
  "@putout/plugin-new": "^1.0.0",
package/putout.json CHANGED
@@ -139,6 +139,7 @@
139
139
  "plugins": [
140
140
  "apply-array-at",
141
141
  "apply-early-return",
142
+ "apply-flat-map",
142
143
  "apply-is-array",
143
144
  "apply-destructuring",
144
145
  "apply-optional-chaining",