UNPKG

next-csrf

Version:

CSRF mitigation library for Next.js

29 lines (28 loc) 935 B
{ "name": "next-csrf", "version": "0.1.2", "description": "CSRF mitigation library for Next.js", "main": "dist/next-csrf.js", "module": "dist/next-csrf.esm.js", "types": "@types/", "source": "src/index.ts", "repository": "https://github.com/j0lv3r4/next-csrf", "author": "Juan Olvera", "license": "MIT", "scripts": { "build": "npm run types && rollup -c", "dev": "rollup -w", "test": "jest", "test:e2e": "playwright test", "types": "tsc --emitDeclarationOnly --declaration --outDir @types", "release": "cross-var npm run build && cross-var git commit -am $npm_package_version && cross-var git tag $npm_package_version && git push && git push --tags && npm publish" }, "dependencies": { "@types/http-errors": "^1.8.0", "cookie": "^0.4.1", "cookie-signature": "^1.1.0", "csrf": "^3.1.0", "querystring": "^0.2.0" }, "yalcSig": "6e65494fe969db34f0fff0f005c4ffe8" }