{"_id":"vite-plugin-csp","_rev":"6-66c6ed2ef75aa8f431b6df04240557da","name":"vite-plugin-csp","dist-tags":{"latest":"1.1.2"},"versions":{"1.0.0":{"name":"vite-plugin-csp","version":"1.0.0","description":"Create CSP meta tags and header configs from all sources in the final Vite html","type":"module","scripts":{"dev":"npm run build -- --watch","prebuild":"cp node_modules/csp-typed-directives/dist/index.d.ts ./src/csp-typed-directives.d.ts","build":"tsup src/index.ts --sourcemap --dts --minify --format cjs,esm","log":"conventional-changelog -p angular -i CHANGELOG.md -s","lint":"run-s lint:*","lint:typescript":"eslint src --ext .ts --fix","lint:markdown":"markdownlint-cli2-fix \"**/*.md\" \"#node_modules\" \"#CHANGELOG.md\"","test":"run-s test:*","test:lint":"eslint src --ext .ts","test:markdown":"markdownlint-cli2 \"**/*.md\" \"#node_modules\" \"#CHANGELOG.md\"","test:spelling":"cspell --config ./cSpell.json \"{README.md,.github/*.md,src/**/*.ts,docs/**/*.md}\"","test:unit":"jest -c config/jest.config.ts -b --forceExit --coverage --runInBand --detectOpenHandles","watch:test":"jest -c config/jest.config.ts -b --forceExit --runInBand --watch --detectOpenHandles","cov:send":"run-s build test && codecov","doc":"run-s doc:html && open-cli build/docs/index.html","doc:html":"typedoc src/ --exclude **/*.test.ts --target ES6 --mode file --out build/docs","doc:json":"typedoc src/ --exclude **/*.test.ts --target ES6 --mode file --json build/docs/typedoc.json","reset-hard":"git clean -dfx && git reset --hard && npm i","prepare-release":"run-s reset-hard test doc:html version doc:publish","ci:validate":"rm -rf node_modules && npm ci && npm run test","prepublishOnly":"run-s pinst:disable ci:validate build","semantic-release":"semantic-release","install:husky":"is-ci || husky install","pinst:disable":"pinst --disable","postpublish":"pinst --enable"},"repository":{"type":"git","url":"git+https://github.com/josh-hemphill/vite-plugin-csp.git"},"keywords":["vite-plugin","CSP","CSPs","header","security","generate"],"maintainers":[{"name":"joshhemphill","email":"jhemphill@tecnicocorp.com"}],"author":{"name":"Joshua Hemphill","email":"jhemphill@tecnicocorp.com","url":"https://joshuahemphill.com"},"license":"MIT","bugs":{"url":"https://github.com/josh-hemphill/vite-plugin-csp/issues"},"homepage":"https://github.com/josh-hemphill/vite-plugin-csp#readme","main":"dist/index.cjs","module":"dist/index.js","exports":{"import":"./dist/index.js","require":"./dist/index.cjs"},"types":"dist/index.d.ts","typings":"dist/index.d.ts","peerDependencies":{"vite":">=2.0.0"},"devDependencies":{"@commitlint/cli":"^12.1.1","@commitlint/config-conventional":"^12.1.1","@semantic-release/changelog":"^5.0.1","@semantic-release/git":"^9.0.0","@semantic-release/npm":"^7.1.3","@types/css-tree":"^1.0.5","@types/jest":"^26.0.23","@types/mock-fs":"^4.13.0","@types/node":"^14.14.43","@types/parse5":"^6.0.0","@typescript-eslint/eslint-plugin":"^4.22.0","@typescript-eslint/parser":"^4.22.0","codecov":"^3.8.2","commitizen":"^4.2.3","conventional-changelog-cli":"^2.1.1","cspell":"^5.3.12","cz-conventional-changelog":"^3.2.0","eslint":"^7.25.0","eslint-plugin-import":"^2.22.1","eslint-plugin-jest":"^24.3.6","eslint-plugin-node":"^11.1.0","eslint-plugin-promise":"^5.1.0","gh-pages":"^3.1.0","husky":"^5.2.0","jest":"^26.6.3","lint-staged":"^11.0.0","markdownlint-cli2":"^0.1.3","mock-fs":"^4.14.0","npm-run-all":"^4.1.5","open-cli":"^6.0.1","pinst":"^2.1.6","prettier":"^2.3.0","rimraf":"^3.0.2","semantic-release":"^17.4.2","semantic-release-license":"^1.0.2","ts-jest":"^26.5.5","ts-node":"^9.1.1","tsup":"^4.10.1","typedoc":"^0.20.36","typescript":"^4.2.4","vite":"^2.2.3"},"dependencies":{"@rollup/pluginutils":"^4.1.0","cheerio":"^1.0.0-rc.9","csp-typed-directives":"^1.0.0","css-tree":"^1.1.3"},"publishConfig":{"access":"public"},"release":{"extends":"./config/.releaserc.json"},"config":{"commitizen":{"path":"cz-conventional-changelog"}},"husky":{"hooks":{"pre-commit":"lint-staged","pre-push":"npm run test"}},"eslintConfig":{"extends":"./config/.eslintrc.json"},"lint-staged":{"*.js":["eslint --cache --fix","git add ."]},"prettier":{"useTabs":true,"trailingComma":"es5","tabWidth":4,"semi":true,"singleQuote":true},"gitHead":"0ebbb8788a5a6cb4599a3fca8946f8dcb4da9b22","_id":"vite-plugin-csp@1.0.0","_nodeVersion":"14.16.1","_npmVersion":"7.12.1","dist":{"integrity":"sha512-THewtOVphKcmFUZOOHuV17BkHPM/mfSbBhMJQx3U1sRd41IgD4G2Zmz/L4ajUac1YPSwE7eDh2NwGlJTaykSeg==","shasum":"348115b8b6a0c8367a2c2027254463729a1bf768","tarball":"https://registry.npmjs.org/vite-plugin-csp/-/vite-plugin-csp-1.0.0.tgz","fileCount":10,"unpackedSize":120848,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJgnKvZCRA9TVsSAnZWagAAuV8P/2vn6yiAZj1lW2tigCi+\nhsEGqPzwZeVse/ZDCQXw0euEqzoEmF9dBIOpYxEVaC4UIrmAonVJhz7z/vKU\nf0hp0nofbrjE14Per2jw+lEmlPQlzfeZpQMf8O6gNMchqod9G+8qsHHnZaNt\nXNRQ3NkgKZziVtF+P3KdvGmsaPi/D4rfjQf1uZwbFgWxJTaiEM1kp1nigRXh\nURXvtIpuhJbyoPJAHP+2pje+TGDjX0uR6ddIK5T0rXDoNdy6GjUUSvoPZnuY\nRWzJxh7bmS0FBFnex6DB99zBVLIx1nsu9fOmfE4WlXOz3EHUGQBXqEOpiRBH\nOXhZeOBdUHwS+mmfIkvSuBt7b6o5KRtb6CbNHrje2sB3qeagCbndC+/RceQZ\nvqDoRGGQsfTiCuniOYp+yzAhiWJ5NoopQFqdpb6YQcofs+/ARZFAbuED9Uaj\nhoQtG+q7/u/DN+YEWw/O2VN5sGWCdLEL3fSqCPnsFNB44ujl2zn3CknMrQ2R\naN7wdCgzZg+qtvE5bYa/RghBPgbEyX2Vr3psWUVbYd5KTzDwVQN/cft2rUUS\nFP8OZuQDr0X6q50i2wDp3SKVxkzNov23NwSBQ9KYSqqqrcl2SvaYq9HPEEbT\nJMVbBrq1b4R0kKFc/NVxRNyg6pmxICnPGtn2qrkSiAhtGzGGufErOcFRGqtO\nJZRX\r\n=HUCL\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIHrmNxNq8bYqneO8GgQ5G3CV/zGR2rA4zZkWKJ2wt5Q3AiEAtGgdaK3IgKIiB9VsmdfB/MSf7uLclA7SxYtisoPshcI="}]},"_npmUser":{"name":"joshhemphill","email":"jhemphill@tecnicocorp.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/vite-plugin-csp_1.0.0_1620880344965_0.2573206434244577"},"_hasShrinkwrap":false},"1.0.1":{"name":"vite-plugin-csp","version":"1.0.1","description":"Create CSP meta tags and header configs from all sources in the final Vite html","type":"module","scripts":{"dev":"npm run build -- --watch","prebuild":"cp node_modules/csp-typed-directives/dist/index.d.ts ./src/csp-typed-directives.d.ts","build":"tsup src/index.ts --sourcemap --dts --minify --format cjs,esm","log":"conventional-changelog -p angular -i CHANGELOG.md -s","lint":"run-s lint:*","lint:typescript":"eslint src --ext .ts --fix","lint:markdown":"markdownlint-cli2-fix \"**/*.md\" \"#node_modules\" \"#CHANGELOG.md\"","test":"run-s test:*","test:lint":"eslint src --ext .ts","test:markdown":"markdownlint-cli2 \"**/*.md\" \"#node_modules\" \"#CHANGELOG.md\"","test:spelling":"cspell --config ./cSpell.json \"{README.md,.github/*.md,src/**/*.ts,docs/**/*.md}\"","test:unit":"jest -c config/jest.config.cjs -b --forceExit --coverage --runInBand","watch:test":"jest -c config/jest.config.cjs -b --forceExit --runInBand --watch","debug-test-open-handles":"jest -c config/jest.config.cjs -b --forceExit --coverage --runInBand --detectOpenHandles","cov:send":"run-s build test && codecov","doc":"run-s doc:html && open-cli build/docs/index.html","doc:html":"typedoc src/ --exclude **/*.test.ts --target ES6 --mode file --out build/docs","doc:json":"typedoc src/ --exclude **/*.test.ts --target ES6 --mode file --json build/docs/typedoc.json","reset-hard":"git clean -dfx && git reset --hard && npm i","prepare-release":"run-s reset-hard test doc:html version doc:publish","ci:validate":"rm -rf node_modules && npm ci && npm run test","prepublishOnly":"run-s pinst:disable ci:validate build","semantic-release":"semantic-release","install:husky":"is-ci || husky install","pinst:disable":"pinst --disable","postpublish":"pinst --enable"},"repository":{"type":"git","url":"git+https://github.com/josh-hemphill/vite-plugin-csp.git"},"keywords":["vite-plugin","CSP","CSPs","header","security","generate"],"maintainers":[{"name":"joshhemphill","email":"dev@joshuahemphill.com"}],"author":{"name":"Joshua Hemphill","email":"dev@joshuahemphill.com","url":"https://joshuahemphill.com"},"license":"MIT","bugs":{"url":"https://github.com/josh-hemphill/vite-plugin-csp/issues"},"homepage":"https://github.com/josh-hemphill/vite-plugin-csp#readme","main":"dist/index.cjs","module":"dist/index.js","exports":{"import":"./dist/index.js","require":"./dist/index.cjs"},"types":"dist/index.d.ts","typings":"dist/index.d.ts","peerDependencies":{"vite":">=2.6.5"},"devDependencies":{"@commitlint/cli":"^13.2.1","@commitlint/config-conventional":"^13.2.0","@semantic-release/changelog":"^6.0.0","@semantic-release/git":"^10.0.0","@semantic-release/npm":"^8.0.0","@types/css-tree":"^1.0.6","@types/jest":"^27.0.2","@types/mock-fs":"^4.13.1","@types/node":"^16.10.3","@types/parse5":"^6.0.1","@typescript-eslint/eslint-plugin":"^4.33.0","@typescript-eslint/parser":"^4.33.0","codecov":"^3.8.3","commitizen":"^4.2.4","conventional-changelog-cli":"^2.1.1","cspell":"^5.12.3","cz-conventional-changelog":"^3.3.0","eslint":"^7.32.0","eslint-plugin-import":"^2.24.2","eslint-plugin-jest":"^25.0.1","eslint-plugin-node":"^11.1.0","eslint-plugin-promise":"^5.1.0","gh-pages":"^3.2.3","husky":"^7.0.2","jest":"^27.2.5","lint-staged":"^11.2.3","markdownlint-cli2":"^0.3.2","mock-fs":"^5.1.1","npm-run-all":"^4.1.5","open-cli":"^7.0.1","pinst":"^2.1.6","prettier":"^2.4.1","rimraf":"^3.0.2","semantic-release":"^18.0.0","semantic-release-license":"^1.0.3","ts-jest":"^27.0.5","ts-node":"^10.2.1","tsup":"^5.4.0","typedoc":"^0.22.5","typescript":"^4.4.3","vite":"^2.2.3"},"dependencies":{"@rollup/pluginutils":"^4.1.1","cheerio":"^1.0.0-rc.10","csp-typed-directives":"^1.1.8","css-tree":"^1.1.3"},"publishConfig":{"access":"public"},"release":{"extends":"./config/.releaserc.json"},"config":{"commitizen":{"path":"cz-conventional-changelog"}},"husky":{"hooks":{"pre-commit":"lint-staged","pre-push":"npm run test"}},"eslintConfig":{"extends":"./config/.eslintrc.json"},"lint-staged":{"*.js":["eslint --cache --fix","git add ."]},"prettier":{"useTabs":true,"trailingComma":"es5","tabWidth":4,"semi":true,"singleQuote":true},"gitHead":"768526c9d0770fc1c2dcb866c9a6517277b6cda0","_id":"vite-plugin-csp@1.0.1","_nodeVersion":"14.18.0","_npmVersion":"7.24.2","dist":{"integrity":"sha512-51J9ot9byIoCyqzpl5PqvqwMGMDn3AzZDZJ0ICLZCQRWN972G+Qqk6qlrTq2LXwndFjbi0QRwhs/sVKvRT5Bmw==","shasum":"db4a3000cbd20489d8662d818643fb0505420f58","tarball":"https://registry.npmjs.org/vite-plugin-csp/-/vite-plugin-csp-1.0.1.tgz","fileCount":10,"unpackedSize":134340,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJh2/07CRA9TVsSAnZWagAA+wcP/0At0gA7m+FQ7GP+5sid\nKctI546fRRmMs8AphSK9r5WovwzObAJ7F9kWMM/xEA7Y24jx9yHcJ5I/sVwY\ndbaxFOja/onSDx9rNIDXI4ufFIxjcLGDBjd3Fk9bq8/gxiskf1C/TDtcxB2i\nfuNlKaeYtYSvSZLuHeFy9RfuEUrOms4ewIDmc4lz6HLJ2f5CCUxQnI3waqF/\n6UBtId5pkQSxWNVF8uZnHSEpMAyNMcVg8vCcrcMZtJzjnCz/mCMj1fARxTUV\nXzHA0hdV500ceMaYGOOCLdWhu+VJojAOpDOgR4I2kLKqvG9nZeDufbqf39a3\nAdlM1eEwcz+6OIMU7+30DN8yR+Y5do2mw+QwWYP+ukIbi8MrQNaVcDbEeGqg\nSF6BQ8i5Uv1ROlx5DuFTNWltx1KzfXs7UHwiEHecuTQ0tmv8C8uVFkhM5eDH\naICBhHd69fmGqVJF5YxQwxE1Suvo+JQQIb+BtmbSlAD+OuvUoDVK6ghZIos+\nfJMKgbc/vU96VzPnIGTtvBaX4sBvH9J+b26eXup1MV0iqYGe0e0+QiIYlifZ\ntACJ+onf+TYJreqA52Xfd85yxd8CqkjdT0gKyhtOooYbtVij9/V0YY2MWO+f\naafLuwxzdt61RBeCmU3u7cnRsYrAMQWsVlodfQH4VAOlIgoFFIeUlyFRrpMd\nw6Xc\r\n=ljpl\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCaEDNZhW1cu0X3kATv1mPEqh0JNnDShXC3hzH2w1/iXgIhANQhMcpadgtteiiF6HgIldney9DDJlZQlKwCI/0XT4gl"}]},"_npmUser":{"name":"joshhemphill","email":"dev@joshuahemphill.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/vite-plugin-csp_1.0.1_1633922014411_0.288188489876946"},"_hasShrinkwrap":false},"1.1.0":{"name":"vite-plugin-csp","version":"1.1.0","description":"Create CSP meta tags and header configs from all sources in the final Vite html","type":"module","scripts":{"dev":"npm run build -- --watch","prebuild":"cp node_modules/csp-typed-directives/dist/index.d.ts ./src/csp-typed-directives.d.ts","build":"tsup src/index.ts --sourcemap --dts --minify --format cjs,esm","log":"conventional-changelog -p angular -i CHANGELOG.md -s","lint":"run-s lint:*","lint:typescript":"eslint src --ext .ts --fix","lint:markdown":"markdownlint-cli2-fix \"**/*.md\" \"#node_modules\" \"#CHANGELOG.md\"","test":"run-s test:*","test:lint":"eslint src --ext .ts","test:markdown":"markdownlint-cli2 \"**/*.md\" \"#node_modules\" \"#CHANGELOG.md\"","test:spelling":"cspell --config ./cSpell.json \"{README.md,.github/*.md,src/**/*.ts,docs/**/*.md}\"","test:unit":"jest -c config/jest.config.cjs -b --forceExit --coverage --runInBand","watch:test":"jest -c config/jest.config.cjs -b --forceExit --runInBand --watch","debug-test-open-handles":"jest -c config/jest.config.cjs -b --forceExit --coverage --runInBand --detectOpenHandles","cov:send":"run-s build test && codecov","doc":"run-s doc:html && open-cli build/docs/index.html","doc:html":"typedoc src/ --exclude **/*.test.ts --target ES6 --mode file --out build/docs","doc:json":"typedoc src/ --exclude **/*.test.ts --target ES6 --mode file --json build/docs/typedoc.json","reset-hard":"git clean -dfx && git reset --hard && npm i","prepare-release":"run-s reset-hard test doc:html version doc:publish","ci:validate":"rm -rf node_modules && npm ci && npm run test","prepublishOnly":"run-s pinst:disable ci:validate build","semantic-release":"semantic-release","install:husky":"is-ci || husky install","pinst:disable":"pinst --disable","postpublish":"pinst --enable"},"repository":{"type":"git","url":"git+https://github.com/josh-hemphill/vite-plugin-csp.git"},"keywords":["vite-plugin","CSP","CSPs","header","security","generate"],"maintainers":[{"name":"joshhemphill","email":"dev@joshuahemphill.com"}],"author":{"name":"Joshua Hemphill","email":"dev@joshuahemphill.com","url":"https://joshuahemphill.com"},"license":"MIT","bugs":{"url":"https://github.com/josh-hemphill/vite-plugin-csp/issues"},"homepage":"https://github.com/josh-hemphill/vite-plugin-csp#readme","main":"dist/index.cjs","module":"dist/index.js","exports":{"import":"./dist/index.js","require":"./dist/index.cjs"},"types":"dist/index.d.ts","typings":"dist/index.d.ts","peerDependencies":{"vite":">=2.6.5"},"devDependencies":{"@commitlint/cli":"^17.0.0","@commitlint/config-conventional":"^17.0.0","@semantic-release/changelog":"^6.0.1","@semantic-release/git":"^10.0.1","@semantic-release/npm":"^9.0.1","@types/css-tree":"^1.0.7","@types/jest":"^27.5.1","@types/mock-fs":"^4.13.1","@types/node":"^17.0.35","@types/parse5":"^6.0.3","@typescript-eslint/eslint-plugin":"^5.25.0","@typescript-eslint/parser":"^5.25.0","codecov":"^3.8.3","commitizen":"^4.2.4","conventional-changelog-cli":"^2.2.2","cspell":"^5.21.0","cz-conventional-changelog":"^3.3.0","eslint":"^8.15.0","eslint-plugin-import":"^2.26.0","eslint-plugin-jest":"^26.2.2","eslint-plugin-node":"^11.1.0","eslint-plugin-promise":"^6.0.0","gh-pages":"^4.0.0","husky":"^8.0.1","jest":"^28.1.0","lint-staged":"^12.4.1","markdownlint-cli2":"^0.4.0","mock-fs":"^5.1.2","npm-run-all":"^4.1.5","open-cli":"^7.0.1","pinst":"^3.0.0","prettier":"^2.6.2","rimraf":"^3.0.2","semantic-release":"^19.0.2","semantic-release-license":"^1.0.3","ts-jest":"^28.0.2","ts-node":"^10.7.0","tsup":"^5.12.8","typedoc":"^0.22.15","typescript":"^4.6.4","vite":"^2.9.9"},"dependencies":{"@rollup/pluginutils":"^4.2.1","cheerio":"^1.0.0-rc.10","csp-typed-directives":"^1.1.9","css-tree":"^2.1.0"},"publishConfig":{"access":"public"},"release":{"extends":"./config/.releaserc.json"},"config":{"commitizen":{"path":"cz-conventional-changelog"}},"husky":{"hooks":{"pre-commit":"lint-staged","pre-push":"npm run test"}},"eslintConfig":{"extends":"./config/.eslintrc.json"},"lint-staged":{"*.js":["eslint --cache --fix","git add ."]},"prettier":{"useTabs":true,"trailingComma":"es5","tabWidth":4,"semi":true,"singleQuote":true},"gitHead":"a221cc350f47efb138a29c214646bd55bb9408d4","_id":"vite-plugin-csp@1.1.0","_nodeVersion":"16.15.0","_npmVersion":"8.10.0","dist":{"integrity":"sha512-4RIlc9biZNSBAuEvlN2dhUSSsVLMvCao5KDUHvcl0+gY/Sa0tn4+PCtjaoOQlUqdjNGmSz0RD5uUgTHYO9IAXQ==","shasum":"1f61e587cc1ca324ad31f4612cc32f6441580d19","tarball":"https://registry.npmjs.org/vite-plugin-csp/-/vite-plugin-csp-1.1.0.tgz","fileCount":10,"unpackedSize":137915,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCT3nMMLm3nHziejrvD6LBISGEhtj2Ku27cbLqQH9wCtgIgUS02GRNZPien5c0KexjDCVrB84q+v0QumEFTB73+SI0="}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJihzrUACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmozMQ/+NnG166vWJ+58mc7oAbeNWoWruqg3gJxrBL5Oqwnk4npE+KiI\r\n20pBlbGm7FlnAbM0sjr8lcp04poFVZj7E2dd8wcmdg6Iom6Uj1eZHmuy8hMt\r\ng/Y9/1+ZG5dbYAGY3f5AUp/nlsawHy7wqCBKMRyzI+0Vzl0Lv1pKnO5jwEeF\r\nNico5Gd72jUd7hp4P9iku3J0n0zORsaezp65vI++7dXMevSAldplI9zWRQ+y\r\nePDR8AW0KdDHMcMhDHN3j/d/Fx19AP79WQl42mdVWu/ASTcKNw2k+3nUeFwg\r\nIg91FsGcb0u0GIpEfCKIg3HJTbE86eWy1TVkDanl8XsuW3/wgbiB3vC+Brw4\r\n/sGUfDVWg3RSeIpXtRJsvOUZm3Fha9jCfnY4xPwVASVn+H1gJt7f55DZfjem\r\ngdCWagSpvIOwKpLAacFaR0eto+w9cKqg0/+VI7z0U+TD0Noh0dTjJc2dzCBr\r\nF/TTSx9PrI8zpSPaSmqRQVIwnP/BUAvvh6+upV4qMhxMDFUhY5P/oCdI24Fj\r\nGnXI2p0K2RWqreZQUjeBBcsf7uIzHt6EPjHXvgBI4myXFmam39IJqSMwQL88\r\noaqGqy90SFVc9IV+rkWj17aFI5W97Hfxkl7KPtjhf2GR2Iru1BlHylbmsgY5\r\njxF0YLf+1oIe9VVZEkyZ3UJnLDMs2sk4qE0=\r\n=vZKh\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"joshhemphill","email":"dev@joshuahemphill.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/vite-plugin-csp_1.1.0_1653029588494_0.18713737084335347"},"_hasShrinkwrap":false},"1.1.1":{"name":"vite-plugin-csp","version":"1.1.1","description":"Create CSP meta tags and header configs from all sources in the final Vite html","type":"module","scripts":{"dev":"npm run build -- --watch","prebuild":"cp node_modules/csp-typed-directives/dist/index.d.ts ./src/csp-typed-directives.d.ts","build":"tsup src/index.ts --sourcemap --dts --minify --format cjs,esm","log":"conventional-changelog -p angular -i CHANGELOG.md -s","lint":"run-s lint:*","lint:typescript":"eslint src --ext .ts --fix","lint:markdown":"markdownlint-cli2-fix \"**/*.md\" \"#node_modules\" \"#CHANGELOG.md\"","test":"run-s test:*","test:lint":"eslint src --ext .ts","test:markdown":"markdownlint-cli2 \"**/*.md\" \"#node_modules\" \"#CHANGELOG.md\"","test:spelling":"cspell --config ./cSpell.json \"{README.md,.github/*.md,src/**/*.ts,docs/**/*.md}\"","test:unit":"jest -c config/jest.config.cjs -b --forceExit --coverage --runInBand","watch:test":"jest -c config/jest.config.cjs -b --forceExit --runInBand --watch","debug-test-open-handles":"jest -c config/jest.config.cjs -b --forceExit --coverage --runInBand --detectOpenHandles","cov:send":"run-s build test && codecov","doc":"run-s doc:html && open-cli build/docs/index.html","doc:html":"typedoc src/ --exclude **/*.test.ts --target ES6 --mode file --out build/docs","doc:json":"typedoc src/ --exclude **/*.test.ts --target ES6 --mode file --json build/docs/typedoc.json","reset-hard":"git clean -dfx && git reset --hard && npm i","prepare-release":"run-s reset-hard test doc:html version doc:publish","ci:validate":"rm -rf node_modules && npm ci && npm run test","prepublishOnly":"run-s pinst:disable ci:validate build","semantic-release":"semantic-release","install:husky":"is-ci || husky install","pinst:disable":"pinst --disable","postpublish":"pinst --enable"},"repository":{"type":"git","url":"git+https://github.com/josh-hemphill/vite-plugin-csp.git"},"keywords":["vite-plugin","CSP","CSPs","header","security","generate"],"maintainers":[{"name":"joshhemphill","email":"dev@joshuahemphill.com"}],"author":{"name":"Joshua Hemphill","email":"dev@joshuahemphill.com","url":"https://joshuahemphill.com"},"license":"MIT","bugs":{"url":"https://github.com/josh-hemphill/vite-plugin-csp/issues"},"homepage":"https://github.com/josh-hemphill/vite-plugin-csp#readme","main":"dist/index.cjs","module":"dist/index.js","exports":{"import":"./dist/index.js","require":"./dist/index.cjs"},"types":"dist/index.d.ts","typings":"dist/index.d.ts","peerDependencies":{"vite":">=2.6.5"},"devDependencies":{"@commitlint/cli":"^17.0.0","@commitlint/config-conventional":"^17.0.0","@semantic-release/changelog":"^6.0.1","@semantic-release/git":"^10.0.1","@semantic-release/npm":"^9.0.1","@types/css-tree":"^1.0.7","@types/jest":"^27.5.1","@types/mock-fs":"^4.13.1","@types/node":"^17.0.35","@types/parse5":"^6.0.3","@typescript-eslint/eslint-plugin":"^5.25.0","@typescript-eslint/parser":"^5.25.0","codecov":"^3.8.3","commitizen":"^4.2.4","conventional-changelog-cli":"^2.2.2","cspell":"^5.21.0","cz-conventional-changelog":"^3.3.0","eslint":"^8.15.0","eslint-plugin-import":"^2.26.0","eslint-plugin-jest":"^26.2.2","eslint-plugin-node":"^11.1.0","eslint-plugin-promise":"^6.0.0","gh-pages":"^4.0.0","husky":"^8.0.1","jest":"^28.1.0","lint-staged":"^12.4.1","markdownlint-cli2":"^0.4.0","mock-fs":"^5.1.2","npm-run-all":"^4.1.5","open-cli":"^7.0.1","pinst":"^3.0.0","prettier":"^2.6.2","rimraf":"^3.0.2","semantic-release":"^19.0.2","semantic-release-license":"^1.0.3","ts-jest":"^28.0.2","ts-node":"^10.7.0","tsup":"^5.12.8","typedoc":"^0.22.15","typescript":"^4.6.4","vite":"^2.9.9"},"dependencies":{"@rollup/pluginutils":"^4.2.1","cheerio":"^1.0.0-rc.10","csp-typed-directives":"^1.1.9","css-tree":"^2.1.0"},"publishConfig":{"access":"public"},"release":{"extends":"./config/.releaserc.json"},"config":{"commitizen":{"path":"cz-conventional-changelog"}},"husky":{"hooks":{"pre-commit":"lint-staged","pre-push":"npm run test"}},"eslintConfig":{"extends":"./config/.eslintrc.json"},"lint-staged":{"*.js":["eslint --cache --fix","git add ."]},"prettier":{"useTabs":true,"trailingComma":"es5","tabWidth":4,"semi":true,"singleQuote":true},"gitHead":"7f870bce96546a5b2afd6faca3879e7ac7cef7ff","_id":"vite-plugin-csp@1.1.1","_nodeVersion":"16.15.0","_npmVersion":"8.10.0","dist":{"integrity":"sha512-2qoRjXBE2rlMJzwzMRPqeNsp1/gRDxD5QgOdrTSsxDLwQZSGIdSxxLf2KKcNA/Lw+MN+xSC7JWK2sAJ9iqyTYw==","shasum":"143631c601263fdf34a6dd5f53f28f110f7a9463","tarball":"https://registry.npmjs.org/vite-plugin-csp/-/vite-plugin-csp-1.1.1.tgz","fileCount":10,"unpackedSize":138344,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIAMPG/EpUyH8zg0lo23a6egpf5agB2jv49H3DfOkTfo2AiEAq13Njq9qz1S0UfY6gY452rOgm/BDmQkqCf2WIUq1ClQ="}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJiiRiHACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmqM+g//R25JTn3PUA7Y3JK9k/cFiiodEtaEG+2GUZvcMTmQl09mELV3\r\nqfojcCGSHpRa+5drXcio81L+WxVYfhWCdod0xGyeX6a6z85+9Ui32doDfmXR\r\n5ODsS5/DvmGk7C9PTOSugLYoJLsn5NlTIauHxqfkv1x6nBz6xR0I/WzuAszo\r\nBhu25V8Rem/KgWOuw01pEVI6EyMDiW5D9tR9dgqcHQ7tWBS0azN432ZYhnX6\r\ny7RXKuZXkpVjky6ajkqTzN30oY8KR0uUsvYbrCmaTb39/nOU1Is8lbNwXCbL\r\nODkaJUEX78vYNBruYuAqB7k+wjz/WfFcgzIueo77d3YafVc9cMQrq1B8R8zc\r\noiFu8dlm3SLBpbabWuIpFrhN3rj0pjNVoUBiKdt6dDNVCJ3Tx4L9fNhiZIDE\r\n0qfvQySII+Oxsule7cdcauaRhPHd2dsfqGggW24xH1P4f4fAO3603pzMRHRd\r\ndBz8TWwbgbxWlsbI0GR+HMn8T7t24oY3GQ+xt0AILlVd6QHYiMkPXOdZ+e3E\r\nSMQAwYfPg/UMbBuKb6pTGJkOppciDzTQm1VF345OP0zuNPvwN+5NkFdvCXcw\r\nt5SjBw3WkWd6YfjcUEVvp6wW4IpC0Zx+3/CGlD+XSTg9lWgbKYKSWggUVAk6\r\n3/9BpvZqMFSkNOaijK2vAs3ABsw02NK7pE4=\r\n=ywr7\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"joshhemphill","email":"dev@joshuahemphill.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/vite-plugin-csp_1.1.1_1653151878809_0.3370588550050333"},"_hasShrinkwrap":false},"1.1.2":{"name":"vite-plugin-csp","version":"1.1.2","description":"Create CSP meta tags and header configs from all sources in the final Vite html","type":"module","scripts":{"dev":"npm run build -- --watch","prebuild":"cp node_modules/csp-typed-directives/dist/index.d.ts ./src/csp-typed-directives.d.ts","build":"tsup src/index.ts --sourcemap --dts --minify --format cjs,esm","log":"conventional-changelog -p angular -i CHANGELOG.md -s","lint":"run-s lint:*","lint:typescript":"eslint src --ext .ts --fix","lint:markdown":"markdownlint-cli2-fix \"**/*.md\" \"#node_modules\" \"#CHANGELOG.md\"","test":"run-s test:*","test:lint":"eslint src --ext .ts","test:markdown":"markdownlint-cli2 \"**/*.md\" \"#node_modules\" \"#CHANGELOG.md\"","test:spelling":"cspell --config ./cSpell.json \"{README.md,.github/*.md,src/**/*.ts,docs/**/*.md}\"","test:unit":"jest -c config/jest.config.cjs -b --forceExit --coverage --runInBand","watch:test":"jest -c config/jest.config.cjs -b --forceExit --runInBand --watch","debug-test-open-handles":"jest -c config/jest.config.cjs -b --forceExit --coverage --runInBand --detectOpenHandles","cov:send":"run-s build test && codecov","doc":"run-s doc:html && open-cli build/docs/index.html","doc:html":"typedoc src/ --exclude **/*.test.ts --target ES6 --mode file --out build/docs","doc:json":"typedoc src/ --exclude **/*.test.ts --target ES6 --mode file --json build/docs/typedoc.json","reset-hard":"git clean -dfx && git reset --hard && npm i","prepare-release":"run-s reset-hard test doc:html version doc:publish","ci:validate":"rm -rf node_modules && npm ci && npm run test","prepublishOnly":"run-s pinst:disable ci:validate build","semantic-release":"semantic-release","install:husky":"is-ci || husky install","pinst:disable":"pinst --disable","postpublish":"pinst --enable"},"repository":{"type":"git","url":"git+https://github.com/josh-hemphill/vite-plugin-csp.git"},"keywords":["vite-plugin","CSP","CSPs","header","security","generate"],"maintainers":[{"name":"joshhemphill","email":"dev@joshuahemphill.com"}],"author":{"name":"Joshua Hemphill","email":"dev@joshuahemphill.com","url":"https://joshuahemphill.com"},"license":"MIT","bugs":{"url":"https://github.com/josh-hemphill/vite-plugin-csp/issues"},"homepage":"https://github.com/josh-hemphill/vite-plugin-csp#readme","main":"dist/index.cjs","module":"dist/index.js","exports":{"import":"./dist/index.js","require":"./dist/index.cjs"},"types":"dist/index.d.ts","typings":"dist/index.d.ts","peerDependencies":{"vite":">=2.6.5"},"devDependencies":{"@commitlint/cli":"^17.0.0","@commitlint/config-conventional":"^17.0.0","@semantic-release/changelog":"^6.0.1","@semantic-release/git":"^10.0.1","@semantic-release/npm":"^9.0.1","@types/css-tree":"^1.0.7","@types/jest":"^27.5.1","@types/mock-fs":"^4.13.1","@types/node":"^17.0.35","@types/parse5":"^6.0.3","@typescript-eslint/eslint-plugin":"^5.25.0","@typescript-eslint/parser":"^5.25.0","codecov":"^3.8.3","commitizen":"^4.2.4","conventional-changelog-cli":"^2.2.2","cspell":"^5.21.0","cz-conventional-changelog":"^3.3.0","eslint":"^8.15.0","eslint-plugin-import":"^2.26.0","eslint-plugin-jest":"^26.2.2","eslint-plugin-node":"^11.1.0","eslint-plugin-promise":"^6.0.0","gh-pages":"^4.0.0","husky":"^8.0.1","jest":"^28.1.0","lint-staged":"^12.4.1","markdownlint-cli2":"^0.4.0","mock-fs":"^5.1.2","npm-run-all":"^4.1.5","open-cli":"^7.0.1","pinst":"^3.0.0","prettier":"^2.6.2","rimraf":"^3.0.2","semantic-release":"^19.0.2","semantic-release-license":"^1.0.3","ts-jest":"^28.0.2","ts-node":"^10.7.0","tsup":"^5.12.8","typedoc":"^0.22.15","typescript":"^4.6.4","vite":"^2.9.9"},"dependencies":{"@rollup/pluginutils":"^4.2.1","cheerio":"^1.0.0-rc.10","csp-typed-directives":"^1.1.9","css-tree":"^2.1.0"},"publishConfig":{"access":"public"},"release":{"extends":"./config/.releaserc.json"},"config":{"commitizen":{"path":"cz-conventional-changelog"}},"husky":{"hooks":{"pre-commit":"lint-staged","pre-push":"npm run test"}},"eslintConfig":{"extends":"./config/.eslintrc.json"},"lint-staged":{"*.js":["eslint --cache --fix","git add ."]},"prettier":{"useTabs":true,"trailingComma":"es5","tabWidth":4,"semi":true,"singleQuote":true},"gitHead":"52dc2a254214ec7d211b70f37245a1e9a19a783d","_id":"vite-plugin-csp@1.1.2","_nodeVersion":"16.15.0","_npmVersion":"8.10.0","dist":{"integrity":"sha512-fX1V/fcWwHvvrwVtnVOxZ1RDQa5JU3Rpb4j1a6oZhp/YK8NnWf9M4dkCBoWH4Vw6iGQ/q68+YTSatdFhQWX3RA==","shasum":"7734cd63fb67b6f4edfc83ace0c49d0c4dd149c8","tarball":"https://registry.npmjs.org/vite-plugin-csp/-/vite-plugin-csp-1.1.2.tgz","fileCount":10,"unpackedSize":139061,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEMCH2Xin4c3UA9Oj9lmZcrZb2b7gZkFbU+OpYQr4hX02MMCIDpqnavXePt+8v0RhMRxPcPDwu48Xnzw+gdMrBdfpjC2"}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJil64EACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2Vmrt4A/+Krif/1cxnlMskXwRLoc7qEc/rtoKiA5QhMX48gJtuQm0fmoE\r\nPyDKdFetiniEhifKJEnlAaanRvod+TTy79/TkIaQtjxdk6dO2dxkI5J6Fpti\r\n5iIa35tI9yv3fGRYy298CN2qu5klo5WfGcP8rl1ZaiL0YyeCRz+Mf54feL/T\r\nYon61E1z4YshxKcWJGvFy+b9jSnFPrMSydGGINw/KXMxbjVmbq81add2UEBr\r\nT9yOJ/icGoQQkP5L6EQYsl/gw2I6B14ojQelti9YSlnWYuma6EUq/t/IAPi/\r\nio6wYQRnOLeRG0M8RccHzrViSa3Rqcai48df6e4ml/haReA2JXyB556FlFcy\r\nqze8lVgUApegagsSGaKVgs0YfAnINKXtnwOSROcya+jBt3yffX2rMGSFe4iH\r\nRKaWn2qXy6EqM6+eLmkhOOuyhk/si+9W6L9YQBBHTaiU1IVZvJdMbmQYBOcA\r\nQZOtRXi/RVcwWWnHlbk9atdzcDcyeOQDpQWkLWcjjXh+mWUabyJDo6HHWmf6\r\nhGgeX9ok/iLpojtAf/dsjQwBamdiIFVEuUVcntdIYDIcjFQIXzoOao+SI9Vg\r\nV1YcjMy+PlKhcKaVbSSCkkLVtV0crvnzu0fRSiz0dKr6uDpa6fLHK04GckPs\r\nH0LL0Li4bFEhnuDzUUJ2izPDlwEBjqexjhw=\r\n=JMIc\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"joshhemphill","email":"dev@joshuahemphill.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/vite-plugin-csp_1.1.2_1654107652483_0.32073331317513354"},"_hasShrinkwrap":false}},"time":{"created":"2021-05-13T04:32:24.920Z","1.0.0":"2021-05-13T04:32:25.140Z","modified":"2022-06-01T18:20:52.759Z","1.0.1":"2021-10-11T03:13:34.517Z","1.1.0":"2022-05-20T06:53:08.718Z","1.1.1":"2022-05-21T16:51:19.044Z","1.1.2":"2022-06-01T18:20:52.694Z"},"maintainers":[{"name":"joshhemphill","email":"dev@joshuahemphill.com"}],"description":"Create CSP meta tags and header configs from all sources in the final Vite html","homepage":"https://github.com/josh-hemphill/vite-plugin-csp#readme","keywords":["vite-plugin","CSP","CSPs","header","security","generate"],"repository":{"type":"git","url":"git+https://github.com/josh-hemphill/vite-plugin-csp.git"},"author":{"name":"Joshua Hemphill","email":"dev@joshuahemphill.com","url":"https://joshuahemphill.com"},"bugs":{"url":"https://github.com/josh-hemphill/vite-plugin-csp/issues"},"license":"MIT","readme":"# CSP (Content-Security-Policy) Vite Plugin\n\n<!-- cspell: disable bracketsstartstop -->\n\n[![version](https://img.shields.io/github/v/tag/josh-hemphill/vite-plugin-csp?sort=semver&style=flat-square)](https://github.com/josh-hemphill/vite-plugin-csp/releases)\n[![NPM](https://img.shields.io/static/v1?label=&message=NPM&color=informational&style=flat-square)](https://npmjs.org/package/vite-plugin-csp)\n[![Codecov](https://img.shields.io/codecov/c/github/josh-hemphill/vite-plugin-csp.svg?style=flat-square)](https://codecov.io/gh/josh-hemphill/vite-plugin-csp)\n[![Libraries.io dependency status for latest release](https://img.shields.io/librariesio/release/npm/vite-plugin-csp?label=Deps&style=flat-square)](https://libraries.io/npm/vite-plugin-csp)\n[![Rate on Openbase](https://badges.openbase.io/js/rating/vite-plugin-csp.svg)](https://openbase.io/js/vite-plugin-csp?utm_source=embedded&utm_medium=badge&utm_campaign=rate-badge)\n[![Test](https://github.com/josh-hemphill/vite-plugin-csp/actions/workflows/test.yml/badge.svg)](https://github.com/josh-hemphill/vite-plugin-csp/actions/workflows/test.yml)\n[![Release](https://github.com/josh-hemphill/vite-plugin-csp/actions/workflows/release.yml/badge.svg)](https://github.com/josh-hemphill/vite-plugin-csp/actions/workflows/release.yml)\n\nLeverages [csp-typed-directives](https://github.com/josh-hemphill/csp-typed-directives) to create typed CSP `<meta>` policies and validated interdependant headers.\ne.g. the CSP, CSP Report-Only, Report-To, and Referrer-Policy headers.\n\nMostly config compatible with [csp-html-webpack-plugin](https://github.com/slackhq/csp-html-webpack-plugin)\n\n## WARNING, STILL EARLY AND THINGS LIKE MODULE RESOLUTION ARE FINICKY\n\n### Now looking at making a multi-repo because this is going to require multiple layers of shared functionality and also built to an unplugin\n\n## Installation\n\nInstall the plugin with npm:\n\n```shell\n$ npm install --save-dev vite-plugin-csp\n# Or shorthand\nnpm i -D vite-plugin-csp\n```\n\n## Known issues\n\n  - Relative modules are resolved relative to the CWD, not the file\n  - no SSR support (and thus no nonce support)\n  - No parsing of JS embeded sources (since that would require framework specific plugins)\n  - Only `script` and `style` related directives are supported (except for the inclusion of `report-to` for generating headers)\n\n## Under construction :)\n\n<!-- \n## Zero Config Usage\n\nAdd your base logo as `logo.png` file to your assets folder.\n\nAdd the plugin to your vite config as follows:\n\n```javascript\nconst ViteCspPlugin = require('vite-plugin-csp')\n// or ESM\nimport { ViteCspPlugin } from \"module\";\n\nplugins: [\n  ViteCspPlugin()\n]\n```\n\n## Basic Usage <!-- [<svg alt=\"codesandbox\" xmlns=\"http://www.w3.org/2000/svg\" width=\"16\" height=\"18\"><path d=\"M7.219 15.877V9.394l-5.73-3.208v3.696l2.624 1.48v2.78l3.106 1.735zm1.488.038l3.163-1.773v-2.845l2.642-1.49V6.16l-5.805 3.26v6.496zm5.041-11l-3.05-1.72-2.68 1.512L5.32 3.193 2.241 4.937l5.744 3.215 5.763-3.237zM0 13.513V4.53L8 0l8 4.511V13.5l-8.001 4.484L0 13.513z\" fill=\"currentColor\"/></svg>](https://codesandbox.io/s/vite-plugin-csp-demo-uh195?file=/webpack.config.js) -->\n<!-- \nAdd the plugin to your vite config as follows:\n\n```javascript\nconst ViteCspPlugin = require('vite-plugin-csp')\n// or ESM\nimport { ViteCspPlugin } from \"module\";\n\n...\n\nplugins: [\n  ViteCspPlugin('/path/to/logo.png') // svg works too!\n]\n```\n\nThe default configuration will automatically generate webapp manifest files along with\n[44 different icon formats](https://github.com/josh-hemphill/vite-plugin-csp/tree/master/test/fixtures/expected/default)\nas appropriate for iOS devices, Android devices, Windows Phone and various desktop browsers out of your single `logo.png`.\n\n> **Tip:** You might want to [fine tune](#advanced-usage) what vendors to support.\n\n### A Note on Path Resolution\n\nUnder the hood, Vite/Rollup resolve the paths to the logo and favicons according to the following\nrules:\n\n  * If `/path/to/logo` is absolute, there is nothing to resolve and the path\nspecified is used as is.\n\n  * If `./path/to/logo` is relative, it's resolved with respect to `process.cwd()`.\n\n### HTML Injection\n\nIn combination with [Vite's html plugin hooks](https://vitejs.dev/guide/api-plugin.html#transformindexhtml) it will also inject the necessary html for you:\n\n```html\n<link rel=\"apple-touch-icon\" sizes=\"57x57\" href=\"/assets/apple-touch-icon-57x57.png\">\n<link rel=\"apple-touch-icon\" sizes=\"60x60\" href=\"/assets/apple-touch-icon-60x60.png\">\n<link rel=\"apple-touch-icon\" sizes=\"72x72\" href=\"/assets/apple-touch-icon-72x72.png\">\n<link rel=\"apple-touch-icon\" sizes=\"76x76\" href=\"/assets/apple-touch-icon-76x76.png\">\n<link rel=\"apple-touch-icon\" sizes=\"114x114\" href=\"/assets/apple-touch-icon-114x114.png\">\n<link rel=\"apple-touch-icon\" sizes=\"120x120\" href=\"/assets/apple-touch-icon-120x120.png\">\n<link rel=\"apple-touch-icon\" sizes=\"144x144\" href=\"/assets/apple-touch-icon-144x144.png\">\n<link rel=\"apple-touch-icon\" sizes=\"152x152\" href=\"/assets/apple-touch-icon-152x152.png\">\n<link rel=\"apple-touch-icon\" sizes=\"167x167\" href=\"/assets/apple-touch-icon-167x167.png\">\n<link rel=\"apple-touch-icon\" sizes=\"180x180\" href=\"/assets/apple-touch-icon-180x180.png\">\n<link rel=\"apple-touch-icon\" sizes=\"1024x1024\" href=\"/assets/apple-touch-icon-1024x1024.png\">\n<link rel=\"apple-touch-startup-image\" media=\"(device-width: 320px) and (device-height: 480px) and (-webkit-device-pixel-ratio: 1)\" href=\"/assets/apple-touch-startup-image-320x460.png\">\n<link rel=\"apple-touch-startup-image\" media=\"(device-width: 320px) and (device-height: 480px) and (-webkit-device-pixel-ratio: 2)\" href=\"/assets/apple-touch-startup-image-640x920.png\">\n<link rel=\"apple-touch-startup-image\" media=\"(device-width: 320px) and (device-height: 568px) and (-webkit-device-pixel-ratio: 2)\" href=\"/assets/apple-touch-startup-image-640x1096.png\">\n<link rel=\"apple-touch-startup-image\" media=\"(device-width: 375px) and (device-height: 667px) and (-webkit-device-pixel-ratio: 2)\" href=\"/assets/apple-touch-startup-image-750x1294.png\">\n<link rel=\"apple-touch-startup-image\" media=\"(device-width: 414px) and (device-height: 736px) and (orientation: landscape) and (-webkit-device-pixel-ratio: 3)\" href=\"/assets/apple-touch-startup-image-1182x2208.png\">\n<link rel=\"apple-touch-startup-image\" media=\"(device-width: 414px) and (device-height: 736px) and (orientation: portrait) and (-webkit-device-pixel-ratio: 3)\" href=\"/assets/apple-touch-startup-image-1242x2148.png\">\n<link rel=\"apple-touch-startup-image\" media=\"(device-width: 768px) and (device-height: 1024px) and (orientation: landscape) and (-webkit-device-pixel-ratio: 1)\" href=\"/assets/apple-touch-startup-image-748x1024.png\">\n<link rel=\"apple-touch-startup-image\" media=\"(device-width: 768px) and (device-height: 1024px) and (orientation: landscape) and (-webkit-device-pixel-ratio: 2)\" href=\"/assets/apple-touch-startup-image-1496x2048.png\">\n<link rel=\"apple-touch-startup-image\" media=\"(device-width: 768px) and (device-height: 1024px) and (orientation: portrait) and (-webkit-device-pixel-ratio: 1)\" href=\"/assets/apple-touch-startup-image-768x1004.png\">\n<link rel=\"apple-touch-startup-image\" media=\"(device-width: 768px) and (device-height: 1024px) and (orientation: portrait) and (-webkit-device-pixel-ratio: 2)\" href=\"/assets/apple-touch-startup-image-1536x2008.png\">\n<link rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/assets/favicon-16x16.png\">\n<link rel=\"icon\" type=\"image/png\" sizes=\"32x32\" href=\"/assets/favicon-32x32.png\">\n<link rel=\"icon\" type=\"image/png\" sizes=\"228x228\" href=\"/assets/coast-228x228.png\">\n<link rel=\"manifest\" href=\"/assets/manifest.json\">\n<link rel=\"shortcut icon\" href=\"/assets/favicon.ico\">\n<link rel=\"yandex-tableau-widget\" href=\"/assets/yandex-browser-manifest.json\">\n<meta name=\"apple-mobile-web-app-capable\" content=\"yes\">\n<meta name=\"apple-mobile-web-app-status-bar-style\" content=\"black-translucent\">\n<meta name=\"apple-mobile-web-app-title\">\n<meta name=\"application-name\">\n<meta name=\"mobile-web-app-capable\" content=\"yes\">\n<meta name=\"msapplication-TileColor\" content=\"#fff\">\n<meta name=\"msapplication-TileImage\" content=\"/assets/mstile-144x144.png\">\n<meta name=\"msapplication-config\" content=\"/assets/browserconfig.xml\">\n<meta name=\"theme-color\" content=\"#fff\">\n```\n\n## Advanced Usage\n\n```javascript\nplugins: [\n  ViteCspPlugin({\n    /** Your source logo (Will default to ) */\n    logo?: \"assets/logo.png\",\n    /** Inject html links/metadata. */\n    inject?: true,\n    /** `Favicons` configuration options\n    *  - [See `favicons` documentation](https://github.com/itgalaxy/favicons) */\n    favicons?: FaviconsConfig,\n    /** The root of the project from which you want to load metadata */\n    projectRoot?: process.cwd(),\n\n    /** prefix is delegated to Rollup/Vite (keeping for people migrating from Webpack)\n    * @deprecated */\n    prefix?: string,\n    /** Caching is delegated to Rollup/Vite (keeping for people migrating from Webpack)\n    * @deprecated */\n    cache?: boolean,\n    /** Public Path is delegated to Rollup/Vite (keeping for people migrating from Webpack)\n    * @deprecated */\n    publicPath?: string,\n    /** Output Path is delegated to Rollup/Vite (keeping for people migrating from Webpack)\n    * @deprecated */\n    outputPath?: string,\n  })\n]\n```\n\nTo fine tune what icons/metadata is generated, refer to\n[favicons' documentation](https://github.com/haydenbleasel/favicons#usage).\n\nThe options specified under `favicons:` are handed over as is to [favicons],\nexcept that if `appName`, `appDescription`, `version`, `developerName` or\n`developerURL` are left `undefined`, they will be automatically inferred\nrespectively from `name`, `description`, `version`, `author.name` and\n`author.url` as defined in the nearest `package.json` if available.\nAnd if there's no `author` it will use the first in the `contributors`.\nTo disable automatically retrieving metadata from `package.json`, simply set\nto `null` the properties you want to omit.\n\n### Examples\n\n#### Basic\n\n```javascript\nconst ViteCspPlugin = require('vite-plugin-csp')\n// or ESM\nimport { ViteCspPlugin } from \"module\";\n\nplugins: [\n  ViteCspPlugin({\n    logo: './src/logo.png', // svg works too!\n    favicons: {\n      appName: 'my-app',\n      appDescription: 'My awesome App',\n      developerName: 'Me',\n      developerURL: null, // prevent retrieving from the nearest package.json\n      background: '#ddd',\n      theme_color: '#333',\n      icons: {\n        coast: false,\n        yandex: false\n      }\n    }\n  })\n]\n```\n\nTo fine tune what icons/metadata is generated, refer to\n[favicons' documentation](https://github.com/haydenbleasel/favicons#usage).\n\n#### Handling Multiple HTML Files\n\nVite calls the HTML transform hook for each HTML file template file you have configured in Vite, so this works automatically.\n\n## Changelog\n\nTake a look at the [CHANGELOG.md](https://github.com/josh-hemphill/vite-plugin-csp/tree/latest/CHANGELOG.md).\n\n## Contribution\n\nYou're free to contribute to this project by submitting [issues](https://github.com/josh-hemphill/vite-plugin-csp/issues) and/or [pull requests](https://github.com/josh-hemphill/vite-plugin-csp/pulls).\n\nPlease keep in mind that every change and feature should be covered by\ntests.\n\n## License\n\nThis project is licensed under [MIT](https://github.com/josh-hemphill/vite-plugin-csp/blob/latest/LICENSE).\n\n[favicons]: https://github.com/haydenbleasel/favicons\n\n## Contributors\n -->\n<!-- ALL-CONTRIBUTORS-LIST:START - Do not remove or modify this section -->\n<!-- ALL-CONTRIBUTORS-LIST:END -->\n","readmeFilename":"README.md"}