putout 29.0.15 → 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,8 @@
1
+ 2023.03.11, v29.1.0
2
+
3
+ feature:
4
+ - 90981cc37 @putout/plugin-merge-duplicate-imports: add
5
+
1
6
  2023.03.10, v29.0.15
2
7
 
3
8
  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.15",
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",
@@ -114,6 +114,7 @@
114
114
  "@putout/plugin-math": "^2.0.0",
115
115
  "@putout/plugin-maybe": "^1.0.0",
116
116
  "@putout/plugin-merge-destructuring-properties": "^7.0.0",
117
+ "@putout/plugin-merge-duplicate-functions": "^1.0.0",
117
118
  "@putout/plugin-merge-duplicate-imports": "^8.0.0",
118
119
  "@putout/plugin-merge-if-statements": "^3.0.0",
119
120
  "@putout/plugin-montag": "^2.0.0",
package/putout.json CHANGED
@@ -216,6 +216,7 @@
216
216
  "convert-quotes-to-backticks",
217
217
  "merge-destructuring-properties",
218
218
  "merge-duplicate-imports",
219
+ "merge-duplicate-functions",
219
220
  "merge-if-statements",
220
221
  "declare-imports-first",
221
222
  "declare-before-reference",