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

@types/lusca

Package Overview
Dependencies
Maintainers
1
Versions
10
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@types/lusca - npm Package Compare versions

Comparing version 1.7.4 to 1.7.5

10

lusca/index.d.ts

@@ -36,2 +36,4 @@ import express = require("express");

type csrfValidateFunction = (req: express.Request, token: unknown) => boolean;
interface csrfOptionsBase {

@@ -50,3 +52,9 @@ /**

*/
impl?: (() => any) | undefined;
impl?: {
create?: (
req: express.Request,
secretKey: string,
) => { secret: string; token: string; validate: csrfValidateFunction };
validate?: csrfValidateFunction;
} | undefined;
/**

@@ -53,0 +61,0 @@ * The name of the response header containing the CSRF token

6

lusca/package.json
{
"name": "@types/lusca",
"version": "1.7.4",
"version": "1.7.5",
"description": "TypeScript definitions for lusca",

@@ -35,4 +35,4 @@ "homepage": "https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/lusca",

},
"typesPublisherContentHash": "552ed246bd717d090ced5f6aed8d3cdd3a78b28a65f7420c5f9b2b36baafa02d",
"typeScriptVersion": "4.5"
"typesPublisherContentHash": "e79e611194b145f338a73ab868be8f848d856b93843d430a9ef486de6752f8ca",
"typeScriptVersion": "4.7"
}

@@ -11,3 +11,3 @@ # Installation

### Additional Details
* Last updated: Tue, 07 Nov 2023 09:09:39 GMT
* Last updated: Tue, 16 Apr 2024 21:08:07 GMT
* Dependencies: [@types/express](https://npmjs.com/package/@types/express)

@@ -14,0 +14,0 @@

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