{"_id":"csp-html-webpack-plugin","_rev":"24-471f0e1484e2d2ac30bd43d221258cd8","name":"csp-html-webpack-plugin","description":"A plugin which, when combined with HTMLWebpackPlugin, adds CSP tags to the HTML output","dist-tags":{"latest":"5.1.0"},"versions":{"1.0.0":{"name":"csp-html-webpack-plugin","version":"1.0.0","description":"A plugin which, when combined with HTMLWebpackPlugin, adds CSP tags to the HTML output","main":"plugin.js","scripts":{"codecov":"npm run codecov:clean && npm run codecov:generate && npm run codecov:upload","codecov:clean":"rm -rf ./coverage","codecov:generate":"istanbul cover ./node_modules/jasmine/bin/jasmine.js spec/plugin.spec.js","codecov:upload":"codecov --token=252086ef-c14d-4f29-ab36-720265249fa2","eslint":"eslint .","eslint:fix":"eslint . --fix","jasmine":"jasmine ./spec/plugin.spec.js","test":"npm run eslint && npm run jasmine && npm run codecov"},"repository":{"type":"git","url":"git@slack-github.com:anuj/csp-html-webpack-plugin.git"},"keywords":["webpack","csp","plugin","html"],"author":{"name":"Anuj Nair"},"license":"MIT","dependencies":{"cheerio":"^1.0.0-rc.2","lodash":"^4.17.4"},"peerDependencies":{"webpack":"^2 || ^3","html-webpack-plugin":"^2"},"devDependencies":{"codecov":"^3.0.0","eslint":"^4.15.0","eslint-config-airbnb-base":"^12.1.0","eslint-config-prettier":"^2.9.0","eslint-plugin-import":"^2.8.0","eslint-plugin-prettier":"^2.4.0","html-webpack-plugin":"^2.30.1","istanbul":"^0.4.5","jasmine":"^2.8.0","prettier":"^1.10.1","rimraf":"^2.6.2","webpack":"^3.10.0"},"gitHead":"2366b7ed8e61128f47c4b4a43503f0f9bccbfecb","_id":"csp-html-webpack-plugin@1.0.0","_npmVersion":"5.4.2","_nodeVersion":"8.6.0","_npmUser":{"name":"anujrnair","email":"anuj.r.nair@gmail.com"},"dist":{"integrity":"sha512-u4Ywf0OgZkUs+koeFMA6dvJZW7eGMx4r3CLkYIuRdEbfuEuZ2H+YUsXMGVI+6ytZFuIuLdTOYViBy7+xldcmTg==","shasum":"716a56dce3ac6ec79b660d1b15b368bba84fcbb4","tarball":"https://registry.npmjs.org/csp-html-webpack-plugin/-/csp-html-webpack-plugin-1.0.0.tgz","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDOVQ3Uxzzz146Sai/ohjhwNwduuQJqZgK+uCszOOgKOgIhALrD5duYAtDJXL+TdvNU1UDEstMQcsU7g87BYa7LVxCU"}]},"maintainers":[{"name":"anujrnair","email":"anuj.r.nair@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/csp-html-webpack-plugin-1.0.0.tgz_1516300782777_0.8794187845196575"},"directories":{}},"1.0.1":{"name":"csp-html-webpack-plugin","version":"1.0.1","description":"A plugin which, when combined with HTMLWebpackPlugin, adds CSP tags to the HTML output","main":"plugin.js","scripts":{"codecov":"npm run codecov:clean && npm run codecov:generate && npm run codecov:upload","codecov:clean":"rm -rf ./coverage","codecov:generate":"istanbul cover ./node_modules/jasmine/bin/jasmine.js spec/plugin.spec.js","codecov:upload":"codecov --token=252086ef-c14d-4f29-ab36-720265249fa2","eslint":"eslint .","eslint:fix":"eslint . --fix","jasmine":"jasmine ./spec/plugin.spec.js","test":"npm run eslint && npm run jasmine && npm run codecov"},"repository":{"type":"git","url":"git@slack-github.com:anuj/csp-html-webpack-plugin.git"},"keywords":["webpack","csp","plugin","html"],"author":{"name":"Anuj Nair"},"license":"MIT","dependencies":{"cheerio":"^1.0.0-rc.2","lodash":"^4.17.4"},"peerDependencies":{"webpack":"^2 || ^3","html-webpack-plugin":"^2"},"devDependencies":{"codecov":"^3.0.0","eslint":"^4.15.0","eslint-config-airbnb-base":"^12.1.0","eslint-config-prettier":"^2.9.0","eslint-plugin-import":"^2.8.0","eslint-plugin-prettier":"^2.4.0","html-webpack-plugin":"^2.30.1","istanbul":"^0.4.5","jasmine":"^2.8.0","prettier":"^1.10.1","rimraf":"^2.6.2","webpack":"^3.10.0"},"gitHead":"5db58f8fd4f3aea93c307a4b01c43cf08f1ffa4b","_id":"csp-html-webpack-plugin@1.0.1","_npmVersion":"5.4.2","_nodeVersion":"8.6.0","_npmUser":{"name":"anujrnair","email":"anuj.r.nair@gmail.com"},"dist":{"integrity":"sha512-0a2VpKVrsQDjY/LcIvPfcEV+xJCqzhpJoUgcTdWKeoFMt4lhzN2AMv0bEetia9rIp1UqRkxkhtz8BKlWMiDW5Q==","shasum":"cec4d5c6eef1a930cd8bffc0360aa0f8aafbad76","tarball":"https://registry.npmjs.org/csp-html-webpack-plugin/-/csp-html-webpack-plugin-1.0.1.tgz","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIEN0xVoJ8cDrb/pzKJU3wBtQVegRGuMo//cBh/239oMFAiBHSKO6I3CVEY/ndi+5Kh74sGSqpn1Cu7UUvd7PPo2Iow=="}]},"maintainers":[{"name":"anujrnair","email":"anuj.r.nair@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/csp-html-webpack-plugin-1.0.1.tgz_1516302443608_0.8443214350845665"},"directories":{}},"1.1.0":{"name":"csp-html-webpack-plugin","version":"1.1.0","description":"A plugin which, when combined with HTMLWebpackPlugin, adds CSP tags to the HTML output","main":"plugin.js","scripts":{"codecov":"npm run codecov:clean && npm run codecov:generate && npm run codecov:upload","codecov:clean":"rm -rf ./coverage","codecov:generate":"istanbul cover ./node_modules/jasmine/bin/jasmine.js spec/plugin.spec.js","codecov:upload":"codecov --token=252086ef-c14d-4f29-ab36-720265249fa2","eslint":"eslint .","eslint:fix":"eslint . --fix","jasmine":"jasmine ./spec/plugin.spec.js","test":"npm run eslint && npm run jasmine && npm run codecov"},"repository":{"type":"git","url":"git@slack-github.com:anuj/csp-html-webpack-plugin.git"},"keywords":["webpack","csp","plugin","html"],"author":{"name":"Anuj Nair"},"license":"MIT","dependencies":{"cheerio":"^1.0.0-rc.2","lodash":"^4.17.4"},"peerDependencies":{"webpack":"^2 || ^3","html-webpack-plugin":"^2"},"devDependencies":{"codecov":"^3.0.0","eslint":"^4.15.0","eslint-config-airbnb-base":"^12.1.0","eslint-config-prettier":"^2.9.0","eslint-plugin-import":"^2.8.0","eslint-plugin-prettier":"^2.4.0","html-webpack-plugin":"^2.30.1","istanbul":"^0.4.5","jasmine":"^2.8.0","prettier":"^1.10.1","rimraf":"^2.6.2","webpack":"^3.10.0"},"gitHead":"f65467aa47711f93a217cc71cd4fb304f463b67e","_id":"csp-html-webpack-plugin@1.1.0","_npmVersion":"5.4.2","_nodeVersion":"8.6.0","_npmUser":{"name":"anujrnair","email":"anuj.r.nair@gmail.com"},"dist":{"integrity":"sha512-ttAb/fN+cOpwROhcCsaC1pgz9b/YIRoRZ7xKu0Lw3fk08vc4rn8ldFWnyzPmPxJTfntWzdaU8RGOdNWj8wiUtQ==","shasum":"21d23411cbc7b97837ba5914f1c4b5b9f1837e35","tarball":"https://registry.npmjs.org/csp-html-webpack-plugin/-/csp-html-webpack-plugin-1.1.0.tgz","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDmfRxJsJqfjYiAildB6aCsvPWfaiII2N9JZl5RzJKzMwIhAKXzADE98weEt8ocVGcocQK0ddfrcniBnFeyfUKjcfTa"}]},"maintainers":[{"name":"anujrnair","email":"anuj.r.nair@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/csp-html-webpack-plugin-1.1.0.tgz_1516388394054_0.07978002610616386"},"directories":{}},"2.0.0":{"name":"csp-html-webpack-plugin","version":"2.0.0","description":"A plugin which, when combined with HTMLWebpackPlugin, adds CSP tags to the HTML output","main":"plugin.js","scripts":{"codecov":"npm run codecov:clean && npm run codecov:generate && npm run codecov:upload","codecov:clean":"rm -rf ./coverage","codecov:generate":"istanbul cover ./node_modules/jasmine/bin/jasmine.js spec/plugin.spec.js","codecov:upload":"codecov --token=252086ef-c14d-4f29-ab36-720265249fa2","eslint":"eslint .","eslint:fix":"eslint . --fix","jasmine":"jasmine ./spec/plugin.spec.js","test":"npm run eslint && npm run jasmine && npm run codecov"},"repository":{"type":"git","url":"git@slack-github.com:anuj/csp-html-webpack-plugin.git"},"keywords":["webpack","csp","plugin","html"],"author":{"name":"Anuj Nair"},"license":"MIT","dependencies":{"cheerio":"^1.0.0-rc.2","lodash":"^4.17.4"},"peerDependencies":{"webpack":"^2 || ^3","html-webpack-plugin":"^2"},"devDependencies":{"codecov":"^3.0.0","eslint":"^4.15.0","eslint-config-airbnb-base":"^12.1.0","eslint-config-prettier":"^2.9.0","eslint-plugin-import":"^2.8.0","eslint-plugin-prettier":"^2.4.0","html-webpack-plugin":"^2.30.1","istanbul":"^0.4.5","jasmine":"^2.8.0","prettier":"^1.10.1","rimraf":"^2.6.2","webpack":"^3.10.0"},"gitHead":"5f8fd8d70a0a50a9a43dab03fed0083574159eb1","_id":"csp-html-webpack-plugin@2.0.0","_npmVersion":"5.4.2","_nodeVersion":"8.6.0","_npmUser":{"name":"anujrnair","email":"anuj.r.nair@gmail.com"},"dist":{"integrity":"sha512-Hlrgm2EzOg28vtWBTPRAV2F33SdbbZoveA3mZNs6wFtGkfJOALMcIEP/57s8gRO10YPgNUB3Uq/dSVJ3uUxJLQ==","shasum":"bb2051c839a55075ef617baa0c56eb7bae9116da","tarball":"https://registry.npmjs.org/csp-html-webpack-plugin/-/csp-html-webpack-plugin-2.0.0.tgz","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQD45bzEKO0aTTB1x1FHdutf4IqLdGx+lWtkGaXllbXfigIgKJqqYGPGiVC/61X/6N6o7Mx4bk73xCtZlMKx4NcYMwo="}]},"maintainers":[{"name":"anujrnair","email":"anuj.r.nair@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/csp-html-webpack-plugin-2.0.0.tgz_1516755841792_0.7619743950199336"},"directories":{}},"2.0.1":{"name":"csp-html-webpack-plugin","version":"2.0.1","description":"A plugin which, when combined with HTMLWebpackPlugin, adds CSP tags to the HTML output","main":"plugin.js","scripts":{"codecov":"npm run codecov:clean && npm run codecov:generate && npm run codecov:upload","codecov:clean":"rm -rf ./coverage","codecov:generate":"istanbul cover ./node_modules/jasmine/bin/jasmine.js spec/plugin.spec.js","codecov:upload":"codecov --token=252086ef-c14d-4f29-ab36-720265249fa2","eslint":"eslint .","eslint:fix":"eslint . --fix","jasmine":"jasmine ./spec/plugin.spec.js","test":"npm run eslint && npm run jasmine && npm run codecov"},"repository":{"type":"git","url":"git@slack-github.com:anuj/csp-html-webpack-plugin.git"},"keywords":["webpack","csp","plugin","html"],"author":{"name":"Anuj Nair"},"license":"MIT","dependencies":{"cheerio":"^1.0.0-rc.2","lodash":"^4.17.4"},"peerDependencies":{"webpack":"^2 || ^3","html-webpack-plugin":"^2"},"devDependencies":{"codecov":"^3.0.0","eslint":"^4.15.0","eslint-config-airbnb-base":"^12.1.0","eslint-config-prettier":"^2.9.0","eslint-plugin-import":"^2.8.0","eslint-plugin-prettier":"^2.4.0","html-webpack-plugin":"^2.30.1","istanbul":"^0.4.5","jasmine":"^2.8.0","prettier":"^1.10.1","rimraf":"^2.6.2","webpack":"^3.10.0"},"gitHead":"b23bbc19aa2bb793436846339bac90dffe926ab4","_id":"csp-html-webpack-plugin@2.0.1","_npmVersion":"5.4.2","_nodeVersion":"8.6.0","_npmUser":{"name":"anujrnair","email":"anuj.r.nair@gmail.com"},"dist":{"integrity":"sha512-W1EaeHehqRyrL93hGv3EHhrivhhGBnA6vjZgmEJAIoyhNC8f0UcTj34MLIy/7+LOP5eDHBbrFRJlihOQhysfsQ==","shasum":"cc2f7f3db186eaed0745a3329e2f996674fcca3d","tarball":"https://registry.npmjs.org/csp-html-webpack-plugin/-/csp-html-webpack-plugin-2.0.1.tgz","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIDADEmG3vgSueXY6wMqTBKlfnM78e6BlW+ncIgmzrADmAiBWOzS5J8csdoSLquZVywjP3fYDrqvwoTJfM3YHro/7Mg=="}]},"maintainers":[{"name":"anujrnair","email":"anuj.r.nair@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/csp-html-webpack-plugin-2.0.1.tgz_1516757922736_0.21107913251034915"},"directories":{}},"2.0.2":{"name":"csp-html-webpack-plugin","version":"2.0.2","description":"A plugin which, when combined with HTMLWebpackPlugin, adds CSP tags to the HTML output","main":"plugin.js","scripts":{"codecov":"npm run codecov:clean && npm run codecov:generate && npm run codecov:upload","codecov:clean":"rm -rf ./coverage","codecov:generate":"istanbul cover ./node_modules/jasmine/bin/jasmine.js spec/plugin.spec.js","codecov:upload":"codecov --token=252086ef-c14d-4f29-ab36-720265249fa2","eslint":"eslint .","eslint:fix":"eslint . --fix","jasmine":"jasmine ./spec/plugin.spec.js","test":"npm run eslint && npm run jasmine && npm run codecov"},"repository":{"type":"git","url":"git@slack-github.com:anuj/csp-html-webpack-plugin.git"},"keywords":["webpack","csp","plugin","html"],"author":{"name":"Anuj Nair"},"license":"MIT","dependencies":{"cheerio":"^1.0.0-rc.2","lodash":"^4.17.4"},"peerDependencies":{"webpack":"^2 || ^3","html-webpack-plugin":"^2"},"devDependencies":{"codecov":"^3.0.0","eslint":"^4.15.0","eslint-config-airbnb-base":"^12.1.0","eslint-config-prettier":"^2.9.0","eslint-plugin-import":"^2.8.0","eslint-plugin-prettier":"^2.4.0","html-webpack-plugin":"^2.30.1","istanbul":"^0.4.5","jasmine":"^2.8.0","prettier":"^1.10.1","rimraf":"^2.6.2","webpack":"^3.10.0"},"gitHead":"0ea980a757d3c1e2c5fc523fdbcb49261eef3707","_id":"csp-html-webpack-plugin@2.0.2","_npmVersion":"5.4.2","_nodeVersion":"8.6.0","_npmUser":{"name":"anujrnair","email":"anuj.r.nair@gmail.com"},"dist":{"integrity":"sha512-LdKE5Jv/nU6iD85GV7SnLPnMs2FtX2gDHknYV0KQB15EQoEZ93Fat7eYRaF+Gq53zIUX3JdjvmFqgA/LURMYhQ==","shasum":"dec74ef0f987817fd39be7546cd41755392f4f74","tarball":"https://registry.npmjs.org/csp-html-webpack-plugin/-/csp-html-webpack-plugin-2.0.2.tgz","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIAHJ9DjKRhbmt8wkb52Gwc4XRPFSvRlVIg+1dE8TnuB8AiEAssn8X32uzM8poCnIhK8sxFJRm1FJXArIDzG5Ts/FzmQ="}]},"maintainers":[{"name":"anujrnair","email":"anuj.r.nair@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/csp-html-webpack-plugin-2.0.2.tgz_1516835128515_0.48958739545196295"},"directories":{}},"2.1.0":{"name":"csp-html-webpack-plugin","version":"2.1.0","description":"A plugin which, when combined with HTMLWebpackPlugin, adds CSP tags to the HTML output","main":"plugin.js","scripts":{"codecov":"npm run codecov:clean && npm run codecov:generate && npm run codecov:upload","codecov:clean":"rm -rf ./coverage","codecov:generate":"istanbul cover ./node_modules/jasmine/bin/jasmine.js spec/plugin.spec.js","codecov:upload":"codecov --token=252086ef-c14d-4f29-ab36-720265249fa2","eslint":"eslint .","eslint:fix":"eslint . --fix","jasmine":"jasmine ./spec/plugin.spec.js","test":"npm run eslint && npm run jasmine && npm run codecov"},"repository":{"type":"git","url":"git@slack-github.com:anuj/csp-html-webpack-plugin.git"},"keywords":["webpack","csp","plugin","html"],"author":{"name":"Anuj Nair"},"license":"MIT","dependencies":{"cheerio":"^1.0.0-rc.2","lodash":"^4.17.4"},"peerDependencies":{"webpack":"^2 || ^3","html-webpack-plugin":"^2"},"devDependencies":{"codecov":"^3.0.0","eslint":"^4.15.0","eslint-config-airbnb-base":"^12.1.0","eslint-config-prettier":"^2.9.0","eslint-plugin-import":"^2.8.0","eslint-plugin-prettier":"^2.4.0","html-webpack-plugin":"^2.30.1","istanbul":"^0.4.5","jasmine":"^2.8.0","prettier":"^1.10.1","rimraf":"^2.6.2","webpack":"^3.10.0"},"gitHead":"2605f00b01eb9aad1ba1bb6f4b7431edf004a32d","_id":"csp-html-webpack-plugin@2.1.0","_npmVersion":"5.6.0","_nodeVersion":"8.9.4","_npmUser":{"name":"anujrnair","email":"anuj.r.nair@gmail.com"},"dist":{"integrity":"sha512-mGwAYqfGlfbdbd698NP56hF1SN/2DHTyotjrJtw0eHtMndoV3u65/xIVBGWReq3CWZv72Yrpw7NC7qKI/vA7iQ==","shasum":"be4e85d3f3a36befc05fed5bfc87bdac21e20060","tarball":"https://registry.npmjs.org/csp-html-webpack-plugin/-/csp-html-webpack-plugin-2.1.0.tgz","fileCount":19,"unpackedSize":25517,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIADxosrj0hFpM0kAr3V05LN4pF3VEiYH09yH+ns5PIrcAiB7Ojlkkq7wCQRAASzEBixNDXjn/Mc9Oou5qTb7RMQyEg=="}]},"maintainers":[{"name":"anujrnair","email":"anuj.r.nair@gmail.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/csp-html-webpack-plugin_2.1.0_1519249434438_0.028253508900623725"},"_hasShrinkwrap":false},"2.2.0":{"name":"csp-html-webpack-plugin","version":"2.2.0","description":"A plugin which, when combined with HTMLWebpackPlugin, adds CSP tags to the HTML output","main":"plugin.js","scripts":{"codecov":"npm run codecov:clean && npm run codecov:generate && npm run codecov:upload","codecov:clean":"rm -rf ./coverage","codecov:generate":"istanbul cover ./node_modules/jasmine/bin/jasmine.js spec/plugin.spec.js","codecov:upload":"codecov --token=252086ef-c14d-4f29-ab36-720265249fa2","eslint":"eslint .","eslint:fix":"eslint . --fix","jasmine":"jasmine ./spec/plugin.spec.js","test":"npm run eslint && npm run jasmine && npm run codecov"},"repository":{"type":"git","url":"git@slack-github.com:anuj/csp-html-webpack-plugin.git"},"keywords":["webpack","csp","plugin","html"],"author":{"name":"Anuj Nair"},"license":"MIT","dependencies":{"cheerio":"^1.0.0-rc.2","lodash":"^4.17.4"},"peerDependencies":{"webpack":"^2 || ^3","html-webpack-plugin":"^2"},"devDependencies":{"codecov":"^3.0.0","eslint":"^4.15.0","eslint-config-airbnb-base":"^12.1.0","eslint-config-prettier":"^2.9.0","eslint-plugin-import":"^2.8.0","eslint-plugin-prettier":"^2.4.0","html-webpack-plugin":"^2.30.1","istanbul":"^0.4.5","jasmine":"^2.8.0","prettier":"^1.10.1","rimraf":"^2.6.2","webpack":"^3.10.0"},"gitHead":"f729964d1a657a9ee1454d632554614b37906188","_id":"csp-html-webpack-plugin@2.2.0","_npmVersion":"5.6.0","_nodeVersion":"8.9.4","_npmUser":{"name":"anujrnair","email":"anuj.r.nair@gmail.com"},"dist":{"integrity":"sha512-Eh7rY93OTuu97vHqV2/Ph9Or1dVFA1tsSAv31rfkEwXGHKlx2xR9CSRyXW959CiVofF7PExtAdq4z6BJgERDWQ==","shasum":"75f2547ea0e283be0cd1453cbbc2e81f600bf09a","tarball":"https://registry.npmjs.org/csp-html-webpack-plugin/-/csp-html-webpack-plugin-2.2.0.tgz","fileCount":20,"unpackedSize":27001,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQC4JG3xzmKhElTSUNLC8CkUvCNXhrHJCY8MpB8vknS9dQIhAOS9kENBHgTZsq07c4IWZP3Ihr/PKF7WnCsD140iWSEV"}]},"maintainers":[{"name":"anujrnair","email":"anuj.r.nair@gmail.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/csp-html-webpack-plugin_2.2.0_1521665288959_0.6598476333540324"},"_hasShrinkwrap":false},"2.3.0":{"name":"csp-html-webpack-plugin","version":"2.3.0","description":"A plugin which, when combined with HTMLWebpackPlugin, adds CSP tags to the HTML output","main":"plugin.js","scripts":{"codecov":"npm run codecov:clean && npm run codecov:generate && npm run codecov:upload","codecov:clean":"rm -rf ./coverage","codecov:generate":"istanbul cover ./node_modules/jasmine/bin/jasmine.js spec/plugin.spec.js","codecov:upload":"codecov --token=252086ef-c14d-4f29-ab36-720265249fa2","eslint":"eslint .","eslint:fix":"eslint . --fix","jasmine":"jasmine ./spec/plugin.spec.js","test":"npm run eslint && npm run jasmine && npm run codecov"},"repository":{"type":"git","url":"git@slack-github.com:anuj/csp-html-webpack-plugin.git"},"keywords":["webpack","csp","plugin","html"],"author":{"name":"Anuj Nair"},"license":"MIT","dependencies":{"cheerio":"^1.0.0-rc.2","lodash":"^4.17.10"},"peerDependencies":{"webpack":"^2 || ^3 || ^4","html-webpack-plugin":"^2 || ^3"},"devDependencies":{"codecov":"^3.0.2","eslint":"^4.19.1","eslint-config-airbnb-base":"^12.1.0","eslint-config-prettier":"^2.9.0","eslint-plugin-import":"^2.11.0","eslint-plugin-prettier":"^2.6.0","html-webpack-plugin":"^3.2.0","istanbul":"^0.4.5","jasmine":"^3.1.0","prettier":"^1.12.1","rimraf":"^2.6.2","webpack":"^4.8.3"},"gitHead":"271b6aef46711023cb130d487f213f8c89329b41","_id":"csp-html-webpack-plugin@2.3.0","_npmVersion":"5.6.0","_nodeVersion":"8.9.4","_npmUser":{"name":"anujrnair","email":"anuj.r.nair@gmail.com"},"dist":{"integrity":"sha512-oAxkl+EwI1Se6tdKaKHHmEiauSV2WxjVYkA+42RTwjnUMzNHhI3Iy9/wp3NkmlvkJRaRuzeGTzINOfTcM3JOwA==","shasum":"33f8d9fe4dcd61e1c4a8a9e936ec54adddecfaeb","tarball":"https://registry.npmjs.org/csp-html-webpack-plugin/-/csp-html-webpack-plugin-2.3.0.tgz","fileCount":21,"unpackedSize":29645,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJa/HIxCRA9TVsSAnZWagAAv00P/3/uMQ4zpIV8QEGk3ZnR\neeDPQxte91u1O1PpfxKPVpOnA+9OHgwTtERO25ZmC6TkdIVIMaZf37v+5cM7\nToD1+/ESGzGGqjmgy6It09aIwF9KYRzp/9+dsEEASHgigA3clCNlEwPUcrzh\n3LKFTKv/6DBj7YUaj+TvC5cnyX8qyjg0bJKDrZCcQuhq3VOhz46uQAphGRK0\nkjeptc5BrljeNPbxDZ12Qifb16zOKoQUZW1LmBYsEUG/Nt3J5dho6NueObS2\n5Jp9bvdUW/I6fOcO3LjfLPxRIAXdAr3gWFeSYu3G93lTFa2Nh3pMNEVKBRH+\nKdcndqywMTvFj2LKK3Gg3Fh3trfYLosoUE+XKW1AdQcqqWVRJcuEuuhLWaEW\n4fBIXlIDVwv7DxdrE7kHpQDHwf3y0YujIw/QenuOocdIJhivJke5wELnrFsx\nJ56OKOcPRZNBKv//dQqJi6mL6M2Q8CIJ4g06pzPp2kESAEhTfrL/ggOBVRWx\nAaavrgv4eZEFH6iSpGqCO5GnPhi7JoE/IbM4+U/Ll/YHEkCAT+bbbTV2kiJO\n0f8cm/kYw0QLVvpmABMxU6TKTA/QrdwAzyOZShrSWRnDaxcJspcPTyJRy6In\n9fbV6jFhUy5jTMkhn3xThcYRphkEErs+SvPiCc4VqEuSiLOaZwS9zbaLjP0j\nkIFA\r\n=Y0VD\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIEpvhPc0IC2RqJhg20O8WR4tarprbvvwQwG9Xl8mIC25AiAh1kHKcmfIWQJcGWxPQ/3hCmn7kR3Vv4fuvPgmigPbEQ=="}]},"maintainers":[{"name":"anujrnair","email":"anuj.r.nair@gmail.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/csp-html-webpack-plugin_2.3.0_1526493744960_0.40644645322737016"},"_hasShrinkwrap":false},"2.4.0":{"name":"csp-html-webpack-plugin","version":"2.4.0","description":"A plugin which, when combined with HTMLWebpackPlugin, adds CSP tags to the HTML output","main":"plugin.js","scripts":{"codecov":"npm run codecov:clean && npm run codecov:generate && npm run codecov:upload","codecov:clean":"rm -rf ./coverage","codecov:generate":"istanbul cover ./node_modules/jasmine/bin/jasmine.js spec/plugin.spec.js","codecov:upload":"codecov --token=252086ef-c14d-4f29-ab36-720265249fa2","eslint":"eslint .","eslint:fix":"eslint . --fix","jasmine":"jasmine ./spec/plugin.spec.js","test":"npm run eslint && npm run jasmine && npm run codecov"},"repository":{"type":"git","url":"git@slack-github.com:anuj/csp-html-webpack-plugin.git"},"keywords":["webpack","csp","plugin","html"],"author":{"name":"Anuj Nair"},"license":"MIT","dependencies":{"cheerio":"^1.0.0-rc.2","lodash":"^4.17.11"},"peerDependencies":{"webpack":"^2 || ^3 || ^4","html-webpack-plugin":"^2 || ^3"},"devDependencies":{"codecov":"^3.1.0","eslint":"^5.6.0","eslint-config-airbnb-base":"^13.1.0","eslint-config-prettier":"^3.0.1","eslint-plugin-import":"^2.14.0","eslint-plugin-prettier":"^2.6.2","html-webpack-plugin":"^3.2.0","istanbul":"^0.4.5","jasmine":"^3.2.0","prettier":"^1.14.3","rimraf":"^2.6.2","webpack":"^4.19.1"},"gitHead":"a081bc26fdbf1de2b4cef683c2d7489cb7bd0191","_id":"csp-html-webpack-plugin@2.4.0","_npmVersion":"6.0.1","_nodeVersion":"10.1.0","_npmUser":{"name":"anujrnair","email":"anuj.r.nair@gmail.com"},"dist":{"integrity":"sha512-7r3UfmrJtsnVZga4yhxZMJLiJmUMMKotdfEODwvctoytjeeijjS8veL2q0m8njR+XS+5I8DVOBFk9SQucORMcg==","shasum":"ffe1e14ee875e539bbcf8199d62eab8bff49ff6b","tarball":"https://registry.npmjs.org/csp-html-webpack-plugin/-/csp-html-webpack-plugin-2.4.0.tgz","fileCount":21,"unpackedSize":34843,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJcAYPLCRA9TVsSAnZWagAAjVwP/3cy9IihP0nb55PSTdL7\nS4t6duLcO9ATWGSOWTteOXzwmNINJFAKIC/ky4hAYVzq0CGtuxfaooagzTT+\nobThvXreJ3wFWc1K+Kj48dJ3ql62xWjOeZCmDUrEku2GYLl7LFRwESZjG9g4\nDTbpaSrtutfkFuro33vhtNQb+QRhW68jbYWo0c5/BDs5y3X5LMUgx1s/Jl/5\nvYt50NbQMm9VYqTR8NJfHAjYQ7blk8cS96PGHnW57nq/63ClUqRz3LXhklj6\nrKe15uQR8DSdJnIKFSTejavo4T2IGEGnzU+t6g7tSaBmUGTJRToOAPKNf6wk\nxVbtbFlXJ7HrrUs79vGZjLbRwd6C5c+TRUSZ5nyk7dL7tWy6Xn/jjYU04UJT\nAOzKnUa4ND1JUN1s7ZeuAOMQuDmuMZqVaUkUSMf+JYfARXva8/DOlqt9HhzE\n2OJ2dnVmW3R76B9983mEMeiTGnH3Yp2uok8KfsuJ0+OdsWg+6nC7GbJPSuJ6\nASvgzALlc34427qGFo4jxokjlL6yolM2valIxwyoJXB1i9hUTEgDaMRTME72\n+DV5h5GIE7fbxjJ3BCopHiaZLs1ZU74hCNVv+p4LNICEP4JeCgAJ6UfCefTt\nz7qrzzM0qiHZ5KSyGhRdiuNEK6CtPlAUrBmzcjpZ9OSEkQIRTJyTXAqQsskT\nxuhE\r\n=gchF\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCmcrzE1+r09XJA1FxO2ssFof8iEn+Wub5gbwbxftTkqwIhAOTfjvqIVJD/a2rs7a+KF7XzjWJw5eZ0j3P48kDtI0uv"}]},"maintainers":[{"name":"anujrnair","email":"anuj.r.nair@gmail.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/csp-html-webpack-plugin_2.4.0_1543603147009_0.4440977828709687"},"_hasShrinkwrap":false},"2.5.0":{"name":"csp-html-webpack-plugin","version":"2.5.0","description":"A plugin which, when combined with HTMLWebpackPlugin, adds CSP tags to the HTML output","main":"plugin.js","scripts":{"codecov":"npm run codecov:clean && npm run codecov:generate && npm run codecov:upload","codecov:clean":"rm -rf ./coverage","codecov:generate":"istanbul cover ./node_modules/jasmine/bin/jasmine.js spec/plugin.spec.js","codecov:upload":"codecov --token=252086ef-c14d-4f29-ab36-720265249fa2","eslint":"eslint .","eslint:fix":"eslint . --fix","jasmine":"jasmine ./spec/plugin.spec.js","test":"npm run eslint && npm run jasmine && npm run codecov"},"repository":{"type":"git","url":"git@slack-github.com:anuj/csp-html-webpack-plugin.git"},"keywords":["webpack","csp","plugin","html"],"author":{"name":"Anuj Nair"},"license":"MIT","dependencies":{"cheerio":"^1.0.0-rc.2","lodash":"^4.17.11"},"peerDependencies":{"webpack":"^2 || ^3 || ^4","html-webpack-plugin":"^2 || ^3 || ^4"},"devDependencies":{"codecov":"^3.1.0","eslint":"^5.6.0","eslint-config-airbnb-base":"^13.1.0","eslint-config-prettier":"^3.0.1","eslint-plugin-import":"^2.14.0","eslint-plugin-prettier":"^2.6.2","html-webpack-plugin":"^3.2.0","istanbul":"^0.4.5","jasmine":"^3.2.0","prettier":"^1.14.3","rimraf":"^2.6.2","webpack":"^4.19.1"},"gitHead":"77da9223c2f6653d0d4f4e1f9b084335d317b915","_id":"csp-html-webpack-plugin@2.5.0","_npmVersion":"6.0.1","_nodeVersion":"10.1.0","_npmUser":{"name":"anujrnair","email":"anuj.r.nair@gmail.com"},"dist":{"integrity":"sha512-cL3fiTv1ebu5FnfmgJUZG6lSI/k0K+QDcza2rZyHw9xcWE4hGoD0cL3rAPvCAPa+OrFMrbj35RqkHXISWwm2Uw==","shasum":"e198a06983fb8512406d63678309a6ccbda4a6af","tarball":"https://registry.npmjs.org/csp-html-webpack-plugin/-/csp-html-webpack-plugin-2.5.0.tgz","fileCount":21,"unpackedSize":39030,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJcGrcvCRA9TVsSAnZWagAAQAEP/RrzMqm3ZyghN1oknAwc\nQjqc28u2gMN/81r7kNK6Cb8zmVSlTtxsBirTE3wacOYMikevQmvCNvoQryKs\nVG1WJJ7v3kvDa8vk0262+aDVJs6VR8B/3nD6C1uZruRBaRAtGpot+ujTmgQC\nBzcZXXurgh2+7mFhukxvNAU6EQNrUmIrGUPG/s7hDcrCD0POLduCkU2Nt3ZI\nCJWyN5Pf9NN5WL3VWWypcfIxm1k1rhXkosG5YkNwt0nwn6YtS93ovmkuQYYs\nvJnFcdWqAYBB5C5tvlzfcVhpevbeb/0odiULGd9y5SqpKQK9dYH8t0P5P9GX\nGHMPGFzY+FNPmqCff3985g+lJoFQoUAU2pZChmmsah6aQa7ABcKyKzrU75t6\n8uq6S4lYF1uVEH2QtH4Ps6HeMzrQP8QLtaTO5gLbkuHqyxfyrzLt1jkjop+H\ndn+3kDSzyMmbYKEDdrIhVPXOog+VHAGJvGAAwdJLahAcvDBqt9EFDFn+J/vO\nDTSULluIU/CYOcGK330ZVe8GKW7FEP14D7TyGzxaMzX5JmNjdHEjwWuO+4Ej\nVMIH51oE77GRPpxDxfkZOHoJI//PyB8Hkokn/GwVutqAGR3we2Jctmd5JQRX\ns67gsiBHzbZ+yn1JeSk1gSaprnp6IU56GuSHHpD6m1QM7b0RUm1lhrw+Ps0j\n3w/P\r\n=DK1c\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIA63qqGQyo5tPW+ghBe2x/0gsHVxTOz040wpaTcwgItiAiAZ9qvFk8yVvEpHznraYATjkAx6emWN+lALulf5ekFZyg=="}]},"maintainers":[{"name":"anujrnair","email":"anuj.r.nair@gmail.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/csp-html-webpack-plugin_2.5.0_1545254702395_0.39302277053281354"},"_hasShrinkwrap":false},"3.0.0-beta.1":{"name":"csp-html-webpack-plugin","version":"3.0.0-beta.1","description":"A plugin which, when combined with HTMLWebpackPlugin, adds CSP tags to the HTML output","main":"plugin.js","scripts":{"eslint":"eslint .","eslint:fix":"eslint . --fix","jest":"jest --config=./jest.config.js plugin.jest.js","jest:watch":"jest --watch --verbose=false --config=./jest.config.js plugin.jest.js","jest:coverage:generate":"jest --coverage --config=./jest.config.js plugin.jest.js","jest:coverage:clean":"rm -rf ./coverage","jest:coverage:upload":"npx codecov --token=252086ef-c14d-4f29-ab36-720265249fa2","jest:coverage":"npm run jest:coverage:clean && npm run jest:coverage:generate && npm run jest:coverage:upload","test":"npm run eslint && npm run jest && npm run jest:coverage"},"repository":{"type":"git","url":"git@slack-github.com:anuj/csp-html-webpack-plugin.git"},"keywords":["webpack","csp","plugin","html"],"author":{"name":"Anuj Nair"},"license":"MIT","dependencies":{"babel-jest":"^23.6.0","cheerio":"^1.0.0-rc.2","lodash":"^4.17.11","memory-fs":"^0.4.1"},"peerDependencies":{"webpack":"^2 || ^3 || ^4","html-webpack-plugin":"^2 || ^3 || ^4"},"devDependencies":{"codecov":"^3.1.0","eslint":"^5.10.0","eslint-config-airbnb-base":"^13.1.0","eslint-config-prettier":"^3.3.0","eslint-plugin-import":"^2.14.0","eslint-plugin-prettier":"^3.0.0","html-webpack-plugin":"^3.2.0","jest":"^23.6.0","prettier":"^1.15.3","webpack":"^4.28.1"},"readme":"# CSP HTML Webpack Plugin\n\n[![License](https://img.shields.io/badge/license-MIT-blue.svg)](https://github.com/slackhq/csp-html-webpack-plugin/blob/master/LICENSE)\n[![npm](https://img.shields.io/npm/v/csp-html-webpack-plugin.svg)](https://www.npmjs.com/package/csp-html-webpack-plugin)\n[![Code Style](https://img.shields.io/badge/code%20style-prettier-brightgreen.svg)](https://github.com/prettier/prettier)\n[![Build Status](https://travis-ci.org/slackhq/csp-html-webpack-plugin.svg?branch=master)](https://travis-ci.org/slackhq/csp-html-webpack-plugin)\n[![codecov](https://codecov.io/gh/slackhq/csp-html-webpack-plugin/branch/master/graph/badge.svg?token=cBemDmnz85)](https://codecov.io/gh/slackhq/csp-html-webpack-plugin)\n\n## About\n\nThis plugin will generate meta content for your Content Security Policy tag and input the correct data into your HTML template, generated by [html-webpack-plugin](https://github.com/jantimon/html-webpack-plugin/).\n\nAll inline JS and CSS will be hashed, and inserted into the policy.\n\n\n## Installation\n\nInstall the plugin with npm:\n```\nnpm i --save-dev csp-html-webpack-plugin\n```\n\n## Basic Usage\n\nIn the plugins section of your webpack config file, include the following:\n\n```\nnew HtmlWebpackPlugin()\nnew CspHtmlWebpackPlugin()\n```\n\n## Configuration\n\nThis `CspHtmlWebpackPlugin` accepts 2 params with the following structure:\n* `{object}` Policy (optional) - a flat object which defines your CSP policy. Valid keys and values can be found on the [MDN CSP](https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Content-Security-Policy) page. Values can either be a string or an array of strings.\n* `{object}` Additional Options (optional) - a flat object with the optional configuration options:\n  * `{boolean}` devAllowUnsafe - if you as the developer want to allow `unsafe-inline`/`unsafe-eval` and _not_ include hashes for inline scripts. If any hashes are included in the policy, modern browsers ignore the `unsafe-inline` rule.\n  * `{boolean|Function}` enabled - if false, or the function returns false, the empty CSP tag will be stripped from the html output. \n    * The `htmlPluginData` is passed into the function as it's first param.\n    * If `enabled` is set the false, it will disable generating a CSP for all instances of `HtmlWebpackPlugin` in your webpack config.\n  * `{string}` hashingMethod - accepts 'sha256', 'sha384', 'sha512' - your node version must also accept this hashing method.\n\nThe plugin also adds a new config option onto each `HtmlWebpackPlugin` instance:\n* `{object}` cspPlugin - an object containing the following properties:\n  * `{boolean}` enabled - if false, the CSP tag will be removed from the HTML which this HtmlWebpackPlugin instance is generating.\n  * `{object}` policy - A custom policy which should be applied only to this instance of the HtmlWebpackPlugin\n\nNote that policies are merged in the following order:\n```\n> HtmlWebpackPlugin cspPlugin.policy\n> CspHtmlWebpackPlugin policy\n> CspHtmlWebpackPlugin defaultPolicy\n```\n\nIf 2 policies have the same key/policy rule, the former policy will override the latter policy. Entries in a specific rule will not be merged; they will be replaced.\n\n#### Default Policy:\n\n```\n{\n  'base-uri': \"'self'\",\n  'object-src': \"'none'\",\n  'script-src': [\"'unsafe-inline'\", \"'self'\", \"'unsafe-eval'\"],\n  'style-src': [\"'unsafe-inline'\", \"'self'\", \"'unsafe-eval'\"]\n};\n```\n\n#### Default Additional Options:\n\n```\n{\n  devAllowUnsafe: false,\n  enabled: true\n  hashingMethod: 'sha256',\n}\n```\n\n#### Full Configuration with all options:\n```\nnew HtmlWebpackPlugin({\n  cspPlugin: {\n    enabled: true,\n    policy: {\n      'base-uri': \"'self'\",\n      'object-src': \"'none'\",\n      'script-src': [\"'unsafe-inline'\", \"'self'\", \"'unsafe-eval'\"],\n      'style-src': [\"'unsafe-inline'\", \"'self'\", \"'unsafe-eval'\"]\n    }\n  }\n});\n\nnew CspHtmlWebpackPlugin({\n  'base-uri': \"'self'\",\n  'object-src': \"'none'\",\n  'script-src': [\"'unsafe-inline'\", \"'self'\", \"'unsafe-eval'\"],\n  'style-src': [\"'unsafe-inline'\", \"'self'\", \"'unsafe-eval'\"]\n}, {\n  devAllowUnsafe: false,\n  enabled: true\n  hashingMethod: 'sha256',\n})\n```\n\n## Contribution\n\nContributions are most welcome! Please see the included contributing file for more information.\n\n## License\n\nThis project is licensed under MIT. Please see the included license file for more information.\n","readmeFilename":"README.md","gitHead":"b6d8fca2f2de1e0d4ad66b0019c656a0e35e82c0","_id":"csp-html-webpack-plugin@3.0.0-beta.1","_npmVersion":"6.0.1","_nodeVersion":"10.1.0","_npmUser":{"name":"anujrnair","email":"anuj.r.nair@gmail.com"},"dist":{"integrity":"sha512-qoFHzmC5Yxa4PLmzS6gw4cPC8643oMMbZgszYv+NOtjIgX/phJP08SdlE5Ve8EY7L+RltxDUsQ5vJ0VWir0Lyg==","shasum":"73962798f70784ba44b7b839027b2991ae89d875","tarball":"https://registry.npmjs.org/csp-html-webpack-plugin/-/csp-html-webpack-plugin-3.0.0-beta.1.tgz","fileCount":21,"unpackedSize":53823,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJcLlBYCRA9TVsSAnZWagAAN9wP/iYadCheIFm/2tpg3h4B\nBF6tzcH0Xh8siMyAz787NDxFLqfE30yGd3HbnZDR3msvUJPcCOz6zrnPtQGC\n3slrbuqclreclWj2OnJqKRmPI/ygdyfwn5JXpHKXr0QqpAKUqzryXu2QzLrZ\nwg9B80EQPDxEUSDd6/Ed/PymFP1F/GAyaTUCJOei9L5BE/o078nZnnMFFlpZ\nw0dVdvvCWD9vL14/PY40Sk0q5MZOYDOB+U/i1cmcmjqqlMVB52slh0uQumO5\nMwdbd7aVcL4h1ojIGSsp756xiAwlLm+J9KR35Yu8ZCQSGKKBxhX2VvlBc9Bt\nHzkqU4GXCIxexNOqlteSIFQz5JrBfA3QclD9+ccu6h1dlcM+wTSXWC++wgJY\naukkSehbRzvGkGbFUpOY/J/PfxG2p0VHrGNexVkXfq+J6vOY8FFr/kJdd5bZ\nFM4z/QqJKD6SJ0t1dBDpSpa9r28ho7Bnp6At9gBh18issisZwu4CLG0H15xL\nDVCOAjkP9SzVIyu12Lop/a4YapTsg38VQ5b1G9lIYmnX9l6DWHpYY2OUwmLX\nAhUpPFVB6FGI+7ko7Zh3YgNa4G1wNe5Lak3IVp3ADFP4IrA1eyOYgrbBrA6F\nyad5JL5FW7bBaqArFDoGcTLhQrCnZqlSujY1mKI7usAajf6HvTgweyuE7hG4\nyLwJ\r\n=cagv\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDdj1bBL5ZOaij4MsR/IP3mtV+SgyaIgY7YqBK6K1l48gIgVC/heDBBE/uGN1EAcSC/db+8yNVS6pARrmKFtggh2gM="}]},"maintainers":[{"name":"anujrnair","email":"anuj.r.nair@gmail.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/csp-html-webpack-plugin_3.0.0-beta.1_1546539096235_0.21667848817735735"},"_hasShrinkwrap":false},"3.0.0-beta.2":{"name":"csp-html-webpack-plugin","version":"3.0.0-beta.2","description":"A plugin which, when combined with HTMLWebpackPlugin, adds CSP tags to the HTML output","main":"plugin.js","scripts":{"eslint":"eslint .","eslint:fix":"eslint . --fix","jest":"jest --config=./jest.config.js plugin.jest.js","jest:watch":"jest --watch --verbose=false --config=./jest.config.js plugin.jest.js","jest:coverage:generate":"jest --coverage --config=./jest.config.js plugin.jest.js","jest:coverage:clean":"rm -rf ./coverage","jest:coverage:upload":"npx codecov --token=252086ef-c14d-4f29-ab36-720265249fa2","jest:coverage":"npm run jest:coverage:clean && npm run jest:coverage:generate && npm run jest:coverage:upload","test":"npm run eslint && npm run jest && npm run jest:coverage"},"repository":{"type":"git","url":"git@slack-github.com:anuj/csp-html-webpack-plugin.git"},"keywords":["webpack","csp","plugin","html"],"author":{"name":"Anuj Nair"},"license":"MIT","dependencies":{"babel-jest":"^23.6.0","cheerio":"^1.0.0-rc.2","lodash":"^4.17.11","memory-fs":"^0.4.1"},"peerDependencies":{"webpack":"^2 || ^3 || ^4","html-webpack-plugin":"^2 || ^3 || ^4"},"devDependencies":{"codecov":"^3.1.0","eslint":"^5.10.0","eslint-config-airbnb-base":"^13.1.0","eslint-config-prettier":"^3.3.0","eslint-plugin-import":"^2.14.0","eslint-plugin-prettier":"^3.0.0","html-webpack-plugin":"^3.2.0","jest":"^23.6.0","prettier":"^1.15.3","webpack":"^4.28.1"},"readme":"# CSP HTML Webpack Plugin\n\n[![License](https://img.shields.io/badge/license-MIT-blue.svg)](https://github.com/slackhq/csp-html-webpack-plugin/blob/master/LICENSE)\n[![npm](https://img.shields.io/npm/v/csp-html-webpack-plugin.svg)](https://www.npmjs.com/package/csp-html-webpack-plugin)\n[![Code Style](https://img.shields.io/badge/code%20style-prettier-brightgreen.svg)](https://github.com/prettier/prettier)\n[![Build Status](https://travis-ci.org/slackhq/csp-html-webpack-plugin.svg?branch=master)](https://travis-ci.org/slackhq/csp-html-webpack-plugin)\n[![codecov](https://codecov.io/gh/slackhq/csp-html-webpack-plugin/branch/master/graph/badge.svg?token=cBemDmnz85)](https://codecov.io/gh/slackhq/csp-html-webpack-plugin)\n\n## About\n\nThis plugin will generate meta content for your Content Security Policy tag and input the correct data into your HTML template, generated by [html-webpack-plugin](https://github.com/jantimon/html-webpack-plugin/).\n\nAll inline JS and CSS will be hashed, and inserted into the policy.\n\n## Installation\n\nInstall the plugin with npm:\n\n```\nnpm i --save-dev csp-html-webpack-plugin\n```\n\n## Basic Usage\n\nIn the plugins section of your webpack config file, include the following:\n\n```\nnew HtmlWebpackPlugin()\nnew CspHtmlWebpackPlugin()\n```\n\n## Configuration\n\nThis `CspHtmlWebpackPlugin` accepts 2 params with the following structure:\n\n- `{object}` Policy (optional) - a flat object which defines your CSP policy. Valid keys and values can be found on the [MDN CSP](https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Content-Security-Policy) page. Values can either be a string or an array of strings.\n- `{object}` Additional Options (optional) - a flat object with the optional configuration options:\n  - `{boolean|Function}` enabled - if false, or the function returns false, the empty CSP tag will be stripped from the html output.\n    - The `htmlPluginData` is passed into the function as it's first param.\n    - If `enabled` is set the false, it will disable generating a CSP for all instances of `HtmlWebpackPlugin` in your webpack config.\n  - `{string}` hashingMethod - accepts 'sha256', 'sha384', 'sha512' - your node version must also accept this hashing method.\n  - `{object}` hashEnabled - a `<string, boolean>` entry for which policy rules are allowed to include hashes\n  - `{object}` nonceEnabled - a `<string, boolean>` entry for which policy rules are allowed to include nonces\n\nThe plugin also adds a new config option onto each `HtmlWebpackPlugin` instance:\n\n- `{object}` cspPlugin - an object containing the following properties:\n  - `{boolean}` enabled - if false, the CSP tag will be removed from the HTML which this HtmlWebpackPlugin instance is generating.\n  - `{object}` policy - A custom policy which should be applied only to this instance of the HtmlWebpackPlugin\n  - `{object}` hashEnabled - a `<string, boolean>` entry for which policy rules are allowed to include hashes\n  - `{object}` nonceEnabled - a `<string, boolean>` entry for which policy rules are allowed to include nonces\n\nNote that policies and `hashEnabled` / `nonceEnabled` are merged in the following order:\n\n```\n> HtmlWebpackPlugin cspPlugin.policy\n> CspHtmlWebpackPlugin policy\n> CspHtmlWebpackPlugin defaultPolicy\n```\n\nIf 2 policies have the same key/policy rule, the former policy will override the latter policy. Entries in a specific rule will not be merged; they will be replaced.\n\n#### Default Policy:\n\n```\n{\n  'base-uri': \"'self'\",\n  'object-src': \"'none'\",\n  'script-src': [\"'unsafe-inline'\", \"'self'\", \"'unsafe-eval'\"],\n  'style-src': [\"'unsafe-inline'\", \"'self'\", \"'unsafe-eval'\"]\n};\n```\n\n#### Default Additional Options:\n\n```\n{\n  devAllowUnsafe: false,\n  enabled: true\n  hashingMethod: 'sha256',\n  hashEnabled: {\n    'script-src': true,\n    'style-src': true\n  },\n  nonceEnabled: {\n    'script-src': true,\n    'style-src': true\n  }\n}\n```\n\n#### Full Configuration with all options:\n\n```\nnew HtmlWebpackPlugin({\n  cspPlugin: {\n    enabled: true,\n    policy: {\n      'base-uri': \"'self'\",\n      'object-src': \"'none'\",\n      'script-src': [\"'unsafe-inline'\", \"'self'\", \"'unsafe-eval'\"],\n      'style-src': [\"'unsafe-inline'\", \"'self'\", \"'unsafe-eval'\"]\n    },\n    hashEnabled: {\n      'script-src': true,\n      'style-src': true\n    },\n    nonceEnabled: {\n      'script-src': true,\n      'style-src': true\n    }\n  }\n});\n\nnew CspHtmlWebpackPlugin({\n  'base-uri': \"'self'\",\n  'object-src': \"'none'\",\n  'script-src': [\"'unsafe-inline'\", \"'self'\", \"'unsafe-eval'\"],\n  'style-src': [\"'unsafe-inline'\", \"'self'\", \"'unsafe-eval'\"]\n}, {\n  devAllowUnsafe: false,\n  enabled: true\n  hashingMethod: 'sha256',\n  hashEnabled: {\n    'script-src': true,\n    'style-src': true\n  },\n  nonceEnabled: {\n    'script-src': true,\n    'style-src': true\n  }\n})\n```\n\n## Contribution\n\nContributions are most welcome! Please see the included contributing file for more information.\n\n## License\n\nThis project is licensed under MIT. Please see the included license file for more information.\n","readmeFilename":"README.md","gitHead":"c1e9fee622475488cd055cae4b984f50e0858100","_id":"csp-html-webpack-plugin@3.0.0-beta.2","_npmVersion":"6.0.1","_nodeVersion":"10.1.0","_npmUser":{"name":"anujrnair","email":"anuj.r.nair@gmail.com"},"dist":{"integrity":"sha512-7JV+D2n6RwKGOs3PEyLInMr2de2qUaA0XIhPCou1Jgwfz55pA+KOJ0qRhX8WBSCEO5gt6x555KfoxoGEAliBew==","shasum":"e2a0e4f423695ed2f466528d9db8199c9ebc71e4","tarball":"https://registry.npmjs.org/csp-html-webpack-plugin/-/csp-html-webpack-plugin-3.0.0-beta.2.tgz","fileCount":21,"unpackedSize":59829,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJcLn7iCRA9TVsSAnZWagAAuf8QAJCoV2D2u/RzzFO87dm2\nIr5mIL7vuD3aBKRtDOEH6XuoXKOD96SVEavaWYUJgkjeiiHfquXuS2WS351r\n+PWucBzCwC3K0AT+LU9sAa2FFihz3t8cqDHGKm+SMF2luYZV1RLrWNW1hjI8\nBUK8ye2Rmtb2ejFledxU7/ipMVgFRf6huCtIEM+umKAvUU4MUGEXYX9Ttqkf\nCnYNZQ3k8Hx9fKr4NhVlyYJUByfxYMG5ansKVrtvB+ZXovkN9LPDAOJjgo0s\n2Rw5qMRbxGahtBaeT7XP36o1Ha8R7FC/9XgErXL2rTP/0HMqJriBtIlK5OOW\nAWyq76oL5XUQ4TURsfTS2mp0BkvoYob54HVGGAMi/2n0DdWokWOiTgwYBUgl\n3320x95BewxmyY13JaeeBZWjT1gBN6IHobHF17k2vUho8kVUfhjyPsaxABme\nSndIN8OHFqogvZzIpkJVxndwtZ3J9kIyAhyQu8GRG1KcHmSr/+14txql9mv8\nb1e8AT3ih4kdNXuoTKwVZe1qw6KtxSoNeMBD87RC6ZiDoUj/+FqgHoo63Re1\nFVLFs0LovXbAyrUkf8E1GpVp3CGtIfjSlcvIGymgL3mYtfcZrGULEuCFQqOE\nOBCDgVRXQMjC6QE7B+DddIqi8GPTbLif6OgpHjPO22hmQL9RVozY4T3digj1\nRmaP\r\n=fbLq\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIEXUwjIJyPtQ0rq3UlYDVl6ar28boVxTrrWtE/Y1KZyVAiEA+NJ+mkQ6U+BIYHzavcu/LjxgEuh9Xhu6fNq0N3qogKI="}]},"maintainers":[{"name":"anujrnair","email":"anuj.r.nair@gmail.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/csp-html-webpack-plugin_3.0.0-beta.2_1546551009724_0.7543692888454336"},"_hasShrinkwrap":false},"3.0.0":{"name":"csp-html-webpack-plugin","version":"3.0.0","description":"A plugin which, when combined with HTMLWebpackPlugin, adds CSP tags to the HTML output","main":"plugin.js","scripts":{"eslint":"eslint .","eslint:fix":"eslint . --fix","jest":"jest --config=./jest.config.js plugin.jest.js","jest:watch":"jest --watch --verbose=false --config=./jest.config.js plugin.jest.js","jest:coverage:generate":"jest --coverage --config=./jest.config.js plugin.jest.js","jest:coverage:clean":"rm -rf ./coverage","jest:coverage:upload":"npx codecov --token=252086ef-c14d-4f29-ab36-720265249fa2","jest:coverage":"npm run jest:coverage:clean && npm run jest:coverage:generate && npm run jest:coverage:upload","test":"npm run eslint && npm run jest && npm run jest:coverage"},"repository":{"type":"git","url":"git@slack-github.com:anuj/csp-html-webpack-plugin.git"},"keywords":["webpack","csp","plugin","html"],"author":{"name":"Anuj Nair"},"license":"MIT","dependencies":{"babel-jest":"^23.6.0","cheerio":"^1.0.0-rc.2","lodash":"^4.17.11","memory-fs":"^0.4.1"},"peerDependencies":{"webpack":"^2 || ^3 || ^4","html-webpack-plugin":"^2 || ^3 || ^4"},"devDependencies":{"codecov":"^3.1.0","eslint":"^5.10.0","eslint-config-airbnb-base":"^13.1.0","eslint-config-prettier":"^3.3.0","eslint-plugin-import":"^2.14.0","eslint-plugin-prettier":"^3.0.0","html-webpack-plugin":"^3.2.0","jest":"^23.6.0","prettier":"^1.15.3","webpack":"^4.28.1"},"gitHead":"d426af17ad82662af577d76a03f9d6ef124b1d8c","_id":"csp-html-webpack-plugin@3.0.0","_npmVersion":"6.0.1","_nodeVersion":"10.1.0","_npmUser":{"name":"anujrnair","email":"anuj.r.nair@gmail.com"},"dist":{"integrity":"sha512-3zRF4vcFO9O6/EC/7nG1KlDIuwtP5IEJC/4Zi/rBGHWw3eNIvPXvurVrkpMtIJyBP/PSJmo+12KbI/raWEyANw==","shasum":"8d34f1dea0f7e0d253c767551a3a8d819adfba60","tarball":"https://registry.npmjs.org/csp-html-webpack-plugin/-/csp-html-webpack-plugin-3.0.0.tgz","fileCount":21,"unpackedSize":59822,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJcUe23CRA9TVsSAnZWagAA7xcP/1vdS9Z77OOVghK72O7q\nL0YVFD/XW3IVvL5ktx00gJG/dSXFS8S0ihNDAXzuvLs0G3wmzi6DoIsmmqvK\nGLHbdke7C+6JTS/UCixNEgplB/y5Ev+kX5eEah+p4/PmEC8YejJSPemjtAZU\n3nsClGc+wpi+ZujZ0CeBaYo/4IQgCRIcSjumEe73KLHkq2EeNzKajAwbCbpg\niKTlL9R4nOe6jAXv5q4mntXEPWOxUEJHzrL/FERw/80Orh2eDTUEvxC3/3zM\nZNd5D3evMiOTEdEvF4h49M0BxkmApzfz7m56GlNRWFlbS+YP14qsPB9zvb3o\nwVhlY6/pjkdI7KP0vy38io833J6YuhzAKjjjVahPqnULZS5qHglVIBfAL4TR\n0G5rsMnAeP71maaFInw/yVz9z6Q4NS5WJYXwX4ifJbjXmEQnQGwWv1gqdyvm\nk8VKmChI7eJ04p+oy7KCJzDoyislbF3UY5pMF6MO8zvMDpKpRzhQEyxExVCy\npmFC9eVr5H16+HEgAKx4jqMKXEbwht30k/ex4vkvqqtUsm26M4eIGDfUELY7\nLGamyv6CXyNKkOFc71Lhu/m5RvSRJniSLJKiPfqmVpw16MNYtWN9Sce+ev5H\n4xgaNJ2GpcaV/mfqIPkak8z3zOCfYpHYfpxZk1BCrrlw7E3ySQo0yPoFGRvO\nsVEs\r\n=fyhw\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQC1nhn85tciwr5/Sppu9oo+8JpmyhJBET/VQIqOfT/XIwIgZSmhPXjHaoqHVTXfkZubVHbt4Td7nX4jvEdYQsTGYRo="}]},"maintainers":[{"name":"anujrnair","email":"anuj.r.nair@gmail.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/csp-html-webpack-plugin_3.0.0_1548873143303_0.30172022160649603"},"_hasShrinkwrap":false},"3.0.1":{"name":"csp-html-webpack-plugin","version":"3.0.1","description":"A plugin which, when combined with HTMLWebpackPlugin, adds CSP tags to the HTML output","main":"plugin.js","scripts":{"eslint":"eslint .","eslint:fix":"eslint . --fix","jest":"jest --config=./jest.config.js plugin.jest.js","jest:watch":"jest --watch --verbose=false --config=./jest.config.js plugin.jest.js","jest:coverage:generate":"jest --coverage --config=./jest.config.js plugin.jest.js","jest:coverage:clean":"rm -rf ./coverage","jest:coverage:upload":"npx codecov --token=252086ef-c14d-4f29-ab36-720265249fa2","jest:coverage":"npm run jest:coverage:clean && npm run jest:coverage:generate && npm run jest:coverage:upload","test":"npm run eslint && npm run jest && npm run jest:coverage"},"repository":{"type":"git","url":"git@slack-github.com:anuj/csp-html-webpack-plugin.git"},"keywords":["webpack","csp","plugin","html"],"author":{"name":"Anuj Nair"},"license":"MIT","dependencies":{"cheerio":"^1.0.0-rc.2","lodash":"^4.17.11","memory-fs":"^0.4.1"},"peerDependencies":{"webpack":"^2 || ^3 || ^4","html-webpack-plugin":"^2 || ^3 || ^4"},"devDependencies":{"babel-jest":"^24.1.0","codecov":"^3.2.0","eslint":"^5.14.0","eslint-config-airbnb-base":"^13.1.0","eslint-config-prettier":"^4.0.0","eslint-plugin-import":"^2.16.0","eslint-plugin-prettier":"^3.0.1","html-webpack-plugin":"^3.2.0","jest":"^24.1.0","prettier":"^1.16.4","webpack":"^4.29.5"},"gitHead":"45451ea3dab0e46cf2cb093a6f9593cd8b9427b9","_id":"csp-html-webpack-plugin@3.0.1","_npmVersion":"6.0.1","_nodeVersion":"10.1.0","_npmUser":{"name":"anujrnair","email":"anuj.r.nair@gmail.com"},"dist":{"integrity":"sha512-oUzxLZqyDIpnCUmWdER1aCqz7D1CwSf9xiK6688sc5dBcwYoWTW5KVziTnbV72zsuQbkIhyvn7653Gorb6Ni3A==","shasum":"dd217fa133571a6a1f7818b00292fb8f6ef83bb9","tarball":"https://registry.npmjs.org/csp-html-webpack-plugin/-/csp-html-webpack-plugin-3.0.1.tgz","fileCount":21,"unpackedSize":59772,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJcat+SCRA9TVsSAnZWagAA7vwQAJ5gJOExCTWy03CTNek5\nYxLKH5PG3zzFcx3hOZlD1NgyTmWXNNCxScgIQEftoiT8f71KNScnMe5i0zXa\nbuKxOk2wGbtLqoji74DEiNFNRzC+f2SRWhOVNnyMoUm4SpvnOwDytQXFvTey\nWFilHLrO8tTpnDVuUeEeQ2RHG2oxzgC/9nw8DU9tDrlCZpp3ZVGoSdHoI6YK\nEEaunY0nxQLzFutN8lBe0YjFdaXndzB1pcg+3ksDmuyTTBlseiPQImlc52We\nl1g97SNcd2phenIyCAf2qz6IbUWfCewG9IxD2kfv3MlUMu1+NRaSjWWQo/OC\nQUQ9zwfh4PaGpdd3eKvSmkgCCVndW7+ll5grXkShtfGKP6PPYbChqSznv3D9\nCt9bg+IcAGes7aMAGSZQDZ/SHXpqLjjbKZ/6J/wAwMViIsXz+vC103paVwE/\n+SXankgJbdFlcwRDFNObu+tplUyud5K6H0bqdaoUJ5fm+FSqogyUxf7SdQA+\n7OsWqdqp3nOatJ9Ev2uDFR67t0Q3VY6MPm2XFX6fvGPR2uZfrPC2ixJSlfl+\nN6Tp5VxeQsFU2ddiEC9J8Sl9xeFg5U5GsNJm3eYE4IoeoWhAEE9ovEbVQ/zN\nUM5pV93PPcebnjI9v+ZFI3I3errOFoJ2vMreWIfOhjOPRCgbva1dqT6Tz2Fh\n9xNy\r\n=V/+O\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQC+uR/oENzaudzFf7F0qeSXmXSJFReWymIRZQGFU/0euAIgReCtAUj1HKJ2Yz7ch6fR1lXytkDFLfngsBcNIAoJJdM="}]},"maintainers":[{"name":"anujrnair","email":"anuj.r.nair@gmail.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/csp-html-webpack-plugin_3.0.1_1550507921549_0.8573954588600832"},"_hasShrinkwrap":false},"3.0.2":{"name":"csp-html-webpack-plugin","version":"3.0.2","description":"A plugin which, when combined with HTMLWebpackPlugin, adds CSP tags to the HTML output","main":"plugin.js","scripts":{"eslint":"eslint .","eslint:fix":"eslint . --fix","jest":"jest --config=./jest.config.js plugin.jest.js","jest:watch":"jest --watch --verbose=false --config=./jest.config.js plugin.jest.js","jest:coverage:generate":"jest --coverage --config=./jest.config.js plugin.jest.js","jest:coverage:clean":"rm -rf ./coverage","jest:coverage:upload":"npx codecov --token=252086ef-c14d-4f29-ab36-720265249fa2","jest:coverage":"npm run jest:coverage:clean && npm run jest:coverage:generate && npm run jest:coverage:upload","test":"npm run eslint && npm run jest && npm run jest:coverage"},"repository":{"type":"git","url":"git@slack-github.com:anuj/csp-html-webpack-plugin.git"},"keywords":["webpack","csp","plugin","html"],"author":{"name":"Anuj Nair"},"license":"MIT","dependencies":{"cheerio":"^1.0.0-rc.2","lodash":"^4.17.11","memory-fs":"^0.4.1"},"peerDependencies":{"webpack":"^2 || ^3 || ^4","html-webpack-plugin":"^2 || ^3 || ^4"},"devDependencies":{"babel-jest":"^24.1.0","codecov":"^3.2.0","eslint":"^5.14.0","eslint-config-airbnb-base":"^13.1.0","eslint-config-prettier":"^4.0.0","eslint-plugin-import":"^2.16.0","eslint-plugin-prettier":"^3.0.1","html-webpack-plugin":"^3.2.0","jest":"^24.1.0","prettier":"^1.16.4","webpack":"^4.29.5"},"gitHead":"31f1d2d392734a33b64b1282bbaa8a14e9f51aac","_id":"csp-html-webpack-plugin@3.0.2","_npmVersion":"6.0.1","_nodeVersion":"10.1.0","_npmUser":{"name":"anujrnair","email":"anuj.r.nair@gmail.com"},"dist":{"integrity":"sha512-78aCKk1GMJN0j63VG7BOeybFbYgV3pZtCWYITHBhUG9m4GbiHDV1NRiQrPogQSoDplDyjuuX6vejgloPbA2pJQ==","shasum":"46589d9c1622968af3d279a3a3ce64de4c7fa4e4","tarball":"https://registry.npmjs.org/csp-html-webpack-plugin/-/csp-html-webpack-plugin-3.0.2.tgz","fileCount":21,"unpackedSize":59922,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJc9X1TCRA9TVsSAnZWagAAS6YP/11zQP/DYStOzRB9mMeh\naxy5akMSEdn0lMHiYBv0Jraj++Mt67Oocntu7aJt44TfKvMUJ5m7pzlE6OJO\nhQORQ8WPD/YuMlVCY8VDK47v9Gnl6N38yeCcvI3T4JuIVk67Uq+Nrt/w2Cnc\nB1WCVlJWA3q2wNjltqjWYlIDf40rwgOKPThmhERcx0LF2lGYck+UTM3koDyF\nYV5gxtIPvm6ND43c9OJS1+QL7AUxk6QtDVLvRjsFPdnPGPhI/P8TRAK8u0ef\nolMllua+TAn8qP7CFjM0h96t54JfP/eLWtBPUcZ5wif++iNwCw+00bm6hTmt\nT4TRLLicl34Sz3ymVNeOt8sgg190/xxb679peHasdKjT39uLtehf1x+IAH17\n6uu6BgccdFWS+kweLKtlVi8eX9tAuu2/nWmVUKVaQ+68taDtStp+lxbcHCcU\nL4qGLOX98qQagJd+Lu4ezaFFNcIQTIHXE3PthKBuRPZhtEKBkMeSjRmgifI2\nfnYJeimEqGef9bJHNQTWrUiiLtBaDOVQ5FuFbThOKI1Gx0AAIxMEPvtsbqM3\nC3olGIACu2KwO2rJGZ8RiSukGu6/Dm8qW4A4I09i7nNUWooKwkrRbhqec+b2\nnpwI16ZQ4t3EEv2Avpj+zGwFJZCmQd3CYK3O//Sqfx2r0d/vRp7xux5TO/Ej\niSVI\r\n=3jgF\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIA1IIJruMaKuTIpTt1ks0L/mpiDLNbBSis2vRjD7f7yrAiB59UlCKS8SI2kHECFA1eul0E5UZt1qjD8tj0mOYDdDqw=="}]},"maintainers":[{"name":"anujrnair","email":"anuj.r.nair@gmail.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/csp-html-webpack-plugin_3.0.2_1559592275229_0.7237898764317874"},"_hasShrinkwrap":false},"3.0.3":{"name":"csp-html-webpack-plugin","version":"3.0.3","description":"A plugin which, when combined with HTMLWebpackPlugin, adds CSP tags to the HTML output","main":"plugin.js","scripts":{"eslint":"eslint .","eslint:fix":"eslint . --fix","jest":"jest --config=./jest.config.js plugin.jest.js","jest:watch":"jest --watch --verbose=false --config=./jest.config.js plugin.jest.js","jest:coverage:generate":"jest --coverage --config=./jest.config.js plugin.jest.js","jest:coverage:clean":"rm -rf ./coverage","jest:coverage:upload":"npx codecov --token=252086ef-c14d-4f29-ab36-720265249fa2","jest:coverage":"npm run jest:coverage:clean && npm run jest:coverage:generate && npm run jest:coverage:upload","test":"npm run eslint && npm run jest && npm run jest:coverage"},"repository":{"type":"git","url":"git@slack-github.com:anuj/csp-html-webpack-plugin.git"},"keywords":["webpack","csp","plugin","html"],"author":{"name":"Anuj Nair"},"license":"MIT","dependencies":{"cheerio":"^1.0.0-rc.2","lodash":"^4.17.15","memory-fs":"^0.4.1"},"peerDependencies":{"webpack":"^2 || ^3 || ^4","html-webpack-plugin":"^2 || ^3 || ^4"},"devDependencies":{"babel-jest":"^24.8.0","codecov":"^3.5.0","eslint":"^5.16.0","eslint-config-airbnb-base":"^13.2.0","eslint-config-prettier":"^4.3.0","eslint-plugin-import":"^2.18.2","eslint-plugin-prettier":"^3.1.0","html-webpack-plugin":"^3.2.0","jest":"^24.8.0","prettier":"^1.18.2","webpack":"^4.29.5"},"gitHead":"00e3ed5ebd90bd079dc532aa8a981c8504487f7d","_id":"csp-html-webpack-plugin@3.0.3","_npmVersion":"6.0.1","_nodeVersion":"10.1.0","_npmUser":{"name":"anujrnair","email":"anuj.r.nair@gmail.com"},"dist":{"integrity":"sha512-E7IYkTYbh7lY2VpPa8snMrH0muoVCIdPb5dAW9dOX5CFRqeZNsBqqIBejlHJ2cn6rFrrQZ/s/vIh0ZTooBP+xQ==","shasum":"b2215664ebebbc3ceb84aadff0521f170ce0be65","tarball":"https://registry.npmjs.org/csp-html-webpack-plugin/-/csp-html-webpack-plugin-3.0.3.tgz","fileCount":21,"unpackedSize":59890,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJdQMgoCRA9TVsSAnZWagAA2asP/jhzKOMDYerJ3ggLVce9\ndYLlWYDVhqfqSh/QMGkAZE6WM1XpG/AM0kHF4N0Jt+XsrfNtC3U1fTXV44Hi\n323GiZoUu/ecU1YeH8ryQ+LcSBqn2jO5wL1EhzhG5MuykYFWNte1TDZ5wGlc\nqhIvaFGs/vKBdcIPSx6j1QfRUHUZQ54X8IwoZ8zRhDIeezdsks1weQ34eUTS\nX21JIEVvTVq5OugVUIIsTzKeBODzHVQm/gWzt2nRWmEFEx2N5DgIMbZzuGoC\nEXYPkgqrjGDoLkKC1lH4cQqvgcee7Jzwr6xuATptV7RV6PK0nw5VHUeX/kDm\n0vZm0f2ZIzNCrc21/Hp/4/DU9kA7Eh7mSGnJtsvDlAXSzrL8RN7B/X+yl44C\nCJrPKzcN4lm3jTbTWL8wG9bqi6XcOvMrIaqDSBipZeWR0xz4Dv3YVA/UNmEP\novKGHw6E6VRWZ3xqZLa8AlyOUZPVSvFW4amNcVGZtihbt9Y2fohksBwOxDKl\n8It/n9YEAfU7pBOXzcYuPxXk6WHaL/udz8f32qRan28Qgqia5bOiXyoA2+AF\nHB87jtC6maOkVNJG1t8FGzvPxudg81ojqPLn4Fnp4+17en5bLeO04NZBX41O\ni+hw95K93uN3YIT5RoPrVZj8AZcX15m0EM7Iwv4qu2RjX7/39M3DziHLCtSh\ngnKq\r\n=hWOq\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCX4tXNuYdxPOYqeyVk8coc0WeFoh56zqUSP2/P7igU6AIgS0xUNQfDMBM6SiRDScZNbngpBsF16nXZiTVVGfYhFa8="}]},"maintainers":[{"name":"anujrnair","email":"anuj.r.nair@gmail.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/csp-html-webpack-plugin_3.0.3_1564526631963_0.2000679138183219"},"_hasShrinkwrap":false},"3.0.4":{"name":"csp-html-webpack-plugin","version":"3.0.4","description":"A plugin which, when combined with HTMLWebpackPlugin, adds CSP tags to the HTML output","main":"plugin.js","scripts":{"eslint":"eslint .","eslint:fix":"eslint . --fix","jest":"jest --config=./jest.config.js plugin.jest.js","jest:watch":"jest --watch --verbose=false --config=./jest.config.js plugin.jest.js","jest:coverage:generate":"jest --coverage --config=./jest.config.js plugin.jest.js","jest:coverage:clean":"rm -rf ./coverage","jest:coverage:upload":"npx codecov --token=252086ef-c14d-4f29-ab36-720265249fa2","jest:coverage":"npm run jest:coverage:clean && npm run jest:coverage:generate && npm run jest:coverage:upload","test":"npm run eslint && npm run jest && npm run jest:coverage"},"homepage":"https://github.com/slackhq/csp-html-webpack-plugin","bugs":{"url":"https://github.com/slackhq/csp-html-webpack-plugin/issues"},"repository":{"type":"git","url":"git+ssh://git@github.com/slackhq/csp-html-webpack-plugin.git"},"keywords":["webpack","csp","plugin","html"],"author":{"name":"Anuj Nair"},"license":"MIT","dependencies":{"cheerio":"^1.0.0-rc.2","lodash":"^4.17.15","memory-fs":"^0.5.0"},"peerDependencies":{"webpack":"^2 || ^3 || ^4","html-webpack-plugin":"^2 || ^3 || ^4"},"devDependencies":{"babel-jest":"^24.9.0","codecov":"^3.6.1","eslint":"^6.6.0","eslint-config-airbnb-base":"^14.0.0","eslint-config-prettier":"^6.5.0","eslint-plugin-import":"^2.18.2","eslint-plugin-prettier":"^3.1.1","html-webpack-plugin":"^3.2.0","jest":"^24.9.0","prettier":"^1.18.2","webpack":"^4.29.5"},"gitHead":"2cb7ade5cf381d24f1c2455a153242bcb6ae0d09","_id":"csp-html-webpack-plugin@3.0.4","_npmVersion":"6.0.1","_nodeVersion":"10.1.0","_npmUser":{"name":"anujrnair","email":"anuj.r.nair@gmail.com"},"dist":{"integrity":"sha512-K0+PgO2QNHt77Nrj0P96fq2draYKrpWoWjdcEswAOtNeVK5UziraqP3FShsc6BAKjlUutaM5fO0TNvUARQ9x3A==","shasum":"15ec350d4e220cb2f6230e0f3b4114c48110df06","tarball":"https://registry.npmjs.org/csp-html-webpack-plugin/-/csp-html-webpack-plugin-3.0.4.tgz","fileCount":21,"unpackedSize":59884,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJduJY3CRA9TVsSAnZWagAAg2MP/1pQvzyvqtOvg34okPO9\n1RmC1Be5yUt3kHa/TrktmI5MGEkl87aL+1uAUFZnj1GMCUf+L3COf82Vwl/6\nZCbxbZ+CnpE0PeHjwIKI+RDc+r4UEv79nKPmTZpTCFUiCPpGd2AvcpGjyuca\nau1OSA8Pr6di4YfKOmYDqkxHZUPGcTZCZ2XDq5fpyQJofKRD4K+v7en9WpQ4\nbo8VblCwe1S2KLTyOUrO+IvusUujrge4F/CmznJNhPoetkBibTQrA1MhudIm\nw72KNZiutZApoFZaV9LXKzx3sqOFDNi9sHsgbLvjULF1YKxc71A5axHtirMd\nyfMWHCugGji7rjpzam7hbal+RGBuiUgvYQOeCzosmoV5HOWV+dgTk4yQZGUJ\nAhg0rWrb6JJyo+jem2doWz/jyZkIxc0vM7RlcC3VvaNQ4yMXri4iHkHuz7ds\n/lvyDJUHRMjvNoLqwUwHUNoNp95fQU2PoRjqVE/3B0LPD64VZwGhKxhiouVg\n3c9ybTD8TZsya3gV/oD1gSp5C64ODS4Q8rTHOl0qEUVv9u+FKjW5sG6bYI0Y\nS5j6BQ9bNRD4PMPe4MVsEj2JzfSsy7e9YWvm9C0YyhJhrayapfEWt/gGBLB1\nmwuUIky6zOuBQyov0kekc6aApf4SHXECY5TE9mFnAtOekCfEfhCp7cevGqBJ\nnfnT\r\n=3+ty\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCICJY5ddb68vrgaAPvG3Nb3KxiQKEoTc2TNNB6YGNiC/sAiBfHMJd4VUfXao8sSwuqn4SkAhkN36OyZKSC3CodCFNhA=="}]},"maintainers":[{"name":"anujrnair","email":"anuj.r.nair@gmail.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/csp-html-webpack-plugin_3.0.4_1572378166476_0.4328688883656515"},"_hasShrinkwrap":false},"4.0.0":{"name":"csp-html-webpack-plugin","version":"4.0.0","description":"A plugin which, when combined with HTMLWebpackPlugin, adds CSP tags to the HTML output","main":"plugin.js","scripts":{"eslint":"eslint .","eslint:fix":"eslint . --fix","jest":"jest --config=./jest.config.js plugin.jest.js","jest:watch":"jest --watch --verbose=false --config=./jest.config.js plugin.jest.js","jest:coverage:generate":"jest --coverage --config=./jest.config.js plugin.jest.js","jest:coverage:clean":"rm -rf ./coverage","jest:coverage:upload":"npx codecov","jest:coverage":"npm run jest:coverage:clean && npm run jest:coverage:generate && npm run jest:coverage:upload","test":"npm run eslint && npm run jest && npm run jest:coverage"},"homepage":"https://github.com/slackhq/csp-html-webpack-plugin","bugs":{"url":"https://github.com/slackhq/csp-html-webpack-plugin/issues"},"repository":{"type":"git","url":"git+ssh://git@github.com/slackhq/csp-html-webpack-plugin.git"},"keywords":["webpack","csp","plugin","html"],"author":{"name":"Anuj Nair"},"license":"MIT","dependencies":{"cheerio":"^1.0.0-rc.3","lodash":"^4.17.15","memory-fs":"^0.5.0"},"peerDependencies":{"webpack":"^2 || ^3 || ^4","html-webpack-plugin":"^2 || ^3 || ^4"},"devDependencies":{"babel-jest":"^25.3.0","codecov":"^3.6.5","eslint":"^6.8.0","eslint-config-airbnb-base":"^14.1.0","eslint-config-prettier":"^6.10.1","eslint-plugin-import":"^2.20.2","eslint-plugin-prettier":"^3.1.2","html-webpack-plugin":"^3.2.0","jest":"^25.3.0","prettier":"^2.0.4","webpack":"^4.29.5"},"gitHead":"28dce1cdbd33053d370577d08f07a896c3f87a88","_id":"csp-html-webpack-plugin@4.0.0","_nodeVersion":"12.13.0","_npmVersion":"6.13.4","dist":{"integrity":"sha512-1YqQefNG0SrZisysThlly2bgs4Ab/W91xOM17S8wd+6vTo3E0OdL+y4IAR0MKpthRluNGzFB3QhPqdOhkXAExg==","shasum":"1ed2cd0dee23186587f9642084715b163345b59b","tarball":"https://registry.npmjs.org/csp-html-webpack-plugin/-/csp-html-webpack-plugin-4.0.0.tgz","fileCount":21,"unpackedSize":65430,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJej1ZNCRA9TVsSAnZWagAAljcQAKHwWybS6ucBuIbdicCP\nbnPCAPyqrq+avD+q2tvBejiL8i8dns6YWVCI8sIHsRrAcsVVipRD/X5EMWuB\nJJ6tCBVkwUKWLOA7Bu/NLlQpoDK8vs4uIPqk92CeA5nPjiWqCisKQ2pIB8zM\n6ygwGhDRu7lWnQ27uoiwT2XcG/ZCe1b8O9v/4c5AxDsC+2QdBRnhTuNvJIqr\nXpXqPHQdkwJqA54PhI0CpXmAd/daoIBg9C7cMe8T4s6KI7L7LZ8PMI3RM7EI\nIohmXICnoARuy9IsvQFW9lOp2YtNE0E+W52i3I+AFRz412ksVaM1ItwDWt1B\nSvZaTdMfPFUAB1scdRIYmSsAc6B7v61MwgdMZnvLbRjAXfmtbMewrTOa9oEQ\noXgLBgaFfKqmKaAR+t8b+c1awBBEkANhWRFtEaiHC5i3BTBjs86nG+DW5kTq\nrbmhvCuLqqu/occL6WOl+PNn++JKIc8Z8mH3+Vl7jOx6fSuj3pBsMQ46vFa+\nAgXcN4SHH3RHXhl6EWy6up5mZkB9pgvQnmaZpb50q0Wawu+2fPZguV2U5R9q\nSAbe3VQOdhCQIMiPD69Fc/IAlUo6jzkr9iE3qC4WiOg3wd1S1w9ay31LwL/L\n6qVYQYMbWSibv7WZ+7bgb98wwE4byav2uwekTfPWyqXYRlQDOSLciz0t9MEa\n9aJn\r\n=0GxS\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQC7nIlboDG9dtHGcfrYF48qFZiH2gXQxu+A3kxF65yK7QIgQc3BkZm3qF+t9tHhb/J+J1MYqozF2Jyh9uSvvIG4iIg="}]},"maintainers":[{"name":"anujrnair","email":"anuj.r.nair@gmail.com"}],"_npmUser":{"name":"anujrnair","email":"anuj.r.nair@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/csp-html-webpack-plugin_4.0.0_1586452044440_0.02694852039696949"},"_hasShrinkwrap":false},"5.0.0":{"name":"csp-html-webpack-plugin","version":"5.0.0","description":"A plugin which, when combined with HTMLWebpackPlugin, adds CSP tags to the HTML output","main":"plugin.js","scripts":{"eslint":"eslint .","eslint:fix":"eslint . --fix","jest":"jest --config=./jest.config.js plugin.jest.js","jest:watch":"jest --watch --verbose=false --config=./jest.config.js plugin.jest.js","jest:coverage:generate":"jest --coverage --config=./jest.config.js plugin.jest.js","jest:coverage:clean":"rm -rf ./coverage","jest:coverage:upload":"npx codecov","jest:coverage":"npm run jest:coverage:clean && npm run jest:coverage:generate && npm run jest:coverage:upload","test":"npm run eslint && npm run jest && npm run jest:coverage"},"homepage":"https://github.com/slackhq/csp-html-webpack-plugin","bugs":{"url":"https://github.com/slackhq/csp-html-webpack-plugin/issues"},"repository":{"type":"git","url":"git+ssh://git@github.com/slackhq/csp-html-webpack-plugin.git"},"keywords":["webpack","csp","plugin","html"],"author":{"name":"Anuj Nair"},"license":"MIT","dependencies":{"cheerio":"^1.0.0-rc.3","lodash":"^4.17.20","memory-fs":"^0.5.0"},"peerDependencies":{"webpack":"^4 || ^5","html-webpack-plugin":"^4 || ^5"},"devDependencies":{"babel-jest":"^26.6.3","codecov":"^3.8.1","eslint":"^7.15.0","eslint-config-airbnb-base":"^14.2.1","eslint-config-prettier":"^7.0.0","eslint-plugin-import":"^2.22.1","eslint-plugin-prettier":"^3.3.0","html-webpack-plugin":"^5.0.0-alpha.15","jest":"^26.6.3","prettier":"^2.2.1","webpack":"^5.10.1"},"gitHead":"e204321b3744e597d6a8d21d46a2e75d2c0dd635","_id":"csp-html-webpack-plugin@5.0.0","_nodeVersion":"12.13.0","_npmVersion":"6.13.4","dist":{"integrity":"sha512-Qz1T12JeaIP11JP+LdN3gfBgLpN/GdZrsOYZX8wzeutIIDVNDBABNAxQPM2rtstUKFoujc9c1M4NooedWrNPUw==","shasum":"c5c8b61b91edd89a0d9c59f85d01b3e10c3cb9c6","tarball":"https://registry.npmjs.org/csp-html-webpack-plugin/-/csp-html-webpack-plugin-5.0.0.tgz","fileCount":21,"unpackedSize":64231,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJf256GCRA9TVsSAnZWagAAeHIP/irmBoH2+EKhpZnWh78D\nilQPurg0mqzxjt1swrj34nQMC0HvaFz8mR056VhQ+gyZFk+fRoybMVP6DoTs\n1Bn4FoPhv11gvq6WDE2rJMI+wEvljwRsILHFHJqf9AftlLWQQG/qwYnNTzRe\nDNBehyTAHC+FgMJLijFh0/EZHydfTVzAM/yba2u3kMoM8TlGMmhDZHnbB7Ww\nIp2s/iTLKstqKBZxxSgWCP4W8ReewtYe47WdKZEkOq8HfAA4ijRfiNRk/d5F\n+5R6SVJD3GNWsIIn+e/9ZxmJn3vPa2MCiFzejfAR/SzrAaCq/aQw6Oe0IB1h\nieXT4XdrsIquJp3pS9YWIBa7qFaMSxkOK8O2dcauK1D4xrtC4bvyrTj26fOD\n3vDE7iHAPDTz1fCcpeBimU4J+Xcg5/9AFc+h8JKLQdPg5foPTx0zLzBs03kL\nZ0fxNctatVvt0NdhqqetmiZrAIVM8oNATpRsGUA58iYgUxr21Z8kmxye2fez\nojsefv6jy3+QbNcdJ5/7m7z3xlVuADi4weknMFxcienwMeAuMAKwPLicOZm9\nO1KqCL+77wa3wLvFgwueXit/lwhRX1zGKkrmSrtvVphXPo7N0RnIJS52wBMR\nczBXqkNpFl+HCq6qlmozG7UeE9iPcdbGiXqicsVNANbq2goor+LOB9d3gsap\nu3UA\r\n=tydJ\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIDpHzWQssILNrRcmHg+iSW5Yjl1qH7CbBkGQ17o36t2RAiEAiuLaV8YqYDLp4+S3GE+I+9RIsjghXA2gwALGKsHb39U="}]},"_npmUser":{"name":"anujrnair","email":"anuj.r.nair@gmail.com"},"directories":{},"maintainers":[{"name":"anujrnair","email":"anuj.r.nair@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/csp-html-webpack-plugin_5.0.0_1608228485535_0.38348228432720766"},"_hasShrinkwrap":false},"5.0.1":{"name":"csp-html-webpack-plugin","version":"5.0.1","description":"A plugin which, when combined with HTMLWebpackPlugin, adds CSP tags to the HTML output","main":"plugin.js","scripts":{"eslint":"eslint .","eslint:fix":"eslint . --fix","jest":"jest --config=./jest.config.js plugin.jest.js","jest:watch":"jest --watch --verbose=false --config=./jest.config.js plugin.jest.js","jest:coverage:generate":"jest --coverage --config=./jest.config.js plugin.jest.js","jest:coverage:clean":"rm -rf ./coverage","jest:coverage:upload":"npx codecov","jest:coverage":"npm run jest:coverage:clean && npm run jest:coverage:generate && npm run jest:coverage:upload","test":"npm run eslint && npm run jest && npm run jest:coverage"},"homepage":"https://github.com/slackhq/csp-html-webpack-plugin","bugs":{"url":"https://github.com/slackhq/csp-html-webpack-plugin/issues"},"repository":{"type":"git","url":"git+ssh://git@github.com/slackhq/csp-html-webpack-plugin.git"},"keywords":["webpack","csp","plugin","html"],"author":{"name":"Anuj Nair"},"license":"MIT","dependencies":{"cheerio":"^1.0.0-rc.5","lodash":"^4.17.20"},"peerDependencies":{"webpack":"^4 || ^5","html-webpack-plugin":"^4 || ^5"},"devDependencies":{"babel-jest":"^26.6.3","codecov":"^3.8.1","eslint":"^7.16.0","eslint-config-airbnb-base":"^14.2.1","eslint-config-prettier":"^7.1.0","eslint-plugin-import":"^2.22.1","eslint-plugin-prettier":"^3.3.0","html-webpack-plugin":"^5.0.0-alpha.15","jest":"^26.6.3","memory-fs":"^0.5.0","prettier":"^2.2.1","webpack":"^5.10.1"},"gitHead":"540e33908cf174234d7f3fbc9e26d5c8d9d28801","_id":"csp-html-webpack-plugin@5.0.1","_nodeVersion":"12.13.0","_npmVersion":"6.13.4","dist":{"integrity":"sha512-oEmhF2lc20WLQd3F+5s+zLtR1ZNVxcOeMFLacD428/9DEV4DaVXSpUXdKuG1if/UqweIRwCxK4JkMyVVV3dNrw==","shasum":"287c5763ac1276eada1c1c93057b7d8593a55c22","tarball":"https://registry.npmjs.org/csp-html-webpack-plugin/-/csp-html-webpack-plugin-5.0.1.tgz","fileCount":24,"unpackedSize":68415,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJf48jKCRA9TVsSAnZWagAAxfsP/jeM5er4v550HCS02QTW\nZfBYMupr34Vy5xtRyPERWSrQ+6d2F0R9/SjxjJf+VhPjlIy7V1s0FevwWaZr\nC7fTsenETIdRULVddXTuISZfXeo7+6WsxYuLz+pMugBC3qMX2YuTS9N/jGEa\n6gyt6zrYk8cPEF6XRiwjGLmpqrdfrYf0J/2t9srrvpiE3sbA+BxpO2CdYOe6\nnm3N6LKU9hcPCDBrZStduaLdeMwdQ0lHyRsUTF/uisyrGB/BnOvoeJatZiR3\nUXvW4UweqblR7Mxqkns7ySGTYcPy4AnXMqCTaXoY4I7Pcj6ogCYOc1yKE5sW\ntVPoIrreP+x9QTkAyGr0qQPOjvtet5dquWeoUP74CqaWythPLTgm00Jq16K6\ncHlyooVdywiNEjaQthfgN02JiK9MT5zks9GONgkZI2o8kgj2rra7s6UP1KIP\nxbwctCuSAyr8/PR2QDNC9Dcuof5mdIorSTDV4Yodb92FmJ9uXetKRQM5kNmI\nmADaeavrXcPYhYgIiyAG4mNUP8N3edgC5pU89lyjzO258WKJRVQCaetplyxG\nbJmu7flxNzuSGp8KGhAxM2eacZS8QjO+JT9Itb2Elg+59RZ8mwmrFBVifzEy\nHyYLCDNu8ir6uo76zo5p2gD4SbJ6UDVJF0IJ6N8v/ZIddNREftI4JtWzWni3\nP1JH\r\n=Abtw\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCeCizf+acFdl2idDr07ZpRdC0R3xx2X6TjKkPpUbDEdwIgDAF5yQdykPyZTZ6vcwfnET2oOL7twBYvA1a3o31exIo="}]},"_npmUser":{"name":"anujrnair","email":"anuj.r.nair@gmail.com"},"directories":{},"maintainers":[{"name":"anujrnair","email":"anuj.r.nair@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/csp-html-webpack-plugin_5.0.1_1608763589299_0.48068095620406015"},"_hasShrinkwrap":false},"5.1.0":{"name":"csp-html-webpack-plugin","version":"5.1.0","description":"A plugin which, when combined with HTMLWebpackPlugin, adds CSP tags to the HTML output","main":"plugin.js","scripts":{"eslint":"eslint .","eslint:fix":"eslint . --fix","jest":"jest --config=./jest.config.js plugin.jest.js","jest:watch":"jest --watch --verbose=false --config=./jest.config.js plugin.jest.js","jest:coverage:generate":"jest --coverage --config=./jest.config.js plugin.jest.js","jest:coverage:clean":"rm -rf ./coverage","jest:coverage:upload":"npx codecov","jest:coverage":"npm run jest:coverage:clean && npm run jest:coverage:generate && npm run jest:coverage:upload","test":"npm run eslint && npm run jest && npm run jest:coverage"},"homepage":"https://github.com/slackhq/csp-html-webpack-plugin","bugs":{"url":"https://github.com/slackhq/csp-html-webpack-plugin/issues"},"repository":{"type":"git","url":"git+ssh://git@github.com/slackhq/csp-html-webpack-plugin.git"},"keywords":["webpack","csp","plugin","html"],"author":{"name":"Anuj Nair"},"license":"MIT","dependencies":{"cheerio":"^1.0.0-rc.5","lodash":"^4.17.20"},"peerDependencies":{"webpack":"^4 || ^5","html-webpack-plugin":"^4 || ^5"},"devDependencies":{"babel-jest":"^26.6.3","codecov":"^3.8.1","eslint":"^7.16.0","eslint-config-airbnb-base":"^14.2.1","eslint-config-prettier":"^7.1.0","eslint-plugin-import":"^2.22.1","eslint-plugin-prettier":"^3.3.0","html-webpack-plugin":"^5.0.0-alpha.15","jest":"^26.6.3","memory-fs":"^0.5.0","prettier":"^2.2.1","webpack":"^5.10.1","webpack-sources":"^2.2.0"},"gitHead":"d4cf1ddbfc58721517673135e6bfa341416273f8","_id":"csp-html-webpack-plugin@5.1.0","_nodeVersion":"12.13.0","_npmVersion":"6.13.4","dist":{"integrity":"sha512-6l/s6hACE+UA01PLReNKZfgLZWM98f7ewWmE79maDWIbEXiPcIWQGB3LQR/Zw+hPBj4XPZZ5zNrrO+aygqaLaQ==","shasum":"b3bfa5a50d207fe5b6bb4839dc33aa59621a35a0","tarball":"https://registry.npmjs.org/csp-html-webpack-plugin/-/csp-html-webpack-plugin-5.1.0.tgz","fileCount":24,"unpackedSize":72633,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJf/eUsCRA9TVsSAnZWagAAeGIP/jzAgIHyB5XsGKtoFaJk\nFiXEqkxdKOgqw/x/+A8DxWBQOZ4oQReSGBaVCKbQwLcTmgiZI6QHOge3dAzk\nvV5Stk4W1yKXKFnZB7cw9PHqviW1l80R1XLcfzS7TdzmH0DBel76PXIfZBGi\nn1AI7ZGOQpEa9l1Aybr2e7NGm3K6H0A1aRBm6w5ku9yGdWS18E08Zfl3HAEf\niIO6QouGh0qS5tGUxj/PiTzsobZSp0AxAZVBd3CIgGgPxd1//bfqqN4ATfFN\ndNjygXtrEdAc2sp2kZf8rfkZvlNhS6oEyVKC8FtWOv39HZPbCtC8fWI/qnjB\n53KegguQokczSCA5jYLKfDE7rJHTfOt2XCLLlU2Ap/ePgWJ6haS+AaJhqlMY\nVG8qOy1aksx/L/IhP11zLPkstup2mqcI8HZ7lj/avM1EWNUgtSrcis9OHt//\nATAbkFblovyQ4Nak/jxlHu4P+rx6XSigLP8WsN6s6DNRLrtyi9wANiIvai+4\n9/Ux0XeQmUxVWbTc6T9kcQXADxw9qpEjgwl5H5ATF5nztwQOJk0KT98xCFig\n1SIkAhqhPUQahrniN4FgDnPGxl+frWe15BXS346Mrl5d3ep+GSEBZrRx8agq\nv8fA3jX0P+WXZJBiJHEOKEGlguOW2rjXI7w5cfJgLHSxfKD4QKn+6QDUvw8W\nBqQD\r\n=4kpB\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDvmMUjjIYdyCTkMAIoF5P+jWlAhBgUbIoB4zvye9WGUgIhAJtrPM4Ks8Tn3VYrutohdLKUnQEJQ4mqwL/VQZL+cOH+"}]},"_npmUser":{"name":"anujrnair","email":"anuj.r.nair@gmail.com"},"directories":{},"maintainers":[{"name":"anujrnair","email":"anuj.r.nair@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/csp-html-webpack-plugin_5.1.0_1610474795884_0.26441790930612297"},"_hasShrinkwrap":false}},"readme":"# CSP HTML Webpack Plugin\n\n[![License](https://img.shields.io/badge/license-MIT-blue.svg)](https://github.com/slackhq/csp-html-webpack-plugin/blob/master/LICENSE)\n[![npm](https://img.shields.io/npm/v/csp-html-webpack-plugin.svg)](https://www.npmjs.com/package/csp-html-webpack-plugin)\n[![Code Style](https://img.shields.io/badge/code%20style-prettier-brightgreen.svg)](https://github.com/prettier/prettier)\n[![Build Status](https://travis-ci.org/slackhq/csp-html-webpack-plugin.svg?branch=master)](https://travis-ci.org/slackhq/csp-html-webpack-plugin)\n[![codecov](https://codecov.io/gh/slackhq/csp-html-webpack-plugin/branch/master/graph/badge.svg?token=cBemDmnz85)](https://codecov.io/gh/slackhq/csp-html-webpack-plugin)\n\n## About\n\nThis plugin will generate meta content for your [Content Security Policy](https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Content-Security-Policy)\ntag and input the correct data into your HTML template, generated by [html-webpack-plugin](https://github.com/jantimon/html-webpack-plugin/).\n\nAll inline JS and CSS will be hashed and inserted into the policy.\n\n## Installation\n\nInstall the plugin with npm:\n\n```bash\nnpm i --save-dev csp-html-webpack-plugin\n```\n\n## Basic Usage\n\nInclude the following in your webpack config:\n\n```js\nconst HtmlWebpackPlugin = require('html-webpack-plugin');\nconst CspHtmlWebpackPlugin = require('csp-html-webpack-plugin');\n\nmodule.exports = {\n  // rest of webpack config\n\n  plugins: [\n    new HtmlWebpackPlugin()\n    new CspHtmlWebpackPlugin({\n      // config here, see below\n    })\n  ]\n}\n```\n\n## Recommended Configuration\n\nBy default, the `csp-html-webpack-plugin` has a very lax policy. You should configure it for your needs.\n\nA good starting policy would be the following:\n\n```\nnew CspHtmlWebpackPlugin({\n  'script-src': '',\n  'style-src': ''\n});\n```\n\nAlthough we're configuring `script-src` and `style-src` to be blank, the CSP plugin will scan your HTML\ngenerated in `html-webpack-plugin` for external/inline script and style tags, and will add the appropriate\nhashes and nonces to your CSP policy. This configuration will also add a `base-uri` and `object-src` entry\nthat exist in the default policy:\n\n```\n<meta http-equiv=\"Content-Security-Policy\" content=\"\n  base-uri 'self';\n  object-src 'none';\n  script-src 'sha256-0Tumwf1AbPDHZO4kdvXUd4c5PiHwt55hre+RDxj9O3Q='\n             'nonce-hOlyTAhW5QI5p+rv9VUPZg==';\n  style-src 'sha256-zfLUTOi9wwJktpDIoBZQecK4DNIVxW8Tl0cadROvQgo='\n\">\n```\n\nThis configuration should work for most use cases, and will provide a strong layer of extra security.\n\n## All Configuration Options\n\n### `CspHtmlWebpackPlugin`\n\nThis `CspHtmlWebpackPlugin` accepts 2 params with the following structure:\n\n- `{object}` Policy (optional) - a flat object which defines your CSP policy. Valid keys and values can be found on the [MDN CSP](https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Content-Security-Policy) page. Values can either be a string, or an array of strings.\n- `{object}` Additional Options (optional) - a flat object with the optional configuration options:\n  - `{boolean|Function}` enabled - if false, or the function returns false, the empty CSP tag will be stripped from the html output.\n    - The `htmlPluginData` is passed into the function as it's first param.\n    - If `enabled` is set the false, it will disable generating a CSP for all instances of `HtmlWebpackPlugin` in your webpack config.\n  - `{string}` hashingMethod - accepts 'sha256', 'sha384', 'sha512' - your node version must also accept this hashing method.\n  - `{object}` hashEnabled - a `<string, boolean>` entry for which policy rules are allowed to include hashes\n  - `{object}` nonceEnabled - a `<string, boolean>` entry for which policy rules are allowed to include nonces\n  - `{Function}` processFn - allows the developer to overwrite the default method of what happens to the CSP after it has been created\n    - Parameters are:\n      - `builtPolicy`: a `string` containing the completed policy;\n      - `htmlPluginData`: the `HtmlWebpackPlugin` `object`;\n      - `$`: the `cheerio` object of the html file currently being processed\n      - `compilation`: Internal webpack object to manipulate the build\n\n### `HtmlWebpackPlugin`\n\nThe plugin also adds a new config option onto each `HtmlWebpackPlugin` instance:\n\n- `{object}` cspPlugin - an object containing the following properties:\n  - `{boolean}` enabled - if false, the CSP tag will be removed from the HTML which this HtmlWebpackPlugin instance is generating.\n  - `{object}` policy - A custom policy which should be applied only to this instance of the HtmlWebpackPlugin\n  - `{object}` hashEnabled - a `<string, boolean>` entry for which policy rules are allowed to include hashes\n  - `{object}` nonceEnabled - a `<string, boolean>` entry for which policy rules are allowed to include nonces\n  - `{Function}` processFn - allows the developer to overwrite the default method of what happens to the CSP after it has been created\n    - Parameters are:\n      - `builtPolicy`: a `string` containing the completed policy;\n      - `htmlPluginData`: the `HtmlWebpackPlugin` `object`;\n      - `$`: the `cheerio` object of the html file currently being processed\n      - `compilation`: Internal webpack object to manipulate the build\n\n### Order of Precedence:\n\nYou don't have to include the same policy / `hashEnabled` / `nonceEnabled` configuration object in both `HtmlWebpackPlugin` and `CspHtmlWebpackPlugin`.\n\n- Config included in `CspHtmlWebpackPlugin` will be applied to all instances of `HtmlWebpackPlugin`.\n- Config included in a single `HtmlWebpackPlugin` instantiation will only be applied to that instance.\n\nIn the case where a config object is defined in multiple places, it will be merged in the order defined below, with former keys overriding latter. This means entries for a specific rule will not be merged; they will be replaced.\n\n```\n> HtmlWebpackPlugin cspPlugin.policy\n> CspHtmlWebpackPlugin policy\n> CspHtmlWebpackPlugin defaultPolicy\n```\n\n## Appendix\n\n#### Default Policy:\n\n```js\n{\n  'base-uri': \"'self'\",\n  'object-src': \"'none'\",\n  'script-src': [\"'unsafe-inline'\", \"'self'\", \"'unsafe-eval'\"],\n  'style-src': [\"'unsafe-inline'\", \"'self'\", \"'unsafe-eval'\"]\n};\n```\n\n#### Default Additional Options:\n\n```js\n{\n  enabled: true\n  hashingMethod: 'sha256',\n  hashEnabled: {\n    'script-src': true,\n    'style-src': true\n  },\n  nonceEnabled: {\n    'script-src': true,\n    'style-src': true\n  },\n  processFn: defaultProcessFn\n}\n```\n\n#### Full Default Configuration:\n\n```js\nnew HtmlWebpackPlugin({\n  cspPlugin: {\n    enabled: true,\n    policy: {\n      'base-uri': \"'self'\",\n      'object-src': \"'none'\",\n      'script-src': [\"'unsafe-inline'\", \"'self'\", \"'unsafe-eval'\"],\n      'style-src': [\"'unsafe-inline'\", \"'self'\", \"'unsafe-eval'\"]\n    },\n    hashEnabled: {\n      'script-src': true,\n      'style-src': true\n    },\n    nonceEnabled: {\n      'script-src': true,\n      'style-src': true\n    },\n    processFn: defaultProcessFn  // defined in the plugin itself\n  }\n});\n\nnew CspHtmlWebpackPlugin({\n  'base-uri': \"'self'\",\n  'object-src': \"'none'\",\n  'script-src': [\"'unsafe-inline'\", \"'self'\", \"'unsafe-eval'\"],\n  'style-src': [\"'unsafe-inline'\", \"'self'\", \"'unsafe-eval'\"]\n}, {\n  enabled: true,\n  hashingMethod: 'sha256',\n  hashEnabled: {\n    'script-src': true,\n    'style-src': true\n  },\n  nonceEnabled: {\n    'script-src': true,\n    'style-src': true\n  },\n  processFn: defaultProcessFn  // defined in the plugin itself\n})\n```\n## Advanced Usage\n### Generating a file containing the CSP directives\n\nSome specific directives require the CSP to be sent to the client via a response header (e.g. `report-uri` and `report-to`)\nYou can set your own `processFn` callback to make this happen.\n\n#### nginx\n\nIn your webpack config:\n\n```js\nconst RawSource = require('webpack-sources').RawSource;\n\nfunction generateNginxHeaderFile(\n  builtPolicy,\n  _htmlPluginData,\n  _obj,\n  compilation\n) {\n  const header =\n    'add_header Content-Security-Policy \"' +\n    builtPolicy +\n    '; report-uri /csp-report/ \";';\n  compilation.emitAsset('nginx-csp-header.conf', new RawSource(header));\n}\n\nmodule.exports = {\n  {...},\n  plugins: [\n    new CspHtmlWebpackPlugin(\n      {...}, {\n      processFn: generateNginxHeaderFile\n    })\n  ]\n};\n```\nIn your nginx config:\n```nginx\nlocation / {\n  ...\n  include /path/to/webpack/output/nginx-csp-header.conf\n}\n```\n## Contribution\n\nContributions are most welcome! Please see the included contributing file for more information.\n\n## License\n\nThis project is licensed under MIT. Please see the included license file for more information.\n","maintainers":[{"name":"anujrnair","email":"anuj.r.nair@gmail.com"}],"time":{"modified":"2022-04-27T23:22:09.915Z","created":"2018-01-18T18:39:42.894Z","1.0.0":"2018-01-18T18:39:42.894Z","1.0.1":"2018-01-18T19:07:23.799Z","1.1.0":"2018-01-19T18:59:54.165Z","2.0.0":"2018-01-24T01:04:01.873Z","2.0.1":"2018-01-24T01:38:42.869Z","2.0.2":"2018-01-24T23:05:28.918Z","2.1.0":"2018-02-21T21:43:54.556Z","2.2.0":"2018-03-21T20:48:09.073Z","2.3.0":"2018-05-16T18:02:25.053Z","2.4.0":"2018-11-30T18:39:07.115Z","2.5.0":"2018-12-19T21:25:02.570Z","3.0.0-beta.1":"2019-01-03T18:11:36.414Z","3.0.0-beta.2":"2019-01-03T21:30:09.971Z","3.0.0":"2019-01-30T18:32:23.462Z","3.0.1":"2019-02-18T16:38:41.774Z","3.0.2":"2019-06-03T20:04:35.342Z","3.0.3":"2019-07-30T22:43:52.105Z","3.0.4":"2019-10-29T19:42:46.597Z","4.0.0":"2020-04-09T17:07:24.620Z","5.0.0":"2020-12-17T18:08:05.718Z","5.0.1":"2020-12-23T22:46:34.150Z","5.1.0":"2021-01-12T18:06:36.064Z"},"keywords":["webpack","csp","plugin","html"],"repository":{"type":"git","url":"git+ssh://git@github.com/slackhq/csp-html-webpack-plugin.git"},"author":{"name":"Anuj Nair"},"license":"MIT","readmeFilename":"README.md","homepage":"https://github.com/slackhq/csp-html-webpack-plugin","bugs":{"url":"https://github.com/slackhq/csp-html-webpack-plugin/issues"}}