putout 29.0.14 → 29.1.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,13 @@
1
+ 2023.03.11, v29.1.0
2
+
3
+ feature:
4
+ - 90981cc37 @putout/plugin-merge-duplicate-imports: add
5
+
6
+ 2023.03.10, v29.0.15
7
+
8
+ feature:
9
+ - 447110c82 @putout/plugin-types: merge apply-is-array
10
+
1
11
  2023.03.10, v29.0.14
2
12
 
3
13
  feature:
package/README.md CHANGED
@@ -148,6 +148,8 @@ module.exports.replace = () => ({
148
148
  - ✅ apply comparison order;
149
149
  - ✅ apply `flatMap()`;
150
150
  - ✅ apply `template literals`;
151
+ - ✅ merge duplicate `imports`;
152
+ - ✅ merge duplicate `functions`;
151
153
 
152
154
  ## Install
153
155
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "putout",
3
- "version": "29.0.14",
3
+ "version": "29.1.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",
@@ -76,7 +76,6 @@
76
76
  "@putout/plugin-apply-early-return": "^2.0.0",
77
77
  "@putout/plugin-apply-flat-map": "^2.0.0",
78
78
  "@putout/plugin-apply-if-condition": "^1.0.0",
79
- "@putout/plugin-apply-is-array": "^3.0.0",
80
79
  "@putout/plugin-apply-optional-chaining": "^2.0.0",
81
80
  "@putout/plugin-apply-template-literals": "^1.0.0",
82
81
  "@putout/plugin-browserlist": "^1.0.0",
@@ -115,6 +114,7 @@
115
114
  "@putout/plugin-math": "^2.0.0",
116
115
  "@putout/plugin-maybe": "^1.0.0",
117
116
  "@putout/plugin-merge-destructuring-properties": "^7.0.0",
117
+ "@putout/plugin-merge-duplicate-functions": "^1.0.0",
118
118
  "@putout/plugin-merge-duplicate-imports": "^8.0.0",
119
119
  "@putout/plugin-merge-if-statements": "^3.0.0",
120
120
  "@putout/plugin-montag": "^2.0.0",
@@ -159,7 +159,6 @@
159
159
  "@putout/plugin-remove-useless-return": "^4.0.0",
160
160
  "@putout/plugin-remove-useless-spread": "^6.0.0",
161
161
  "@putout/plugin-remove-useless-template-expressions": "^1.0.0",
162
- "@putout/plugin-remove-useless-typeof": "^1.0.0",
163
162
  "@putout/plugin-remove-useless-variables": "^7.0.0",
164
163
  "@putout/plugin-reuse-duplicate-init": "^4.0.0",
165
164
  "@putout/plugin-simplify-assignment": "^3.0.0",
package/putout.json CHANGED
@@ -141,7 +141,6 @@
141
141
  "apply-at",
142
142
  "apply-early-return",
143
143
  "apply-flat-map",
144
- "apply-is-array",
145
144
  "apply-destructuring",
146
145
  "apply-optional-chaining",
147
146
  "apply-if-condition",
@@ -217,6 +216,7 @@
217
216
  "convert-quotes-to-backticks",
218
217
  "merge-destructuring-properties",
219
218
  "merge-duplicate-imports",
219
+ "merge-duplicate-functions",
220
220
  "merge-if-statements",
221
221
  "declare-imports-first",
222
222
  "declare-before-reference",