UNPKG

@graphql-yoga/plugin-csrf-prevention

Version:

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

39 lines 1.1 kB
{ "name": "@graphql-yoga/plugin-csrf-prevention", "version": "1.3.0-alpha-20230220085449-2dbaeff8", "description": "CSRF prevention plugin for GraphQL Yoga that requires the clients to have a specific header set.", "peerDependencies": { "graphql-yoga": "3.7.0-alpha-20230220085449-2dbaeff8" }, "repository": { "type": "git", "url": "https://github.com/dotansimha/graphql-yoga.git", "directory": "packages/plugins/csrf-prevention" }, "author": "Denis Badurina <badurinadenis@gmail.com>", "license": "MIT", "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" } }