putout 21.3.0 → 21.4.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,9 @@
1
+ 2021.11.08, v21.4.0
2
+
3
+ feature:
4
+ - (@putout/plugin-remove-duplicates-from-union) add
5
+
6
+
1
7
  2021.11.08, v21.3.0
2
8
 
3
9
  feature:
package/README.md CHANGED
@@ -48,6 +48,7 @@ Putout is a tool for identifying, reporting and fixing patterns found in JavaScr
48
48
  - remove `boolean` from `assertion`;
49
49
  - remove `boolean` from `logical expressions`;
50
50
  - remove `duplicates` from `logical expressions`;
51
+ - remove `duplicates` from TypeScript `Union`;
51
52
  - remove `unreachable code`;
52
53
  - remove `duplicate keys`;
53
54
  - remove useless `typescripts` types;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "putout",
3
- "version": "21.3.0",
3
+ "version": "21.4.0",
4
4
  "author": "coderaiser <mnemonic.enemy@gmail.com> (https://github.com/coderaiser)",
5
5
  "description": "🐊 Pluggable and configurable code transformer with built-in eslint, babel plugins and jscodeshift codemods support of js, jsx typescript, flow files, markdown, yaml and json",
6
6
  "homepage": "http://github.com/coderaiser/putout",
@@ -129,6 +129,7 @@
129
129
  "@putout/plugin-remove-duplicate-interface-keys": "^3.0.0",
130
130
  "@putout/plugin-remove-duplicate-keys": "^2.0.0",
131
131
  "@putout/plugin-remove-duplicates-from-logical-expressions": "^1.0.0",
132
+ "@putout/plugin-remove-duplicates-from-union": "^1.0.0",
132
133
  "@putout/plugin-remove-empty": "^6.0.0",
133
134
  "@putout/plugin-remove-iife": "^1.0.0",
134
135
  "@putout/plugin-remove-nested-blocks": "^4.0.0",
package/putout.json CHANGED
@@ -190,6 +190,7 @@
190
190
  "remove-constant-conditions",
191
191
  "remove-boolean-from-assertions",
192
192
  "remove-boolean-from-logical-expressions",
193
+ "remove-duplicates-from-union",
193
194
  "remove-duplicates-from-logical-expressions",
194
195
  "remove-duplicate-interface-keys",
195
196
  "remove-duplicate-case",