New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.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

to
1.7.0

18

lusca/index.d.ts

@@ -1,2 +0,2 @@

// Type definitions for lusca 1.6
// Type definitions for lusca 1.7
// Project: https://github.com/krakenjs/lusca#readme

@@ -41,3 +41,3 @@ // Definitions by: Corbin Crutchley <https://github.com/crutchcorn>

type csrfOptions = csrfOptionsBase & csrfOptionsAngularOrNonAngular & csrfOptionsBlacklistOrWhitelist;
type csrfOptions = csrfOptionsBase & csrfOptionsAngularOrNonAngular & csrfOptionsBlocklistOrAllowlist;

@@ -82,13 +82,13 @@ interface csrfOptionsBase {

interface csrfOptionsBlacklist {
blacklist?: string[];
whitelist?: never;
interface csrfOptionsBlocklist {
blocklist?: string[];
allowlist?: never;
}
interface csrfOptionsWhitelist {
blacklist?: never;
whitelist?: string[];
interface csrfOptionsAllowlist {
blocklist?: never;
allowlist?: string[];
}
type csrfOptionsBlacklistOrWhitelist = csrfOptionsBlacklist | csrfOptionsWhitelist;
type csrfOptionsBlocklistOrAllowlist = csrfOptionsBlocklist | csrfOptionsAllowlist;

@@ -95,0 +95,0 @@ interface xssProtectionOptions {

{
"name": "@types/lusca",
"version": "1.6.2",
"version": "1.7.0",
"description": "TypeScript definitions for lusca",

@@ -34,4 +34,4 @@ "license": "MIT",

},
"typesPublisherContentHash": "6b9fe8188bb6d888c4a876f3a741e5fd0c1dbe16ed5e72e1e05c2f9d989822f2",
"typeScriptVersion": "3.0"
"typesPublisherContentHash": "c4b0f7d66572eb3d9b8fcde25f23e48d7baeee94a5b56b227ba8cb5da6a03ef9",
"typeScriptVersion": "3.4"
}

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

### Additional Details
* Last updated: Thu, 04 Jun 2020 20:56:40 GMT
* Last updated: Thu, 25 Feb 2021 22:26:36 GMT
* Dependencies: [@types/express](https://npmjs.com/package/@types/express)

@@ -14,0 +14,0 @@ * Global values: none