{"ava":{"failFast":false,"files":["dist/tests/**/*.js","!dist/tests/**/fixtures/**/*.js"],"timeout":"1m","workerThreads":false},"dependencies":{"@hint/utils":"^7.0.20","@hint/utils-debug":"^1.0.10","@hint/utils-i18n":"^1.0.13","@hint/utils-network":"^1.0.22","@hint/utils-types":"^1.2.0"},"description":"hint that that warns against using the BOM character at the beginning of a text file.","devDependencies":{"@hint/utils-create-server":"^3.4.22","@hint/utils-tests-helpers":"^6.5.2","@types/node":"^17.0.14","@typescript-eslint/eslint-plugin":"^4.33.0","@typescript-eslint/parser":"^4.33.0","ava":"^4.0.1","copyfiles":"^2.4.1","eslint":"^7.32.0","eslint-plugin-markdown":"^2.2.1","npm-run-all":"^4.1.5","nyc":"^15.1.0","rimraf":"^3.0.2","typescript":"^4.5.5"},"homepage":"https://webhint.io/","keywords":["hint","no-bom","no-bom-hint","webhint","webhint-hint"],"license":"Apache-2.0","main":"dist/src/hint.js","name":"@hint/hint-no-bom","nyc":{"extends":"../../.nycrc"},"peerDependencies":{"hint":"^7.0.0"},"repository":{"directory":"packages/hint-no-bom","type":"git","url":"git+https://github.com/webhintio/hint.git"},"scripts":{"build":"npm run i18n && npm-run-all build:*","build-release":"npm run clean && npm run i18n && npm run build:assets && tsc --inlineSourceMap false --removeComments true","build:assets":"copyfiles \"./{src,tests}/**/{!(*.ts),.!(ts)}\" dist","build:ts":"tsc -b","clean":"rimraf dist","i18n":"node ../../scripts/create-i18n.js","lint":"npm-run-all lint:*","lint:js":"eslint . --cache --ext .js,.md,.ts --ignore-path ../../.eslintignore","lint:dependencies":"node ../../scripts/lint-dependencies.js","lint:md":"node ../../scripts/lint-markdown.js","test":"npm run i18n && npm run lint && npm run build && npm run test-only","test-only":"nyc ava","test-release":"npm run i18n && npm run lint && npm run build-release && ava","watch":"npm run build && npm-run-all --parallel -c watch:*","watch:assets":"npm run build:assets -- -w --no-initial","watch:test":"ava --watch","watch:ts":"npm run build:ts -- --watch"},"version":"4.2.22","types":"./dist/src/hint.d.ts","gitHead":"64f0d5cf033aa97b12ef161d91e00bd2f750da6f","bugs":{"url":"https://github.com/webhintio/hint/issues"},"_id":"@hint/hint-no-bom@4.2.22","_nodeVersion":"14.20.0","_npmVersion":"8.14.0","dist":{"integrity":"sha512-4qBTqU8Cu0Q7R9gJGqt+HDBg1vUaOeTVxfmf89lCzKFob3WVYUmhhW64/Dfwg5ZKUBISn28wmunNQLgbZ7eUfQ==","shasum":"95fc92341777227912ca9389234b3fd3b88c38b4","tarball":"http://registry-npm.ywwl.com/@hint/hint-no-bom/download/@hint/hint-no-bom-4.2.22.tgz","fileCount":13,"unpackedSize":20645,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIGIRWUZgAbxTwcW5VOgpcB4ouZWw1kpTtAFhp5o1BGLkAiBZZFU9RotLDlwepPgdoqSz4GqmkI6VgamBwtjdGcOHsw=="}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJjF3gYACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmoDkxAAk+KPW+1mHU2t5ZUV4AeX2pDxBo6xGc8PqgEwI2v+7C8ZAufv\r\nrDA/u+unVAaWJAAoF2Tb5RivxPV5bn2M5s0UtXqIxZFb6PctG4NXDDUZmX/1\r\n1NFOJAry08h1FhJomluNF3IRRU14OZv0TFFiBEDhhizJMsVKTG4BJsnKClCJ\r\naBecLSTUc9AIvhDVlcqF2mqlrpFblosE9B9JDv9GIG9Qi/A5dp4iTpVdAAy9\r\nKvA6J6d2mjpRRfylL4stdLjVePIAE/NOJqeA3GmmX5lm3zdTF2MGwaoJRSzG\r\nv6ChwYqW/MIMaSIUGD3t38pcQ4EmeqOaj5bDeSos25rzqMQf7Z1m0+7lqNPi\r\nZx9/YJ21JV6PNcODfwwMM6IthFuBZzDw6/egR3Q7zNOIj47y1A4r9F59sRfR\r\nt9hZ92bZ+2LAWRfcx7cr157lnu1k2ALlkhZAuvq1Q5Bv1D6F5kg13Wm9QMZX\r\nBAcxh2nAWL71XwrVHB2Uj/Vs/+ttulL9RvxUlCnqSJLD/MfDH7JyT1/MxFzO\r\nIYKFnDbGnKNgevY5n8UnKxy3AACI2/ySf2H7xzhnrAtDik7jNs2A4uay0Vpy\r\neyeTDIURANsO/0SkNyoAUM2LvrLdYmwhpERdDErGtKUbh4gGGUIxWXSOU9NB\r\n6NlyCbhij2kSkdokBFaD36KGLy+ArsBLWE0=\r\n=pucK\r\n-----END PGP SIGNATURE-----\r\n","size":7545,"noattachment":false,"key":"/@hint/hint-no-bom/-/@hint/hint-no-bom-4.2.22.tgz"},"_npmUser":{"name":"vidorteg","email":"vidorteg@microsoft.com"},"directories":{},"maintainers":[{"name":"leotlee","email":"leolee@microsoft.com"},{"name":"vidorteg","email":"vidorteg@microsoft.com"},{"name":"oaflynn","email":"flynnolivia@microsoft.com"},{"name":"molant","email":"amolleda@gmail.com"},{"name":"antross","email":"antross@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/hint-no-bom_4.2.22_1662482456191_0.17966800226026258"},"_hasShrinkwrap":false,"readme":"# No byte-order mark (`no-bom`)\n\n`no-bom` warns against having the byte-order mark (BOM) character\nat the beginning of a text file.\n\n## Why is this important?\n\nHaving the BOM character at the beginning of a file over the internet\n(especially HTML) can have some bad side effects on some browsers.\nThe BOM character can be used to indicate the charset of the content\nis `UTF-8` but this doesn't mean it will be considered. For example,\nInternet Explorer 10 and 11 give a higher precedence to the HTTP header\nwhile previous versions gave the precedence to BOM for the encoding.\n\nYou can learn about other problems in [this section][bom problems].\n\n## What does the hint check?\n\nThis hint checks that all text-based media type files are served\nwithout the BOM character at the beginning.\n\n### Examples that **trigger** the hint\n\nA text file (such as HTML) that starts with the BOM character `U+FEFF`\nwill fail.\n\n### Examples that **pass** the hint\n\nA text file (such as HTML) that doesn't start with the BOM character\n`U+FEFF` will pass.\n\n## How to use this hint?\n\nThis package is installed automatically by webhint:\n\n```bash\nnpm install hint --save-dev\n```\n\nTo use it, activate it via the [`.hintrc`][hintrc] configuration file:\n\n```json\n{\n    \"connector\": {...},\n    \"formatters\": [...],\n    \"hints\": {\n        \"no-bom\": \"error\",\n        ...\n    },\n    \"parsers\": [...],\n    ...\n}\n```\n\n**Note**: The recommended way of running webhint is as a `devDependency` of\nyour project.\n\n## Further Reading\n\n* [Byte order mark (Wikipedia)][bom]\n* [The byte-order mark (BOM) in HTML][bom in html]\n\n<!-- Link labels: -->\n\n[bom]: https://en.wikipedia.org/wiki/Byte_order_mark\n[bom in html]: https://www.w3.org/International/questions/qa-byte-order-mark.en\n[bom problems]: https://www.w3.org/International/questions/qa-byte-order-mark.en#problems\n[hintrc]: https://webhint.io/docs/user-guide/configuring-webhint/summary/\n","publish_time":1662482456347,"_cnpm_publish_time":1662482456347,"dist-tags":{"latest":"4.2.27"}}