UNPKG

@graphql-yoga/plugin-csrf-prevention

Version:

CSRF prevention plugin for GraphQL Yoga that requires the clients to have a specific header set.

42 lines 1.14 kB
{ "name": "@graphql-yoga/plugin-csrf-prevention", "version": "3.0.0-rc-20231016132816-021ff90e", "description": "CSRF prevention plugin for GraphQL Yoga that requires the clients to have a specific header set.", "peerDependencies": { "graphql-yoga": "5.0.0-rc-20231016132816-021ff90e" }, "repository": { "type": "git", "url": "https://github.com/dotansimha/graphql-yoga.git", "directory": "packages/plugins/csrf-prevention" }, "author": "Denis Badurina <badurinadenis@gmail.com>", "license": "MIT", "engines": { "node": ">=18.0.0" }, "main": "cjs/index.js", "module": "esm/index.js", "typings": "typings/index.d.ts", "typescript": { "definition": "typings/index.d.ts" }, "type": "module", "exports": { ".": { "require": { "types": "./typings/index.d.cts", "default": "./cjs/index.js" }, "import": { "types": "./typings/index.d.ts", "default": "./esm/index.js" }, "default": { "types": "./typings/index.d.ts", "default": "./esm/index.js" } }, "./package.json": "./package.json" } }