{"_id":"duplicate-package-checker-webpack-plugin","_rev":"2856186","name":"duplicate-package-checker-webpack-plugin","description":"Webpack plugin that warns you when multiple versions of the same package exist in a build.","dist-tags":{"latest":"3.0.0"},"maintainers":[{"name":"darrenscerri","email":""}],"time":{"modified":"2022-09-06T16:44:59.000Z","created":"2017-01-15T22:17:37.320Z","3.0.0":"2018-03-20T00:27:02.111Z","2.1.0":"2018-01-10T22:24:52.238Z","2.0.2":"2017-12-05T12:08:44.057Z","2.0.1":"2017-11-22T20:53:44.086Z","2.0.0":"2017-11-22T20:27:02.774Z","1.2.6":"2017-10-05T08:56:08.086Z","1.2.5":"2017-07-13T12:54:03.550Z","1.2.4":"2017-03-20T19:52:16.075Z","1.2.3":"2017-03-20T14:26:12.405Z","1.2.2":"2017-03-19T18:56:01.664Z","1.2.1":"2017-03-19T16:43:43.810Z","1.2.0":"2017-03-18T21:08:01.267Z","1.1.0":"2017-02-24T17:41:47.901Z","1.0.1":"2017-01-16T06:46:14.008Z","1.0.0":"2017-01-15T22:17:37.320Z"},"users":{},"author":{"name":"Darren Scerri","email":"darrenscerri@gmail.com"},"repository":{"type":"git","url":"git+https://github.com/darrenscerri/duplicate-package-checker-webpack-plugin.git"},"versions":{"3.0.0":{"name":"duplicate-package-checker-webpack-plugin","version":"3.0.0","description":"Webpack plugin that warns you when multiple versions of the same package exist in a build.","main":"./lib/index.js","scripts":{"test":"jest test/**/*.test.js --runInBand","build":"babel src --out-dir lib","prepublish":"npm run build","precommit":"lint-staged","pretty":"prettier --write \"src/**/*.{json,js}\" \"test/**/*.{json,js}\""},"lint-staged":{"*.{js,json}":["prettier --write","git add"]},"dependencies":{"chalk":"^2.3.0","find-root":"^1.0.0","lodash":"^4.17.4","semver":"^5.4.1"},"jest":{"testEnvironment":"node"},"repository":{"type":"git","url":"git+https://github.com/darrenscerri/duplicate-package-checker-webpack-plugin.git"},"keywords":["webpack","plugin"],"author":{"name":"Darren Scerri","email":"darrenscerri@gmail.com"},"license":"MIT","bugs":{"url":"https://github.com/darrenscerri/duplicate-package-checker-webpack-plugin/issues"},"homepage":"https://github.com/darrenscerri/duplicate-package-checker-webpack-plugin#readme","devDependencies":{"babel-cli":"^6.24.0","babel-core":"^6.24.0","babel-polyfill":"^6.23.0","babel-preset-es2015":"^6.24.0","husky":"^0.14.3","jest":"^22.4.2","lint-staged":"^5.0.0","prettier":"^1.11.1","webpack":"^4.1.1"},"gitHead":"e4109f5ede8e041e3738890159bf97f9c923ae2a","_id":"duplicate-package-checker-webpack-plugin@3.0.0","_npmVersion":"5.6.0","_nodeVersion":"9.5.0","_npmUser":{"name":"darrenscerri","email":"darren@scerri.me"},"dist":{"shasum":"78bb89e625fa7cf8c2a59c53f62b495fda9ba287","size":49192,"noattachment":false,"key":"/duplicate-package-checker-webpack-plugin/-/duplicate-package-checker-webpack-plugin-3.0.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/duplicate-package-checker-webpack-plugin/download/duplicate-package-checker-webpack-plugin-3.0.0.tgz"},"maintainers":[{"name":"darrenscerri","email":""}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/duplicate-package-checker-webpack-plugin_3.0.0_1521505622024_0.5884959569636097"},"_hasShrinkwrap":false,"publish_time":1521505622111,"_cnpm_publish_time":1521505622111,"_cnpmcore_publish_time":"2021-12-16T13:15:20.120Z"},"2.1.0":{"name":"duplicate-package-checker-webpack-plugin","version":"2.1.0","description":"Webpack plugin that warns you when multiple versions of the same package exist in a build.","main":"./lib/index.js","scripts":{"test":"jest test/**/*.test.js","build":"babel src --out-dir lib","prepublish":"npm run build","precommit":"lint-staged","pretty":"prettier --write \"src/**/*.{json,js}\" \"test/**/*.{json,js}\""},"lint-staged":{"*.{js,json}":["prettier --write","git add"]},"dependencies":{"chalk":"^2.3.0","find-root":"^1.0.0","lodash":"^4.17.4","semver":"^5.4.1"},"repository":{"type":"git","url":"git+https://github.com/darrenscerri/duplicate-package-checker-webpack-plugin.git"},"keywords":["webpack","plugin"],"author":{"name":"Darren Scerri","email":"darrenscerri@gmail.com"},"license":"MIT","bugs":{"url":"https://github.com/darrenscerri/duplicate-package-checker-webpack-plugin/issues"},"homepage":"https://github.com/darrenscerri/duplicate-package-checker-webpack-plugin#readme","devDependencies":{"babel-cli":"^6.24.0","babel-core":"^6.24.0","babel-polyfill":"^6.23.0","babel-preset-es2015":"^6.24.0","husky":"^0.14.3","jest":"^21.2.1","lint-staged":"^5.0.0","webpack":"^3.8.1"},"gitHead":"c5bb9ad20ecd8dd59bf5524eb6637c8db97ad589","_id":"duplicate-package-checker-webpack-plugin@2.1.0","_npmVersion":"5.6.0","_nodeVersion":"9.4.0","_npmUser":{"name":"darrenscerri","email":"darren@scerri.me"},"dist":{"shasum":"6723ee32d89947997470778973c10788cb69e496","size":42432,"noattachment":false,"key":"/duplicate-package-checker-webpack-plugin/-/duplicate-package-checker-webpack-plugin-2.1.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/duplicate-package-checker-webpack-plugin/download/duplicate-package-checker-webpack-plugin-2.1.0.tgz"},"maintainers":[{"name":"darrenscerri","email":""}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/duplicate-package-checker-webpack-plugin-2.1.0.tgz_1515623091131_0.3858520050998777"},"directories":{},"publish_time":1515623092238,"_hasShrinkwrap":false,"_cnpm_publish_time":1515623092238,"_cnpmcore_publish_time":"2021-12-16T13:15:20.421Z"},"2.0.2":{"name":"duplicate-package-checker-webpack-plugin","version":"2.0.2","description":"Webpack plugin that warns you when multiple versions of the same package exist in a build.","main":"./lib/index.js","scripts":{"test":"jest test/**/*.test.js","build":"babel src --out-dir lib","prepublish":"npm run build","precommit":"lint-staged","pretty":"prettier --write \"src/**/*.{json,js}\" \"test/**/*.{json,js}\""},"lint-staged":{"*.{js,json}":["prettier --write","git add"]},"dependencies":{"chalk":"^2.3.0","find-root":"^1.0.0","lodash":"^4.17.4"},"repository":{"type":"git","url":"git+https://github.com/darrenscerri/duplicate-package-checker-webpack-plugin.git"},"keywords":["webpack","plugin"],"author":{"name":"Darren Scerri","email":"darrenscerri@gmail.com"},"license":"MIT","bugs":{"url":"https://github.com/darrenscerri/duplicate-package-checker-webpack-plugin/issues"},"homepage":"https://github.com/darrenscerri/duplicate-package-checker-webpack-plugin#readme","devDependencies":{"babel-cli":"^6.24.0","babel-core":"^6.24.0","babel-polyfill":"^6.23.0","babel-preset-es2015":"^6.24.0","husky":"^0.14.3","jest":"^21.2.1","lint-staged":"^5.0.0","mocha":"^4.0.1","webpack":"^3.8.1"},"gitHead":"dd87c4f135d26c2c5817724bb1816186cb384c6e","_id":"duplicate-package-checker-webpack-plugin@2.0.2","_shasum":"2b01772ec781ec507c8b96615e06deca3552110a","_from":".","_npmVersion":"4.6.1","_nodeVersion":"8.9.1","_npmUser":{"name":"darrenscerri","email":"darren@scerri.me"},"dist":{"shasum":"2b01772ec781ec507c8b96615e06deca3552110a","size":34152,"noattachment":false,"key":"/duplicate-package-checker-webpack-plugin/-/duplicate-package-checker-webpack-plugin-2.0.2.tgz","tarball":"http://registry.cnpm.dingdandao.com/duplicate-package-checker-webpack-plugin/download/duplicate-package-checker-webpack-plugin-2.0.2.tgz"},"maintainers":[{"name":"darrenscerri","email":""}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/duplicate-package-checker-webpack-plugin-2.0.2.tgz_1512475723130_0.9411409820895642"},"directories":{},"publish_time":1512475724057,"_hasShrinkwrap":false,"_cnpm_publish_time":1512475724057,"_cnpmcore_publish_time":"2021-12-16T13:15:20.714Z"},"2.0.1":{"name":"duplicate-package-checker-webpack-plugin","version":"2.0.1","description":"Webpack plugin that warns you when multiple versions of the same package exist in a build.","main":"./lib/index.js","scripts":{"test":"jest test/**/*.test.js","build":"babel src --out-dir lib","prepublish":"npm run build","precommit":"lint-staged","pretty":"prettier --write \"src/**/*.{json,js}\" \"test/**/*.{json,js}\""},"lint-staged":{"*.{js,json}":["prettier --write","git add"]},"dependencies":{"chalk":"^2.3.0","find-root":"^1.0.0","lodash":"^4.17.4"},"repository":{"type":"git","url":"git+https://github.com/darrenscerri/duplicate-package-checker-webpack-plugin.git"},"keywords":["webpack","plugin"],"author":{"name":"Darren Scerri","email":"darrenscerri@gmail.com"},"license":"MIT","bugs":{"url":"https://github.com/darrenscerri/duplicate-package-checker-webpack-plugin/issues"},"homepage":"https://github.com/darrenscerri/duplicate-package-checker-webpack-plugin#readme","devDependencies":{"babel-cli":"^6.24.0","babel-core":"^6.24.0","babel-polyfill":"^6.23.0","babel-preset-es2015":"^6.24.0","husky":"^0.14.3","jest":"^21.2.1","lint-staged":"^5.0.0","mocha":"^4.0.1","webpack":"^3.8.1"},"gitHead":"8bc975fa0003a8214a287bcb70721d3cb2f6b7bc","_id":"duplicate-package-checker-webpack-plugin@2.0.1","_npmVersion":"5.5.1","_nodeVersion":"8.9.1","_npmUser":{"name":"darrenscerri","email":"darren@scerri.me"},"dist":{"shasum":"dc39f0bc6a95f92365d090a77d0826ffbaa7580d","size":34319,"noattachment":false,"key":"/duplicate-package-checker-webpack-plugin/-/duplicate-package-checker-webpack-plugin-2.0.1.tgz","tarball":"http://registry.cnpm.dingdandao.com/duplicate-package-checker-webpack-plugin/download/duplicate-package-checker-webpack-plugin-2.0.1.tgz"},"maintainers":[{"name":"darrenscerri","email":""}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/duplicate-package-checker-webpack-plugin-2.0.1.tgz_1511384022939_0.6984964958392084"},"directories":{},"publish_time":1511384024086,"_hasShrinkwrap":false,"_cnpm_publish_time":1511384024086,"_cnpmcore_publish_time":"2021-12-16T13:15:21.236Z"},"2.0.0":{"name":"duplicate-package-checker-webpack-plugin","version":"2.0.0","description":"Webpack plugin that warns you when multiple versions of the same package exist in a build.","main":"./lib/index.js","scripts":{"test":"jest test/**/*.test.js","build":"babel src --out-dir lib","prepublish":"npm run build","precommit":"lint-staged","pretty":"prettier --write \"src/**/*.{json,js}\" \"test/**/*.{json,js}\""},"lint-staged":{"*.{js,json}":["prettier --write","git add"]},"dependencies":{"chalk":"^2.3.0","find-root":"^1.0.0","lodash":"^4.17.4"},"repository":{"type":"git","url":"git+https://github.com/darrenscerri/duplicate-package-checker-webpack-plugin.git"},"keywords":["webpack","plugin"],"author":{"name":"Darren Scerri","email":"darrenscerri@gmail.com"},"license":"MIT","bugs":{"url":"https://github.com/darrenscerri/duplicate-package-checker-webpack-plugin/issues"},"homepage":"https://github.com/darrenscerri/duplicate-package-checker-webpack-plugin#readme","devDependencies":{"babel-cli":"^6.24.0","babel-core":"^6.24.0","babel-polyfill":"^6.23.0","babel-preset-es2015":"^6.24.0","husky":"^0.14.3","jest":"^21.2.1","lint-staged":"^5.0.0","mocha":"^4.0.1","webpack":"^3.8.1"},"gitHead":"12c708ec141baa94eda1c69631436b05bc14fb7e","_id":"duplicate-package-checker-webpack-plugin@2.0.0","_npmVersion":"5.5.1","_nodeVersion":"8.9.1","_npmUser":{"name":"darrenscerri","email":"darren@scerri.me"},"dist":{"shasum":"092e81fe5daf0dc75597d07ea071e1e5c1efe4d5","size":34160,"noattachment":false,"key":"/duplicate-package-checker-webpack-plugin/-/duplicate-package-checker-webpack-plugin-2.0.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/duplicate-package-checker-webpack-plugin/download/duplicate-package-checker-webpack-plugin-2.0.0.tgz"},"maintainers":[{"name":"darrenscerri","email":""}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/duplicate-package-checker-webpack-plugin-2.0.0.tgz_1511382421595_0.8009976882021874"},"directories":{},"publish_time":1511382422774,"_hasShrinkwrap":false,"_cnpm_publish_time":1511382422774,"_cnpmcore_publish_time":"2021-12-16T13:15:21.584Z"},"1.2.6":{"name":"duplicate-package-checker-webpack-plugin","version":"1.2.6","description":"Webpack plugin that warns you when multiple versions of the same package exist in a build.","main":"./lib/index.js","scripts":{"test":"mocha","build":"babel src --out-dir lib","prepublish":"npm run build"},"dependencies":{"chalk":"^1.1.3","find-root":"^1.0.0","lodash":"^4.17.4"},"repository":{"type":"git","url":"git+https://github.com/darrenscerri/duplicate-package-checker-webpack-plugin.git"},"keywords":["webpack","plugin"],"author":{"name":"Darren Scerri","email":"darrenscerri@gmail.com"},"license":"MIT","bugs":{"url":"https://github.com/darrenscerri/duplicate-package-checker-webpack-plugin/issues"},"homepage":"https://github.com/darrenscerri/duplicate-package-checker-webpack-plugin#readme","devDependencies":{"babel-cli":"^6.24.0","babel-core":"^6.24.0","babel-polyfill":"^6.23.0","babel-preset-es2015":"^6.24.0","mocha":"^3.2.0","strip-ansi":"^3.0.1","webpack":"^2.2.1"},"gitHead":"f20de6b8a715484f517d3f871f97785f5bdedea1","_id":"duplicate-package-checker-webpack-plugin@1.2.6","_npmVersion":"5.4.2","_nodeVersion":"8.5.0","_npmUser":{"name":"darrenscerri","email":"darren@scerri.me"},"dist":{"shasum":"1366e549facc29cb946bfc27a120238b1c6cd481","size":27335,"noattachment":false,"key":"/duplicate-package-checker-webpack-plugin/-/duplicate-package-checker-webpack-plugin-1.2.6.tgz","tarball":"http://registry.cnpm.dingdandao.com/duplicate-package-checker-webpack-plugin/download/duplicate-package-checker-webpack-plugin-1.2.6.tgz"},"maintainers":[{"name":"darrenscerri","email":""}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/duplicate-package-checker-webpack-plugin-1.2.6.tgz_1507193766609_0.7297319890931249"},"directories":{},"publish_time":1507193768086,"_hasShrinkwrap":false,"_cnpm_publish_time":1507193768086,"_cnpmcore_publish_time":"2021-12-16T13:15:22.253Z"},"1.2.5":{"name":"duplicate-package-checker-webpack-plugin","version":"1.2.5","description":"Webpack plugin that warns you when multiple versions of the same package exist in a build.","main":"./lib/index.js","scripts":{"test":"mocha","build":"babel src --out-dir lib","prepublish":"npm run build"},"dependencies":{"chalk":"^1.1.3","find-root":"^1.0.0","lodash":"^4.17.4"},"repository":{"type":"git","url":"git+https://github.com/darrenscerri/duplicate-package-checker-webpack-plugin.git"},"keywords":["webpack","plugin"],"author":{"name":"Darren Scerri","email":"darrenscerri@gmail.com"},"license":"MIT","bugs":{"url":"https://github.com/darrenscerri/duplicate-package-checker-webpack-plugin/issues"},"homepage":"https://github.com/darrenscerri/duplicate-package-checker-webpack-plugin#readme","devDependencies":{"babel-cli":"^6.24.0","babel-core":"^6.24.0","babel-polyfill":"^6.23.0","babel-preset-es2015":"^6.24.0","mocha":"^3.2.0","strip-ansi":"^3.0.1","webpack":"^2.2.1"},"gitHead":"9e183713007c8c2df8bcf80421d94d452542b715","_id":"duplicate-package-checker-webpack-plugin@1.2.5","_npmVersion":"5.0.4","_nodeVersion":"8.1.2","_npmUser":{"name":"darrenscerri","email":"darren@scerri.me"},"dist":{"shasum":"0b472873f996c648799c0f90dabc1b778096f170","size":26851,"noattachment":false,"key":"/duplicate-package-checker-webpack-plugin/-/duplicate-package-checker-webpack-plugin-1.2.5.tgz","tarball":"http://registry.cnpm.dingdandao.com/duplicate-package-checker-webpack-plugin/download/duplicate-package-checker-webpack-plugin-1.2.5.tgz"},"maintainers":[{"name":"darrenscerri","email":""}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/duplicate-package-checker-webpack-plugin-1.2.5.tgz_1499950442483_0.838690099073574"},"directories":{},"publish_time":1499950443550,"_hasShrinkwrap":false,"_cnpm_publish_time":1499950443550,"_cnpmcore_publish_time":"2021-12-16T13:15:22.543Z"},"1.2.4":{"name":"duplicate-package-checker-webpack-plugin","version":"1.2.4","description":"Webpack plugin that warns you when multiple versions of the same package exist in a build.","main":"./lib/index.js","scripts":{"test":"mocha","build":"babel src --out-dir lib","prepublish":"npm run build"},"dependencies":{"chalk":"^1.1.3","find-root":"^1.0.0","lodash":"^4.17.4"},"repository":{"type":"git","url":"git+https://github.com/darrenscerri/duplicate-package-checker-webpack-plugin.git"},"keywords":["webpack","plugin"],"author":{"name":"Darren Scerri","email":"darrenscerri@gmail.com"},"license":"MIT","bugs":{"url":"https://github.com/darrenscerri/duplicate-package-checker-webpack-plugin/issues"},"homepage":"https://github.com/darrenscerri/duplicate-package-checker-webpack-plugin#readme","devDependencies":{"babel-cli":"^6.24.0","babel-core":"^6.24.0","babel-polyfill":"^6.23.0","babel-preset-es2015":"^6.24.0","mocha":"^3.2.0","strip-ansi":"^3.0.1","webpack":"^2.2.1"},"gitHead":"20822fecc74f18aea2c37a91422c33e65fc5f93f","_id":"duplicate-package-checker-webpack-plugin@1.2.4","_shasum":"ad0ec3d41c759880ec2329f6a1fcb4de3b948350","_from":".","_npmVersion":"4.1.2","_nodeVersion":"7.7.1","_npmUser":{"name":"darrenscerri","email":"darrenscerri@gmail.com"},"dist":{"shasum":"ad0ec3d41c759880ec2329f6a1fcb4de3b948350","size":26825,"noattachment":false,"key":"/duplicate-package-checker-webpack-plugin/-/duplicate-package-checker-webpack-plugin-1.2.4.tgz","tarball":"http://registry.cnpm.dingdandao.com/duplicate-package-checker-webpack-plugin/download/duplicate-package-checker-webpack-plugin-1.2.4.tgz"},"maintainers":[{"name":"darrenscerri","email":""}],"_npmOperationalInternal":{"host":"packages-12-west.internal.npmjs.com","tmp":"tmp/duplicate-package-checker-webpack-plugin-1.2.4.tgz_1490039533993_0.78204724076204"},"directories":{},"publish_time":1490039536075,"_hasShrinkwrap":false,"_cnpm_publish_time":1490039536075,"_cnpmcore_publish_time":"2021-12-16T13:15:22.853Z"},"1.2.3":{"name":"duplicate-package-checker-webpack-plugin","version":"1.2.3","description":"Webpack plugin that warns you when multiple versions of the same package exist in a build.","main":"./lib/index.js","scripts":{"test":"mocha","build":"babel src --out-dir lib","prepublish":"npm run build"},"dependencies":{"chalk":"^1.1.3","find-root":"^1.0.0","lodash":"^4.17.4"},"repository":{"type":"git","url":"git+https://github.com/darrenscerri/duplicate-package-checker-webpack-plugin.git"},"keywords":["webpack","plugin"],"author":{"name":"Darren Scerri","email":"darrenscerri@gmail.com"},"license":"MIT","bugs":{"url":"https://github.com/darrenscerri/duplicate-package-checker-webpack-plugin/issues"},"homepage":"https://github.com/darrenscerri/duplicate-package-checker-webpack-plugin#readme","devDependencies":{"babel-cli":"^6.24.0","babel-core":"^6.24.0","babel-polyfill":"^6.23.0","babel-preset-es2015":"^6.24.0","mocha":"^3.2.0","strip-ansi":"^3.0.1","webpack":"^2.2.1"},"gitHead":"9ea3baaa8631a818ba68f462a227e7f47f20662a","_id":"duplicate-package-checker-webpack-plugin@1.2.3","_shasum":"47163f8e13eebf5363caa2b756c8d6af94ac1e3d","_from":".","_npmVersion":"4.1.2","_nodeVersion":"7.7.1","_npmUser":{"name":"darrenscerri","email":"darrenscerri@gmail.com"},"dist":{"shasum":"47163f8e13eebf5363caa2b756c8d6af94ac1e3d","size":26466,"noattachment":false,"key":"/duplicate-package-checker-webpack-plugin/-/duplicate-package-checker-webpack-plugin-1.2.3.tgz","tarball":"http://registry.cnpm.dingdandao.com/duplicate-package-checker-webpack-plugin/download/duplicate-package-checker-webpack-plugin-1.2.3.tgz"},"maintainers":[{"name":"darrenscerri","email":""}],"_npmOperationalInternal":{"host":"packages-18-east.internal.npmjs.com","tmp":"tmp/duplicate-package-checker-webpack-plugin-1.2.3.tgz_1490019971790_0.5738607421517372"},"directories":{},"publish_time":1490019972405,"_hasShrinkwrap":false,"_cnpm_publish_time":1490019972405,"_cnpmcore_publish_time":"2021-12-16T13:15:23.078Z"},"1.2.2":{"name":"duplicate-package-checker-webpack-plugin","version":"1.2.2","description":"Webpack plugin that warns you when multiple versions of the same package exist in a build.","main":"./lib/index.js","scripts":{"test":"mocha --compilers js:babel-core/register -r babel-polyfill test/index.js","build":"babel src --out-dir lib","prepublish":"npm run build"},"dependencies":{"chalk":"^1.1.3","find-root":"^1.0.0","lodash":"^4.17.4"},"repository":{"type":"git","url":"git+https://github.com/darrenscerri/duplicate-package-checker-webpack-plugin.git"},"keywords":["webpack","plugin"],"author":{"name":"Darren Scerri","email":"darrenscerri@gmail.com"},"license":"MIT","bugs":{"url":"https://github.com/darrenscerri/duplicate-package-checker-webpack-plugin/issues"},"homepage":"https://github.com/darrenscerri/duplicate-package-checker-webpack-plugin#readme","devDependencies":{"babel-cli":"^6.24.0","babel-core":"^6.24.0","babel-polyfill":"^6.23.0","babel-preset-es2015":"^6.24.0","mocha":"^3.2.0","strip-ansi":"^3.0.1","webpack":"^2.2.1"},"gitHead":"780087b450492f564323e0d06d9ecb4c39a7010b","_id":"duplicate-package-checker-webpack-plugin@1.2.2","_shasum":"e1b283ee7cf6d8d0b92046d6ef729f00988e02ee","_from":".","_npmVersion":"4.1.2","_nodeVersion":"7.7.1","_npmUser":{"name":"darrenscerri","email":"darrenscerri@gmail.com"},"dist":{"shasum":"e1b283ee7cf6d8d0b92046d6ef729f00988e02ee","size":26493,"noattachment":false,"key":"/duplicate-package-checker-webpack-plugin/-/duplicate-package-checker-webpack-plugin-1.2.2.tgz","tarball":"http://registry.cnpm.dingdandao.com/duplicate-package-checker-webpack-plugin/download/duplicate-package-checker-webpack-plugin-1.2.2.tgz"},"maintainers":[{"name":"darrenscerri","email":""}],"_npmOperationalInternal":{"host":"packages-18-east.internal.npmjs.com","tmp":"tmp/duplicate-package-checker-webpack-plugin-1.2.2.tgz_1489949761062_0.3613396796863526"},"directories":{},"publish_time":1489949761664,"_hasShrinkwrap":false,"_cnpm_publish_time":1489949761664,"_cnpmcore_publish_time":"2021-12-16T13:15:23.311Z"},"1.2.1":{"name":"duplicate-package-checker-webpack-plugin","version":"1.2.1","description":"Webpack plugin that warns you when multiple versions of the same package exist in a build.","main":"./lib/index.js","scripts":{"test":"mocha --compilers js:babel-core/register -r babel-polyfill test/index.js","build":"babel index.js --out-dir lib","prepublish":"npm run build"},"dependencies":{"chalk":"^1.1.3","find-root":"^1.0.0","lodash":"^4.17.4"},"repository":{"type":"git","url":"git+https://github.com/darrenscerri/duplicate-package-checker-webpack-plugin.git"},"keywords":["webpack","plugin"],"author":{"name":"Darren Scerri","email":"darrenscerri@gmail.com"},"license":"MIT","bugs":{"url":"https://github.com/darrenscerri/duplicate-package-checker-webpack-plugin/issues"},"homepage":"https://github.com/darrenscerri/duplicate-package-checker-webpack-plugin#readme","devDependencies":{"babel-cli":"^6.24.0","babel-core":"^6.24.0","babel-polyfill":"^6.23.0","babel-preset-es2015":"^6.24.0","mocha":"^3.2.0","strip-ansi":"^3.0.1","webpack":"^2.2.1"},"gitHead":"1f7448df7371cd6dc4fe80ea333799321ed2299e","_id":"duplicate-package-checker-webpack-plugin@1.2.1","_shasum":"505a56f5d39ebffc62401627ea98e092909a9315","_from":".","_npmVersion":"4.1.2","_nodeVersion":"7.7.1","_npmUser":{"name":"darrenscerri","email":"darrenscerri@gmail.com"},"dist":{"shasum":"505a56f5d39ebffc62401627ea98e092909a9315","size":26269,"noattachment":false,"key":"/duplicate-package-checker-webpack-plugin/-/duplicate-package-checker-webpack-plugin-1.2.1.tgz","tarball":"http://registry.cnpm.dingdandao.com/duplicate-package-checker-webpack-plugin/download/duplicate-package-checker-webpack-plugin-1.2.1.tgz"},"maintainers":[{"name":"darrenscerri","email":""}],"_npmOperationalInternal":{"host":"packages-18-east.internal.npmjs.com","tmp":"tmp/duplicate-package-checker-webpack-plugin-1.2.1.tgz_1489941823203_0.9377970031928271"},"directories":{},"publish_time":1489941823810,"_hasShrinkwrap":false,"_cnpm_publish_time":1489941823810,"_cnpmcore_publish_time":"2021-12-16T13:15:25.389Z"},"1.2.0":{"name":"duplicate-package-checker-webpack-plugin","version":"1.2.0","description":"Webpack plugin that warns you when multiple versions of the same package exist in a build.","main":"./lib/index.js","scripts":{"test":"mocha --compilers js:babel-core/register -r babel-polyfill test/index.js","build":"babel index.js --out-dir lib","prepublish":"npm run build"},"dependencies":{"chalk":"^1.1.3","find-root":"^1.0.0","lodash":"^4.17.4"},"repository":{"type":"git","url":"git+https://github.com/darrenscerri/duplicate-package-checker-webpack-plugin.git"},"keywords":["webpack","plugin"],"author":{"name":"Darren Scerri","email":"darrenscerri@gmail.com"},"license":"MIT","bugs":{"url":"https://github.com/darrenscerri/duplicate-package-checker-webpack-plugin/issues"},"homepage":"https://github.com/darrenscerri/duplicate-package-checker-webpack-plugin#readme","devDependencies":{"babel-cli":"^6.24.0","babel-core":"^6.24.0","babel-polyfill":"^6.23.0","babel-preset-es2015":"^6.24.0","mocha":"^3.2.0","strip-ansi":"^3.0.1","webpack":"^2.2.1"},"gitHead":"8c98b94d1740389bad95bb6708a8b87210e349c1","_id":"duplicate-package-checker-webpack-plugin@1.2.0","_shasum":"02d5636ab5e18d1f13dac90d6fdad8d7ae41d1f6","_from":".","_npmVersion":"4.1.2","_nodeVersion":"7.7.1","_npmUser":{"name":"darrenscerri","email":"darrenscerri@gmail.com"},"dist":{"shasum":"02d5636ab5e18d1f13dac90d6fdad8d7ae41d1f6","size":26174,"noattachment":false,"key":"/duplicate-package-checker-webpack-plugin/-/duplicate-package-checker-webpack-plugin-1.2.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/duplicate-package-checker-webpack-plugin/download/duplicate-package-checker-webpack-plugin-1.2.0.tgz"},"maintainers":[{"name":"darrenscerri","email":""}],"_npmOperationalInternal":{"host":"packages-12-west.internal.npmjs.com","tmp":"tmp/duplicate-package-checker-webpack-plugin-1.2.0.tgz_1489871279071_0.11774841509759426"},"directories":{},"publish_time":1489871281267,"_hasShrinkwrap":false,"_cnpm_publish_time":1489871281267,"_cnpmcore_publish_time":"2021-12-16T13:15:25.696Z"},"1.1.0":{"name":"duplicate-package-checker-webpack-plugin","version":"1.1.0","description":"Webpack plugin that warns you when multiple versions of the same package exist in a build.","main":"index.js","dependencies":{"chalk":"^1.1.3","find-root":"^1.0.0","lodash":"^4.17.4"},"repository":{"type":"git","url":"git+https://github.com/darrenscerri/duplicate-package-checker-webpack-plugin.git"},"keywords":["webpack","plugin"],"author":{"name":"Darren Scerri","email":"darrenscerri@gmail.com"},"license":"MIT","bugs":{"url":"https://github.com/darrenscerri/duplicate-package-checker-webpack-plugin/issues"},"homepage":"https://github.com/darrenscerri/duplicate-package-checker-webpack-plugin#readme","gitHead":"d3eaab39e6a6ae05f465b60d711b505fb18ba92b","_id":"duplicate-package-checker-webpack-plugin@1.1.0","scripts":{},"_shasum":"e4ef377149e5710ffc5304f4441298d1ce041b41","_from":".","_npmVersion":"4.1.2","_nodeVersion":"7.5.0","_npmUser":{"name":"darrenscerri","email":"darrenscerri@gmail.com"},"dist":{"shasum":"e4ef377149e5710ffc5304f4441298d1ce041b41","size":2800,"noattachment":false,"key":"/duplicate-package-checker-webpack-plugin/-/duplicate-package-checker-webpack-plugin-1.1.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/duplicate-package-checker-webpack-plugin/download/duplicate-package-checker-webpack-plugin-1.1.0.tgz"},"maintainers":[{"name":"darrenscerri","email":""}],"_npmOperationalInternal":{"host":"packages-12-west.internal.npmjs.com","tmp":"tmp/duplicate-package-checker-webpack-plugin-1.1.0.tgz_1487958106170_0.6767983301542699"},"directories":{},"publish_time":1487958107901,"_hasShrinkwrap":false,"_cnpm_publish_time":1487958107901,"_cnpmcore_publish_time":"2021-12-16T13:15:25.914Z"},"1.0.1":{"name":"duplicate-package-checker-webpack-plugin","version":"1.0.1","description":"Webpack plugin that warns you when multiple versions of the same package exist in a build.","main":"index.js","dependencies":{"chalk":"^1.1.3","find-root":"^1.0.0","lodash":"^4.17.4"},"repository":{"type":"git","url":"git+https://github.com/darrenscerri/duplicate-package-checker-webpack-plugin.git"},"keywords":["webpack","plugin"],"author":{"name":"Darren Scerri","email":"darrenscerri@gmail.com"},"license":"MIT","bugs":{"url":"https://github.com/darrenscerri/duplicate-package-checker-webpack-plugin/issues"},"homepage":"https://github.com/darrenscerri/duplicate-package-checker-webpack-plugin#readme","gitHead":"0387b3a0078640a1c544c6d5c6b07f555fa6708a","_id":"duplicate-package-checker-webpack-plugin@1.0.1","scripts":{},"_shasum":"e034ee158df61e25c9deea1b8db4faeacac33855","_from":".","_npmVersion":"4.0.2","_nodeVersion":"6.9.1","_npmUser":{"name":"darrenscerri","email":"darrenscerri@gmail.com"},"dist":{"shasum":"e034ee158df61e25c9deea1b8db4faeacac33855","size":2844,"noattachment":false,"key":"/duplicate-package-checker-webpack-plugin/-/duplicate-package-checker-webpack-plugin-1.0.1.tgz","tarball":"http://registry.cnpm.dingdandao.com/duplicate-package-checker-webpack-plugin/download/duplicate-package-checker-webpack-plugin-1.0.1.tgz"},"maintainers":[{"name":"darrenscerri","email":""}],"_npmOperationalInternal":{"host":"packages-18-east.internal.npmjs.com","tmp":"tmp/duplicate-package-checker-webpack-plugin-1.0.1.tgz_1484549173425_0.24883169843815267"},"directories":{},"publish_time":1484549174008,"_hasShrinkwrap":false,"_cnpm_publish_time":1484549174008,"_cnpmcore_publish_time":"2021-12-16T13:15:26.202Z"},"1.0.0":{"name":"duplicate-package-checker-webpack-plugin","version":"1.0.0","description":"Webpack plugin that warns you when multiple versions of the same package exist in a build.","main":"index.js","dependencies":{"ansi-styles":"^2.2.1","ansi-regex":"^2.1.1","escape-string-regexp":"^1.0.5","chalk":"^1.1.3","has-ansi":"^2.0.0","lodash":"^4.17.4","strip-ansi":"^3.0.1","find-root":"^1.0.0","supports-color":"^2.0.0"},"devDependencies":{},"scripts":{"test":"echo \"Error: no test specified\" && exit 1"},"repository":{"type":"git","url":"git+https://github.com/darrenscerri/duplicate-package-checker-webpack-plugin.git"},"keywords":["webpack","plugin"],"author":{"name":"Darren Scerri","email":"darrenscerri@gmail.com"},"license":"MIT","bugs":{"url":"https://github.com/darrenscerri/duplicate-package-checker-webpack-plugin/issues"},"homepage":"https://github.com/darrenscerri/duplicate-package-checker-webpack-plugin#readme","gitHead":"d2656fe1528131a6991f0cd019caa11ce20fea46","_id":"duplicate-package-checker-webpack-plugin@1.0.0","_shasum":"d0d8739a0acbd491848b0f9739188237e66d0bc1","_from":".","_npmVersion":"4.0.2","_nodeVersion":"6.9.1","_npmUser":{"name":"darrenscerri","email":"darrenscerri@gmail.com"},"dist":{"shasum":"d0d8739a0acbd491848b0f9739188237e66d0bc1","size":2928,"noattachment":false,"key":"/duplicate-package-checker-webpack-plugin/-/duplicate-package-checker-webpack-plugin-1.0.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/duplicate-package-checker-webpack-plugin/download/duplicate-package-checker-webpack-plugin-1.0.0.tgz"},"maintainers":[{"name":"darrenscerri","email":""}],"_npmOperationalInternal":{"host":"packages-18-east.internal.npmjs.com","tmp":"tmp/duplicate-package-checker-webpack-plugin-1.0.0.tgz_1484518656722_0.32627514167688787"},"directories":{},"publish_time":1484518657320,"_hasShrinkwrap":false,"_cnpm_publish_time":1484518657320,"_cnpmcore_publish_time":"2021-12-16T13:15:26.421Z"}},"readme":"# ???? duplicate-package-checker-webpack-plugin\n\n[![NPM version][npm-image]][npm-url] [![Downloads][downloads-image]][npm-url] [![Build Status](https://travis-ci.org/darrenscerri/duplicate-package-checker-webpack-plugin.svg?branch=master)](https://travis-ci.org/darrenscerri/duplicate-package-checker-webpack-plugin)\n\nWebpack plugin that warns when your bundle contains multiple versions of the same package.\n\n![duplicate-package-checker-webpack-plugin](https://raw.githubusercontent.com/darrenscerri/duplicate-package-checker-webpack-plugin/master/screenshot.png)\n\n## Why?\n\nIt might be possible that a single package gets included multiple times in a Webpack bundle due to different package versions. This situation may happen without any warning, resulting in extra bloat in your bundle and may lead to hard-to-find bugs.\n\nThis plugin will warn you of such cases to minimize bundle size and avoid bugs caused by unintended duplicate packages.\n\nMotivation: https://github.com/webpack/webpack/issues/385 and https://github.com/webpack/webpack/issues/646.\n\n## Install\n\n```sh\nnpm install duplicate-package-checker-webpack-plugin --save-dev\n```\n\n## Configuration\n\nAdd the plugin to your webpack config:\n\n```js\nvar DuplicatePackageCheckerPlugin = require(\"duplicate-package-checker-webpack-plugin\");\n\nmodule.exports = {\n  plugins: [new DuplicatePackageCheckerPlugin()]\n};\n```\n\nYou can also pass an object with configurable options:\n\n```js\nnew DuplicatePackageCheckerPlugin({\n  // Also show module that is requiring each duplicate package (default: false)\n  verbose: true,\n  // Emit errors instead of warnings (default: false)\n  emitError: true,\n  // Show help message if duplicate packages are found (default: true)\n  showHelp: false,\n  // Warn also if major versions differ (default: true)\n  strict: false,\n  /**\n   * Exclude instances of packages from the results.\n   * If all instances of a package are excluded, or all instances except one,\n   * then the package is no longer considered duplicated and won't be emitted as a warning/error.\n   * @param {Object} instance\n   * @param {string} instance.name The name of the package\n   * @param {string} instance.version The version of the package\n   * @param {string} instance.path Absolute path to the package\n   * @param {?string} instance.issuer Absolute path to the module that requested the package\n   * @returns {boolean} true to exclude the instance, false otherwise\n   */\n  exclude(instance) {\n    return instance.name === \"fbjs\";\n  }\n});\n```\n\n## Strict mode\n\nStrict mode warns when multiple packages with different **major** versions (such as `v1.0.0` vs `v2.0.0`) exist in the bundle.\n\nPackages with different major versions introduce backward incompatible changes and require either interventions on third-party packages or unsafe workarounds (such as resolving differing package major versions dependencies with a single version).\n\nIt is suggested that strict mode is kept enabled since this improves visibility into your bundle and can help in solving and identifying potential issues.\n\n## Resolving duplicate packages in your bundle\n\nThere are multiple ways you can go about resolving duplicate packages in your bundle, the right solution mostly depends on what tools you're using and on each particular case.\n\n### Webpack `resolve.alias`\n\nAdd an entry in [`resolve.alias`](https://webpack.github.io/docs/configuration.html#resolve-alias) which will configure Webpack to route any package references to a single specified path.\n\nFor example, if Lodash is duplicated in your bundle, the following configuration would render all Lodash imports to always refer to the Lodash instance found at `./node_modules/lodash`.\n\n```\nalias: {\n  lodash: path.resolve(__dirname, 'node_modules/lodash'),\n}\n```\n\n**Note: Aliasing packages with different major versions may break your app. Use only if you're sure that all required versions are compatible, at least in the context of your app**\n\n### Yarn `install --flat`\n\nYarn allows [flat installations](https://yarnpkg.com/lang/en/docs/cli/install/#toc-yarn-install-flat) (`yarn install --flat`) which will only allow one version of each package to be installed.\n\n### Yarn resolutions\n\nIf you want more control over your overridden dependency versions and don't feel like using `yarn install --flat`, yarn supports [\"selective version resolution\"](https://yarnpkg.com/lang/en/docs/selective-version-resolutions) which allows you to enforce specific versions for each dependency.\n\n**package.json**\n\n```\n{\n  \"dependencies\": {\n    \"lodash\": \"4.17.0\",\n    \"old-package-with-old-lodash\": \"*\"\n  },\n  \"resolutions\": {\n    \"old-package-with-old-lodash/lodash\": \"4.17.0\"\n  }\n}\n```\n\n### NPM Dedupe\n\nIf you use NPM and not Yarn, you can try running `npm dedupe`. NPM **may** leave multiple versions of the same package installed even if a single version satisfies each [semver](https://docs.npmjs.com/getting-started/semantic-versioning) of all of its dependants.\n\n### Bump your dependencies\n\nIf your project is using an old version of a package and a dependency is using a newer version of that package, consider upgrading your project to use the newer version.\n\n### File issues!\n\nIf your project has a dependency and it's using an outdated version of a package, file an issue and notify the author to update the dependencies. Let's help keep our projects green and our applications secure, performant and bug-free!\n\n## Webpack versions\n\n### Webpack 3.x\n\n`npm install duplicate-package-checker-webpack-plugin@^2.1.0 --save-dev`\n\n### Webpack 4.x\n\n`npm install duplicate-package-checker-webpack-plugin`\n\n[downloads-image]: https://img.shields.io/npm/dt/duplicate-package-checker-webpack-plugin.svg\n[npm-url]: https://www.npmjs.com/package/duplicate-package-checker-webpack-plugin\n[npm-image]: https://img.shields.io/npm/v/duplicate-package-checker-webpack-plugin.svg\n","_attachments":{},"homepage":"https://github.com/darrenscerri/duplicate-package-checker-webpack-plugin#readme","bugs":{"url":"https://github.com/darrenscerri/duplicate-package-checker-webpack-plugin/issues"},"license":"MIT"}