{"_id":"duplicate-dependencies-webpack-plugin","_rev":"6-e7b1a23e4f768d2c61b974d719d3bbef","name":"duplicate-dependencies-webpack-plugin","dist-tags":{"latest":"1.0.2"},"versions":{"0.1.0":{"name":"duplicate-dependencies-webpack-plugin","version":"0.1.0","description":"webpack plugin to find duplicated dependencies from your bundle","main":"lib/index.js","scripts":{"build":"npm run build --prefix ./examples/simple","test":"echo 🦄"},"repository":{"type":"git","url":"git+https://github.com/fengzilong/duplicate-dependencies-webpack-plugin.git"},"keywords":["webpack","plugin"],"author":{"name":"fengzilong"},"license":"MIT","bugs":{"url":"https://github.com/fengzilong/duplicate-dependencies-webpack-plugin/issues"},"homepage":"https://github.com/fengzilong/duplicate-dependencies-webpack-plugin#readme","dependencies":{"is-path-inside":"^3.0.2","tapable":"^1.1.3"},"gitHead":"9b94ef5c4159267eddb78537147b3637996dcafe","_id":"duplicate-dependencies-webpack-plugin@0.1.0","_nodeVersion":"10.18.0","_npmVersion":"6.13.4","dist":{"integrity":"sha512-CJXIdcBZulUxJAnO4yanwO6JveUTg/JxxZ5TiU9vS5yUoVU3uRFv2Tyv6xuXXJCeEJ+Xq4yDRtUKRgu6QucMpQ==","shasum":"5a2263bc55dcc1405dad9b72ca138c236a6c9c83","tarball":"https://registry.npmjs.org/duplicate-dependencies-webpack-plugin/-/duplicate-dependencies-webpack-plugin-0.1.0.tgz","fileCount":4,"unpackedSize":4278,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJeH3LpCRA9TVsSAnZWagAAdCUP/25JDenoj0jXLlCGhoUX\nlL2w1Tzso3Xm1Y1AqGanpuPnGbchKnBRKJq8X/+T/bxBilxyX4yA09fDajSj\n54CSpddvSKtlMH5tTFSAwpdYOPZBbz9lh/rb3fkRhJbCqI7N7e2JF4gGA686\nwiRYqXOfgRqzAHdj1zUMAEJpmLQgyh/Xk+py1MYSk2WCMcJZZjQAlMN3rOTw\nV+k3opp/Yn5lEZxb6PXj5BVD3bqhJ9qPsoxdmYYWXoZmUFwvYTkEjQTor2vS\nEgn4UTCk2/Ivk2R3rdNiCX+SxfDTedO3oOf5sPv4ddzJs72h5j7fcFgjOvTR\n4D7dMMIKwPiCJ6TlO3q9/bgGAjq51xLPWkPtKEyKcLCsT+StrvB0tu/Mpse5\nTnPF7KLlEM2X12PFwm5PfjCPRIC6yTQmccGUVNoYHDKLXeaG+F1Q+wgI1f21\nEVNsVG2Z5TuH8F3jGpuKdbcmZJWT1sLQtWyT+FJzniBTMtI456GMX37rwSxU\nNZGh63Yr0bvYwqmIz6+HyX8ln/bzluUcJW2/15ansrnuLQf2Jqv+eR/HexUX\nTIoMWCa1Q0exISASLVPhwLreIBCYZIA7M7/RiqFf9aEvBYDcmFcXdgBoKCzL\nYYYW01gty7KgVKNRUUkWVMSos0USZkmviJMPqVnhglT3YdKLic1D8x7tkHeF\ncx+p\r\n=2pnj\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDBLRltxcSDDfce5j5+7dsofw/2xlG4owwZjiYM+FNAIwIhALF93Sz2xqtky7JCsU8vLGC1znD0PeOWrdvO5dgjvzQ1"}]},"maintainers":[{"name":"fengzilong","email":"fengzilong1992@gmail.com"}],"_npmUser":{"name":"fengzilong","email":"fengzilong1992@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/duplicate-dependencies-webpack-plugin_0.1.0_1579119336600_0.6271853060974795"},"_hasShrinkwrap":false},"0.1.1":{"name":"duplicate-dependencies-webpack-plugin","version":"0.1.1","description":"webpack plugin to find duplicated dependencies from your bundle","main":"lib/index.js","scripts":{"build":"npm run build --prefix ./examples/simple","test":"echo 🦄"},"repository":{"type":"git","url":"git+https://github.com/fengzilong/duplicate-dependencies-webpack-plugin.git"},"keywords":["webpack","plugin"],"author":{"name":"fengzilong"},"license":"MIT","bugs":{"url":"https://github.com/fengzilong/duplicate-dependencies-webpack-plugin/issues"},"homepage":"https://github.com/fengzilong/duplicate-dependencies-webpack-plugin#readme","dependencies":{"is-path-inside":"^3.0.2","tapable":"^1.1.3"},"gitHead":"d1ab386a78639453940cee08f13dd387450bae19","_id":"duplicate-dependencies-webpack-plugin@0.1.1","_nodeVersion":"10.18.0","_npmVersion":"6.13.4","dist":{"integrity":"sha512-XBAVw7YoJRDCAG6Vc8+NnbFeaWrC1/NKF147jF7UOzuk2xBt55m9GZKx2GjVPJj0zrCpJBymfRozu+zkewWQ6w==","shasum":"33f96061ad57c2d6bd96b98a3209e6e8328af11e","tarball":"https://registry.npmjs.org/duplicate-dependencies-webpack-plugin/-/duplicate-dependencies-webpack-plugin-0.1.1.tgz","fileCount":4,"unpackedSize":4873,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJeIptLCRA9TVsSAnZWagAAW/8P/0FTWABxO2mxViA6gjOA\npXe80NXTC6HhaRjl6duylnTmMOxhpM2DDQ+BF1PnbHYhfutMsEDlmVCkRvES\ne1dgERsAlBF0Zo+2BSKS1alqbCqtIjlJL6xiNP5E5s5pI3wU1oe5Nlw4Wr3h\nZ387Oex1wMBVqJry73wblTJVGq0OkUF+R/p+BBRxrkom6hkVdvSZOQbtg26T\nDcLLwc2w+xBOFp/fpxzvorwl8b5RXUpFJDWpqJrmkA0P31IpcnUyh7+VWhLV\nKkIYxnPRq4DfCcIES+cM/NT85bcYAO/SaxOIm6f37hwbGfEzTW15jy64nrun\nu77onj3rCTvV2DqgMChbFeZaqNlCilKnIUEez5kEvxgJZ5S1k2e+VT5hbczt\nIJG168n2u5fXG+6ZH1J7/AFw6I9oQ5a2VyDALAXcwUXtW5XkAu3M0HAVthAR\ntIRWDUlHJFBycCea5WNlOas7YSEj1KToCd//MG/PCJ4KEvD8epJA++hpZUMr\nph0g6T6y5kggeoX2e0zqQ6Kh3JEodyJ0hQ6nIONGbSE2qdV8vE/amDs0Li5t\n0w66+67Kq1WRJDmAb4bTbQ05cgs15+YqwK5SAbBhRLmlvGOW8kvPSw7BblIU\ns6Ei6Ah2yugWxmWJDL1i53gHrOs8q9FtF832Te2aV/Ei5NP0BRjcMIDvO9P6\nt5ff\r\n=egWC\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCICGeB+/cTyt6TWnoQENFH/RaHWTfvWlNcOPQHA3cW3G0AiAG7DbAsed5G3Y3csLZ+ZRhOQFRHihiSq6V98iz86KpKg=="}]},"maintainers":[{"name":"fengzilong","email":"fengzilong1992@gmail.com"}],"_npmUser":{"name":"fengzilong","email":"fengzilong1992@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/duplicate-dependencies-webpack-plugin_0.1.1_1579326282940_0.35954801259534186"},"_hasShrinkwrap":false},"0.2.0":{"name":"duplicate-dependencies-webpack-plugin","version":"0.2.0","description":"webpack plugin to find duplicated dependencies from your bundle","main":"lib/index.js","scripts":{"test":"jest"},"repository":{"type":"git","url":"git+https://github.com/fengzilong/duplicate-dependencies-webpack-plugin.git"},"keywords":["webpack","plugin"],"author":{"name":"fengzilong"},"license":"MIT","bugs":{"url":"https://github.com/fengzilong/duplicate-dependencies-webpack-plugin/issues"},"homepage":"https://github.com/fengzilong/duplicate-dependencies-webpack-plugin#readme","dependencies":{"boxen":"^4.2.0","chalk":"^3.0.0","is-path-inside":"^3.0.2","pretty-bytes":"^5.3.0","string-width":"^4.2.0","tapable":"^1.1.3","text-table":"^0.2.0"},"devDependencies":{"deepmerge":"4.2.2","element-ui":"2.13.0","vue":"2.6.11","jest":"^24.9.0","webpack":"^4.41.5"},"gitHead":"88a57de2495d59bf7f5dcf9b66a8a3076ca6f248","_id":"duplicate-dependencies-webpack-plugin@0.2.0","_nodeVersion":"10.18.0","_npmVersion":"6.13.4","dist":{"integrity":"sha512-qeyxzZApFEwD2JONAUNEojHYkjxeXkJdJ+X9g67geYmMddb1SaWRCDRA/FmQTxHsHvebMwmUVxSMguRjyloCPw==","shasum":"3fd5b5c310c1f6ea16c3ba5b73f34f420697be60","tarball":"https://registry.npmjs.org/duplicate-dependencies-webpack-plugin/-/duplicate-dependencies-webpack-plugin-0.2.0.tgz","fileCount":6,"unpackedSize":10130,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJeJZBDCRA9TVsSAnZWagAAoVkP/R/wUHEfLmSSI4Dx8gOi\nodb8oO5GI9hm04ra/Vk+NFG48PjUrouejbKosTtGYKynlZvDHdERo3gjxRHx\nWroD3hZdOh8CzjbxJPu1tMyWktkvreDSzukQtIHGU1+LOgcBUYXR7nPetQNZ\n8U3KKEpkS+YwqIW9wP7uM4un6Z8flVg3k3KJmK37YEm+SBBDUYOWw4T7vQSk\nHrVw16T+LQlESm5v17bded4m9QwEmpSCMTSXg3HbIGs7S/ycuXpusmLFN3oz\njhOWODe981pBF0qgaqyLCdhoclYyG5I2eG+l7VHXZr8vkoXw82c14PwCFU05\n4UtPMVRXW8xNSj2a/RBZ1Fd/FPYSZKNPDR89Uy/TNs+sS767tNk+5xaemY7S\nfQAAD+78OdvjdE0uWtm6tV17ixcBIcJ2qqeA6IGGhvmhYTjmTNQhDfGFADHW\nUC9POgWDvuMxiejLbDwBTaTAm/GMzWIeZD/jPKIlWPczZvaNJujAAeojuWgH\neLvAvVeF04n60oUcTPtBak6ykOnDA6rN+N1Xo4X8h6ouCnLrogrIJx9HTVng\nKF3CDeF7JNrSPUCS/fDll/bdeyyNE1a2tjWUzzkvAnSFH8DKWAu7PCwPJuym\n0pbQcKUI3KqB4YAEyoLM+hbeEzNrwg0g2nAFMInE+PXrES4CTqGnF/+Az73g\ntBDl\r\n=gPur\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIFvNc6cwdebgwm6N+GqNMF1F6EiDJW0pLj+p5GAwclWqAiAHXKulFPlSJqSAAa5hxMUvz2+j/NmGScibhsxjZ4EF3Q=="}]},"maintainers":[{"name":"fengzilong","email":"fengzilong1992@gmail.com"}],"_npmUser":{"name":"fengzilong","email":"fengzilong1992@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/duplicate-dependencies-webpack-plugin_0.2.0_1579520066739_0.05815037448116911"},"_hasShrinkwrap":false},"1.0.0":{"name":"duplicate-dependencies-webpack-plugin","version":"1.0.0","description":"webpack plugin to find duplicated dependencies from your bundle","main":"lib/index.js","scripts":{"test":"jest"},"repository":{"type":"git","url":"git+https://github.com/fengzilong/duplicate-dependencies-webpack-plugin.git"},"keywords":["webpack","plugin"],"author":{"name":"fengzilong"},"license":"MIT","bugs":{"url":"https://github.com/fengzilong/duplicate-dependencies-webpack-plugin/issues"},"homepage":"https://github.com/fengzilong/duplicate-dependencies-webpack-plugin#readme","dependencies":{"chalk":"^3.0.0","cli-table3":"^0.6.0","is-path-inside":"^3.0.2","pretty-bytes":"^5.3.0","tapable":"^1.1.3"},"devDependencies":{"deepmerge":"4.2.2","element-ui":"2.13.0","jest":"^24.9.0","vue":"2.6.11","webpack":"^4.41.5"},"gitHead":"256ca0da236ead6f737af9876e1b89b4604a5016","_id":"duplicate-dependencies-webpack-plugin@1.0.0","_nodeVersion":"16.8.0","_npmVersion":"7.21.0","dist":{"integrity":"sha512-1v1XDsNYTeEpYztRPkRt8dQ/lCjoo4sXdFpE7mgBxYgxJM1k6w+WlLdNm+oFL2HYPTTUfxj9yDHSYZOxg/rOcg==","shasum":"5aa1a292173b533323bbcc45f3d0f221e3d23060","tarball":"https://registry.npmjs.org/duplicate-dependencies-webpack-plugin/-/duplicate-dependencies-webpack-plugin-1.0.0.tgz","fileCount":6,"unpackedSize":12890,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQC0IoX3RpQTjvtr33KCXNZhDdg8haCFLniA/v2gnG/vWwIhAJUwZN9mRzaq/JVJty+zjcOWywnQKPZ3SulzkR1u5dQ1"}]},"_npmUser":{"name":"fengzilong","email":"fengzilong1992@gmail.com"},"directories":{},"maintainers":[{"name":"fengzilong","email":"fengzilong1992@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/duplicate-dependencies-webpack-plugin_1.0.0_1636399881537_0.3269300208636132"},"_hasShrinkwrap":false},"1.0.1":{"name":"duplicate-dependencies-webpack-plugin","version":"1.0.1","description":"webpack plugin to find duplicated dependencies from your bundle","main":"lib/index.js","scripts":{"test":"jest"},"repository":{"type":"git","url":"git+https://github.com/fengzilong/duplicate-dependencies-webpack-plugin.git"},"keywords":["webpack","plugin"],"author":{"name":"fengzilong"},"license":"MIT","bugs":{"url":"https://github.com/fengzilong/duplicate-dependencies-webpack-plugin/issues"},"homepage":"https://github.com/fengzilong/duplicate-dependencies-webpack-plugin#readme","dependencies":{"chalk":"^3.0.0","cli-table3":"^0.6.0","is-path-inside":"^3.0.2","pretty-bytes":"^5.3.0","tapable":"^1.1.3"},"devDependencies":{"deepmerge":"4.2.2","element-ui":"2.13.0","jest":"^24.9.0","vue":"2.6.11","webpack":"^4.41.5"},"gitHead":"fcbeced91545561a9ded094bcad2d2be972b1f19","_id":"duplicate-dependencies-webpack-plugin@1.0.1","_nodeVersion":"16.8.0","_npmVersion":"7.21.0","dist":{"integrity":"sha512-b1TnLie8jlxjCi3pE2Q21eF2Xoh5gboDQGaS+SZq6EplODild7OOC59WyfLDPtNmTbaxap34xFhftORirg3F9g==","shasum":"bfde2731b5668383e712e3949ccfdceb31f16b39","tarball":"https://registry.npmjs.org/duplicate-dependencies-webpack-plugin/-/duplicate-dependencies-webpack-plugin-1.0.1.tgz","fileCount":6,"unpackedSize":13223,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIBD78BqqpeFT1dJmG6AAFEksweHfOil21ObbNHPNia9rAiA8bqKnIM8qPAa5354dU7MdBfk3Gb6JohUy9uNXJfh7pg=="}]},"_npmUser":{"name":"fengzilong","email":"fengzilong1992@gmail.com"},"directories":{},"maintainers":[{"name":"fengzilong","email":"fengzilong1992@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/duplicate-dependencies-webpack-plugin_1.0.1_1636468157506_0.5666504307625471"},"_hasShrinkwrap":false},"1.0.2":{"name":"duplicate-dependencies-webpack-plugin","version":"1.0.2","description":"webpack plugin to find duplicated dependencies from your bundle","main":"lib/index.js","scripts":{"test":"jest"},"repository":{"type":"git","url":"git+https://github.com/fengzilong/duplicate-dependencies-webpack-plugin.git"},"keywords":["webpack","plugin"],"author":{"name":"fengzilong"},"license":"MIT","bugs":{"url":"https://github.com/fengzilong/duplicate-dependencies-webpack-plugin/issues"},"homepage":"https://github.com/fengzilong/duplicate-dependencies-webpack-plugin#readme","dependencies":{"chalk":"^3.0.0","cli-table3":"^0.6.0","is-path-inside":"^3.0.2","pretty-bytes":"^5.3.0","tapable":"^1.1.3"},"devDependencies":{"deepmerge":"4.2.2","element-ui":"2.13.0","jest":"^24.9.0","vue":"2.6.11","webpack":"^4.41.5"},"gitHead":"840a73a8756d4e7a7e0bb41e5810a188abe400a1","_id":"duplicate-dependencies-webpack-plugin@1.0.2","_nodeVersion":"16.8.0","_npmVersion":"7.21.0","dist":{"integrity":"sha512-UsmhWDvWzh/eSJTPi8upQFbHyoSvLk8OxBAYWm2MPz29jNtmcCDkaOV5D5QuXzXix3QMqcq0iL4BRujK6P/mbg==","shasum":"5104d8b37b5d5096c410ac652599ccd974cf118b","tarball":"https://registry.npmjs.org/duplicate-dependencies-webpack-plugin/-/duplicate-dependencies-webpack-plugin-1.0.2.tgz","fileCount":6,"unpackedSize":13183,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQC73BUr1twm1XAXPpmqV683S9UX5QcMFfyntqXea8INlQIhAKDBu1Z9wv8oCPwtI9bgj22g8LuVeEO90qTgS10m+Wap"}]},"_npmUser":{"name":"fengzilong","email":"fengzilong1992@gmail.com"},"directories":{},"maintainers":[{"name":"fengzilong","email":"fengzilong1992@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/duplicate-dependencies-webpack-plugin_1.0.2_1637080388473_0.29855894605843303"},"_hasShrinkwrap":false}},"time":{"created":"2020-01-15T20:15:36.600Z","0.1.0":"2020-01-15T20:15:36.722Z","modified":"2022-04-30T16:14:09.595Z","0.1.1":"2020-01-18T05:44:43.081Z","0.2.0":"2020-01-20T11:34:26.927Z","1.0.0":"2021-11-08T19:31:21.717Z","1.0.1":"2021-11-09T14:29:17.639Z","1.0.2":"2021-11-16T16:33:08.649Z"},"maintainers":[{"name":"fengzilong","email":"fengzilong1992@gmail.com"}],"description":"webpack plugin to find duplicated dependencies from your bundle","homepage":"https://github.com/fengzilong/duplicate-dependencies-webpack-plugin#readme","keywords":["webpack","plugin"],"repository":{"type":"git","url":"git+https://github.com/fengzilong/duplicate-dependencies-webpack-plugin.git"},"author":{"name":"fengzilong"},"bugs":{"url":"https://github.com/fengzilong/duplicate-dependencies-webpack-plugin/issues"},"license":"MIT","readme":"# duplicate-dependencies-webpack-plugin\n\n![npm version](https://img.shields.io/npm/v/duplicate-dependencies-webpack-plugin)\n![npm downloads](https://img.shields.io/npm/dm/duplicate-dependencies-webpack-plugin)\n![actions status](https://github.com/fengzilong/duplicate-dependencies-webpack-plugin/workflows/Node%20CI/badge.svg)\n\nA webpack plugin to find all duplicated dependencies in your bundle\n\n<img src=\"media/screenshot.jpg\" alt=\"screenshot\" width=\"500px\">\n\n## Installation\n\nFor yarn users\n\n```bash\nyarn add duplicate-dependencies-webpack-plugin --dev\n```\n\nFor npm users\n\n```bash\nnpm i duplicate-dependencies-webpack-plugin -D\n```\n\n## Basic Usage\n\n`webpack.config.js`\n\n```js\nconst { DuplicateReporterPlugin } = require( 'duplicate-dependencies-webpack-plugin' )\n\nmodule.exports = {\n  plugins: {\n    new DuplicateReporterPlugin()\n  }\n}\n```\n\n## Advanced Usage\n\nThis plugin is designed to be more flexible\n\nSo you may want to use it together with a reporter plugin\n\nInternally this plugin expose a hook called `result`\n\n`webpack.config.js`\n\n```js\nconst DuplicatePlugin = require( 'duplicate-dependencies-webpack-plugin' )\n\nconst ID = 'duplicates-reporter'\nclass DuplicatesReporterPlugin {\n  apply( compiler ) {\n    compiler.hooks.compilation.tap( ID, compilation => {\n      DuplicatePlugin.getHooks( compilation ).result\n        .tap( ID, duplicates => {\n          // here you get the `duplicates` data\n          // do whatever you want with this\n          useCustomPrettyReporter( duplicates )\n        } )\n    } )\n  }\n}\n\nmodule.exports = {\n  plugins: {\n    new DuplicatePlugin(),\n    new DuplicatesReporterPlugin()\n  }\n}\n```\n\nduplicates looks like:\n\n```js\n{\n  'package_name': [\n    {\n      name: 'package_name',\n      version: '4.2.2',\n      root: 'absolute_path_to_package_root',\n      issuer: 'absolute_path_to_issuer', // the file issue the request\n      files: [Array], // files in this package which are included in your bundle\n      bytes: 4000 // bytes contributed by this packages\n    },\n    // ...more versions\n  ]\n}\n```\n\n## License\n\nMIT\n","readmeFilename":"README.md"}