{"bugs":{"url":"https://github.com/tannerlinsley/react-query/issues"},"dist":{"shasum":"7c877e241e37a3ec45a13feda441f06fa51d9808","tarball":"https://registry.npmjs.org/react-query/-/react-query-4.0.0-alpha.16.tgz","fileCount":203,"integrity":"sha512-NulTEvmOwHiLDnJTelaCTHNYt4zjlEBAwIZmFT5UsMU3pB38ReRW4kOj1GUtMnyIwF9wNSYOUXkqjt5nmdFUeg==","signatures":[{"sig":"MEUCIQDeoKtlebAW/WiRh3CdbbP+QaXgODqeauxrfh6xVIpE5AIgFU2tnKnAlB4uRygJiXS1yCvYyg4dWwV1+AdwT8oHjlI=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":2290036,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJiGjvqACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmpZXxAAhpYkaufxbhAnez9pQ2oN3IZncT0lDM3zvXNOf3aL6A7Nhija\r\nrMpr6GOKV+sz5vYNCj0gfRaDCJSrS5JGW9/JQJ4P2zlVvWRRWtRDeoL7GuQR\r\n1AxMs+IXFJyTZt5RpGGxpKHgGJCc9Ni7EwmTM7R5Tg+BLi8mRaZX4gORSJcw\r\nGEWM6aqvFzgDcOKfbY1WnGEE0z4eaVUsLgvvrrGNqc1DszPiIGu1VUq8VKMT\r\nU/I/+VbpSGCqzzsiNZ/ZVsSwLddqwdp14nhNxNZ0eeer3gMRqUFH4/iJ1Ja5\r\nyXW1YhfX1ua8fcCWce7BeI0I0g/7p1JIQlcxf7tE3JCAylrZBmzxa5fWG1lx\r\nKmugjJOJrt5/eUzy2wjuPRWn8NwVjRnlcNsbwHXRqNITlIucps2e3Ise9a3k\r\nUvzRIMu0hoASXygxHX1BI41XTXrAjRiGtQu8FFu3Z5F4y44ajg7tH9Po16+6\r\nDZMok5iex25HhsjsOmkKZ7EBsUiNU40qaW7xs5zGUJpLjcDYue/f14XIoes4\r\nir86un6hRTtplg25qWijrVzGPkVgmHCm++N6TYIdkkZns0c4S2n+Dlt6Xpj1\r\nHNXQhn5hHkvLBqy7wg0RhvO1DC9yoqyoNuKhvHyNMiyyFspS0Q0u33X4xaXZ\r\nrJxjutI3xiCY9u0LKsc/NgfV47BPsvhQwAM=\r\n=WEZo\r\n-----END PGP SIGNATURE-----\r\n"},"main":"lib/index.js","name":"react-query","types":"types/index.d.ts","unpkg":"dist/react-query.development.js","author":{"name":"tannerlinsley"},"module":"es/index.js","readme":"<img src=\"https://static.scarf.sh/a.png?x-pxid=be2d8a11-9712-4c1d-9963-580b2d4fb133\" />\n\n![React Query Header](https://github.com/tannerlinsley/react-query/raw/master/media/repo-dark.png)\n\nHooks for fetching, caching and updating asynchronous data in React\n\n<a href=\"https://twitter.com/intent/tweet?button_hashtag=TanStack\" target=\"\\_parent\">\n  <img alt=\"#TanStack\" src=\"https://img.shields.io/twitter/url?color=%2308a0e9&label=%23TanStack&style=social&url=https%3A%2F%2Ftwitter.com%2Fintent%2Ftweet%3Fbutton_hashtag%3DTanStack\">\n</a><a href=\"https://discord.com/invite/WrRKjPJ\" target=\"\\_parent\">\n  <img alt=\"\" src=\"https://img.shields.io/badge/Discord-TanStack-%235865F2\" />\n</a><a href=\"https://github.com/tannerlinsley/react-query/actions?query=workflow%3A%22react-query+tests%22\">\n<img src=\"https://github.com/tannerlinsley/react-query/workflows/react-query%20tests/badge.svg\" />\n</a><a href=\"https://npmjs.com/package/react-query\" target=\"\\_parent\">\n  <img alt=\"\" src=\"https://img.shields.io/npm/dm/react-query.svg\" />\n</a><a href=\"https://bundlephobia.com/result?p=react-query@latest\" target=\"\\_parent\">\n  <img alt=\"\" src=\"https://badgen.net/bundlephobia/minzip/react-query@latest\" />\n</a><a href=\"#badge\">\n    <img alt=\"semantic-release\" src=\"https://img.shields.io/badge/%20%20%F0%9F%93%A6%F0%9F%9A%80-semantic--release-e10079.svg\">\n  </a><a href=\"https://github.com/tannerlinsley/react-query/discussions\">\n  <img alt=\"Join the discussion on Github\" src=\"https://img.shields.io/badge/Github%20Discussions%20%26%20Support-Chat%20now!-blue\" />\n</a><a href=\"https://bestofjs.org/projects/react-query\"><img alt=\"Best of JS\" src=\"https://img.shields.io/endpoint?url=https://bestofjs-serverless.now.sh/api/project-badge?fullName=tannerlinsley%2Freact-query%26since=daily\" /></a><a href=\"https://github.com/tannerlinsley/react-query\" target=\"\\_parent\">\n  <img alt=\"\" src=\"https://img.shields.io/github/stars/tannerlinsley/react-query.svg?style=social&label=Star\" />\n</a><a href=\"https://twitter.com/tannerlinsley\" target=\"\\_parent\">\n  <img alt=\"\" src=\"https://img.shields.io/twitter/follow/tannerlinsley.svg?style=social&label=Follow\" />\n</a> <a href=\"https://gitpod.io/from-referrer/\">\n  <img src=\"https://img.shields.io/badge/Gitpod-Ready--to--Code-blue?logo=gitpod\" alt=\"Gitpod Ready-to-Code\"/>\n</a>\n\nEnjoy this library? Try the entire [TanStack](https://tanstack.com)! [React Table](https://github.com/tannerlinsley/react-table), [React Form](https://github.com/tannerlinsley/react-form), [React Charts](https://github.com/tannerlinsley/react-charts)\n\n## Visit [react-query.tanstack.com](https://react-query.tanstack.com) for docs, guides, API and more!\n\nStill on **React Query v2**? No problem! Check out the v2 docs here: https://react-query-v2.tanstack.com/.\n## Quick Features\n\n- Transport/protocol/backend agnostic data fetching (REST, GraphQL, promises, whatever!)\n- Auto Caching + Refetching (stale-while-revalidate, Window Refocus, Polling/Realtime)\n- Parallel + Dependent Queries\n- Mutations + Reactive Query Refetching\n- Multi-layer Cache + Automatic Garbage Collection\n- Paginated + Cursor-based Queries\n- Load-More + Infinite Scroll Queries w/ Scroll Recovery\n- Request Cancellation\n- [React Suspense](https://reactjs.org/docs/concurrent-mode-suspense.html) + Fetch-As-You-Render Query Prefetching\n- Dedicated Devtools\n- <a href=\"https://bundlephobia.com/result?p=react-query@latest\" target=\"\\_parent\">\n  <img alt=\"\" src=\"https://badgen.net/bundlephobia/minzip/react-query@latest\" />\n  </a> (depending on features imported)\n\n### [Become a Sponsor!](https://github.com/sponsors/tannerlinsley/)\n\n# Contributors ✨\n\nThanks goes to these wonderful people ([emoji key](https://allcontributors.org/docs/en/emoji-key)):\n\n<!-- ALL-CONTRIBUTORS-LIST:START - Do not remove or modify this section -->\n<!-- prettier-ignore-start -->\n<!-- markdownlint-disable -->\n<table>\n  <tr>\n    <td align=\"center\"><a href=\"https://tannerlinsley.com\"><img src=\"https://avatars0.githubusercontent.com/u/5580297?v=4?s=100\" width=\"100px;\" alt=\"\"/><br /><sub><b>Tanner Linsley</b></sub></a><br /><a href=\"https://github.com/tannerlinsley/react-query/commits?author=tannerlinsley\" title=\"Code\">💻</a> <a href=\"#ideas-tannerlinsley\" title=\"Ideas, Planning, & Feedback\">🤔</a> <a href=\"#example-tannerlinsley\" title=\"Examples\">💡</a> <a href=\"#maintenance-tannerlinsley\" title=\"Maintenance\">🚧</a> <a href=\"https://github.com/tannerlinsley/react-query/pulls?q=is%3Apr+reviewed-by%3Atannerlinsley\" title=\"Reviewed Pull Requests\">👀</a></td>\n    <td align=\"center\"><a href=\"http://cherniavskii.com\"><img src=\"https://avatars2.githubusercontent.com/u/13808724?v=4?s=100\" width=\"100px;\" alt=\"\"/><br /><sub><b>Andrew Cherniavskii</b></sub></a><br /><a href=\"https://github.com/tannerlinsley/react-query/commits?author=cherniavskii\" title=\"Code\">💻</a> <a href=\"https://github.com/tannerlinsley/react-query/issues?q=author%3Acherniavskii\" title=\"Bug reports\">🐛</a></td>\n    <td align=\"center\"><a href=\"http://twitter.com/tibotiber\"><img src=\"https://avatars3.githubusercontent.com/u/5635553?v=4?s=100\" width=\"100px;\" alt=\"\"/><br /><sub><b>Thibaut Tiberghien</b></sub></a><br /><a href=\"https://github.com/tannerlinsley/react-query/commits?author=tibotiber\" title=\"Documentation\">📖</a></td>\n    <td align=\"center\"><a href=\"https://github.com/gargroh\"><img src=\"https://avatars3.githubusercontent.com/u/42495927?v=4?s=100\" width=\"100px;\" alt=\"\"/><br /><sub><b>Rohit Garg</b></sub></a><br /><a href=\"#tool-gargroh\" title=\"Tools\">🔧</a></td>\n    <td align=\"center\"><a href=\"https://github.com/Avi98\"><img src=\"https://avatars1.githubusercontent.com/u/26133749?v=4?s=100\" width=\"100px;\" alt=\"\"/><br /><sub><b>Avinash</b></sub></a><br /><a href=\"https://github.com/tannerlinsley/react-query/commits?author=Avi98\" title=\"Code\">💻</a> <a href=\"https://github.com/tannerlinsley/react-query/issues?q=author%3AAvi98\" title=\"Bug reports\">🐛</a></td>\n    <td align=\"center\"><a href=\"https://github.com/CreativeTechGuy\"><img src=\"https://avatars1.githubusercontent.com/u/12002072?v=4?s=100\" width=\"100px;\" alt=\"\"/><br /><sub><b>Jason O'Neill</b></sub></a><br /><a href=\"#maintenance-CreativeTechGuy\" title=\"Maintenance\">🚧</a> <a href=\"https://github.com/tannerlinsley/react-query/commits?author=CreativeTechGuy\" title=\"Tests\">⚠️</a></td>\n    <td align=\"center\"><a href=\"http://fb.me/yz\"><img src=\"https://avatars3.githubusercontent.com/u/14841421?v=4?s=100\" width=\"100px;\" alt=\"\"/><br /><sub><b>Jack Zhao</b></sub></a><br /><a href=\"https://github.com/tannerlinsley/react-query/commits?author=bugzpodder\" title=\"Code\">💻</a> <a href=\"https://github.com/tannerlinsley/react-query/issues?q=author%3Abugzpodder\" title=\"Bug reports\">🐛</a></td>\n  </tr>\n  <tr>\n    <td align=\"center\"><a href=\"https://github.com/dpyzo0o\"><img src=\"https://avatars1.githubusercontent.com/u/24768249?v=4?s=100\" width=\"100px;\" alt=\"\"/><br /><sub><b>dpyzo0o</b></sub></a><br /><a href=\"https://github.com/tannerlinsley/react-query/commits?author=dpyzo0o\" title=\"Code\">💻</a></td>\n    <td align=\"center\"><a href=\"https://github.com/jelteliekens\"><img src=\"https://avatars1.githubusercontent.com/u/3418474?v=4?s=100\" width=\"100px;\" alt=\"\"/><br /><sub><b>Jelte Liekens</b></sub></a><br /><a href=\"https://github.com/tannerlinsley/react-query/commits?author=jelteliekens\" title=\"Code\">💻</a></td>\n    <td align=\"center\"><a href=\"https://github.com/jgettings\"><img src=\"https://avatars0.githubusercontent.com/u/4183742?v=4?s=100\" width=\"100px;\" alt=\"\"/><br /><sub><b>Jen Gettings</b></sub></a><br /><a href=\"https://github.com/tannerlinsley/react-query/commits?author=jgettings\" title=\"Code\">💻</a></td>\n    <td align=\"center\"><a href=\"https://github.com/justincy\"><img src=\"https://avatars2.githubusercontent.com/u/1037458?v=4?s=100\" width=\"100px;\" alt=\"\"/><br /><sub><b>Justin</b></sub></a><br /><a href=\"https://github.com/tannerlinsley/react-query/commits?author=justincy\" title=\"Code\">💻</a></td>\n    <td align=\"center\"><a href=\"http://www.marceloalves.com\"><img src=\"https://avatars1.githubusercontent.com/u/216782?v=4?s=100\" width=\"100px;\" alt=\"\"/><br /><sub><b>Marcelo Alves</b></sub></a><br /><a href=\"https://github.com/tannerlinsley/react-query/commits?author=MarceloAlves\" title=\"Code\">💻</a></td>\n    <td align=\"center\"><a href=\"https://github.com/zorzysty\"><img src=\"https://avatars0.githubusercontent.com/u/5398733?v=4?s=100\" width=\"100px;\" alt=\"\"/><br /><sub><b>Zorza</b></sub></a><br /><a href=\"https://github.com/tannerlinsley/react-query/commits?author=zorzysty\" title=\"Documentation\">📖</a></td>\n    <td align=\"center\"><a href=\"https://tkdodo.eu\"><img src=\"https://avatars0.githubusercontent.com/u/1021430?v=4?s=100\" width=\"100px;\" alt=\"\"/><br /><sub><b>Dominik Dorfmeister</b></sub></a><br /><a href=\"https://github.com/tannerlinsley/react-query/commits?author=tkdodo\" title=\"Code\">💻</a> <a href=\"https://github.com/tannerlinsley/react-query/commits?author=tkdodo\" title=\"Documentation\">📖</a> <a href=\"#maintenance-tkdodo\" title=\"Maintenance\">🚧</a> <a href=\"#question-tkdodo\" title=\"Answering Questions\">💬</a> <a href=\"https://github.com/tannerlinsley/react-query/pulls?q=is%3Apr+reviewed-by%3Atkdodo\" title=\"Reviewed Pull Requests\">👀</a></td>\n  </tr>\n  <tr>\n    <td align=\"center\"><a href=\"https://katt.dev\"><img src=\"https://avatars.githubusercontent.com/u/459267?v=4?s=100\" width=\"100px;\" alt=\"\"/><br /><sub><b>Alex Johansson</b></sub></a><br /><a href=\"https://github.com/tannerlinsley/react-query/commits?author=KATT\" title=\"Code\">💻</a></td>\n    <td align=\"center\"><a href=\"http://www.eddyvinck.nl\"><img src=\"https://avatars.githubusercontent.com/u/23434753?v=4?s=100\" width=\"100px;\" alt=\"\"/><br /><sub><b>Eddy</b></sub></a><br /><a href=\"https://github.com/tannerlinsley/react-query/commits?author=EddyVinck\" title=\"Code\">💻</a></td>\n    <td align=\"center\"><a href=\"http://prateeksurana.me\"><img src=\"https://avatars.githubusercontent.com/u/21277179?v=4?s=100\" width=\"100px;\" alt=\"\"/><br /><sub><b>Prateek Surana</b></sub></a><br /><a href=\"https://github.com/tannerlinsley/react-query/commits?author=prateek3255\" title=\"Code\">💻</a></td>\n    <td align=\"center\"><a href=\"https://github.com/babycourageous\"><img src=\"https://avatars.githubusercontent.com/u/14936212?v=4?s=100\" width=\"100px;\" alt=\"\"/><br /><sub><b>Rene Dellefont</b></sub></a><br /><a href=\"https://github.com/tannerlinsley/react-query/commits?author=babycourageous\" title=\"Code\">💻</a> <a href=\"https://github.com/tannerlinsley/react-query/commits?author=babycourageous\" title=\"Documentation\">📖</a></td>\n    <td align=\"center\"><a href=\"https://github.com/jvuoti\"><img src=\"https://avatars.githubusercontent.com/u/3702781?v=4?s=100\" width=\"100px;\" alt=\"\"/><br /><sub><b>Janne Vuoti</b></sub></a><br /><a href=\"https://github.com/tannerlinsley/react-query/commits?author=jvuoti\" title=\"Code\">💻</a></td>\n    <td align=\"center\"><a href=\"http://seaviewlab.com\"><img src=\"https://avatars.githubusercontent.com/u/20332397?v=4?s=100\" width=\"100px;\" alt=\"\"/><br /><sub><b>Arnaud</b></sub></a><br /><a href=\"https://github.com/tannerlinsley/react-query/commits?author=arnaudbzn\" title=\"Code\">💻</a> <a href=\"https://github.com/tannerlinsley/react-query/commits?author=arnaudbzn\" title=\"Documentation\">📖</a></td>\n    <td align=\"center\"><a href=\"https://github.com/zrwsk\"><img src=\"https://avatars.githubusercontent.com/u/9089600?v=4?s=100\" width=\"100px;\" alt=\"\"/><br /><sub><b>Jakub Żurawski</b></sub></a><br /><a href=\"https://github.com/tannerlinsley/react-query/commits?author=zrwsk\" title=\"Documentation\">📖</a></td>\n  </tr>\n</table>\n\n<!-- markdownlint-restore -->\n<!-- prettier-ignore-end -->\n\n<!-- ALL-CONTRIBUTORS-LIST:END -->\n\nThis project follows the [all-contributors](https://github.com/all-contributors/all-contributors) specification. Contributions of any kind welcome!\n\n<!-- Force 3 -->\n","funding":{"url":"https://github.com/sponsors/tannerlinsley","type":"github"},"gitHead":"315f0cf4698640a77f1910d2e478893d3e41a258","license":"MIT","scripts":{"test":"is-ci \"test:ci\" \"test:dev\"","build":"yarn build:commonjs && yarn build:es && yarn build:umd && yarn build:types","start":"yarn watch","stats":"open ./stats.html","watch":"yarn watch:commonjs & yarn watch:es & yarn watch:umd & yarn watch:types","format":"yarn prettier --write","test:ci":"npm run test:types && npm run test:format && npm run test:eslint && npm run test:codemod && jest","build:es":"rimraf ./es && babel --extensions .ts,.tsx --ignore ./src/**/tests/**/* ./src --out-dir es","prettier":"prettier \"{.,src,src/**,example/src,example/src/**,types}/*.{md,js,jsx,ts,tsx,json}\"","test:dev":"npm run test:types && npm run test:format && npm run test:eslint && npm run test:codemod && jest --watch","watch:es":"rimraf ./es && babel --watch --extensions .ts,.tsx --ignore ./src/**/tests/**/* ./src --out-dir es","build:umd":"rimraf ./dist && cross-env NODE_ENV=production rollup -c && rollup-plugin-visualizer stats-react.json","now-build":"yarn && cd www && yarn && yarn build","test:size":"yarn build:umd && bundlewatch","watch:umd":"rimraf ./dist && cross-env NODE_ENV=production rollup -w -c && rollup-plugin-visualizer stats-react.json","test:types":"tsc","build:types":"rimraf ./types && tsc --project ./tsconfig.types.json && replace 'import type' 'import' ./types -r --silent && replace 'export type' 'export' ./types -r --silent","test:eslint":"eslint --ext .ts,.tsx ./src","test:format":"yarn prettier --check","watch:types":"rimraf ./types && tsc --watch --project ./tsconfig.types.json && replace 'import type' 'import' ./types -r --silent && replace 'export type' 'export' ./types -r --silent","test:codemod":"jest --config codemods/jest.config.js","test:coverage":"yarn test:ci; open coverage/lcov-report/index.html","build:commonjs":"rimraf ./lib && cross-env BABEL_ENV=commonjs babel --extensions .ts,.tsx --ignore ./src/**/tests/**/* ./src --out-dir lib","watch:commonjs":"rimraf ./lib && cross-env BABEL_ENV=commonjs babel --watch --extensions .ts,.tsx --ignore ./src/**/tests/**/* ./src --out-dir lib"},"_npmUser":{"name":"tannerlinsley","email":"tannerlinsley@gmail.com"},"homepage":"https://github.com/tannerlinsley/react-query#readme","repository":{"url":"git+https://github.com/tannerlinsley/react-query.git","type":"git"},"_npmVersion":"6.14.16","bundlewatch":{"files":[{"path":"dist/*.production.min.js"}]},"description":"Hooks for managing, caching and syncing asynchronous and remote data in React","directories":{},"maintainers":[{"name":"tannerlinsley","email":"tannerlinsley@gmail.com"}],"resolutions":{"@types/react":"^16.9.41","@types/react-dom":"^16.9.8"},"sideEffects":["es/index.js","es/reactjs/index.js","es/reactjs/setBatchUpdatesFn.js","lib/index.js","lib/reactjs/index.js","lib/reactjs/setBatchUpdatesFn.js"],"_nodeVersion":"14.19.0","dependencies":{"match-sorter":"^6.0.2","@babel/runtime":"^7.5.5","broadcast-channel":"^3.4.1"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"jest":"^26.0.1","react":"^16.13.0","eslint":"7.x","rimraf":"^3.0.2","rollup":"^2.61.1","replace":"^1.2.0","prettier":"2.2.1","cross-env":"^7.0.2","is-ci-cli":"^2.1.1","react-dom":"^16.13.1","type-fest":"^0.21.0","@babel/cli":"^7.11.6","babel-jest":"^26.0.1","typescript":"4.5.3","@babel/core":"^7.11.6","@types/jest":"^26.0.4","bundlewatch":"^0.3.2","jscodeshift":"^0.13.1","@svgr/rollup":"^6.1.1","@types/react":"^16.9.41","babel-eslint":"^10.1.0","@types/react-dom":"^16.9.8","@babel/preset-env":"^7.11.5","@types/jscodeshift":"^0.11.3","eslint-plugin-node":"^11.1.0","rollup-plugin-jscc":"^2.0.0","rollup-plugin-size":"^0.2.2","@babel/preset-react":"^7.10.4","eslint-plugin-react":"7.20.0","rollup-plugin-babel":"^4.4.0","eslint-plugin-import":"^2.22.1","react-error-boundary":"^2.2.2","rollup-plugin-terser":"^7.0.2","eslint-plugin-promise":"^4.2.1","@rollup/plugin-replace":"^3.0.0","@testing-library/react":"^10.4.7","eslint-config-prettier":"^6.11.0","eslint-config-standard":"^14.1.1","eslint-plugin-flowtype":"5.x","eslint-plugin-jsx-a11y":"6.x","eslint-plugin-prettier":"^3.1.3","eslint-plugin-standard":"^4.0.1","rollup-plugin-commonjs":"^10.1.0","rollup-plugin-prettier":"^2.2.0","eslint-config-react-app":"^5.2.1","@babel/preset-typescript":"^7.10.4","rollup-plugin-visualizer":"^5.5.2","@testing-library/jest-dom":"^5.14.1","@typescript-eslint/parser":"^5.6.0","eslint-plugin-react-hooks":"^4.3.0","rollup-plugin-node-resolve":"^5.2.0","eslint-config-standard-react":"^9.2.0","@babel/plugin-transform-runtime":"^7.11.5","@typescript-eslint/eslint-plugin":"^5.6.0","rollup-plugin-peer-deps-external":"^2.2.4","babel-plugin-transform-async-to-promises":"^0.8.15"},"peerDependencies":{"react":"^16.8.0 || ^17.0.0"},"peerDependenciesMeta":{"react-dom":{"optional":true},"react-native":{"optional":true}},"_npmOperationalInternal":{"tmp":"tmp/react-query_4.0.0-alpha.16_1645886442603_0.9709227766332664","host":"s3://npm-registry-packages"},"_id":"react-query@4.0.0-alpha.16","version":"4.0.0-alpha.16"}