@types/koa-csrf
Advanced tools
Comparing version 5.0.1 to 5.0.2
@@ -25,5 +25,5 @@ // Type definitions for koa-csrf 5.0 | ||
import { Context, Middleware } from 'koa'; | ||
import { Context, Middleware } from "koa"; | ||
declare module 'koa' { | ||
declare module "koa" { | ||
interface DefaultState { | ||
@@ -35,3 +35,3 @@ _csrf: string; | ||
declare const CSRF: { | ||
new (opts?: { | ||
new(opts?: { | ||
errorHandler?: (ctx: Context) => never; | ||
@@ -38,0 +38,0 @@ excludedMethods?: string[]; |
{ | ||
"name": "@types/koa-csrf", | ||
"version": "5.0.1", | ||
"version": "5.0.2", | ||
"description": "TypeScript definitions for koa-csrf", | ||
@@ -30,4 +30,4 @@ "homepage": "https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/koa-csrf", | ||
}, | ||
"typesPublisherContentHash": "d590f5cd30c0e6984da03952ae43ee8b87a5c12e6a31089daa6a1e5db05c8892", | ||
"typeScriptVersion": "4.2" | ||
"typesPublisherContentHash": "c2b221137934809b7f14784b0e89e5fc876b921efa4fcb56e2ad1d66d9187223", | ||
"typeScriptVersion": "4.5" | ||
} |
@@ -35,5 +35,5 @@ # Installation | ||
import { Context, Middleware } from 'koa'; | ||
import { Context, Middleware } from "koa"; | ||
declare module 'koa' { | ||
declare module "koa" { | ||
interface DefaultState { | ||
@@ -45,3 +45,3 @@ _csrf: string; | ||
declare const CSRF: { | ||
new (opts?: { | ||
new(opts?: { | ||
errorHandler?: (ctx: Context) => never; | ||
@@ -57,3 +57,3 @@ excludedMethods?: string[]; | ||
### Additional Details | ||
* Last updated: Thu, 09 Mar 2023 17:02:39 GMT | ||
* Last updated: Thu, 14 Sep 2023 01:49:18 GMT | ||
* Dependencies: [@types/koa](https://npmjs.com/package/@types/koa) | ||
@@ -60,0 +60,0 @@ * Global values: none |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
4927