{"_id":"@bpnetguy/webpack-inject-plugin","_rev":"4-72a8bce6ec27f9973a8effec6c086d90","name":"@bpnetguy/webpack-inject-plugin","dist-tags":{"latest":"2.0.4"},"versions":{"2.0.0":{"name":"@bpnetguy/webpack-inject-plugin","version":"2.0.0","description":"A webpack plugin to dynamically inject code into the bundle.","main":"dist/main.js","scripts":{"build":"tsc","build:watch":"tsc --watch","lint":"eslint ./src --ext .js,.ts","test":"jest","test:example":"cd example && webpack && npm run test:example:first && npm run test:example:second","test:example:first":"cd example && cat dist/main.js | grep \"console.log('hello world')\"","test:example:second":"cd example && cat dist/main.js | grep \"console.log('second injected code')\"","test:watch":"npm run test -- --watch","contributors:add":"all-contributors add","contributors:generate":"all-contributors generate","release":"auto shipit -v"},"repository":{"type":"git","url":"git+https://github.com/adierkens/webpack-inject-plugin.git"},"keywords":["webpack","plugin","loader","inject"],"publishConfig":{"registry":"https://registry.npmjs.org"},"private":false,"author":{"name":"Adam Dierkens","email":"adam@dierkens.com"},"license":"MIT","bugs":{"url":"https://github.com/adierkens/webpack-inject-plugin/issues"},"homepage":"https://github.com/adierkens/webpack-inject-plugin#readme","peerDependencies":{"webpack":">=5.0.0"},"devDependencies":{"@types/jest":"^28.1.6","@types/webpack":"^5.28.0","@typescript-eslint/eslint-plugin":"^5.30.7","@typescript-eslint/parser":"^5.30.7","all-contributors-cli":"^6.20.0","auto":"^10.37.2","eslint":"8.20.0","eslint-config-prettier":"8.5.0","eslint-config-xo":"0.41.0","eslint-plugin-no-explicit-type-exports":"^0.12.1","eslint-plugin-prettier":"^4.2.1","husky":"^8.0.1","jest":"^28.1.3","lint-staged":"^13.0.3","prettier":"^2.7.1","ts-jest":"^28.0.7","tsutils":"~3.21.0","typescript":"^4.7.4","webpack":"^5.73.0","webpack-cli":"^4.10.0"},"lint-staged":{"*.{js,json,css,md}":["prettier --write","git add"],"*.{ts,tsx}":["prettier --parser typescript --write","npm run lint","git add"]},"prettier":{"singleQuote":true},"gitHead":"8a074cd3f452e42e136d13ed2069f59bc1286448","_id":"@bpnetguy/webpack-inject-plugin@2.0.0","_nodeVersion":"16.16.0","_npmVersion":"8.11.0","dist":{"integrity":"sha512-pDO5ZLL8UrN4SQJeNYTxYd6MYrLVarFvw9MhPLip8Bqogbh304+qlKM+zr0WbYdKZh4/lfVhmRGxeKvM6agVZA==","shasum":"140e91a8d970211b06adf939c0d352b1a195ecb8","tarball":"https://registry.npmjs.org/@bpnetguy/webpack-inject-plugin/-/webpack-inject-plugin-2.0.0.tgz","fileCount":5,"unpackedSize":13363,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIHJSp0CsCSfn4KBdt3e0OBqJsEa6+E2kLFchjTsGpBjVAiEAtaUueT5k5SG7+sryDWG1AkohyHJ1/rAWnt9jtT0QmRk="}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJi2OTTACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmpTSg//bOkKEf7rbCpgrmXuFM1cCNDdz+mW4ltl2OVLzgVB/d9MDk2W\r\n1diEbGkvrv1eVkBplGI/glRdMI0obE3PGY4S/m+Gj/JRON1/Y6nQmJzOXNnU\r\nG7ZSWMAKL3NVSDl/zo4N9JbveMbU1Rlg3/kxcu0Ob2YhKkJAS2LUVmD6kLue\r\nZfn6U5V3cCJvhksUMfUjAuRG++BUdTkMNkirvoKjKw2FgEVNmmLGdyV+CaQ2\r\ns4WM1lKoybEw8lVtDQcv1ewojuiXlbCnD96agKlIPcOYiwczgSCGB0z7JiRP\r\n8YrAaScbTtojCvccMAWNVin0j0DTMljzRoJUZnPGsL02KsH94p9h6OqsyKk7\r\nikaMUcLQx66VDhrs+uE3OXQ9jG57qxlVfB5QwBixGJEgnuiEukZHoPTp5Upy\r\nAEwNIYFbnwY97cLkLfFHdoNL8LqqUeNhn7ltG8o+5iXy/nU9xujqW8EsambL\r\nRrBhi1UkJiCUIkq9/QD+VsDoE6yfNHC8CWFVg/mQL93GVgK508YPKiUEUTu5\r\nds9+FbKD4UmdSRMzqXvcQGp8hBJwx8Ngz2kE27rYQuyBW4dYP0ZoJwyW/OpR\r\nd7wS4sEp3nEkKEMKT9N2X1lIdgHqBdspRpPnyxMlfYZ/j92TV6KpWVhu4RRA\r\nXulk88f7+oXE8NoxcPb5HqTGZcBdyTpnGyA=\r\n=f8F2\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"bphan","email":"binh.phan@gmail.com"},"directories":{},"maintainers":[{"name":"bphan","email":"binh.phan@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/webpack-inject-plugin_2.0.0_1658381523179_0.08295458200039585"},"_hasShrinkwrap":false},"2.0.1":{"name":"@bpnetguy/webpack-inject-plugin","version":"2.0.1","description":"A webpack plugin to dynamically inject code into the bundle.","main":"dist/main.js","scripts":{"build":"tsc","build:watch":"tsc --watch","lint":"eslint ./src --ext .js,.ts","test":"jest","test:example":"cd example && webpack && npm run test:example:first && npm run test:example:second","test:example:first":"cd example && cat dist/main.js | grep \"console.log('hello world')\"","test:example:second":"cd example && cat dist/main.js | grep \"console.log('second injected code')\"","test:watch":"npm run test -- --watch","contributors:add":"all-contributors add","contributors:generate":"all-contributors generate","release":"auto shipit -v"},"repository":{"type":"git","url":"git+https://github.com/bpnetguy/webpack-inject-plugin.git"},"keywords":["webpack","plugin","loader","inject"],"publishConfig":{"registry":"https://registry.npmjs.org"},"private":false,"author":{"name":"Adam Dierkens","email":"adam@dierkens.com"},"license":"MIT","bugs":{"url":"https://github.com/adierkens/webpack-inject-plugin/issues"},"homepage":"https://github.com/adierkens/webpack-inject-plugin#readme","peerDependencies":{"webpack":">=5.0.0"},"devDependencies":{"@types/jest":"^28.1.6","@types/webpack":"^5.28.0","@typescript-eslint/eslint-plugin":"^5.30.7","@typescript-eslint/parser":"^5.30.7","all-contributors-cli":"^6.20.0","auto":"^10.37.2","eslint":"8.20.0","eslint-config-prettier":"8.5.0","eslint-config-xo":"0.41.0","eslint-plugin-no-explicit-type-exports":"^0.12.1","eslint-plugin-prettier":"^4.2.1","husky":"^8.0.1","jest":"^28.1.3","lint-staged":"^13.0.3","prettier":"^2.7.1","ts-jest":"^28.0.7","tsutils":"~3.21.0","typescript":"^4.7.4","webpack":"^5.73.0","webpack-cli":"^4.10.0"},"lint-staged":{"*.{js,json,css,md}":["prettier --write","git add"],"*.{ts,tsx}":["prettier --parser typescript --write","npm run lint","git add"]},"prettier":{"singleQuote":true},"gitHead":"4a420218f1dd81bbc804d299e85bf0b8016dbc9a","_id":"@bpnetguy/webpack-inject-plugin@2.0.1","_nodeVersion":"16.16.0","_npmVersion":"8.11.0","dist":{"integrity":"sha512-RHYrFLyZcrD2VFksI99De4kkNR2nY9aHMJoRkklJr3Hr4KYTxAKa25d3u+pFUHk7HJHn/ckBXC7V2dBpoENhPw==","shasum":"bafd5204c8ab6ccab062c519e6da2667460f1269","tarball":"https://registry.npmjs.org/@bpnetguy/webpack-inject-plugin/-/webpack-inject-plugin-2.0.1.tgz","fileCount":5,"unpackedSize":13359,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQC0TUFWyAPWwX/06UU0G82uslMKZRrGHVY2yau06O8q9gIgGiOCPxnVpTT0BtoK7kbIMGZl0Fbk9UUhOm7FcNqGvJc="}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJi2OWDACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmoC6g/+K/XpHMGYn2MqNZPtqAacgeSIUVYXAXkCctdlPUM0ZWI2PWXB\r\nVHFYj4D+83Mg9Ha5tZQtxuBlB712xbb7h7mUVIrtNP40L354Y/oJf+dpQMId\r\nOQXm7rCZSFNVu3BSY2O1zHMaAk0cCr63zv6vOUhOpY1LqLknW3J2ZlYM5tr0\r\n/fpgpslGZP/O5BiCGyWdhG1mAIV5t6J1XmgI7Lyr3c2cGsjuuIyDnds9twnf\r\n7C4aEENsx/1RLr0V/8fIaZ1Bp5ISCAfkhyysMKK77fH/66eZhNP0RF1MCIK/\r\n26Fmd6CcNEttXoag0NiFc+RP9vJtqZuV4pG8HxQ087dmo9poT6g0p2aldiEa\r\nWqil7qrEsnq4Ss8d3zlvBoSvt2IHferjqPmgNHyNvmNp3mG2+Fyuft8jRkat\r\ntXSN6whNYTacA8llvWApCwpQfe4Nasp3eR1mnWF5ghymW3Xfe7aNZFJnANwf\r\nz34zZWqRRTP7K1IyxBuehwefWnjb6w27vcl7LG3NNfad5h0JpXqmOE5OosDH\r\nmmikRU6oljl8F95f72/MorsTW+332uSSkDKWM/axSoPGrLcCKIXdYocsSkP6\r\nFsbeAdDGqI2y60ITJ5KJFAoyCxrBuVVHUtFAQnCqC3f1q7Gth+O9uCszztLy\r\nKaKsVyVjEZOU1ZVgHj5pXAtcGxe2vsldWWI=\r\n=0po0\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"bphan","email":"binh.phan@gmail.com"},"directories":{},"maintainers":[{"name":"bphan","email":"binh.phan@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/webpack-inject-plugin_2.0.1_1658381699131_0.10056910924111206"},"_hasShrinkwrap":false},"2.0.2":{"name":"@bpnetguy/webpack-inject-plugin","version":"2.0.2","description":"A webpack plugin to dynamically inject code into the bundle.","main":"dist/main.js","scripts":{"build":"tsc","build:watch":"tsc --watch","lint":"eslint ./src --ext .js,.ts","test":"jest","test:example":"cd example && webpack && npm run test:example:first && npm run test:example:second","test:example:first":"cd example && cat dist/main.js | grep \"console.log('hello world')\"","test:example:second":"cd example && cat dist/main.js | grep \"console.log('second injected code')\"","test:watch":"npm run test -- --watch","contributors:add":"all-contributors add","contributors:generate":"all-contributors generate","release":"auto shipit -v"},"repository":{"type":"git","url":"git+https://github.com/bpnetguy/webpack-inject-plugin.git"},"keywords":["webpack","plugin","loader","inject"],"publishConfig":{"registry":"https://registry.npmjs.org"},"private":false,"author":{"name":"Adam Dierkens","email":"adam@dierkens.com"},"license":"MIT","bugs":{"url":"https://github.com/adierkens/webpack-inject-plugin/issues"},"homepage":"https://github.com/adierkens/webpack-inject-plugin#readme","peerDependencies":{"webpack":">=5.0.0"},"devDependencies":{"@types/jest":"^28.1.6","@types/webpack":"^5.28.0","@typescript-eslint/eslint-plugin":"^5.30.7","@typescript-eslint/parser":"^5.30.7","all-contributors-cli":"^6.20.0","auto":"^10.37.2","eslint":"8.20.0","eslint-config-prettier":"8.5.0","eslint-config-xo":"0.41.0","eslint-plugin-no-explicit-type-exports":"^0.12.1","eslint-plugin-prettier":"^4.2.1","husky":"^8.0.1","jest":"^28.1.3","lint-staged":"^13.0.3","prettier":"^2.7.1","ts-jest":"^28.0.7","tsutils":"~3.21.0","typescript":"^4.7.4","webpack":"^5.73.0","webpack-cli":"^4.10.0"},"lint-staged":{"*.{js,json,css,md}":["prettier --write","git add"],"*.{ts,tsx}":["prettier --parser typescript --write","npm run lint","git add"]},"prettier":{"singleQuote":true},"types":"./dist/main.d.ts","gitHead":"cb99049432868a60fc1ae49aab4d287a96217b3a","_id":"@bpnetguy/webpack-inject-plugin@2.0.2","_nodeVersion":"16.16.0","_npmVersion":"8.11.0","dist":{"integrity":"sha512-zpdxKxgp+72xkCXDGof21GD5xn+NpvqWzPNuOCEueMeTAdmPrBW0Y7a2yYUrS0zbAX16Nji0jUY0ufE8m/LnQQ==","shasum":"b67f88a78200042f038c759dcf3293c468247007","tarball":"https://registry.npmjs.org/@bpnetguy/webpack-inject-plugin/-/webpack-inject-plugin-2.0.2.tgz","fileCount":14,"unpackedSize":31072,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCdwq9j6cQ9XmTAqZoeBbaY1WtFALVSz+8YBdYju3ZHfwIgckzcFdLSD+9IBWrIjLEl0+aIX8fwbn7PpjCRN6ckQJk="}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJi2OkWACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmrEgBAAgm/YcoRVgxojqfjcpewFTjpT51txK1Tv1+ev2zqZ1KWkR6bt\r\n2MN/nr4mM9uvhuP3r8CZwZzJINgEyPyWgxHgAcz48IGtlt4bPtM/sCV0Av8Q\r\nWiMIBJyJGvugcTL2+wepBSQJWBjL/35SJjyyT6XThRMSTFRL40QcUMfl/76I\r\nJ688ySj+93DZleGCgUy8kIw2xV6AGQYnckSzZ8MBpyCWLFNyrHgVBW7r39RK\r\npRLgnuS2V2sSN0SMMxKVfRviSXPYC8C3xFcuM599DXeq4z9Iy0ZDDoHeOY3n\r\nJaYVeRg1oDjTwYBAw29CE+rQJji7+gZRHFf4aikXKeEyGx7ESxE+E0Cj4wKJ\r\nlMPBZzFvhRU4WLdD6pOiVeLlxFDV7vumbIaDd42BKih3yk6KntmsZ6UwlIfz\r\ncTs1HoHFJi3Vk1D6K8pBOG5kfIEgbyBsK5+u3ByQfi9FCqRWcjioQQik1dDo\r\nlK56znsalCL8tjomP85e3PWtyJpwxRZJjPlSjOoHtSOtaWLuxUHMgHSzPGol\r\nZinn4VE/Y6Kad2Mi7x5roqvQ8t2yulrvN0LylYjyqnxb/bVPE6PMsagr0ogJ\r\nlPKc6AB9Dagzp1ZunHUcTP0oo42iQGJQXDTiFIxBSUryAk6lB6gX0Sz61kCZ\r\nXLBCn0Cm8xp9rWF5+JeLogCpWCGonXIaXs4=\r\n=OyFD\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"bphan","email":"binh.phan@gmail.com"},"directories":{},"maintainers":[{"name":"bphan","email":"binh.phan@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/webpack-inject-plugin_2.0.2_1658382614009_0.9840372781271127"},"_hasShrinkwrap":false},"2.0.3":{"name":"@bpnetguy/webpack-inject-plugin","version":"2.0.3","description":"A webpack plugin to dynamically inject code into the bundle.","main":"dist/main.js","scripts":{"build":"tsc","build:watch":"tsc --watch","lint":"eslint ./src --ext .js,.ts","test":"jest","test:example":"cd example && webpack && npm run test:example:first && npm run test:example:second","test:example:first":"cd example && cat dist/main.js | grep \"console.log('hello world')\"","test:example:second":"cd example && cat dist/main.js | grep \"console.log('second injected code')\"","test:watch":"npm run test -- --watch","contributors:add":"all-contributors add","contributors:generate":"all-contributors generate","release":"auto shipit -v"},"repository":{"type":"git","url":"git+https://github.com/bpnetguy/webpack-inject-plugin.git"},"keywords":["webpack","plugin","loader","inject"],"publishConfig":{"registry":"https://registry.npmjs.org"},"private":false,"author":{"name":"Adam Dierkens","email":"adam@dierkens.com"},"license":"MIT","bugs":{"url":"https://github.com/adierkens/webpack-inject-plugin/issues"},"homepage":"https://github.com/adierkens/webpack-inject-plugin#readme","peerDependencies":{"webpack":">=5.0.0"},"devDependencies":{"@types/jest":"^28.1.6","@types/webpack":"^5.28.0","@typescript-eslint/eslint-plugin":"^5.30.7","@typescript-eslint/parser":"^5.30.7","all-contributors-cli":"^6.20.0","auto":"^10.37.2","eslint":"8.20.0","eslint-config-prettier":"8.5.0","eslint-config-xo":"0.41.0","eslint-plugin-no-explicit-type-exports":"^0.12.1","eslint-plugin-prettier":"^4.2.1","husky":"^8.0.1","jest":"^28.1.3","lint-staged":"^13.0.3","prettier":"^2.7.1","ts-jest":"^28.0.7","tsutils":"~3.21.0","typescript":"^4.7.4","webpack":"^5.73.0","webpack-cli":"^4.10.0"},"lint-staged":{"*.{js,json,css,md}":["prettier --write","git add"],"*.{ts,tsx}":["prettier --parser typescript --write","npm run lint","git add"]},"prettier":{"singleQuote":true},"types":"./dist/main.d.ts","gitHead":"66ae3e6499eed48810288c1a3b2f69c148427334","_id":"@bpnetguy/webpack-inject-plugin@2.0.3","_nodeVersion":"16.16.0","_npmVersion":"8.11.0","dist":{"integrity":"sha512-yzgE+tfiEW3TxqxjewRO16yA1+zo10vRFLSlcv21ib8u/GRUq/vGYu/MlrvdAGm0oxZckghS1vOggBGOvPKh8Q==","shasum":"357f4288d2bd887052449e0cd1319a11d7587b0f","tarball":"https://registry.npmjs.org/@bpnetguy/webpack-inject-plugin/-/webpack-inject-plugin-2.0.3.tgz","fileCount":14,"unpackedSize":31055,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCJhHPXhL0cEfUw1sVl1Em1GqfDlYfYb7y3OWpAki1B2AIhAPYNFjxw1LvC18hbsEccl725AJG9pZ3aWRP6Gqf09OaU"}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJi2xfhACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2Vmr0wA/+NBgVRnI5iGvEMhc2RerRgTx8TqsvqImw1cggDpvbmFVqN4OC\r\nz+ZB7GELW+K3c/nF418uuYhTf0P77W9CwEoBxlebmPJHFl9L+ETrf/Dl8pT5\r\nGVg/N5zAzJ+zvxRJcRtWfIgZ8QE9h9j+COkRuDg9XfXWqJqQHP+I9OVIWSW2\r\nm+pC4P8nC34xT8u1b9Da/Sfd5hMbGir9FNGrNpLPbECQkApaLvO2NCBRbBYF\r\np29hxdH0jO0/8XBT57NYG+zbyMH+yM3+WcAJBsufEF2SkxqucW1nM6Qak3F/\r\n/fYB/IC6tf5nsmJjRgfugqZuzqFB+Ez4HbJOcNOjY1ltCtYmHAXB5y3D5qVX\r\nrAItimDjyje1Xbs0Ym57/9whPP3Xg6UGCcXhH2nKsiS48d9l5KqZqm6Sa6FH\r\naP4r0ys/inPeCtSBxC0ffjOVycJPN4WITX9DZgeGSa/XxYgSVoDv1AOneJWP\r\njIGBXqvgWc5/SSMsT/lnmmgk4RiZ7UMGGqbVvHEgI80Eo4i0ZC4ZXZu+18nT\r\n68o/kPrRcgEpnTUxh2+hihR984hB+BCYXcc58f/NGBC6H+U9j1FjMx7euhdN\r\nuQPWwTjDaBft8ciS2+UzluKJACLycEUNG+iAK4Ko0BWy5l1xyz/sGMlKlnWL\r\nz8Es5kOVLmuxBo7wdmrvbRaC9cM5Qrhkyz0=\r\n=ndu+\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"bphan","email":"binh.phan@gmail.com"},"directories":{},"maintainers":[{"name":"bphan","email":"binh.phan@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/webpack-inject-plugin_2.0.3_1658525665113_0.8279172240770123"},"_hasShrinkwrap":false},"2.0.4":{"name":"@bpnetguy/webpack-inject-plugin","version":"2.0.4","description":"A webpack plugin to dynamically inject code into the bundle.","main":"dist/main.js","scripts":{"build":"tsc","build:watch":"tsc --watch","lint":"eslint ./src --ext .js,.ts","test":"jest","test:example":"cd example && webpack && npm run test:example:first && npm run test:example:second","test:example:first":"cd example && cat dist/main.js | grep \"console.log('hello world')\"","test:example:second":"cd example && cat dist/main.js | grep \"console.log('second injected code')\"","test:watch":"npm run test -- --watch","contributors:add":"all-contributors add","contributors:generate":"all-contributors generate","release":"auto shipit -v"},"repository":{"type":"git","url":"git+https://github.com/bpnetguy/webpack-inject-plugin.git"},"keywords":["webpack","plugin","loader","inject"],"publishConfig":{"registry":"https://registry.npmjs.org"},"private":false,"author":{"name":"Adam Dierkens","email":"adam@dierkens.com"},"license":"MIT","bugs":{"url":"https://github.com/adierkens/webpack-inject-plugin/issues"},"homepage":"https://github.com/adierkens/webpack-inject-plugin#readme","peerDependencies":{"webpack":">=5.0.0"},"devDependencies":{"@types/jest":"^28.1.6","@types/webpack":"^5.28.0","@typescript-eslint/eslint-plugin":"^5.30.7","@typescript-eslint/parser":"^5.30.7","all-contributors-cli":"^6.20.0","auto":"^10.37.2","eslint":"8.20.0","eslint-config-prettier":"8.5.0","eslint-config-xo":"0.41.0","eslint-plugin-no-explicit-type-exports":"^0.12.1","eslint-plugin-prettier":"^4.2.1","husky":"^8.0.1","jest":"^28.1.3","lint-staged":"^13.0.3","prettier":"^2.7.1","ts-jest":"^28.0.7","tsutils":"~3.21.0","typescript":"^4.7.4","webpack":"^5.73.0","webpack-cli":"^4.10.0"},"lint-staged":{"*.{js,json,css,md}":["prettier --write","git add"],"*.{ts,tsx}":["prettier --parser typescript --write","npm run lint","git add"]},"prettier":{"singleQuote":true},"types":"./dist/main.d.ts","gitHead":"4fe71e61adc249e67a57aeb76de8f9e6032fbaec","_id":"@bpnetguy/webpack-inject-plugin@2.0.4","_nodeVersion":"16.16.0","_npmVersion":"8.11.0","dist":{"integrity":"sha512-0dNtNKJZLktxpzSJEP9pWYRMkWUh5lb2DjIDn2GXQs4uBLKtVRy+9KqYNLVB4Zr80EwRfANt1+yEwpDPUK2Lxw==","shasum":"8d58d507b245c675688a72127018d57d341995fe","tarball":"https://registry.npmjs.org/@bpnetguy/webpack-inject-plugin/-/webpack-inject-plugin-2.0.4.tgz","fileCount":14,"unpackedSize":31022,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIEdP0paFASWjJ1SpSOOa7NSpbA/SnGmzmUdGXuxmAKvFAiEA7Yg1GPuXA+XF0xOVYXq6FGdcXsvEIgCpngYvDlpCKnQ="}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJi2zc8ACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmrN/w/+MEHyrH2/pKVwWcDyQDmbbYFV2oLyHvGsyuQBl1iXureQi3Yr\r\nwEACnMi77GSoxUKtoDScoNRgcQZJn/BC77p4/k6eRGEQATEcLoM9vQx5Lggk\r\nlug0g9p0B3prHWeOcqZM2lMfPwa8wN6PnBS/fR1yby8Cc48Ns6NrJGAiMe/X\r\nhM3MRugzxrRaFncGHeSpP4iZjTa/EQQESYPkZ6pJ426NTcm4IMqKNo9pLgOg\r\nKwBA3S347zvsgkhVUEDa7nAzCPP54qkDecMPSDJU5llZnGZlvKuYXlO5uTnT\r\ncTdu4i1vKH7DsdziKZW9jMJKNIYSk9/6+TQ9wcp7baGenwINPoPFfSPT4Kgr\r\nA7qJ9V0QRbiHB0X1Ss7TH+3lBjcqJbWDQJG7ItzlHj2am4J4JwY2r+hC5r0h\r\nZJtW7+VFy4p8RHXeUeaz7ZMORo0usVRxPVpfzwdfP1MY8LDXLIlCwEOz5H2N\r\nT7oKmbnbMslQ9fQpos5aXifPiqpg2gEk37Q+x9p5+J22jBxCUC5dsscfRs8A\r\nUwtWmTGrxxhm8UkUfsyEgBkRRyD9lKfewOIOG0cBNcjK5itCjQ6CDco49H2j\r\n38sT2cxpvi92CdUgfsS8QuPk6hNdoSADcU7SL39I12x8KOZ45Vs9BXZdkMaM\r\n81RR0DsH5jzCpYr0gyToiGjOUSaWXRjWDfQ=\r\n=tAs8\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"bphan","email":"binh.phan@gmail.com"},"directories":{},"maintainers":[{"name":"bphan","email":"binh.phan@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/webpack-inject-plugin_2.0.4_1658533691950_0.7481231196714138"},"_hasShrinkwrap":false}},"time":{"created":"2022-07-21T05:32:03.114Z","2.0.0":"2022-07-21T05:32:03.354Z","modified":"2022-07-22T23:48:12.184Z","2.0.1":"2022-07-21T05:34:59.312Z","2.0.2":"2022-07-21T05:50:14.284Z","2.0.3":"2022-07-22T21:34:25.395Z","2.0.4":"2022-07-22T23:48:12.102Z"},"maintainers":[{"name":"bphan","email":"binh.phan@gmail.com"}],"description":"A webpack plugin to dynamically inject code into the bundle.","homepage":"https://github.com/adierkens/webpack-inject-plugin#readme","keywords":["webpack","plugin","loader","inject"],"repository":{"type":"git","url":"git+https://github.com/bpnetguy/webpack-inject-plugin.git"},"author":{"name":"Adam Dierkens","email":"adam@dierkens.com"},"bugs":{"url":"https://github.com/adierkens/webpack-inject-plugin/issues"},"license":"MIT","readme":"# webpack-inject-plugin\n\n[![All Contributors](https://img.shields.io/badge/all_contributors-3-orange.svg?style=flat-square)](#contributors)\n[![CircleCI](https://circleci.com/gh/adierkens/webpack-inject-plugin/tree/master.svg?style=svg)](https://circleci.com/gh/adierkens/webpack-inject-plugin/tree/master) [![npm version](https://badge.fury.io/js/webpack-inject-plugin.svg)](https://badge.fury.io/js/webpack-inject-plugin) [![npm](https://img.shields.io/npm/dt/webpack-inject-plugin.svg)](https://www.npmjs.com/package/webpack-inject-plugin) [![XO code style](https://img.shields.io/badge/code_style-XO-5ed9c7.svg)](https://github.com/xojs/xo) [![codecov](https://codecov.io/gh/adierkens/webpack-inject-plugin/branch/master/graph/badge.svg)](https://codecov.io/gh/adierkens/webpack-inject-plugin)\n\nA webpack plugin to dynamically inject code into the bundle.\n\nYou can check out an example [here](./example)\n\n## Usage\n\n```javascript\n# webpack.config.js\n\nconst InjectPlugin = require('webpack-inject-plugin').default;\n\n\nmodule.exports = {\n    // Other stuff in your webpack config\n\n    plugins: [\n        new InjectPlugin(function() {\n            return \"console.log('Hello World');\"\n        });\n    ]\n};\n```\n\nThis webpack plugin accepts a single argument, a function to which returns the code to inject into the bundle.\n\nThe function is called using the same context as the loader, so everything [here](https://webpack.js.org/api/loaders/#the-loader-context) applies.\n\nYou can either return the raw content to load, or a `Promise` which resolves to the content, if you wish to be async.\n\n\n### options\n\nYou can also pass in more options:\n\n```javascript\nimport InjectPlugin, { ENTRY_ORDER } from 'webpack-inject-plugin';\n\nnew InjectPlugin(loader, {\n    entryName: 'entry name',         //  Limit the injected code to only the entry w/ this name\n    entryOrder: ENTRY_ORDER.First    //  Make the injected code be the first entry point\n                ENTRY_ORDER.Last     //  Make the injected code be the last entry point\n                ENTRY_ORDER.NotLast  //  Make the injected code be second to last. (The last entry module is the API of the bundle. Useful when you don't want to override that.) This is the default.\n});\n```\n\n### options.entryName\n\n> `string` | `function`\n\nA filter for which entries to inject code into.\nIf a `string`, only an entry with the same name will be used.\nIf a `function`, it will be called with each entry name -- and only inject code for each _truthy_ response\n\nex.\n\n```javascript\nnew InjectPlugin(loader, {\n  // This will inject code into every entry that's not named `foo`\n  entryName: key => key !== 'foo'\n});\n```\n\n### options.loaderID\n\n> `string`\n\nAn optional uniquie ID for the injected loader. If omitted, one will automatically be generated for you. \n\n## Additional Use Cases\n\nThough this could be used as a standalone plugin, you could also use it to create other webpack plugins, such as injecting code into the build based on a config file.\n\nExample:\n\n```javascript\nimport InjectPlugin from 'webpack-inject-plugin';\n\nfunction customLoader(options) {\n  return () => {\n    return \"console.log('My custom code generated from `options`');\";\n  };\n}\n\nexport default class MyPlugin {\n  constructor(options) {\n    this.options = options;\n  }\n\n  apply(compiler) {\n    new InjectPlugin(customLoader(this.options)).apply(compiler);\n  }\n}\n```\n\n## Contributors\n\nThanks goes to these wonderful people ([emoji key](https://github.com/kentcdodds/all-contributors#emoji-key)):\n\n<!-- ALL-CONTRIBUTORS-LIST:START - Do not remove or modify this section -->\n<!-- prettier-ignore -->\n| [<img src=\"https://avatars1.githubusercontent.com/u/13004162?v=4\" width=\"100px;\" alt=\"Adam Dierkens\"/><br /><sub><b>Adam Dierkens</b></sub>](https://adamdierkens.com)<br />[💻](https://github.com/adierkens/webpack-inject-plugin/commits?author=adierkens \"Code\") | [<img src=\"https://avatars1.githubusercontent.com/u/1654019?v=4\" width=\"100px;\" alt=\"YellowKirby\"/><br /><sub><b>YellowKirby</b></sub>](https://github.com/YellowKirby)<br />[💻](https://github.com/adierkens/webpack-inject-plugin/commits?author=YellowKirby \"Code\") | [<img src=\"https://avatars2.githubusercontent.com/u/5383506?v=4\" width=\"100px;\" alt=\"Chvin\"/><br /><sub><b>Chvin</b></sub>](https://github.com/chvin)<br />[💻](https://github.com/adierkens/webpack-inject-plugin/commits?author=chvin \"Code\") |\n| :---: | :---: | :---: |\n<!-- ALL-CONTRIBUTORS-LIST:END -->\n\nThis project follows the [all-contributors](https://github.com/kentcdodds/all-contributors) specification. Contributions of any kind welcome!\n","readmeFilename":"README.md"}