{"_id":"@csrf-armor/nextjs","_rev":"19-1c2347f68a0f699d12515e110dc1771b","name":"@csrf-armor/nextjs","dist-tags":{"latest":"1.4.8"},"versions":{"0.0.1":{"name":"@csrf-armor/nextjs","version":"0.0.1","_id":"@csrf-armor/nextjs@0.0.1","maintainers":[{"name":"muneeb_samuels","email":"muneeb@codebus.io"}],"dist":{"shasum":"c1e754e831567eb39fa3a0045ab5542b7963023b","tarball":"https://registry.npmjs.org/@csrf-armor/nextjs/-/nextjs-0.0.1.tgz","fileCount":1,"integrity":"sha512-mDOceFjaCsG/Gij/YAe244Z9Zon/7/0esviptBs2gbAPUr2PUS/eZG9/+iOzqKuqwk+FGhccN1u11xHTkTkFGA==","signatures":[{"sig":"MEQCIBdOc9KbFnIFYIeEVKlfIjXbePq8VD4TGp6zUPo7Ha8qAiA/Al1H9JaxOaSU3OOxyjqbaUEPbr1s7rKgvd68TIK/Ew==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":91},"gitHead":"1d60628c144712936d6f0963559f2a22706ee0b3","_npmUser":{"name":"muneeb_samuels","email":"muneeb@codebus.io"},"_npmVersion":"10.8.1","description":"Package setup","directories":{},"_nodeVersion":"20.16.0","_hasShrinkwrap":false,"_npmOperationalInternal":{"tmp":"tmp/nextjs_0.0.1_1748898232868_0.5269821984392544","host":"s3://npm-registry-packages-npm-production"}},"0.0.2":{"name":"@csrf-armor/nextjs","version":"0.0.2","_id":"@csrf-armor/nextjs@0.0.2","maintainers":[{"name":"muneeb_samuels","email":"muneeb@nebz.dev"}],"dist":{"shasum":"4a82b8eb16a16ae10d861cdb7ed882e4de220588","tarball":"https://registry.npmjs.org/@csrf-armor/nextjs/-/nextjs-0.0.2.tgz","fileCount":1,"integrity":"sha512-asnhNiUFmLLtXFfdG4TaDrmI5ng5MJFLazUYTstxhUE+QJwBNBnbLBUrXDTgt1G9QWHB7afc1WKisN/gQ/oFqg==","signatures":[{"sig":"MEQCIHwhkRtoqcJe5jZlWATTUebN9r5vbiLG/WUe8qyOhpGxAiAUkTUg7SE1hm5uYUej7DiUkHGmjSCSOiuPBygGi+ejYQ==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":91},"gitHead":"4638b106aaf48fdb5518e487f92d50b3ec6caf9b","_npmUser":{"name":"muneeb_samuels","email":"muneeb@nebz.dev"},"_npmVersion":"10.8.1","description":"Package setup","directories":{},"_nodeVersion":"20.16.0","_hasShrinkwrap":false,"_npmOperationalInternal":{"tmp":"tmp/nextjs_0.0.2_1748901797317_0.18890325962057708","host":"s3://npm-registry-packages-npm-production"}},"1.0.0":{"name":"@csrf-armor/nextjs","version":"1.0.0","keywords":["nextjs","csrf","security","middleware","protection","app-router","react"],"author":{"name":"Muneeb Samuels"},"license":"MIT","_id":"@csrf-armor/nextjs@1.0.0","maintainers":[{"name":"muneeb_samuels","email":"muneeb@nebz.dev"}],"homepage":"https://github.com/muneebs/csrf-armor#readme","bugs":{"url":"https://github.com/muneebs/csrf-armor/issues"},"dist":{"shasum":"a4f0821b690e26350d8d903690e399ceaed36316","tarball":"https://registry.npmjs.org/@csrf-armor/nextjs/-/nextjs-1.0.0.tgz","fileCount":19,"integrity":"sha512-HW0eE+1USnlTuhXQwQHKt7vh/2Lcn1CGEqma7LvF3aMUpjjivU1eQ51ICaangRq57q48lGwI+SaiNNCu7Gi5HQ==","signatures":[{"sig":"MEQCIHpeMpWLXpk0xTpmaxmALh07ZPfNFT9yqSa5/13s8eEnAiBu/Sx/eU/ORvU9IHFJ9k7q6+9BGSj13ST2mN5OWWaP+Q==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":47784},"main":"./dist/index.js","type":"module","_from":"file:csrf-armor-nextjs-1.0.0.tgz","types":"./dist/index.d.ts","module":"./dist/index.js","engines":{"node":">=18.0.0"},"exports":{".":"./dist/index.js","./package.json":"./package.json"},"scripts":{"test":"vitest --run","build":"tsdown","clean":"rm -rf dist tsconfig.tsbuildinfo","pretest":"cd ../core && pnpm run build","test:watch":"vitest","type-check":"tsc --noEmit","test:coverage":"vitest run --coverage","pretest:coverage":"cd ../core && pnpm run build"},"_npmUser":{"name":"muneeb_samuels","email":"muneeb@nebz.dev"},"_resolved":"/tmp/793a2a0ea5da488bff2e054fd2e20ec6/csrf-armor-nextjs-1.0.0.tgz","_integrity":"sha512-HW0eE+1USnlTuhXQwQHKt7vh/2Lcn1CGEqma7LvF3aMUpjjivU1eQ51ICaangRq57q48lGwI+SaiNNCu7Gi5HQ==","repository":{"url":"git+https://github.com/muneebs/csrf-armor.git","type":"git","directory":"packages/nextjs"},"_npmVersion":"10.8.2","description":"CSRF protection middleware for Next.js applications","directories":{},"_nodeVersion":"20.19.1","dependencies":{"@csrf-armor/core":"1.0.0"},"publishConfig":{"access":"public","registry":"https://registry.npmjs.org/"},"_hasShrinkwrap":false,"devDependencies":{"next":"^15.0.0","tsdown":"^0.12.6","typescript":"^5","@types/react":"^19.1.6","@testing-library/react":"^16.3.0","@testing-library/jest-dom":"^6.6.3"},"peerDependencies":{"next":"^13.0.0 || ^14.0.0 || ^15.0.0","react":"^18.2.0 || ^19.0.0"},"_npmOperationalInternal":{"tmp":"tmp/nextjs_1.0.0_1748951067447_0.7183598064011638","host":"s3://npm-registry-packages-npm-production"}},"1.0.1":{"name":"@csrf-armor/nextjs","version":"1.0.1","keywords":["nextjs","csrf","security","middleware","protection","app-router","react"],"author":{"name":"Muneeb Samuels"},"license":"MIT","_id":"@csrf-armor/nextjs@1.0.1","maintainers":[{"name":"muneeb_samuels","email":"muneeb@nebz.dev"}],"homepage":"https://github.com/muneebs/csrf-armor#readme","bugs":{"url":"https://github.com/muneebs/csrf-armor/issues"},"dist":{"shasum":"0bd19caeab0f48ea4cd2035d0fce299f112da08d","tarball":"https://registry.npmjs.org/@csrf-armor/nextjs/-/nextjs-1.0.1.tgz","fileCount":19,"integrity":"sha512-TezjuDMWy6mIY56u/ubyopGukVLu30w1g1ojaSwetH0oEvP14be31CJWzKnq+Reo+gYwlfF2t8jzE0LkZZniuw==","signatures":[{"sig":"MEYCIQDwKxk0jt2FG5Pmba6HQDSZ6qTt1/ut/tB0W/z1SJki/AIhALAh19fL+xO+OtXWIkrI8xC3TjkIZOsMc27YmCQlzq4t","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":43143},"main":"./dist/index.js","type":"module","_from":"file:csrf-armor-nextjs-1.0.1.tgz","types":"./dist/index.d.ts","module":"./dist/index.js","engines":{"node":">=18.0.0"},"exports":{".":"./dist/index.js","./package.json":"./package.json"},"scripts":{"test":"vitest --run","build":"tsdown","clean":"rm -rf dist tsconfig.tsbuildinfo","pretest":"cd ../core && pnpm run build","test:watch":"vitest","type-check":"tsc --noEmit","test:coverage":"vitest run --coverage","pretest:coverage":"cd ../core && pnpm run build"},"_npmUser":{"name":"muneeb_samuels","email":"muneeb@nebz.dev"},"_resolved":"/tmp/a539d5d9b88b72bdfa3153782c1a0698/csrf-armor-nextjs-1.0.1.tgz","_integrity":"sha512-TezjuDMWy6mIY56u/ubyopGukVLu30w1g1ojaSwetH0oEvP14be31CJWzKnq+Reo+gYwlfF2t8jzE0LkZZniuw==","repository":{"url":"git+https://github.com/muneebs/csrf-armor.git","type":"git","directory":"packages/nextjs"},"_npmVersion":"10.8.2","description":"CSRF protection middleware for Next.js applications","directories":{},"_nodeVersion":"20.19.1","dependencies":{"@csrf-armor/core":"1.0.1"},"publishConfig":{"access":"public","registry":"https://registry.npmjs.org/"},"_hasShrinkwrap":false,"devDependencies":{"next":"^15.0.0","tsdown":"^0.12.6","typescript":"^5","@types/react":"^19.1.6","@testing-library/react":"^16.3.0","@testing-library/jest-dom":"^6.6.3"},"peerDependencies":{"next":"^13.0.0 || ^14.0.0 || ^15.0.0","react":"^18.2.0 || ^19.0.0"},"_npmOperationalInternal":{"tmp":"tmp/nextjs_1.0.1_1748954300697_0.7650392227916716","host":"s3://npm-registry-packages-npm-production"}},"1.1.0":{"name":"@csrf-armor/nextjs","version":"1.1.0","keywords":["nextjs","csrf","security","middleware","protection","app-router","react"],"author":{"name":"Muneeb Samuels"},"license":"MIT","_id":"@csrf-armor/nextjs@1.1.0","maintainers":[{"name":"muneeb_samuels","email":"muneeb@nebz.dev"}],"homepage":"https://github.com/muneebs/csrf-armor#readme","bugs":{"url":"https://github.com/muneebs/csrf-armor/issues"},"dist":{"shasum":"8ea5e8f7b117383da3f2b5e3245bdccef287f567","tarball":"https://registry.npmjs.org/@csrf-armor/nextjs/-/nextjs-1.1.0.tgz","fileCount":20,"integrity":"sha512-6KvU3wXU1+KQ5pwbsgHTuL/fQaIDLAsMaLY8AK1QAzB7LGUEyQ3PSzQ+Xg9Kj2JBmwpobX/PTCzKS3EvMxxBWg==","signatures":[{"sig":"MEQCIEFywORp7f4FxHGkJuWr8iFkeIW23S8ZGS7VuzJCrY1ZAiBozf0m5R0R2pgokZum+Zga9AES8NM4M2qJnJjW1/HU4Q==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":43424},"main":"./dist/index.js","type":"module","_from":"file:csrf-armor-nextjs-1.1.0.tgz","types":"./dist/index.d.ts","module":"./dist/index.js","engines":{"node":">=18.0.0"},"exports":{".":"./dist/index.js","./package.json":"./package.json"},"scripts":{"test":"vitest --run","build":"tsdown","clean":"rm -rf dist tsconfig.tsbuildinfo","pretest":"cd ../core && pnpm run build","test:watch":"vitest","type-check":"tsc --noEmit","test:coverage":"vitest run --coverage","pretest:coverage":"cd ../core && pnpm run build"},"_npmUser":{"name":"muneeb_samuels","email":"muneeb@nebz.dev"},"_resolved":"/tmp/873449c7776c4722e9c2ac6e094fba6b/csrf-armor-nextjs-1.1.0.tgz","_integrity":"sha512-6KvU3wXU1+KQ5pwbsgHTuL/fQaIDLAsMaLY8AK1QAzB7LGUEyQ3PSzQ+Xg9Kj2JBmwpobX/PTCzKS3EvMxxBWg==","repository":{"url":"git+https://github.com/muneebs/csrf-armor.git","type":"git","directory":"packages/nextjs"},"_npmVersion":"10.8.2","description":"CSRF protection middleware for Next.js applications","directories":{},"_nodeVersion":"20.19.1","dependencies":{"@csrf-armor/core":"1.0.1"},"publishConfig":{"access":"public","registry":"https://registry.npmjs.org/"},"_hasShrinkwrap":false,"devDependencies":{"next":"^15.0.0","tsdown":"^0.12.6","typescript":"^5","@types/react":"^19.1.6","@testing-library/react":"^16.3.0","@testing-library/jest-dom":"^6.6.3"},"peerDependencies":{"next":"^13.0.0 || ^14.0.0 || ^15.0.0","react":"^18.2.0 || ^19.0.0"},"_npmOperationalInternal":{"tmp":"tmp/nextjs_1.1.0_1748955831988_0.5938577986239206","host":"s3://npm-registry-packages-npm-production"}},"1.1.1":{"name":"@csrf-armor/nextjs","version":"1.1.1","keywords":["nextjs","csrf","security","middleware","protection","app-router","react"],"author":{"name":"Muneeb Samuels"},"license":"MIT","_id":"@csrf-armor/nextjs@1.1.1","maintainers":[{"name":"muneeb_samuels","email":"muneeb@nebz.dev"}],"homepage":"https://github.com/muneebs/csrf-armor#readme","bugs":{"url":"https://github.com/muneebs/csrf-armor/issues"},"dist":{"shasum":"bba458d89c50f274e653ba0f91bbe68fc3a5fe71","tarball":"https://registry.npmjs.org/@csrf-armor/nextjs/-/nextjs-1.1.1.tgz","fileCount":21,"integrity":"sha512-MhJw7ADQNlb9XleoLpbZm+cIOCKpNazHV4STv24xRB1T3PwJGSPjlwSc4O1jTRSAG9BgaOhEZTqCH6eE3NUtcw==","signatures":[{"sig":"MEUCIQDUM1efe3t/QsrhafMNeS53vYvk/lYNmRZxBN5CP6W/7AIgafETcA9mglzcAs+dHGYD7GwR2KaB9igBqarhFxQBJOU=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":43311},"main":"./dist/index.js","type":"module","_from":"file:csrf-armor-nextjs-1.1.1.tgz","types":"./dist/index.d.ts","module":"./dist/index.js","engines":{"node":">=18.0.0"},"exports":{".":"./dist/index.js","./client/index":"./dist/client/index.js","./package.json":"./package.json"},"scripts":{"test":"vitest --run","build":"tsdown","clean":"rm -rf dist tsconfig.tsbuildinfo","pretest":"cd ../core && pnpm run build","test:watch":"vitest","type-check":"tsc --noEmit","test:coverage":"vitest run --coverage","pretest:coverage":"cd ../core && pnpm run build"},"_npmUser":{"name":"muneeb_samuels","email":"muneeb@nebz.dev"},"_resolved":"/tmp/e0d558416831b402b56e24d0c7771cd8/csrf-armor-nextjs-1.1.1.tgz","_integrity":"sha512-MhJw7ADQNlb9XleoLpbZm+cIOCKpNazHV4STv24xRB1T3PwJGSPjlwSc4O1jTRSAG9BgaOhEZTqCH6eE3NUtcw==","repository":{"url":"git+https://github.com/muneebs/csrf-armor.git","type":"git","directory":"packages/nextjs"},"_npmVersion":"10.8.2","description":"CSRF protection middleware for Next.js applications","directories":{},"_nodeVersion":"20.19.1","dependencies":{"@csrf-armor/core":"1.0.1"},"publishConfig":{"access":"public","registry":"https://registry.npmjs.org/"},"_hasShrinkwrap":false,"devDependencies":{"next":"^15.0.0","tsdown":"^0.12.6","typescript":"^5","@types/react":"^19.1.6","@testing-library/react":"^16.3.0","@testing-library/jest-dom":"^6.6.3"},"peerDependencies":{"next":"^13.0.0 || ^14.0.0 || ^15.0.0","react":"^18.2.0 || ^19.0.0"},"_npmOperationalInternal":{"tmp":"tmp/nextjs_1.1.1_1748956334085_0.13654484550307466","host":"s3://npm-registry-packages-npm-production"}},"1.2.0":{"name":"@csrf-armor/nextjs","version":"1.2.0","keywords":["nextjs","csrf","security","middleware","protection","app-router","react"],"author":{"name":"Muneeb Samuels"},"license":"MIT","_id":"@csrf-armor/nextjs@1.2.0","maintainers":[{"name":"muneeb_samuels","email":"muneeb@nebz.dev"}],"homepage":"https://github.com/muneebs/csrf-armor#readme","bugs":{"url":"https://github.com/muneebs/csrf-armor/issues"},"dist":{"shasum":"b2e0c58c2c1615faa5cc78c65b339bf7c05a04af","tarball":"https://registry.npmjs.org/@csrf-armor/nextjs/-/nextjs-1.2.0.tgz","fileCount":21,"integrity":"sha512-RpOW6JthG1t15GNiEA7Z0HS0zYsYaoIiSTKHSifcEZRpy9enlYu6hcUzg9mHTHJDQVVrP9sssIVCJ4jgN4cKXQ==","signatures":[{"sig":"MEQCIAQnpIbY+buk7eOhwcknCncnwRkRrB7iV0bwXmLpgWBcAiBJpq5HVwlezqJCRGmqtVbDVsHMmUQ6ogBY9Li46W5Gww==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":44183},"main":"./dist/index.js","type":"module","_from":"file:csrf-armor-nextjs-1.2.0.tgz","types":"./dist/index.d.ts","module":"./dist/index.js","engines":{"node":">=18.0.0"},"exports":{".":"./dist/index.js","./client":"./dist/client/index.js","./package.json":"./package.json"},"scripts":{"test":"vitest --run","build":"tsdown","clean":"rm -rf dist tsconfig.tsbuildinfo","pretest":"cd ../core && pnpm run build","test:watch":"vitest","type-check":"tsc --noEmit","test:coverage":"vitest run --coverage","pretest:coverage":"cd ../core && pnpm run build"},"_npmUser":{"name":"muneeb_samuels","email":"muneeb@nebz.dev"},"_resolved":"/tmp/d32410d9a433930a4ce054a41316d871/csrf-armor-nextjs-1.2.0.tgz","_integrity":"sha512-RpOW6JthG1t15GNiEA7Z0HS0zYsYaoIiSTKHSifcEZRpy9enlYu6hcUzg9mHTHJDQVVrP9sssIVCJ4jgN4cKXQ==","repository":{"url":"git+https://github.com/muneebs/csrf-armor.git","type":"git","directory":"packages/nextjs"},"_npmVersion":"10.8.2","description":"CSRF protection middleware for Next.js applications","directories":{},"_nodeVersion":"20.19.1","dependencies":{"@csrf-armor/core":"1.0.2"},"publishConfig":{"access":"public","registry":"https://registry.npmjs.org/"},"_hasShrinkwrap":false,"devDependencies":{"next":"^15.0.0","tsdown":"^0.12.6","typescript":"^5","@types/react":"^19.1.6","@testing-library/react":"^16.3.0","@testing-library/jest-dom":"^6.6.3"},"peerDependencies":{"next":"^13.0.0 || ^14.0.0 || ^15.0.0","react":"^18.2.0 || ^19.0.0"},"_npmOperationalInternal":{"tmp":"tmp/nextjs_1.2.0_1748994287469_0.0751521240941917","host":"s3://npm-registry-packages-npm-production"}},"1.2.1":{"name":"@csrf-armor/nextjs","version":"1.2.1","keywords":["nextjs","csrf","security","middleware","protection","app-router","react"],"author":{"name":"Muneeb Samuels"},"license":"MIT","_id":"@csrf-armor/nextjs@1.2.1","maintainers":[{"name":"muneeb_samuels","email":"muneeb@nebz.dev"}],"homepage":"https://github.com/muneebs/csrf-armor#readme","bugs":{"url":"https://github.com/muneebs/csrf-armor/issues"},"dist":{"shasum":"e7e2a7b3a409c191afe5a190a1a63865f8005bce","tarball":"https://registry.npmjs.org/@csrf-armor/nextjs/-/nextjs-1.2.1.tgz","fileCount":21,"integrity":"sha512-t97ikDH0lLmCsE1uLP2SE8c7SpYmdbFgKTzB5MAVgDMn+D7kI2rrmk/+OAKFHT8i5dY/QK0yp8w3EpJUKqhhqQ==","signatures":[{"sig":"MEQCIHra++xkjvV5JqPgFOG9MM9TBZfzMjbCaoRxmkTVwUX0AiB+ox3+koZUdzx4fLWaFGOfIYdJjU9T+C6VG0QbsUhHeQ==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":44192},"main":"./dist/index.js","type":"module","_from":"file:csrf-armor-nextjs-1.2.1.tgz","types":"./dist/index.d.ts","module":"./dist/index.js","engines":{"node":">=18.0.0"},"exports":{".":"./dist/index.js","./client":"./dist/client/index.js","./package.json":"./package.json"},"scripts":{"test":"vitest --run","build":"tsdown","clean":"rm -rf dist tsconfig.tsbuildinfo","pretest":"cd ../core && pnpm run build","test:watch":"vitest","type-check":"tsc --noEmit","test:coverage":"vitest run --coverage","pretest:coverage":"cd ../core && pnpm run build"},"_npmUser":{"name":"muneeb_samuels","email":"muneeb@nebz.dev"},"_resolved":"/tmp/75e086aedbe302e466a5a4f22886c066/csrf-armor-nextjs-1.2.1.tgz","_integrity":"sha512-t97ikDH0lLmCsE1uLP2SE8c7SpYmdbFgKTzB5MAVgDMn+D7kI2rrmk/+OAKFHT8i5dY/QK0yp8w3EpJUKqhhqQ==","repository":{"url":"git+https://github.com/muneebs/csrf-armor.git","type":"git","directory":"packages/nextjs"},"_npmVersion":"10.8.2","description":"CSRF protection middleware for Next.js applications","directories":{},"_nodeVersion":"20.19.1","dependencies":{"@csrf-armor/core":"1.0.3"},"publishConfig":{"access":"public","registry":"https://registry.npmjs.org/"},"_hasShrinkwrap":false,"devDependencies":{"next":"^15.0.0","tsdown":"^0.12.6","typescript":"^5","@types/react":"^19.1.6","@testing-library/react":"^16.3.0","@testing-library/jest-dom":"^6.6.3"},"peerDependencies":{"next":"^13.0.0 || ^14.0.0 || ^15.0.0","react":"^18.2.0 || ^19.0.0"},"_npmOperationalInternal":{"tmp":"tmp/nextjs_1.2.1_1749132193622_0.9712241888761328","host":"s3://npm-registry-packages-npm-production"}},"1.2.2":{"name":"@csrf-armor/nextjs","version":"1.2.2","keywords":["nextjs","csrf","security","middleware","protection","app-router","react"],"author":{"name":"Muneeb Samuels"},"license":"MIT","_id":"@csrf-armor/nextjs@1.2.2","maintainers":[{"name":"muneeb_samuels","email":"muneeb@nebz.dev"}],"homepage":"https://github.com/muneebs/csrf-armor#readme","bugs":{"url":"https://github.com/muneebs/csrf-armor/issues"},"dist":{"shasum":"137d5d6aac90f425f4941944f51f651088f5f901","tarball":"https://registry.npmjs.org/@csrf-armor/nextjs/-/nextjs-1.2.2.tgz","fileCount":21,"integrity":"sha512-owTiAGCleccIoGkwbzQqSzdY1v2BVoWKl0PPOQ3QLdNBBWkyRJrsjVOP5dTh0ZybgDiM46h7QQ9Pbyl40hSNzg==","signatures":[{"sig":"MEUCIQCSFfInBoQonaD6Sbi84h5IPklMrJ4Z8pU+pzeMcxrEIgIgaD6/ruKqvWIy2jCVFnrjZmrGrGi/l1evUVYxDz1ZeOM=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":44070},"main":"./dist/index.js","type":"module","_from":"file:csrf-armor-nextjs-1.2.2.tgz","types":"./dist/index.d.ts","module":"./dist/index.js","engines":{"node":">=18.0.0"},"exports":{".":"./dist/index.js","./client":"./dist/client/index.js","./package.json":"./package.json"},"scripts":{"test":"vitest --run","build":"tsdown","clean":"rm -rf dist tsconfig.tsbuildinfo","pretest":"cd ../core && pnpm run build","test:watch":"vitest","type-check":"tsc --noEmit","test:coverage":"vitest run --coverage","pretest:coverage":"cd ../core && pnpm run build"},"_npmUser":{"name":"muneeb_samuels","email":"muneeb@nebz.dev"},"_resolved":"/tmp/3c2ba83080b10ec67eb615fe705c75d7/csrf-armor-nextjs-1.2.2.tgz","_integrity":"sha512-owTiAGCleccIoGkwbzQqSzdY1v2BVoWKl0PPOQ3QLdNBBWkyRJrsjVOP5dTh0ZybgDiM46h7QQ9Pbyl40hSNzg==","repository":{"url":"git+https://github.com/muneebs/csrf-armor.git","type":"git","directory":"packages/nextjs"},"_npmVersion":"10.8.2","description":"CSRF protection middleware for Next.js applications","directories":{},"_nodeVersion":"20.19.1","dependencies":{"@csrf-armor/core":"1.0.3"},"publishConfig":{"access":"public","registry":"https://registry.npmjs.org/"},"_hasShrinkwrap":false,"devDependencies":{"next":"^15.0.0","tsdown":"^0.12.6","typescript":"^5","@types/react":"^19.1.6","@testing-library/react":"^16.3.0","@testing-library/jest-dom":"^6.6.3"},"peerDependencies":{"next":"^13.0.0 || ^14.0.0 || ^15.0.0","react":"^18.2.0 || ^19.0.0"},"_npmOperationalInternal":{"tmp":"tmp/nextjs_1.2.2_1749207887644_0.8295121700917356","host":"s3://npm-registry-packages-npm-production"}},"1.3.0":{"name":"@csrf-armor/nextjs","version":"1.3.0","keywords":["nextjs","csrf","security","middleware","protection","app-router","react"],"author":{"name":"Muneeb Samuels"},"license":"MIT","_id":"@csrf-armor/nextjs@1.3.0","maintainers":[{"name":"muneeb_samuels","email":"muneeb@nebz.dev"}],"homepage":"https://github.com/muneebs/csrf-armor#readme","bugs":{"url":"https://github.com/muneebs/csrf-armor/issues"},"dist":{"shasum":"fa6ea5427f2fb1b667c35f1738c5176562690b32","tarball":"https://registry.npmjs.org/@csrf-armor/nextjs/-/nextjs-1.3.0.tgz","fileCount":21,"integrity":"sha512-qZmI2fFyIfy2NA1eYlnSOZ4kW15G1Ilx/r6EUmRb2vABbyT03oWDX3JH3pLDAqNrBk3w1Qr5fGOpkioTlB7MkA==","signatures":[{"sig":"MEQCIGia+1rfq3aq1iEGx0rGi14Nrw65xWLdaMw/c8xL5Ze7AiAM2ojTi7LPKtlYl79gRIUCccmsXdrseyl0TA71sDZm4g==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":51675},"main":"./dist/index.js","type":"module","_from":"file:csrf-armor-nextjs-1.3.0.tgz","types":"./dist/index.d.ts","module":"./dist/index.js","engines":{"node":">=18.0.0"},"exports":{".":"./dist/index.js","./client":"./dist/client/index.js","./package.json":"./package.json"},"scripts":{"test":"vitest --run","build":"tsdown","clean":"rm -rf dist tsconfig.tsbuildinfo","pretest":"cd ../core && pnpm run build","test:watch":"vitest","type-check":"tsc --noEmit","test:coverage":"vitest run --coverage","pretest:coverage":"cd ../core && pnpm run build"},"_npmUser":{"name":"muneeb_samuels","email":"muneeb@nebz.dev"},"_resolved":"/tmp/4b7cf6bffd3afc847652a52e12986cc5/csrf-armor-nextjs-1.3.0.tgz","_integrity":"sha512-qZmI2fFyIfy2NA1eYlnSOZ4kW15G1Ilx/r6EUmRb2vABbyT03oWDX3JH3pLDAqNrBk3w1Qr5fGOpkioTlB7MkA==","repository":{"url":"git+https://github.com/muneebs/csrf-armor.git","type":"git","directory":"packages/nextjs"},"_npmVersion":"10.8.2","description":"CSRF protection middleware for Next.js applications","directories":{},"_nodeVersion":"20.19.2","dependencies":{"@csrf-armor/core":"1.1.0"},"publishConfig":{"access":"public","registry":"https://registry.npmjs.org/"},"_hasShrinkwrap":false,"devDependencies":{"next":"^15.0.0","tsdown":"^0.12.6","typescript":"^5","@types/react":"^19.1.6","@testing-library/react":"^16.3.0","@testing-library/jest-dom":"^6.6.3"},"peerDependencies":{"next":"^13.0.0 || ^14.0.0 || ^15.0.0","react":"^18.2.0 || ^19.0.0"},"_npmOperationalInternal":{"tmp":"tmp/nextjs_1.3.0_1749821872638_0.8486185526526453","host":"s3://npm-registry-packages-npm-production"}},"1.4.0":{"name":"@csrf-armor/nextjs","version":"1.4.0","keywords":["nextjs","csrf","security","middleware","protection","app-router","react"],"author":{"name":"Muneeb Samuels"},"license":"MIT","_id":"@csrf-armor/nextjs@1.4.0","maintainers":[{"name":"muneeb_samuels","email":"muneeb@nebz.dev"}],"homepage":"https://github.com/muneebs/csrf-armor#readme","bugs":{"url":"https://github.com/muneebs/csrf-armor/issues"},"dist":{"shasum":"7cdda3e3690bb103928cbe7ac17cb35d3d2ec042","tarball":"https://registry.npmjs.org/@csrf-armor/nextjs/-/nextjs-1.4.0.tgz","fileCount":21,"integrity":"sha512-zVVaKQ22HFNbTRAvXBAwnXO2fT4o0Sxt+xbWwKmenyZhiYfCiPOIls79orMzt4GVANPgW0Ao1PffKAYG//n9/Q==","signatures":[{"sig":"MEYCIQCq3T2R1nJU9UVyf+Td3ZX2QjR8cQHCNdvyH/5Gj24JbQIhANSKja7aDp9MNeUIxLmngefyG/bKX6UDtgUPU1S9Gtxn","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":90445},"main":"./dist/index.js","type":"module","_from":"file:csrf-armor-nextjs-1.4.0.tgz","types":"./dist/index.d.ts","module":"./dist/index.js","engines":{"node":">=18.0.0"},"exports":{".":"./dist/index.js","./client":"./dist/client/index.js","./package.json":"./package.json"},"scripts":{"test":"vitest --run","build":"tsdown","clean":"rm -rf dist tsconfig.tsbuildinfo","pretest":"cd ../core && pnpm run build","test:watch":"vitest","type-check":"tsc --noEmit","test:coverage":"vitest run --coverage","pretest:coverage":"cd ../core && pnpm run build"},"_npmUser":{"name":"muneeb_samuels","email":"muneeb@nebz.dev"},"_resolved":"/tmp/23fac6eca5565856a0a5b054c2959e9f/csrf-armor-nextjs-1.4.0.tgz","_integrity":"sha512-zVVaKQ22HFNbTRAvXBAwnXO2fT4o0Sxt+xbWwKmenyZhiYfCiPOIls79orMzt4GVANPgW0Ao1PffKAYG//n9/Q==","repository":{"url":"git+https://github.com/muneebs/csrf-armor.git","type":"git","directory":"packages/nextjs"},"_npmVersion":"10.8.2","description":"CSRF protection middleware for Next.js applications","directories":{},"_nodeVersion":"20.19.2","dependencies":{"@csrf-armor/core":"1.2.0"},"publishConfig":{"access":"public","registry":"https://registry.npmjs.org/"},"_hasShrinkwrap":false,"devDependencies":{"next":"^15.0.0","tsdown":"^0.12.6","typescript":"^5","@types/react":"^19.1.6","@testing-library/react":"^16.3.0","@testing-library/jest-dom":"^6.6.3"},"peerDependencies":{"next":"^13.0.0 || ^14.0.0 || ^15.0.0","react":"^18.2.0 || ^19.0.0"},"_npmOperationalInternal":{"tmp":"tmp/nextjs_1.4.0_1750026217794_0.4439840308164533","host":"s3://npm-registry-packages-npm-production"}},"1.4.1":{"name":"@csrf-armor/nextjs","version":"1.4.1","keywords":["nextjs","csrf","security","middleware","protection","app-router","react"],"author":{"name":"Muneeb Samuels"},"license":"MIT","_id":"@csrf-armor/nextjs@1.4.1","maintainers":[{"name":"muneeb_samuels","email":"muneeb@nebz.dev"}],"homepage":"https://github.com/muneebs/csrf-armor#readme","bugs":{"url":"https://github.com/muneebs/csrf-armor/issues"},"dist":{"shasum":"a87350fbfd4d7d322ab75ea505206e6b48275af1","tarball":"https://registry.npmjs.org/@csrf-armor/nextjs/-/nextjs-1.4.1.tgz","fileCount":21,"integrity":"sha512-o/AJLY8y/L9fEhiPrDujOxgBlBx9+XBx4hsjcyK5oC8R2o7Q5vXLqFzkEJXXW3H+tr8fJOKyVysaHC95Lv6ung==","signatures":[{"sig":"MEYCIQCZKEHwpZulhiQupCBHLkjOCRLHcXhqujihbD2xuSPp1gIhAP+h8npoBgwUosTBOB745Fk2xU+2liBZ4Zs/PtCI0bjq","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":89689},"main":"./dist/index.js","type":"module","_from":"file:csrf-armor-nextjs-1.4.1.tgz","types":"./dist/index.d.ts","module":"./dist/index.js","engines":{"node":">=18.0.0"},"exports":{".":"./dist/index.js","./client":"./dist/client/index.js","./package.json":"./package.json"},"scripts":{"test":"vitest --run","build":"tsdown","clean":"rm -rf dist tsconfig.tsbuildinfo","pretest":"cd ../core && pnpm run build","test:watch":"vitest","type-check":"tsc --noEmit","test:coverage":"vitest run --coverage","pretest:coverage":"cd ../core && pnpm run build"},"_npmUser":{"name":"muneeb_samuels","email":"muneeb@nebz.dev"},"_resolved":"/tmp/33e3e5828971a529e143179b61e62c73/csrf-armor-nextjs-1.4.1.tgz","_integrity":"sha512-o/AJLY8y/L9fEhiPrDujOxgBlBx9+XBx4hsjcyK5oC8R2o7Q5vXLqFzkEJXXW3H+tr8fJOKyVysaHC95Lv6ung==","repository":{"url":"git+https://github.com/muneebs/csrf-armor.git","type":"git","directory":"packages/nextjs"},"_npmVersion":"10.8.2","description":"CSRF protection middleware for Next.js applications","directories":{},"_nodeVersion":"20.20.0","dependencies":{"@csrf-armor/core":"1.2.1"},"publishConfig":{"access":"public","registry":"https://registry.npmjs.org/"},"_hasShrinkwrap":false,"devDependencies":{"next":"^16.1.6","tsdown":"^0.20.1","typescript":"^5","@types/react":"^19.1.6","@testing-library/react":"^16.3.0","@testing-library/jest-dom":"^6.9.1"},"peerDependencies":{"next":"^13.0.0 || ^14.0.0 || ^15.0.0 || ^16.0.0","react":"^18.2.0 || ^19.0.0"},"_npmOperationalInternal":{"tmp":"tmp/nextjs_1.4.1_1769911360231_0.6977209310632837","host":"s3://npm-registry-packages-npm-production"}},"1.4.2":{"name":"@csrf-armor/nextjs","version":"1.4.2","keywords":["nextjs","csrf","security","middleware","protection","app-router","react"],"author":{"name":"Muneeb Samuels"},"license":"MIT","_id":"@csrf-armor/nextjs@1.4.2","maintainers":[{"name":"muneeb_samuels","email":"muneeb@nebz.dev"}],"contributors":[{"url":"https://github.com/raulcrisan","name":"Raul"}],"homepage":"https://github.com/muneebs/csrf-armor#readme","bugs":{"url":"https://github.com/muneebs/csrf-armor/issues"},"dist":{"shasum":"cd0024096b06eac6ccdc8818f51d665ec91a7cec","tarball":"https://registry.npmjs.org/@csrf-armor/nextjs/-/nextjs-1.4.2.tgz","fileCount":21,"integrity":"sha512-7JVCdAnEISg68r+SVSRmiPwTyi1NFt34ktj+TRp61bma5bDMJRbq2ojx7C6IyDlpEDyFlx5AQZfqlnvXAVsmvA==","signatures":[{"sig":"MEUCIQDzmQPXYfW7z12xyeM7ViK7IfoBiPEq9GHaqVP/f85OkwIgRmiZxl3UabqjC9UL2reQV6Ts9jx8HIvYAE9nntPzAwo=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":89953},"main":"./dist/index.js","type":"module","_from":"file:csrf-armor-nextjs-1.4.2.tgz","types":"./dist/index.d.ts","module":"./dist/index.js","engines":{"node":">=18.0.0"},"exports":{".":"./dist/index.js","./client":"./dist/client/index.js","./package.json":"./package.json"},"scripts":{"test":"vitest --run","build":"tsdown","clean":"rm -rf dist tsconfig.tsbuildinfo","pretest":"cd ../core && pnpm run build","test:watch":"vitest","type-check":"tsc --noEmit","test:coverage":"vitest run --coverage","pretest:coverage":"cd ../core && pnpm run build"},"_npmUser":{"name":"muneeb_samuels","email":"muneeb@nebz.dev"},"_resolved":"/tmp/a140502f66658d37634bc3a75dd4becd/csrf-armor-nextjs-1.4.2.tgz","_integrity":"sha512-7JVCdAnEISg68r+SVSRmiPwTyi1NFt34ktj+TRp61bma5bDMJRbq2ojx7C6IyDlpEDyFlx5AQZfqlnvXAVsmvA==","repository":{"url":"git+https://github.com/muneebs/csrf-armor.git","type":"git","directory":"packages/nextjs"},"_npmVersion":"10.8.2","description":"CSRF protection middleware for Next.js applications","directories":{},"_nodeVersion":"20.20.2","dependencies":{"@csrf-armor/core":"1.2.2"},"publishConfig":{"access":"public","registry":"https://registry.npmjs.org/"},"_hasShrinkwrap":false,"devDependencies":{"next":"^16.1.7","tsdown":"^0.20.1","typescript":"^5","@types/react":"^19.1.6","@testing-library/react":"^16.3.0","@testing-library/jest-dom":"^6.9.1"},"peerDependencies":{"next":"^13.0.0 || ^14.0.0 || ^15.0.0 || ^16.0.0","react":"^18.2.0 || ^19.0.0"},"_npmOperationalInternal":{"tmp":"tmp/nextjs_1.4.2_1775393606608_0.4153668593869375","host":"s3://npm-registry-packages-npm-production"}},"1.4.3":{"name":"@csrf-armor/nextjs","version":"1.4.3","keywords":["nextjs","csrf","security","middleware","protection","app-router","react"],"author":{"name":"Muneeb Samuels"},"license":"MIT","_id":"@csrf-armor/nextjs@1.4.3","maintainers":[{"name":"muneeb_samuels","email":"muneeb@nebz.dev"}],"contributors":[{"url":"https://github.com/raulcrisan","name":"Raul"}],"homepage":"https://github.com/muneebs/csrf-armor#readme","bugs":{"url":"https://github.com/muneebs/csrf-armor/issues"},"dist":{"shasum":"95f0109afe9e10119a633f4802e3ded4e55a5cfc","tarball":"https://registry.npmjs.org/@csrf-armor/nextjs/-/nextjs-1.4.3.tgz","fileCount":21,"integrity":"sha512-AUJZDTW86vYVTEQxfiAbQ0ibLU/mh0AMbet0Vk3pczMYo1FkAQOsyCl52UQ+sZxsfGxP0G30r8gO9j+GJt2PeA==","signatures":[{"sig":"MEQCIAWxNk8e8G+KoI12yWyZ/fYRcKR2EGt7lUFokKtGt1yJAiApVis33fSImWNvYltCn7IHTQCMDFfALRQg7KndGGFM0A==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":90221},"main":"./dist/index.js","type":"module","_from":"file:csrf-armor-nextjs-1.4.3.tgz","types":"./dist/index.d.ts","module":"./dist/index.js","engines":{"node":">=18.0.0"},"exports":{".":"./dist/index.js","./client":"./dist/client/index.js","./package.json":"./package.json"},"scripts":{"test":"vitest --run","build":"tsdown","clean":"rm -rf dist tsconfig.tsbuildinfo","pretest":"cd ../core && pnpm run build","test:watch":"vitest","type-check":"tsc --noEmit","test:coverage":"vitest run --coverage","pretest:coverage":"cd ../core && pnpm run build"},"_npmUser":{"name":"muneeb_samuels","email":"muneeb@nebz.dev"},"_resolved":"/tmp/ecef9353b3425ccfb3f688eabbb3e821/csrf-armor-nextjs-1.4.3.tgz","_integrity":"sha512-AUJZDTW86vYVTEQxfiAbQ0ibLU/mh0AMbet0Vk3pczMYo1FkAQOsyCl52UQ+sZxsfGxP0G30r8gO9j+GJt2PeA==","repository":{"url":"git+https://github.com/muneebs/csrf-armor.git","type":"git","directory":"packages/nextjs"},"_npmVersion":"10.8.2","description":"CSRF protection middleware for Next.js applications","directories":{},"_nodeVersion":"20.20.2","dependencies":{"@csrf-armor/core":"1.2.3"},"publishConfig":{"access":"public","registry":"https://registry.npmjs.org/"},"_hasShrinkwrap":false,"devDependencies":{"next":"^16.2.3","tsdown":"^0.20.1","typescript":"^5","@types/react":"^19.1.6","@testing-library/react":"^16.3.0","@testing-library/jest-dom":"^6.9.1"},"peerDependencies":{"next":"^13.0.0 || ^14.0.0 || ^15.0.0 || ^16.0.0","react":"^18.2.0 || ^19.0.0"},"_npmOperationalInternal":{"tmp":"tmp/nextjs_1.4.3_1776813816604_0.3084128790969025","host":"s3://npm-registry-packages-npm-production"}},"1.4.4":{"name":"@csrf-armor/nextjs","version":"1.4.4","keywords":["nextjs","csrf","security","middleware","protection","app-router","react"],"author":{"name":"Muneeb Samuels"},"license":"MIT","_id":"@csrf-armor/nextjs@1.4.4","maintainers":[{"name":"muneeb_samuels","email":"muneeb@nebz.dev"}],"contributors":[{"url":"https://github.com/raulcrisan","name":"Raul"}],"homepage":"https://github.com/muneebs/csrf-armor#readme","bugs":{"url":"https://github.com/muneebs/csrf-armor/issues"},"dist":{"shasum":"d5f712184bef93be2cc5ebe6d987eb5bc534ec4b","tarball":"https://registry.npmjs.org/@csrf-armor/nextjs/-/nextjs-1.4.4.tgz","fileCount":21,"integrity":"sha512-ySJOeoMvlN7wcPDWio/F5I2CLSgsq3va7AnvXHL6xZt1ZHDB9dZfbJ99593qJGM1L/N+S2OWkv9yxGp0GdwuPw==","signatures":[{"sig":"MEUCIQCilUSGJ8BJkkS5GJ2Gwn4rTUUrvqz8yHL3WRFd2hPFOQIgV3qRJRusp8DtjgzViGuOgTvaFU9n0Eu09tf7iR5mWR0=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":90130},"main":"./dist/index.js","type":"module","_from":"file:csrf-armor-nextjs-1.4.4.tgz","types":"./dist/index.d.ts","module":"./dist/index.js","engines":{"node":">=18.0.0"},"exports":{".":"./dist/index.js","./client":"./dist/client/index.js","./package.json":"./package.json"},"scripts":{"test":"vitest --run","build":"tsdown","clean":"rm -rf dist tsconfig.tsbuildinfo","pretest":"cd ../core && pnpm run build","test:watch":"vitest","type-check":"tsc --noEmit","test:coverage":"vitest run --coverage","pretest:coverage":"cd ../core && pnpm run build"},"_npmUser":{"name":"muneeb_samuels","email":"muneeb@nebz.dev"},"_resolved":"/tmp/da1297f82555a27cbe7bbb9193c76b3f/csrf-armor-nextjs-1.4.4.tgz","_integrity":"sha512-ySJOeoMvlN7wcPDWio/F5I2CLSgsq3va7AnvXHL6xZt1ZHDB9dZfbJ99593qJGM1L/N+S2OWkv9yxGp0GdwuPw==","repository":{"url":"git+https://github.com/muneebs/csrf-armor.git","type":"git","directory":"packages/nextjs"},"_npmVersion":"10.8.2","description":"CSRF protection middleware for Next.js applications","directories":{},"_nodeVersion":"20.20.2","dependencies":{"@csrf-armor/core":"1.2.3"},"publishConfig":{"access":"public","registry":"https://registry.npmjs.org/"},"_hasShrinkwrap":false,"devDependencies":{"next":"^16.2.3","tsdown":"^0.20.1","typescript":"^5","@types/react":"^19.1.6","@testing-library/react":"^16.3.0","@testing-library/jest-dom":"^6.9.1"},"peerDependencies":{"next":"^13.0.0 || ^14.0.0 || ^15.0.0 || ^16.0.0","react":"^18.2.0 || ^19.0.0"},"_npmOperationalInternal":{"tmp":"tmp/nextjs_1.4.4_1776866868340_0.017124108413795636","host":"s3://npm-registry-packages-npm-production"}},"1.4.5":{"name":"@csrf-armor/nextjs","version":"1.4.5","keywords":["nextjs","csrf","security","middleware","protection","app-router","react"],"author":{"name":"Muneeb Samuels"},"license":"MIT","_id":"@csrf-armor/nextjs@1.4.5","maintainers":[{"name":"muneeb_samuels","email":"muneeb@nebz.dev"}],"contributors":[{"url":"https://github.com/raulcrisan","name":"Raul"}],"homepage":"https://github.com/muneebs/csrf-armor#readme","bugs":{"url":"https://github.com/muneebs/csrf-armor/issues"},"dist":{"shasum":"8392013a537f48d67a80677b155ed8919bec31a3","tarball":"https://registry.npmjs.org/@csrf-armor/nextjs/-/nextjs-1.4.5.tgz","fileCount":21,"integrity":"sha512-AI3J+PNF0OgW7jp/LJtUXKZfMWQqGBqS495yOJztkDlhJlIAPtzKdNT2bKVFu2UOiCrbzmZhVXCabVTCeDOAAA==","signatures":[{"sig":"MEQCIGrE4OE7BNJgROuLveirxWmbl4J5lRMU/rt9r/H9ZbsfAiBPkfvg79KowZiHIpqiFt41cwccqr7wEvYOpQEirYtrvg==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/@csrf-armor%2fnextjs@1.4.5","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":90413},"main":"./dist/index.js","type":"module","_from":"file:csrf-armor-nextjs-1.4.5.tgz","types":"./dist/index.d.ts","module":"./dist/index.js","engines":{"node":">=18.0.0"},"exports":{".":"./dist/index.js","./client":"./dist/client/index.js","./package.json":"./package.json"},"scripts":{"test":"vitest --run","build":"tsdown","clean":"rm -rf dist tsconfig.tsbuildinfo","pretest":"cd ../core && pnpm run build","test:watch":"vitest","type-check":"tsc --noEmit","test:coverage":"vitest run --coverage","pretest:coverage":"cd ../core && pnpm run build"},"_npmUser":{"name":"GitHub Actions","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"github","oidcConfigId":"oidc:37983162-bc45-49e6-a542-de8f4d73c0f8"}},"_resolved":"/tmp/06384dd3beee13806b6e5f8471580dd0/csrf-armor-nextjs-1.4.5.tgz","_integrity":"sha512-AI3J+PNF0OgW7jp/LJtUXKZfMWQqGBqS495yOJztkDlhJlIAPtzKdNT2bKVFu2UOiCrbzmZhVXCabVTCeDOAAA==","repository":{"url":"git+https://github.com/muneebs/csrf-armor.git","type":"git","directory":"packages/nextjs"},"_npmVersion":"11.17.0","description":"CSRF protection middleware for Next.js applications","directories":{},"_nodeVersion":"24.19.0","dependencies":{"@csrf-armor/core":"1.2.4"},"publishConfig":{"access":"public","registry":"https://registry.npmjs.org/"},"_hasShrinkwrap":false,"devDependencies":{"next":"^16.2.12","tsdown":"^0.22.14","typescript":"^7","@types/react":"^19.2.17","@testing-library/react":"^16.3.2","@testing-library/jest-dom":"^7.0.0"},"peerDependencies":{"next":"^13.0.0 || ^14.0.0 || ^15.0.0 || ^16.0.0","react":"^18.2.0 || ^19.0.0"},"_npmOperationalInternal":{"tmp":"tmp/nextjs_1.4.5_1786094130409_0.564098589788238","host":"s3://npm-registry-packages-npm-production"}},"1.4.6":{"name":"@csrf-armor/nextjs","version":"1.4.6","keywords":["nextjs","csrf","security","middleware","protection","app-router","react"],"author":{"name":"Muneeb Samuels"},"license":"MIT","_id":"@csrf-armor/nextjs@1.4.6","maintainers":[{"name":"muneeb_samuels","email":"muneeb@nebz.dev"}],"contributors":[{"url":"https://github.com/raulcrisan","name":"Raul"}],"homepage":"https://github.com/muneebs/csrf-armor#readme","bugs":{"url":"https://github.com/muneebs/csrf-armor/issues"},"dist":{"shasum":"a70e9bc2ab00e959db36fdaecc3124d2cddb6f96","tarball":"https://registry.npmjs.org/@csrf-armor/nextjs/-/nextjs-1.4.6.tgz","fileCount":21,"integrity":"sha512-eR3azLfYB1B2VsyvaNAr8+FBkpj+ejNVveSgm4prWIaIgG49pr4uqONcMWCkfqJFQ89StRaaWMfEoo/JaMXfvQ==","signatures":[{"sig":"MEUCIQCDwL4yZTHpgn6GF8olx2eu8sCzMuNZiaPtzuIqePZQtwIgHFMJFq9Gs9CzzJQUiR1ulZ23/glNjMy8xTZIT7dyBgg=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"},{"sig":"MEUCIQCEJ3708F60Z4qYGEn3XVviXBR/Y9b20NaJR5rjKsXnCQIgSesvqVA+KjkoaroRrRaVp+MicEqi7RsGrl58A7T4Ubc=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/@csrf-armor%2fnextjs@1.4.6","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":92810},"main":"./dist/index.js","type":"module","_from":"file:csrf-armor-nextjs-1.4.6.tgz","types":"./dist/index.d.ts","module":"./dist/index.js","engines":{"node":">=18.0.0"},"exports":{".":"./dist/index.js","./client":"./dist/client/index.js","./package.json":"./package.json"},"scripts":{"test":"vitest --run","build":"tsdown","clean":"rm -rf dist tsconfig.tsbuildinfo","pretest":"cd ../core && pnpm run build","test:watch":"vitest","type-check":"tsc --noEmit","test:coverage":"vitest run --coverage","pretest:coverage":"cd ../core && pnpm run build"},"_npmUser":{"name":"GitHub Actions","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"github","oidcConfigId":"37983162-bc45-49e6-a542-de8f4d73c0f8"}},"_resolved":"/tmp/ba73e21791a37a2706c82d4718b1d45e/csrf-armor-nextjs-1.4.6.tgz","_integrity":"sha512-eR3azLfYB1B2VsyvaNAr8+FBkpj+ejNVveSgm4prWIaIgG49pr4uqONcMWCkfqJFQ89StRaaWMfEoo/JaMXfvQ==","repository":{"url":"git+https://github.com/muneebs/csrf-armor.git","type":"git","directory":"packages/nextjs"},"_npmVersion":"11.19.0","description":"CSRF protection middleware for Next.js applications","directories":{},"_nodeVersion":"24.21.0","dependencies":{"@csrf-armor/core":"1.3.0"},"publishConfig":{"access":"public","registry":"https://registry.npmjs.org/"},"_hasShrinkwrap":false,"devDependencies":{"next":"^16.3.6","tsdown":"^0.23.0","typescript":"^7","@types/react":"^19.3.0","@testing-library/react":"^16.3.3","@testing-library/jest-dom":"^7.0.1"},"peerDependencies":{"next":"^13.0.0 || ^14.0.0 || ^15.0.0 || ^16.0.0","react":"^18.2.0 || ^19.0.0"},"_npmOperationalInternal":{"tmp":"tmp/nextjs_1.4.6_1791057910445_0.23703131666033506","host":"s3://npm-registry-packages-npm-production"}},"1.4.7":{"name":"@csrf-armor/nextjs","version":"1.4.7","keywords":["nextjs","csrf","security","middleware","protection","app-router","react"],"author":{"name":"Muneeb Samuels"},"license":"MIT","_id":"@csrf-armor/nextjs@1.4.7","maintainers":[{"name":"muneeb_samuels","email":"muneeb@nebz.dev"}],"contributors":[{"url":"https://github.com/raulcrisan","name":"Raul"}],"homepage":"https://github.com/muneebs/csrf-armor#readme","bugs":{"url":"https://github.com/muneebs/csrf-armor/issues"},"dist":{"shasum":"9d8330174706231af80362ba42f88b4c63bfa84f","tarball":"https://registry.npmjs.org/@csrf-armor/nextjs/-/nextjs-1.4.7.tgz","fileCount":21,"integrity":"sha512-21/W1CJ5RvVTb5eLS1u/c24tN2MwqLutCsDkaIVxxGZLpr3nm8ApRmlBJ94s/2W2YS2KyOaN47P9mU1WH6XDtg==","signatures":[{"sig":"MEYCIQCd53bSxuMTDPkqWFBpD5ZGjHlp4mN2AtNy2jgSRUgtcwIhAIAObJLcyZOkPQof+JoRbTc6l8irntPxsi66qKvbFpNP","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"},{"sig":"MEQCIAVV37+uZ3rycIf5+00xh1fmX6ifX95Td40q6GiDihK5AiBn4yHBDpwNVbNNmCUpRCE0ABxVwyRv7Y30iyNjyXwpeQ==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/@csrf-armor%2fnextjs@1.4.7","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":95378},"main":"./dist/index.js","type":"module","_from":"file:csrf-armor-nextjs-1.4.7.tgz","types":"./dist/index.d.ts","module":"./dist/index.js","engines":{"node":">=18.0.0"},"exports":{".":"./dist/index.js","./client":"./dist/client/index.js","./package.json":"./package.json"},"scripts":{"test":"vitest --run","build":"tsdown","clean":"rm -rf dist tsconfig.tsbuildinfo","pretest":"cd ../core && pnpm run build","test:watch":"vitest","type-check":"tsc --noEmit","test:coverage":"vitest run --coverage","pretest:coverage":"cd ../core && pnpm run build"},"_npmUser":{"name":"GitHub Actions","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"github","oidcConfigId":"37983162-bc45-49e6-a542-de8f4d73c0f8"}},"_resolved":"/tmp/1e5cc8f6f2f6b73920e3081591e9e53a/csrf-armor-nextjs-1.4.7.tgz","_integrity":"sha512-21/W1CJ5RvVTb5eLS1u/c24tN2MwqLutCsDkaIVxxGZLpr3nm8ApRmlBJ94s/2W2YS2KyOaN47P9mU1WH6XDtg==","repository":{"url":"git+https://github.com/muneebs/csrf-armor.git","type":"git","directory":"packages/nextjs"},"_npmVersion":"11.19.0","description":"CSRF protection middleware for Next.js applications","directories":{},"_nodeVersion":"24.21.0","dependencies":{"@csrf-armor/core":"1.3.0"},"publishConfig":{"access":"public","registry":"https://registry.npmjs.org/"},"_hasShrinkwrap":false,"devDependencies":{"next":"^16.3.8","react":"^19.3.0","tsdown":"^0.23.0","react-dom":"^19.3.0","typescript":"^7","@types/react":"^19.3.0","@testing-library/react":"^16.3.3","@testing-library/jest-dom":"^7.0.1"},"peerDependencies":{"next":"^13.0.0 || ^14.0.0 || ^15.0.0 || ^16.0.0","react":"^18.2.0 || ^19.0.0"},"_npmOperationalInternal":{"tmp":"tmp/nextjs_1.4.7_1791208860784_0.06022174655026036","host":"s3://npm-registry-packages-npm-production"}},"1.4.8":{"_id":"@csrf-armor/nextjs@1.4.8","bugs":{"url":"https://github.com/muneebs/csrf-armor/issues"},"dist":{"shasum":"62dc24eccde2dc0fd183b832e979e6371a045f38","tarball":"https://registry.npmjs.org/@csrf-armor/nextjs/-/nextjs-1.4.8.tgz","fileCount":21,"integrity":"sha512-9ijTH1XQJ8zrpllP8t3UNvoxcCcNndJgTsZ0QVQ5TO4zNCLwoWMsoygG2URfnJ7sJnFUNseZ65VSnPkGhj1AJg==","signatures":[{"sig":"MEQCIDz7H0+J2UtX8SIoXoBCwJElrZlvfrsk39StwsW7qE97AiAtLSMoRcFz0DHUIFIkSkHxCOIXEdpqdMxa7EiQv3JJHg==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"},{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEYCIQDGJVKN7c9clgHNc/R4dB9WQTmC5NVH45529Psjp3ZeXwIhAIxe0NzM63rWLGvfvN4/Mvybip7+tiInBEYYkXCdsrad"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/@csrf-armor%2fnextjs@1.4.8","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":83590},"main":"./dist/index.js","name":"@csrf-armor/nextjs","type":"module","_from":"file:csrf-armor-nextjs-1.4.8.tgz","types":"./dist/index.d.ts","author":{"name":"Muneeb Samuels"},"module":"./dist/index.js","engines":{"node":">=18.0.0"},"exports":{".":"./dist/index.js","./client":"./dist/client/index.js","./package.json":"./package.json"},"license":"MIT","scripts":{"test":"vitest --run","build":"tsdown","clean":"rm -rf dist tsconfig.tsbuildinfo","pretest":"cd ../core && pnpm run build","test:watch":"vitest","type-check":"tsc --noEmit","test:coverage":"vitest run --coverage","pretest:coverage":"cd ../core && pnpm run build"},"version":"1.4.8","_npmUser":{"name":"GitHub Actions","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"github","oidcConfigId":"37983162-bc45-49e6-a542-de8f4d73c0f8"}},"homepage":"https://github.com/muneebs/csrf-armor#readme","keywords":["nextjs","csrf","security","middleware","protection","app-router","react"],"_resolved":"/tmp/c55572766960f36178fcce115c23ec19/csrf-armor-nextjs-1.4.8.tgz","_integrity":"sha512-9ijTH1XQJ8zrpllP8t3UNvoxcCcNndJgTsZ0QVQ5TO4zNCLwoWMsoygG2URfnJ7sJnFUNseZ65VSnPkGhj1AJg==","repository":{"url":"git+https://github.com/muneebs/csrf-armor.git","type":"git","directory":"packages/nextjs"},"_npmVersion":"11.19.0","description":"CSRF protection middleware for Next.js applications","directories":{},"maintainers":[{"name":"muneeb_samuels","email":"muneeb@nebz.dev"}],"_nodeVersion":"24.21.0","contributors":[{"url":"https://github.com/raulcrisan","name":"Raul"}],"dependencies":{"@csrf-armor/core":"1.3.1"},"publishConfig":{"access":"public","registry":"https://registry.npmjs.org/"},"_hasShrinkwrap":false,"devDependencies":{"next":"^16.3.8","react":"^19.3.0","tsdown":"^0.23.0","react-dom":"^19.3.0","typescript":"^7","@types/react":"^19.3.0","@testing-library/react":"^16.3.3","@testing-library/jest-dom":"^7.0.1"},"peerDependencies":{"next":"^13.0.0 || ^14.0.0 || ^15.0.0 || ^16.0.0","react":"^18.2.0 || ^19.0.0"},"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/nextjs_1.4.8_1791239965276_0.14157949747703635"}}},"time":{"created":"2025-06-02T21:03:52.793Z","modified":"2026-10-05T22:39:25.696Z","0.0.1":"2025-06-02T21:03:53.047Z","0.0.2":"2025-06-02T22:03:17.499Z","1.0.0":"2025-06-03T11:44:27.607Z","1.0.1":"2025-06-03T12:38:20.901Z","1.1.0":"2025-06-03T13:03:52.171Z","1.1.1":"2025-06-03T13:12:14.318Z","1.2.0":"2025-06-03T23:44:47.632Z","1.2.1":"2025-06-05T14:03:13.806Z","1.2.2":"2025-06-06T11:04:47.825Z","1.3.0":"2025-06-13T13:37:52.803Z","1.4.0":"2025-06-15T22:23:37.983Z","1.4.1":"2026-02-01T02:02:40.393Z","1.4.2":"2026-04-05T12:53:26.761Z","1.4.3":"2026-04-21T23:23:36.756Z","1.4.4":"2026-04-22T14:07:48.487Z","1.4.5":"2026-08-07T09:15:30.565Z","1.4.6":"2026-10-03T20:05:10.524Z","1.4.7":"2026-10-05T14:01:00.882Z","1.4.8":"2026-10-05T22:39:25.359Z"},"bugs":{"url":"https://github.com/muneebs/csrf-armor/issues"},"author":{"name":"Muneeb Samuels"},"license":"MIT","homepage":"https://github.com/muneebs/csrf-armor#readme","keywords":["nextjs","csrf","security","middleware","protection","app-router","react"],"repository":{"url":"git+https://github.com/muneebs/csrf-armor.git","type":"git","directory":"packages/nextjs"},"description":"CSRF protection middleware for Next.js applications","contributors":[{"url":"https://github.com/raulcrisan","name":"Raul"}],"maintainers":[{"name":"muneeb_samuels","email":"muneeb@nebz.dev"}],"readme":"# @csrf-armor/nextjs\n\n<picture>\n  <source media=\"(prefers-color-scheme: dark)\" srcset=\"https://cdn.nebz.dev/csrf-armor/logo-large-dark.webp\" />\n  <img src=\"https://cdn.nebz.dev/csrf-armor/logo-light.webp\" alt=\"CSRF Armor\" width=\"480\" />\n</picture>\n\n[![CI](https://github.com/muneebs/csrf-armor/workflows/CI/badge.svg)](https://github.com/muneebs/csrf-armor/actions/workflows/ci.yml)\n[![npm version](https://badge.fury.io/js/@csrf-armor%2Fnextjs.svg)](https://badge.fury.io/js/@csrf-armor%2Fnextjs)\n[![License: MIT](https://img.shields.io/badge/License-MIT-yellow.svg)](https://opensource.org/licenses/MIT)\n[![Next.js](https://img.shields.io/badge/Next.js-13%2B-black.svg)](https://nextjs.org/)\n\nCSRF protection for Next.js 13+ with middleware, a React provider and a `useCsrf` hook. Works with the App Router, the Pages Router and Server Actions. The middleware uses only Web APIs, so it runs in the Edge Runtime.\n\n## Quick start\n\n### 1. Install\n\n```bash\nnpm install @csrf-armor/nextjs\n```\n\n### 2. Set a secret\n\n```bash\n# .env.local — generate with: openssl rand -base64 32\nCSRF_SECRET=your-generated-secret\n```\n\n### 3. Add the middleware\n\nCreate `middleware.ts` in your project root (or in `src/`). On Next.js 16 you can name it `proxy.ts` and export `proxy` instead; the code is the same.\n\n```typescript\nimport { NextResponse } from 'next/server';\nimport type { NextRequest } from 'next/server';\nimport { createCsrfMiddleware } from '@csrf-armor/nextjs';\n\nif (process.env.NODE_ENV === 'production' && !process.env.CSRF_SECRET) {\n  throw new Error('CSRF_SECRET is required in production');\n}\n\nconst csrfProtect = createCsrfMiddleware({\n  secret: process.env.CSRF_SECRET,\n  cookie: { secure: process.env.NODE_ENV === 'production' },\n});\n\nexport async function middleware(request: NextRequest) {\n  const result = await csrfProtect(request, NextResponse.next());\n\n  // The helper only reports the outcome; you must block failures yourself.\n  // On failure result.response is still the NextResponse.next() you passed in.\n  if (!result.success) {\n    console.warn('CSRF validation failed', {\n      method: request.method,\n      url: request.url,\n      reason: result.reason,\n    });\n    return NextResponse.json({ error: 'CSRF validation failed' }, { status: 403 });\n  }\n\n  return result.response;\n}\n\nexport const config = {\n  matcher: ['/((?!_next/static|_next/image|favicon.ico).*)'],\n};\n```\n\n### 4. Add the provider\n\n```tsx\n// App Router: app/layout.tsx\nimport { CsrfProvider } from '@csrf-armor/nextjs/client';\n\nexport default function RootLayout({ children }: Readonly<{ children: React.ReactNode }>) {\n  return (\n    <html lang=\"en\">\n      <body>\n        <CsrfProvider>{children}</CsrfProvider>\n      </body>\n    </html>\n  );\n}\n```\n\n```tsx\n// Pages Router: pages/_app.tsx\nimport type { AppProps } from 'next/app';\nimport { CsrfProvider } from '@csrf-armor/nextjs/client';\n\nexport default function App({ Component, pageProps }: AppProps) {\n  return (\n    <CsrfProvider>\n      <Component {...pageProps} />\n    </CsrfProvider>\n  );\n}\n```\n\n### 5. Send the token\n\nUse `csrfFetch` from the hook; it adds the token header and picks up rotated tokens from responses:\n\n```tsx\n'use client'; // App Router only\nimport { useCsrf } from '@csrf-armor/nextjs/client';\n\nexport function ContactForm() {\n  const { csrfToken, csrfFetch } = useCsrf();\n\n  async function handleSubmit(e: React.FormEvent<HTMLFormElement>) {\n    e.preventDefault();\n    const data = new FormData(e.currentTarget);\n    await csrfFetch('/api/contact', {\n      method: 'POST',\n      headers: { 'Content-Type': 'application/json' },\n      body: JSON.stringify({ message: data.get('message') }),\n    });\n  }\n\n  return (\n    <form onSubmit={handleSubmit}>\n      <textarea name=\"message\" required />\n      <button type=\"submit\" disabled={!csrfToken}>Send</button>\n    </form>\n  );\n}\n```\n\nAPI routes need no extra code: the middleware has already validated the request before your handler runs.\n\n## Server Actions\n\nInclude the token as a hidden field. The action must declare its `FormData` parameter, even if unused, because Next.js only sends declared arguments and the token travels in the form data:\n\n```tsx\n'use client';\nimport { useCsrf } from '@csrf-armor/nextjs/client';\nimport { saveMessage } from './actions';\n\nexport function MessageForm() {\n  const { csrfToken } = useCsrf();\n  return (\n    <form action={saveMessage}>\n      <input type=\"hidden\" name=\"csrf_token\" value={csrfToken ?? ''} />\n      <input name=\"message\" />\n      <button type=\"submit\">Save</button>\n    </form>\n  );\n}\n```\n\n```typescript\n// actions.ts\n'use server';\n\nexport async function saveMessage(_formData: FormData) {\n  // Only runs if the middleware accepted the token\n}\n```\n\n## Client API\n\nImport from `@csrf-armor/nextjs/client`.\n\n### `<CsrfProvider config?>`\n\nKeeps the token in React state, re-reads it on route changes and back/forward navigation, and updates it from response headers.\n\n| `config` option | Default | Description |\n|---|---|---|\n| `cookieName` | `'csrf-token'` | Cookie to read the token from. Match `cookie.name` on the server. |\n| `headerName` | `'x-csrf-token'` | Header to send the token in. Match `token.headerName` on the server. |\n| `initialToken` | none | Token to start with, e.g. rendered by the server. |\n| `refreshEndpoint` | current path | URL fetched to obtain a fresh token. |\n\n### `useCsrf()`\n\nReturns `{ csrfToken, csrfFetch, updateToken }`:\n\n- `csrfToken: string | null`: the current token\n- `csrfFetch(input, init?)`: `fetch` that sends the token header and stores any new token from the response\n- `updateToken()`: re-read the token from the cookie\n\nThrows if used outside `CsrfProvider`.\n\n## Different strategies per route\n\nCreate one protector per strategy and choose per request:\n\n```typescript\nconst apiCsrf = createCsrfMiddleware({ strategy: 'signed-token', secret: process.env.CSRF_SECRET });\nconst webCsrf = createCsrfMiddleware({ secret: process.env.CSRF_SECRET });\n\nexport async function middleware(request: NextRequest) {\n  const protect = request.nextUrl.pathname.startsWith('/api/') ? apiCsrf : webCsrf;\n  const result = await protect(request, NextResponse.next());\n  return result.success\n    ? result.response\n    : NextResponse.json({ error: 'CSRF validation failed' }, { status: 403 });\n}\n```\n\nGive each protector a different `cookie.name` if both can apply to the same browser.\n\n## Configuration\n\n`createCsrfMiddleware()` accepts the shared `CsrfConfig`. All options are optional; `secret` is required in production.\n\n- [Configuration reference](https://github.com/muneebs/csrf-armor/blob/main/docs/configuration.md): every option, defaults, exclusions and session binding (`getSessionId` receives the `NextRequest`)\n- [Strategies](https://github.com/muneebs/csrf-armor/blob/main/docs/strategies.md)\n- [Security guide](https://github.com/muneebs/csrf-armor/blob/main/docs/security.md)\n\nA complete example app, including an attacker page for testing each strategy, lives in [`examples/nextjs-app`](https://github.com/muneebs/csrf-armor/tree/main/examples/nextjs-app).\n\n## License\n\nMIT © [Muneeb Samuels](https://github.com/muneebs)\n","readmeFilename":"README.md"}