{"_id":"@aaronjensen/react-query","_rev":"1-20a7d6e4f35a93337f4e650fb4bd32e8","name":"@aaronjensen/react-query","dist-tags":{"latest":"3.2.0-beta.26"},"versions":{"3.2.0-beta.26":{"name":"@aaronjensen/react-query","version":"3.2.0-beta.26","description":"Hooks for managing, caching and syncing asynchronous and remote data in React","author":{"name":"tannerlinsley"},"license":"MIT","repository":{"type":"git","url":"https://github.com/tannerlinsley/react-query.git"},"homepage":"https://github.com/tannerlinsley/react-query#readme","funding":{"type":"github","url":"https://github.com/sponsors/tannerlinsley"},"main":"lib/index.js","unpkg":"dist/react-query.development.js","types":"types/index.d.ts","module":"es/index.js","sideEffects":["es/react/setBatchUpdatesFn.js","es/react/setLogger.js","lib/react/setBatchUpdatesFn.js","lib/react/setLogger.js"],"scripts":{"test":"is-ci \"test:ci\" \"test:dev\"","test:dev":"npm run test:types && npm run test:eslint && jest --watch","test:ci":"npm run test:types && npm run test:eslint && jest","test:coverage":"yarn test:ci; open coverage/lcov-report/index.html","test:types":"tsc","test:eslint":"eslint --ext .ts,.tsx ./src","build":"yarn build:commonjs && yarn build:es && yarn build:umd && yarn build:types","build:commonjs":"rimraf ./lib && cross-env BABEL_ENV=commonjs babel --extensions .ts,.tsx --ignore ./src/**/tests/**/* ./src --out-dir lib","build:es":"rimraf ./es && babel --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","build:types":"rimraf ./types && tsc --project ./tsconfig.types.json && replace 'import type' 'import' ./types -r --silent && replace 'export type' 'export' ./types -r --silent","now-build":"yarn && cd www && yarn && yarn build","start":"rollup -c -w","format":"prettier {.,src,src/**,example/src,example/src/**,types}/*.{md,js,jsx,tsx,json} --write","stats":"open ./stats.html"},"release":{"branches":["1.x","master",{"name":"beta","prerelease":true}]},"dependencies":{"@babel/runtime":"^7.5.5"},"peerDependencies":{"react":"^16.8.0 || ^17.0.0"},"peerDependenciesMeta":{"react-dom":{"optional":true},"react-native":{"optional":true}},"devDependencies":{"@babel/cli":"^7.11.6","@babel/core":"^7.11.6","@babel/plugin-transform-runtime":"^7.11.5","@babel/preset-env":"^7.11.5","@babel/preset-react":"^7.10.4","@babel/preset-typescript":"^7.10.4","@rollup/plugin-replace":"^2.3.3","@svgr/rollup":"^5.4.0","@testing-library/react":"^10.4.7","@types/jest":"^26.0.4","@types/react":"^16.9.41","@types/react-dom":"^16.9.8","@typescript-eslint/eslint-plugin":"^4.8.1","@typescript-eslint/parser":"^4.8.1","babel-eslint":"^10.1.0","babel-jest":"^26.0.1","babel-plugin-const-enum":"^1.0.1","babel-plugin-transform-async-to-promises":"^0.8.15","cross-env":"^7.0.2","eslint":"7.x","eslint-config-prettier":"^6.11.0","eslint-config-react-app":"^5.2.1","eslint-config-standard":"^14.1.1","eslint-config-standard-react":"^9.2.0","eslint-plugin-flowtype":"5.x","eslint-plugin-import":"^2.22.1","eslint-plugin-jsx-a11y":"6.x","eslint-plugin-node":"^11.1.0","eslint-plugin-prettier":"^3.1.3","eslint-plugin-promise":"^4.2.1","eslint-plugin-react":"7.20.0","eslint-plugin-react-hooks":"4.0.4","eslint-plugin-standard":"^4.0.1","is-ci-cli":"^2.1.1","jest":"^26.0.1","prettier":"^2.0.5","react":"^16.13.0","react-dom":"^16.13.1","react-error-boundary":"^2.2.2","replace":"^1.2.0","rimraf":"^3.0.2","rollup":"^2.16.1","rollup-plugin-babel":"^4.4.0","rollup-plugin-commonjs":"^10.1.0","rollup-plugin-jscc":"^1.0.0","rollup-plugin-node-resolve":"^5.2.0","rollup-plugin-peer-deps-external":"^2.2.2","rollup-plugin-prettier":"^2.1.0","rollup-plugin-size":"^0.2.2","rollup-plugin-terser":"^6.1.0","rollup-plugin-visualizer":"^4.0.4","typescript":"^4.1.2"},"licenseText":"MIT License\n\nCopyright (c) 2019 Tanner Linsley\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n","_id":"@aaronjensen/react-query@3.2.0-beta.26","dist":{"shasum":"bc4c090a1584924875e5a1115db237ecedfbefab","integrity":"sha512-UnCvVHxwWs9Li+QNrxze0vzRVrTMI+UAZ95cFfAZzo0IREutf6QFWS9w898As3Xs4ux6PoL2ckX/ZXNQSSm8WQ==","tarball":"https://registry.npmjs.org/@aaronjensen/react-query/-/react-query-3.2.0-beta.26.tgz","fileCount":142,"unpackedSize":735981,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJf04n3CRA9TVsSAnZWagAAJ1QP/14PlNPQQPpOgYfdf9kp\nuiou9dk556NBobdOngTUcneiUofwQIqWXzxmFaqBc5hu0DblVOvgxWAz+g5X\natSGOKZfvnbQLIaUcLMRno0txEPjUswxTgAFtoEwDMjP64rk+D/IfoG4sr74\nSQlDX7bpJmGuO4YIPP4EK77ujPgAf+K1kJMdsNOR5lWY6C984WcStLsh2BN7\nrQwoK38efZt/eb3dw4KDmL4OOSV/wsGyP8yw3X1TujjGBnLQ0uTpWD+mB5Mi\nRiEPQR9/fwrw3EyisLbKrimYOTm/uLEGA4ffVm232Sxnb2pBexQnGj+UZUQa\nCDPPj/A4pk76A+M5vOW2Kt+/wW4iJ0uH4VJVWDET6wrStL70raRXp4tQRrrR\nnBwqpz0MCUXkHmFWMOqniufWJdryZR9tDEtPePiNFWHckK3WxFQGYHg160PR\n3UgRUZHSHhPBOLiMh/fvoh0j4FNoZNKDYEW/BriuEDAISwsY5BK7aIPwit/i\n4bpPUla9WhtPchlPai5L1uwDtwVVvbg//gWb2rHoFiGGoexW8D2+7xmVIMNR\nfTa2C8uwj+54aHPHxiuVk0vubcBoM6Ht5LUdBSOP0ZOSSByLCpM9HKeed5uM\nUfn2iQmWrF7AOoRGVgoEM4RgkcTU+4HbDFZKvWHfn3HHfKlShX7W1kUyij5s\nrCqY\r\n=6mL1\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDYwJ75IHWTAVBTRpyuUrvvXwGmmre1oyiJIlQ/RwSTywIhAP+OTvrumsOmkGTm3aRp1wK6O79r681H4x1Q0LSPB+M4"}]},"_npmUser":{"name":"aaronjensen","email":"aaronjensen@gmail.com"},"directories":{},"maintainers":[{"name":"aaronjensen","email":"aaronjensen@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/react-query_3.2.0-beta.26_1607698934886_0.8447247943380558"},"_hasShrinkwrap":false}},"time":{"created":"2020-12-11T15:02:14.810Z","3.2.0-beta.26":"2020-12-11T15:02:15.106Z","modified":"2022-04-04T10:55:41.658Z"},"maintainers":[{"name":"aaronjensen","email":"aaronjensen@gmail.com"}],"description":"Hooks for managing, caching and syncing asynchronous and remote data in React","homepage":"https://github.com/tannerlinsley/react-query#readme","repository":{"type":"git","url":"https://github.com/tannerlinsley/react-query.git"},"author":{"name":"tannerlinsley"},"license":"MIT","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> <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\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 2 -->\n","readmeFilename":"README.md"}