{"ava":{"failFast":false,"files":["dist/tests/**/*.js","!dist/tests/**/fixtures/**/*.js"],"timeout":"1m","workerThreads":false},"dependencies":{"@hint/utils-compat-data":"^1.1.12","@hint/utils-css":"^1.0.15","@hint/utils-fs":"^1.0.16","@hint/utils-i18n":"^1.0.15","@hint/utils-types":"^1.2.1","lodash":"^4.17.21"},"description":"hint to validate if the HTML, CSS, and JavaScript APIs of the project are deprecated or not broadly supported","devDependencies":{"@hint/parser-css":"^3.0.39","@hint/utils-create-server":"^3.4.25","@hint/utils-dom":"^2.2.4","@hint/utils-tests-helpers":"^6.5.5","@types/lodash":"^4.14.194","@types/node":"^20.1.1","@typescript-eslint/eslint-plugin":"^5.59.2","@typescript-eslint/parser":"^4.33.0","ava":"^4.3.3","copyfiles":"^2.4.1","eslint":"^7.32.0","eslint-plugin-markdown":"^2.2.1","npm-run-all":"^4.1.5","nyc":"^15.1.0","postcss":"^8.4.23","rimraf":"^5.0.0","typescript":"^4.5.5"},"homepage":"https://webhint.io/","keywords":["hint","hint","compat-api","compat-api-hint"],"license":"Apache-2.0","main":"dist/src/index.js","name":"@hint/hint-compat-api","nyc":{"extends":"../../.nycrc"},"peerDependencies":{"@hint/parser-css":"^3.0.0","hint":"^7.0.0"},"repository":{"directory":"packages/hint-compat-api","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","watch":"npm run build && npm-run-all --parallel -c watch:*","test-release":"npm run i18n && npm run lint && npm run build-release && ava","watch:assets":"npm run build:assets -- -w --no-initial","watch:test":"ava --watch","watch:ts":"npm run build:ts -- --watch"},"version":"4.5.6","types":"./dist/src/index.d.ts","gitHead":"fe6feadb1f77798203ea9d75edd88cf2fcfd1b61","bugs":{"url":"https://github.com/webhintio/hint/issues"},"_id":"@hint/hint-compat-api@4.5.6","_nodeVersion":"14.20.0","_npmVersion":"8.14.0","dist":{"integrity":"sha512-aND+xfvyu37Se1dWGud1tCqf4Y8wo9bzZt+5qyn6x6h/djvNr8yYzFVzT+emrdDHhYZUTpfK5N1PKnh0NTp1LQ==","shasum":"befda663fe93ffc164344755dfa83a88a8c203f6","tarball":"http://registry-npm.ywwl.com/@hint/hint-compat-api/download/@hint/hint-compat-api-4.5.6.tgz","fileCount":43,"unpackedSize":53779,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQD7xzmmk2zhizsVAyaHsae6JErf0WRzfds5DtDXPPRx5wIgZTpwf7s2pW9BSl8d+jqJEXEWOUiqaXPcvjMo0+H3dAU="}],"size":14512,"noattachment":false,"key":"/@hint/hint-compat-api/-/@hint/hint-compat-api-4.5.6.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-compat-api_4.5.6_1686328032757_0.1534369755013012"},"_hasShrinkwrap":false,"readme":"# Compatibility of CSS, HTML and JavaScript features (`compat-api`)\n\n`compat api` contains hints to check if your CSS, HTML, and JavaScript\nhave deprecated or not broadly supported features.\n\n## Why is this important?\n\nYou need to know if all the properties that you are using in your files\nare compatible with the target browsers that you want to support.\n\n## Hints\n\n* [compat-api/css][compat-api-css]\n* [compat-api/html][compat-api-html]\n\n## How to use these hints?\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        \"compat-api/css\": \"error\",\n        \"compat-api/html\": \"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<!-- Link labels: -->\n\n[compat-api-css]: https://github.com/webhintio/hint/blob/HEAD/packages/hint-compat-api/docs/css.md\n[compat-api-html]: https://github.com/webhintio/hint/blob/HEAD/packages/hint-compat-api/docs/html.md\n[hintrc]: https://webhint.io/docs/user-guide/configuring-webhint/summary/\n[npm docs]: https://docs.npmjs.com/cli/install\n","publish_time":1686328032984,"_cnpm_publish_time":1686328032984,"dist-tags":{"latest":"4.5.8"}}