{"name":"@testing-library/user-event","version":"14.5.0","description":"Fire events the same way the user does","keywords":["react-testing-library","dom-testing-library","react","testing"],"author":{"name":"Giorgio Polvara","email":"polvara@gmail.com"},"license":"MIT","engines":{"node":">=12","npm":">=6"},"repository":{"type":"git","url":"git+https://github.com/testing-library/user-event.git"},"bugs":{"url":"https://github.com/testing-library/user-event/issues"},"homepage":"https://github.com/testing-library/user-event#readme","scripts":{"build":"scripts ts-build2 --cjs --target es2019","lint":"kcd-scripts lint","setup":"npm install && npm run validate -s","setup:env":"node --experimental-import-meta-resolve scripts/setup.js","test":"kcd-scripts test","test:jest":"kcd-scripts test","test:toolbox":"NODE_OPTIONS='--experimental-vm-modules --experimental-modules --experimental-import-meta-resolve' node scripts/test.js","test:debug":"kcd-scripts --inspect-brk test --runInBand","test:update":"npm test -- --updateSnapshot --coverage","validate":"kcd-scripts typecheck"},"devDependencies":{"@ph.fritsche/scripts-config":"^2.4.0","@ph.fritsche/toolbox":"^1.0.0-alpha.1","@testing-library/dom":"^8.19.0","@testing-library/jest-dom":"^5.16.3","@testing-library/react":"^13.4.0","@types/jest-in-case":"^1.0.3","@types/react":"^18.0.25","@types/sinonjs__fake-timers":"^8.1.2","css.escape":"^1.5.1","eslint-import-resolver-typescript":"^3.5.2","eslint-plugin-local-rules":"^1.3.2","expect":"^28.1.3","is-ci":"^3.0.1","istanbul-lib-coverage":"^3.2.0","istanbul-lib-report":"^3.0.0","istanbul-lib-source-maps":"^4.0.1","istanbul-reports":"^3.1.5","jest-in-case":"^1.0.2","jest-mock":"^28.1.3","jest-serializer-ansi":"^1.0.3","jsdom":"^20.0.3","kcd-scripts":"^12.1.0","react":"^18.0.0","react-dom":"^18.0.0","shared-scripts":"^1.5.1","ts-node":"^10.9.1","typescript":"^4.9.3"},"peerDependencies":{"@testing-library/dom":">=7.21.4"},"dependencies":{},"main":"./dist/cjs/index.js","module":"./dist/esm/index.js","types":"./dist/types/index.d.ts","exports":{".":{"types":"./dist/types/index.d.ts","require":"./dist/cjs/index.js","default":"./dist/esm/index.js"},"./dist/cjs/*":"./dist/cjs/*","./dist/esm/*":"./dist/esm/*"},"typesVersions":{"*":{"dist/types/*":["./dist/types/*"],"dist/cjs/*.js":["./dist/types/*.d.ts"],"dist/esm/*.js":["./dist/types/*.d.ts"],"*":["./dist/types/*.d.ts"]}},"gitHead":"4be87b3452f524bcc256d43cfb891ba1f0e236d6","_id":"@testing-library/user-event@14.5.0","_nodeVersion":"18.17.1","_npmVersion":"9.6.7","dist":{"integrity":"sha512-nQRCteEZvULJJrlcGQuNhwGekz25TOUILA+sTWI9PB/vNKKivS+7K7XRTwoikw/2fmJPaM4pPKy+hLWEGg9+JA==","shasum":"4036add379525b635a64bce4d727820d4ba516a7","tarball":"http://registry-npm.ywwl.com/@testing-library/user-event/download/@testing-library/user-event-14.5.0.tgz","fileCount":318,"unpackedSize":446159,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIFqLyc/4HxMpXb/tB2zUrCdmURdfKy/hMi1IWm9je15IAiEAhPY1yPZs2paOs97GhW4FaVf1wvjfaAuXmUSbi0sVvqw="}],"size":73384,"noattachment":false,"key":"/@testing-library/user-event/-/@testing-library/user-event-14.5.0.tgz"},"_npmUser":{"name":"testing-library-bot","email":"testinglibraryoss@gmail.com"},"directories":{},"maintainers":[{"name":"eps1lon","email":"silbermann.sebastian@gmail.com"},{"name":"mdjastrzebski","email":"mdjastrzebski@gmail.com"},{"name":"jdecroock","email":"decroockjovi@gmail.com"},{"name":"testing-library-bot","email":"testinglibraryoss@gmail.com"},{"name":"kentcdodds","email":"me@kentcdodds.com"},{"name":"timdeschryver","email":"timdeschryver@outlook.com"},{"name":"patrickhulce","email":"patrick.hulce@gmail.com"},{"name":"dfcook","email":"dfcook@hotmail.com"},{"name":"gpx","email":"polvara@gmail.com"},{"name":"mpeyper","email":"mpeyper7@gmail.com"},{"name":"mihar-22","email":"rahim.alwer@gmail.com"},{"name":"pago","email":"patrick.gotthardt@trivago.com"},{"name":"cmckinstry","email":"carson.mckinstry@gmail.com"},{"name":"thymikee","email":"thymikee@gmail.com"},{"name":"brrianalexis","email":"brrianalexis.dev@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/user-event_14.5.0_1694705639182_0.3752862173589526"},"_hasShrinkwrap":false,"readme":"<div align=\"center\">\n<h1>user-event</h1>\n\n<a href=\"https://www.joypixels.com/profiles/emoji/1f415\">\n  <img\n    height=\"80\"\n    width=\"80\"\n    alt=\"dog\"\n    src=\"https://raw.githubusercontent.com/testing-library/user-event/main/other/dog.png\"\n  />\n</a>\n\n<p>Fire events the same way the user does</p>\n\n<br />\n\n[**Read The Docs**](https://testing-library.com/docs/user-event/intro)\n\n<br />\n</div>\n\n---\n\n<!-- prettier-ignore-start -->\n[![Build Status][build-badge]][build]\n[![Code Coverage][coverage-badge]][coverage]\n[![version][version-badge]][package]\n[![downloads][downloads-badge]][npmtrends]\n[![MIT License][license-badge]][license]\n[![All Contributors][all-contributors-badge]](#contributors)\n[![PRs Welcome][prs-badge]][prs]\n[![Code of Conduct][coc-badge]][coc]\n[![Discord][discord-badge]][discord]\n\n[![Watch on GitHub][github-watch-badge]][github-watch]\n[![Star on GitHub][github-star-badge]][github-star]\n[![Tweet][twitter-badge]][twitter]\n<!-- prettier-ignore-end -->\n\n## The problem\n\nFrom\n[testing-library/dom-testing-library#107](https://github.com/testing-library/dom-testing-library/issues/107):\n\n> [...] it is becoming apparent the need to express user actions on a web page\n> using a higher-level abstraction than [`fireEvent`][fire-event]\n\n## The solution\n\n`user-event` tries to simulate the real events that would happen in the browser\nas the user interacts with it. For example `userEvent.click(checkbox)` would\nchange the state of the checkbox.\n\n> [The more your tests resemble the way your software is used, the more\n> confidence they can give you.][guiding-principle]\n\n## Issues\n\nLooking to contribute? Look for the [Good First Issue][good-first-issue] label.\n\n### 🐛 Bugs\n\nPlease file an issue for bugs, missing documentation, or unexpected behavior.\n\n[**See Bugs**][bugs]\n\n### 💡 Feature Requests\n\nPlease file an issue to suggest new features. Vote on feature requests by adding\na 👍. This helps maintainers prioritize what to work on.\n\n[**See Feature Requests**][requests]\n\n### ❓ Questions\n\nFor questions related to using the library, please visit a support community\ninstead of filing an issue on GitHub.\n\n- [Discord][discord]\n- [Stack Overflow][stackoverflow]\n\n## Contributors\n\nWe most sincerely thank [the people who make this project\npossible][contributors]. Contributions of any kind are welcome! 💚\n\n## License\n\n[MIT](LICENSE)\n\n<!-- prettier-ignore-start -->\n[npm]: https://www.npmjs.com\n[node]: https://nodejs.org\n[build-badge]: https://img.shields.io/github/workflow/status/testing-library/user-event/validate/main?logo=github&style=flat-square\n[build]: https://github.com/testing-library/user-event/actions?query=workflow%3Avalidate\n[coverage-badge]: https://img.shields.io/codecov/c/github/testing-library/user-event.svg?style=flat-square\n[coverage]: https://codecov.io/github/testing-library/user-event\n[version-badge]: https://img.shields.io/npm/v/@testing-library/user-event.svg?style=flat-square\n[package]: https://www.npmjs.com/package/@testing-library/user-event\n[downloads-badge]: https://img.shields.io/npm/dm/@testing-library/user-event.svg?style=flat-square\n[npmtrends]: http://www.npmtrends.com/@testing-library/user-event\n[license-badge]: https://img.shields.io/npm/l/@testing-library/user-event.svg?style=flat-square\n[license]: https://github.com/testing-library/user-event/blob/main/LICENSE\n[prs-badge]: https://img.shields.io/badge/PRs-welcome-brightgreen.svg?style=flat-square\n[prs]: http://makeapullrequest.com\n[coc-badge]: https://img.shields.io/badge/code%20of-conduct-ff69b4.svg?style=flat-square\n[coc]: https://github.com/testing-library/.github/blob/main/CODE_OF_CONDUCT.md\n[github-watch-badge]: https://img.shields.io/github/watchers/testing-library/user-event.svg?style=social\n[github-watch]: https://github.com/testing-library/user-event/watchers\n[github-star-badge]: https://img.shields.io/github/stars/testing-library/user-event.svg?style=social\n[github-star]: https://github.com/testing-library/user-event/stargazers\n[twitter]: https://twitter.com/intent/tweet?text=Check%20out%20user-event%20by%20%40@TestingLib%20https%3A%2F%2Fgithub.com%2Ftesting-library%2Fuser-event%20%F0%9F%91%8D\n[twitter-badge]: https://img.shields.io/twitter/url/https/github.com/testing-library/user-event.svg?style=social\n[all-contributors-badge]: https://img.shields.io/github/all-contributors/testing-library/user-event?color=orange&style=flat-square\n[guiding-principle]: https://twitter.com/kentcdodds/status/977018512689455106\n[bugs]: https://github.com/testing-library/user-event/issues?utf8=%E2%9C%93&q=is%3Aissue+is%3Aopen+sort%3Acreated-desc+label%3Abug\n[requests]: https://github.com/testing-library/user-event/issues?utf8=%E2%9C%93&q=is%3Aissue+is%3Aopen+sort%3Areactions-%2B1-desc+label%3Aenhancement\n[good-first-issue]: https://github.com/testing-library/user-event/issues?utf8=%E2%9C%93&q=is%3Aissue+is%3Aopen+sort%3Areactions-%2B1-desc+label%3Aenhancement+label%3A%22good+first+issue%22\n[fire-event]: https://testing-library.com/docs/dom-testing-library/api-events#fireevent\n[discord-badge]: https://img.shields.io/discord/723559267868737556.svg?color=7389D8&labelColor=6A7EC2&logo=discord&logoColor=ffffff&style=flat-square\n[discord]: https://discord.gg/testing-library\n[stackoverflow]: https://stackoverflow.com/questions/tagged/user-event\n[contributors]: https://github.com/testing-library/user-event/blob/main/CONTRIBUTORS.md\n<!-- prettier-ignore-end -->\n","publish_time":1694705639585,"_cnpm_publish_time":1694705639585,"dist-tags":{"alpha":"14.0.0-alpha.18","beta":"14.0.0-beta.14","latest":"14.6.13"}}