{"bugs":{"url":"https://github.com/tannerlinsley/react-query/issues"},"dist":{"shasum":"8a5521e1528a5c0a949226e03ad80bcc0dcd095e","tarball":"https://registry.npmjs.org/react-query/-/react-query-2.25.0.tgz","fileCount":107,"integrity":"sha512-TExNELHpSE7xCQcDTc9La3e7oyMVqqnmMK9TmP+SA6tv3MCH6vFb3rBAtMHcKsjFIUKodnIzswSpcVVffjZaLQ==","signatures":[{"sig":"MEYCIQDqxZCqIwvE9T4sGPzpRIY5J9h6/jpLGcQyr6eHMpepKAIhAIuuj+7vishOcXA/ci7XGBkRwFBkddraiplgWCEjSIOO","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":565199,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJffaNnCRA9TVsSAnZWagAAbpUQAI9iuq9x/9PA5tg4XQlr\nHnZZV2vXE8gyB2KvllsqjaTDo6inOw8yIJGJwgWsalvFBXMiUiir+FH6QmBU\nkz1uVCT07UjVBQx2J/p8tv6+SZjiuA9xlceXjK0iTrQ8n9Q2bgzsdfeO5bXN\nwpyDImwWfUN6/Uvq6rYRrPorRvGQ+U5bLICBIAHhXafx9AwnyL+ypqKy5P00\ndnYqK/lX8vjw9vTwDAe3CIqxCcLgThhbKbpqdCe/M/Jou7PHPyeaWM88WmTL\nCrLTnCZYIHnwkE+iOqQtE6Pp8JI1MiNcg6A0KlWu7V6ga91EJ0sq7WoNsjDQ\nR3XkRgI1teLqYmb/ZoHIafT3RrkVbAgTEnJ2aMoegIPVTvqNO8nobO4aZmMS\nr5wPTma3zfAra+RRdYViZjsv5TzR8xrswDXIeIG3EX/Yy/TDL+Vviyfl1Ica\nHSO3W7Gm8xrq/Bh3mx8TtDVNZRYdWc843jV/074j9Wae75LRSlw50acXz3Qv\niWFMFhCE+ylqUsyhNiTR143LMKGpZ3MPZ0KwYOHrHgP2hBHDOhV3mUNA/oOi\nFV3T80JJ7bsS3SLhT27rfTeHIZm8hS/0wTMOi1uoeR7e3ZYqsqU6J6ZxPazZ\nDRiy7+fc6Q+wYkZqhQtRjmv8ttcVneiU2vMapSeEOAGrMmyxC5kUEH55lmY1\nfqrL\r\n=6ZN0\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://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>\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\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 (React Query Devtools)](https://github.com/tannerlinsley/react-query-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\" 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\" 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\" 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\" 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\" 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\" 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\" 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\" 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\" 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\" 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\" 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\" 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\" 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  </tr>\n</table>\n\n<!-- markdownlint-enable -->\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 -->\n","funding":{"url":"https://github.com/sponsors/tannerlinsley","type":"github"},"gitHead":"07d4796acd8efc4bea2aef20497a59a3f3601b58","license":"MIT","release":{"branches":["1.x","master","beta"]},"scripts":{"test":"is-ci \"test:ci\" \"test:dev\"","build":"yarn build:commonjs && yarn build:es && yarn build:umd && yarn build:types","start":"rollup -c -w","stats":"open ./stats.html","format":"prettier {.,src,src/**,example/src,example/src/**,types}/*.{md,js,jsx,tsx,json} --write","test:ci":"npm run test:types && npm run test:eslint && jest","build:es":"rimraf ./es && babel --extensions .ts,.tsx --ignore ./src/**/tests/**/* ./src --out-dir es","test:dev":"npm run test:types && npm run test:eslint && jest --watch","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: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: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"},"_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.8","description":"Hooks for managing, caching and syncing asynchronous and remote data in React","directories":{},"maintainers":[{"name":"tannerlinsley","email":"tannerlinsley@gmail.com"}],"sideEffects":["es/react/setBatchUpdatesFn.js","es/react/setLogger.js","lib/react/setBatchUpdatesFn.js","lib/react/setLogger.js"],"_nodeVersion":"14.13.0","dependencies":{"@babel/runtime":"^7.5.5"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"jest":"^26.0.1","react":"^16.13.0","eslint":"7.x","rimraf":"^3.0.2","rollup":"^2.16.1","replace":"^1.2.0","prettier":"^2.0.5","cross-env":"^7.0.2","is-ci-cli":"^2.1.1","react-dom":"^16.13.1","@babel/cli":"^7.11.6","babel-jest":"^26.0.1","typescript":"^3.9.5","@babel/core":"^7.11.6","@types/jest":"^26.0.4","@svgr/rollup":"^5.4.0","@types/react":"^16.9.41","babel-eslint":"^10.1.0","@types/react-dom":"^16.9.8","@babel/preset-env":"^7.11.5","eslint-plugin-node":"^11.1.0","rollup-plugin-jscc":"^1.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":"^6.1.0","eslint-plugin-promise":"^4.2.1","@rollup/plugin-replace":"^2.3.3","@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.1.0","babel-plugin-const-enum":"^1.0.1","eslint-config-react-app":"^5.2.1","@babel/preset-typescript":"^7.10.4","rollup-plugin-visualizer":"^4.0.4","@typescript-eslint/parser":"^3.6.1","eslint-plugin-react-hooks":"4.0.4","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":"^3.6.1","rollup-plugin-peer-deps-external":"^2.2.2","babel-plugin-transform-async-to-promises":"^0.8.15"},"peerDependencies":{"react":"^16.8.0"},"peerDependenciesMeta":{"react-dom":{"optional":true},"react-native":{"optional":true}},"_npmOperationalInternal":{"tmp":"tmp/react-query_2.25.0_1602069350994_0.07279134446894853","host":"s3://npm-registry-packages"},"_id":"react-query@2.25.0","version":"2.25.0"}