{"_id":"@putout/plugin-remove-duplicates-from-union","_rev":"4-3c7fbbec83da87b271a6a6a98ae8e108","name":"@putout/plugin-remove-duplicates-from-union","dist-tags":{"latest":"1.0.2"},"versions":{"1.0.0":{"name":"@putout/plugin-remove-duplicates-from-union","version":"1.0.0","author":{"name":"coderaiser","email":"mnemonic.enemy@gmail.com","url":"https://github.com/coderaiser"},"description":"putout plugin adds ability to find and remove duplicates from union","homepage":"https://github.com/coderaiser/putout/tree/master/packages/plugin-remove-duplicates-from-union","main":"lib/remove-duplicates-from-union.js","release":false,"tag":false,"changelog":false,"repository":{"type":"git","url":"git://github.com/coderaiser/putout.git"},"scripts":{"test":"madrun test","watch:test":"madrun watch:test","lint":"madrun lint","fresh:lint":"madrun fresh:lint","lint:fresh":"madrun lint:fresh","fix:lint":"madrun fix:lint","coverage":"madrun coverage","report":"madrun report"},"dependencies":{},"keywords":["duplicates","putout","plugin","remove","putout-plugin","putout-plugin-remove","duplicates","union","typescript"],"devDependencies":{"@putout/test":"^3.0.0","c8":"^7.5.0","eslint":"^8.0.1","eslint-plugin-node":"^11.0.0","eslint-plugin-putout":"^11.0.0","madrun":"^8.0.1"},"peerDependencies":{"putout":">=13"},"license":"MIT","engines":{"node":">=14"},"publishConfig":{"access":"public"},"bugs":{"url":"https://github.com/coderaiser/putout/issues"},"_id":"@putout/plugin-remove-duplicates-from-union@1.0.0","_nodeVersion":"16.8.0","_npmVersion":"7.21.0","dist":{"integrity":"sha512-gklKr4UXzk8BuxaV8viqWtAKldmRe2KiQ35vbKmq+HJQHcRD+m52paB0fX/GRpecXwwOGgCkjWSp8ZNmiLeUwA==","shasum":"77c99c3c4e68b1152534ad254761b3e5aa7eed2c","tarball":"https://registry.npmjs.org/@putout/plugin-remove-duplicates-from-union/-/plugin-remove-duplicates-from-union-1.0.0.tgz","fileCount":4,"unpackedSize":4184,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIFlopCdNObl0OqqRNDM09UmjkgUL6o9SJigyuNvp5verAiBugQw8UoYsHe/3fAjjy+0A/srkN4HWcylHMWgD7D/q2Q=="}]},"_npmUser":{"name":"coderaiser","email":"mnemonic.enemy@gmail.com"},"directories":{},"maintainers":[{"name":"coderaiser","email":"mnemonic.enemy@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/plugin-remove-duplicates-from-union_1.0.0_1636387109385_0.6847309615774957"},"_hasShrinkwrap":false},"1.0.1":{"name":"@putout/plugin-remove-duplicates-from-union","version":"1.0.1","author":{"name":"coderaiser","email":"mnemonic.enemy@gmail.com","url":"https://github.com/coderaiser"},"description":"putout plugin adds ability to find and remove duplicates from union","homepage":"https://github.com/coderaiser/putout/tree/master/packages/plugin-remove-duplicates-from-union","main":"lib/remove-duplicates-from-union.js","release":false,"tag":false,"changelog":false,"repository":{"type":"git","url":"git://github.com/coderaiser/putout.git"},"scripts":{"test":"madrun test","watch:test":"madrun watch:test","lint":"madrun lint","fresh:lint":"madrun fresh:lint","lint:fresh":"madrun lint:fresh","fix:lint":"madrun fix:lint","coverage":"madrun coverage","report":"madrun report"},"dependencies":{},"keywords":["duplicates","putout","plugin","remove","putout-plugin","putout-plugin-remove","duplicates","union","typescript"],"devDependencies":{"@putout/test":"^3.0.0","c8":"^7.5.0","eslint":"^8.0.1","eslint-plugin-node":"^11.0.0","eslint-plugin-putout":"^11.0.0","madrun":"^8.0.1"},"peerDependencies":{"putout":">=21"},"license":"MIT","engines":{"node":">=14"},"publishConfig":{"access":"public"},"gitHead":"1ec0e659b4aad0d7441460ef4953425f6f007158","bugs":{"url":"https://github.com/coderaiser/putout/issues"},"_id":"@putout/plugin-remove-duplicates-from-union@1.0.1","_nodeVersion":"16.8.0","_npmVersion":"8.1.0","dist":{"integrity":"sha512-Ovzf0++QAniAWry0zwz1uZ5b+zex+xPYJ8jt19JpxvpGhN+1mWSc4PPdiztT669f0BWr/UG57EkycEpnc3vKFw==","shasum":"3433bf085aeb7906c24b984dc0411636901fb08d","tarball":"https://registry.npmjs.org/@putout/plugin-remove-duplicates-from-union/-/plugin-remove-duplicates-from-union-1.0.1.tgz","fileCount":4,"unpackedSize":4184,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJh2XmmCRA9TVsSAnZWagAAGPIP/0sXTgxrtRjOY4MmZDJK\nZXg+fKn10wEgAsNvCONxw1vqYyj1bQlfukj1IZhCj9dOdWJq93nIJCMutBvj\nWr/loO1IPLw9NyLyVn+ro8bPVpoKVenDO8ZSPAnsBu82WbPZn/h7eUL0puTq\nAA+S6tRSwbJCh4bAg4UUKyKUBdZgkNtKGtcBqT7/3N0BpdZ5n3fRE7qZM87D\njqx4Q4CORyNNyOb9gDOeTvHXDxwaoy6pylDfaZ9jquly419XTAQzrtRZ1Fc1\nBbak79lq6hngzU+FAXR3oMhPN58ErmL/8VJtbucdNIpDh/YTTE61Ktwo4vBA\nQfUfVaY66l5Nja1y74s8mQhiJEYPXaHT6j3ECxUeVlgLWyogv1/2+U1f0T+l\nlZwvew4MbFPyq0MiX1hh7ou46mZlMh+NpEEvtikiCaVo6Ku7KFdHyXMxL+es\nFXDnCv9gHClL/P40SC6RfKKsVDEp78Mzlkd5hS5DiApu2Q6UoHZfUXh1uIMN\nADTc45S5ptLJWclPD2U53Fnhyd9eMBdVtAdbDkTE/Rq8giTrc3kQJuq+pogq\nyf8WmimbAtSEKd074biynIZzKZ2GazFab4wjU+n+eQlQJJrnjWFFzB7aEmhN\nJLafhbVhb88wMQeSKvPU2rYSsj/OFISNlP9EDZKfC31ec5RubQQodxA1ZITA\nqSt5\r\n=nFYC\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIA5JNEsexNh8Who6iG1xhbh7Xule1Brv/yCDzmDD1HS0AiEAsOfA7t6UDljsQM5+mQISb+evCny7GRDpbjVCaeMch3M="}]},"_npmUser":{"name":"coderaiser","email":"mnemonic.enemy@gmail.com"},"directories":{},"maintainers":[{"name":"coderaiser","email":"mnemonic.enemy@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/plugin-remove-duplicates-from-union_1.0.1_1636387498849_0.7265668745602476"},"_hasShrinkwrap":false},"1.0.2":{"name":"@putout/plugin-remove-duplicates-from-union","version":"1.0.2","type":"commonjs","author":{"name":"coderaiser","email":"mnemonic.enemy@gmail.com","url":"https://github.com/coderaiser"},"description":"putout plugin adds ability to find and remove duplicates from union","homepage":"https://github.com/coderaiser/putout/tree/v24.0.2/packages/plugin-typescript#remove-duplicates-from-union","main":"lib/remove-duplicates-from-union.js","release":false,"tag":false,"changelog":false,"repository":{"type":"git","url":"git://github.com/coderaiser/putout.git"},"scripts":{"test":"madrun test","watch:test":"madrun watch:test","lint":"madrun lint","fresh:lint":"madrun fresh:lint","lint:fresh":"madrun lint:fresh","fix:lint":"madrun fix:lint","coverage":"madrun coverage","report":"madrun report"},"dependencies":{},"keywords":["duplicates","putout","plugin","remove","putout-plugin","putout-plugin-remove","duplicates","union","typescript"],"devDependencies":{"@putout/test":"^4.0.0","c8":"^7.5.0","eslint":"^8.0.1","eslint-plugin-node":"^11.0.0","eslint-plugin-putout":"^13.0.0","madrun":"^8.0.1"},"peerDependencies":{"putout":">=21"},"license":"MIT","engines":{"node":">=14"},"publishConfig":{"access":"public"},"gitHead":"fa961084ab6378c0f516d82b77ef52504b816212","bugs":{"url":"https://github.com/coderaiser/putout/issues"},"_id":"@putout/plugin-remove-duplicates-from-union@1.0.2","_nodeVersion":"16.13.1","_npmVersion":"8.3.0","dist":{"integrity":"sha512-z5UcJXpoDTG86E0tYERdr3HlCFOYJmy0O9LCLHiZBAL2DEmsPXjma16FIJpOcjOxOFK6BrDp2esa6jy4kFrTGA==","shasum":"616dc077d9c2f15f34626b3a67618e902939ce84","tarball":"https://registry.npmjs.org/@putout/plugin-remove-duplicates-from-union/-/plugin-remove-duplicates-from-union-1.0.2.tgz","fileCount":4,"unpackedSize":4395,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJh4BiQCRA9TVsSAnZWagAAMskP/jXSnMaaZdE9rqIR2UO2\nlN7OCFlaVyf66AB8MtKRUzPmK3/W0qaJfuuZCUbAxemu/F1ITnh1Qc5X8YDo\n6rHyjjQCkKRbyw5jCLsm7C+vKNU+b9aQ+LXOkSxwd7eMDiQW2qoFjtCEHoP9\nwT55ZS/Cd1mUzf0aRlEu6g5cdsOvgyWvn7BwhU9Ynf+Oj0HYe/N/jipx2EEz\n2mQgXW5286Mxp5kuiBP5zFcNU8niVdFAXXbSjCaAiMTf+FKnnMioAkBl06Zi\nrgzp8uOgG9KgWY8KlW6pvlVjqQwtosavTXyUN5CKUkKSInwJUVN+c68V+6o3\n/hSn0BtrgX6bFUr9JsW8HZMZgrq94/g5sX2YihrM+VPuxRdrQBF29C2H0Z6q\nB6Svr5VohLwkGyW3rxUGay0fkHMxSoo9LVM5fBO3M77UQbBvt26o3a/csq0J\n6GkiaNbru/3OR9ZyLT3OkcPU17VTk1Cv4IsBXonCjn0liuvZNZjRsVh3xs8c\neRVDJ5E29m+Vkw3ZeAhSz1xE7g7W2afDC0yBuKIfxJZ6N03AMRP5Lws55/RD\ny6jTkFOkTCxcb2/dyjG5LsqPMLMAUUOsgok/Y9iEoC9nnMbHHHBW66yCLfuw\ng7IP7fsaQtzE5oR6H1HKEH7XRlJkeu8ZIxw9d3yTn5DBKQ36P9CVwm0QXVW1\necz+\r\n=G1vF\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIFbHAtitgHBxvFPpKzQ+MLPdg+kN7xxeknCXOFdR5OnQAiEAzaKGsdruzeT9seiwkimoBQLhFZfzRz8yqG8LZxUveus="}]},"_npmUser":{"name":"coderaiser","email":"mnemonic.enemy@gmail.com"},"directories":{},"maintainers":[{"name":"coderaiser","email":"mnemonic.enemy@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/plugin-remove-duplicates-from-union_1.0.2_1642076304722_0.772060353965635"},"_hasShrinkwrap":false}},"time":{"created":"2021-11-08T15:58:29.332Z","1.0.0":"2021-11-08T15:58:29.589Z","modified":"2022-04-06T17:12:39.673Z","1.0.1":"2021-11-08T16:04:58.973Z","1.0.2":"2022-01-13T12:18:24.839Z"},"maintainers":[{"name":"coderaiser","email":"mnemonic.enemy@gmail.com"}],"description":"putout plugin adds ability to find and remove duplicates from union","homepage":"https://github.com/coderaiser/putout/tree/v24.0.2/packages/plugin-typescript#remove-duplicates-from-union","keywords":["duplicates","putout","plugin","remove","putout-plugin","putout-plugin-remove","duplicates","union","typescript"],"repository":{"type":"git","url":"git://github.com/coderaiser/putout.git"},"author":{"name":"coderaiser","email":"mnemonic.enemy@gmail.com","url":"https://github.com/coderaiser"},"bugs":{"url":"https://github.com/coderaiser/putout/issues"},"license":"MIT","readme":"# @putout/plugin-remove-duplicates-from-union [![NPM version][NPMIMGURL]][NPMURL]\n\n[NPMIMGURL]: https://img.shields.io/npm/v/@putout/plugin-remove-duplicates-from-union.svg?style=flat&longCache=true\n[NPMURL]: https://npmjs.org/package/@putout/plugin-remove-duplicates-from-union \"npm\"\n\n[`putout`](https://github.com/coderaiser/putout) plugin adds ability to find and remove `duplicates` from `union` (for typescript). Moved to [@putout/plugin-typescript](https://github.com/coderaiser/putout/tree/v24.0.2/packages/plugin-typescript#remove-duplicates-from-union).\n\n## Install\n\n```\nnpm i @putout/plugin-remove-duplicates-from-union -D\n```\n\n## Rule\n\n```json\n{\n    \"rules\": {\n        \"remove-duplicates-from-union\": \"on\"\n    }\n}\n```\n\n## ❌ Incorrect code example\n\n```ts\ntype x = boolean[]\n    | A\n    | string\n    | A\n    | string[]\n    | boolean[];\n```\n\n## ✅ Correct code Example\n\n```ts\ntype x = boolean[]\n    | A\n    | string\n    | string[];\n```\n\n## License\n\nMIT\n","readmeFilename":"README.md"}