Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@types/koa-csrf

Package Overview
Dependencies
Maintainers
1
Versions
8
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@types/koa-csrf - npm Package Compare versions

Comparing version 5.0.1 to 5.0.2

6

koa-csrf/index.d.ts

@@ -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

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc