{"bugs":{"url":"https://github.com/vercel/swr/issues"},"dist":{"shasum":"3d1801fafe06d13b149bc52c62323dcd43ca570c","tarball":"https://registry.npmjs.org/swr/-/swr-2.5.1.tgz","fileCount":64,"integrity":"sha512-BRw55e8r0B7SpDN20CAzoQAHl7y1yP7/Zt7oqUjMv0vSt2u2Xnkm88Ws+VypbV9BXHQVuSuyVq7zMjO16wSExw==","signatures":[{"sig":"MEQCIB4bmS4sUFGHURzU9OLw0m+MYzIQ59/T927lLHW85m3wAiBqeueXei1f2EviYACmd6PGOUDI4pKZ3rnyCHJ0HY7lFw==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"},{"sig":"MEUCIQCF7/rAniNtbLlLzhcltqfgH0G/WJ6DAeJZiSLkuiQJiwIgKyBC5i93xB9j9DKpkeQhHwHU0oeePn125wredZj/cAg=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/swr@2.5.1","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":320306},"main":"./dist/index/index.js","name":"swr","types":"./dist/index/index.d.ts","module":"./dist/index/index.mjs","exports":{".":{"import":{"types":"./dist/index/index.d.mts","default":"./dist/index/index.mjs"},"require":{"types":"./dist/index/index.d.ts","default":"./dist/index/index.js"},"react-server":{"types":"./dist/index/react-server.d.mts","default":"./dist/index/react-server.mjs"}},"./infinite":{"import":{"types":"./dist/infinite/index.d.mts","default":"./dist/infinite/index.mjs"},"require":{"types":"./dist/infinite/index.d.ts","default":"./dist/infinite/index.js"},"react-server":"./dist/infinite/react-server.mjs"},"./mutation":{"import":{"types":"./dist/mutation/index.d.mts","default":"./dist/mutation/index.mjs"},"require":{"types":"./dist/mutation/index.d.ts","default":"./dist/mutation/index.js"}},"./_internal":{"import":{"types":"./dist/_internal/index.d.mts","default":"./dist/_internal/index.mjs"},"require":{"types":"./dist/_internal/index.d.ts","default":"./dist/_internal/index.js"},"react-server":"./dist/_internal/index.react-server.mjs"},"./immutable":{"import":{"types":"./dist/immutable/index.d.mts","default":"./dist/immutable/index.mjs"},"require":{"types":"./dist/immutable/index.d.ts","default":"./dist/immutable/index.js"}},"./package.json":"./package.json","./subscription":{"import":{"types":"./dist/subscription/index.d.mts","default":"./dist/subscription/index.mjs"},"require":{"types":"./dist/subscription/index.d.ts","default":"./dist/subscription/index.js"}}},"gitHead":"7173e55b2a175dee455612c5fa067383345c392f","license":"MIT","scripts":{"attw":"attw --pack .","lint":"oxlint .","test":"jest","build":"bunchee","clean":"rimraf ./dist test/e2e/playwright-report test/e2e/test-results test/e2e/site/.next","watch":"bunchee -w","format":"oxfmt '**/*.ts' '**/*.tsx'","dev:e2e":"pnpm --filter swr-e2e-site dev","prepare":"husky install","coverage":"jest --coverage","lint:fix":"oxlint . --fix","test:e2e":"playwright test -c test/e2e/playwright.config.ts","build:e2e":"pnpm --filter swr-e2e-site build","csb:build":"pnpm build","test:build":"jest --config jest.config.build.js","csb:install":"corepack enable && corepack pnpm i","test-typing":"tsc -p test/tsconfig.json && tsc -p test/type/tsconfig.json && tsc -p test/type/suspense/tsconfig.json","types:check":"tsc --noEmit","format:check":"oxfmt --check '**/*.ts' '**/*.tsx'","publish-beta":"pnpm publish --tag beta","test:e2e:dev":"E2E_MODE=dev playwright test -c test/e2e/playwright.config.ts","prepublishOnly":"pnpm clean && pnpm build","run-all-checks":"pnpm types:check && pnpm lint && pnpm test-typing"},"_npmUser":{"name":"GitHub Actions","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"github","oidcConfigId":"oidc:c37a386f-3ae5-45e2-8b40-32e09646fa20"}},"homepage":"https://swr.vercel.app","keywords":["swr","react","hooks","request","cache","fetch"],"repository":{"url":"git+https://github.com/vercel/swr.git","type":"git"},"_npmVersion":"11.19.0","description":"React Hooks library for remote data fetching","directories":{},"lint-staged":{"*.{ts,tsx}":["oxlint --fix","oxfmt"]},"maintainers":[{"name":"quietshu","email":"g@shud.in"},{"name":"vercel-release-bot","email":"infra+release@vercel.com"},{"name":"zeit-bot","email":"team@zeit.co"}],"sideEffects":false,"_nodeVersion":"24.19.0","dependencies":{"dequal":"^2.0.3","use-sync-external-store":"^1.6.0"},"_hasShrinkwrap":false,"packageManager":"pnpm@10.33.0+sha512.10568bb4a6afb58c9eb3630da90cc9516417abebd3fabbe6739f0ae795728da1491e9db5a544c76ad8eb7570f5c4bb3d6c637b2cb41bfdcdb47fa823c8649319","devDependencies":{"swr":"workspace:*","jest":"30.2.0","husky":"9.1.7","oxfmt":"^0.57.0","react":"^18.2.0","oxlint":"^1.72.0","rimraf":"6.1.2","semver":"^7.5.1","bunchee":"^7.0.0","@swc/core":"^1.15.3","@swc/jest":"0.2.39","react-dom":"^18.2.0","typescript":"7.0.2","@types/jest":"^30.0.0","@types/node":"^24.12.4","lint-staged":"16.2.7","@types/react":"^19.2.7","@playwright/test":"1.57.0","@testing-library/dom":"^10.4.1","react-error-boundary":"^5.0.0","@arethetypeswrong/cli":"^0.18.2","@testing-library/react":"^16.3.0","@type-challenges/utils":"0.1.1","jest-environment-jsdom":"29.7.0","@typescript/typescript6":"6.0.2","@testing-library/jest-dom":"^6.9.1","@edge-runtime/jest-environment":"^4.0.0","@types/use-sync-external-store":"^1.5.0"},"peerDependencies":{"react":"^16.11.0 || ^17.0.0 || ^18.0.0 || ^19.0.0"},"_npmOperationalInternal":{"tmp":"tmp/swr_2.5.1_1786542787356_0.5692295697200851","host":"s3://npm-registry-packages-npm-production"},"_id":"swr@2.5.1","version":"2.5.1"}