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

@types/express-unless

Package Overview
Dependencies
Maintainers
1
Versions
20
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@types/express-unless - npm Package Compare versions

Comparing version 0.5.0 to 0.5.1

6

express-unless/index.d.ts

@@ -5,2 +5,3 @@ // Type definitions for express-unless 0.5

// Joao Vieira <https://github.com/joaovieira>
// Michal Kaminski <https://github.com/michal-b-kaminski>
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped

@@ -15,7 +16,10 @@ // TypeScript Version: 2.3

declare namespace unless {
type pathFilter = string | RegExp | { url: string | RegExp, methods?: string[], method?: string | string[] };
export interface Options {
custom?: (req: express.Request) => boolean;
path?: string | string[];
path?: pathFilter | pathFilter[];
ext?: string | string[];
method?: string | string[];
useOriginalUrl?: boolean;
}

@@ -22,0 +26,0 @@ export interface RequestHandler extends express.RequestHandler {

9

express-unless/package.json
{
"name": "@types/express-unless",
"version": "0.5.0",
"version": "0.5.1",
"description": "TypeScript definitions for express-unless",

@@ -16,2 +16,7 @@ "license": "MIT",

"githubUsername": "joaovieira"
},
{
"name": "Michal Kaminski",
"url": "https://github.com/michal-b-kaminski",
"githubUsername": "michal-b-kaminski"
}

@@ -29,4 +34,4 @@ ],

},
"typesPublisherContentHash": "2656c9e73d53466f17235653d54df28f82a68bc58b72baadeb358d389c47c705",
"typesPublisherContentHash": "7d396ca64d416b0865cc6b4ac750b761fa8da8f10cda57c189064cdf98d9f4d6",
"typeScriptVersion": "2.3"
}

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

Additional Details
* Last updated: Wed, 06 Feb 2019 00:12:13 GMT
* Last updated: Wed, 13 Feb 2019 20:02:16 GMT
* Dependencies: @types/express

@@ -17,2 +17,2 @@ * Global values: none

# Credits
These definitions were written by Wonshik Kim <https://github.com/wokim>, Joao Vieira <https://github.com/joaovieira>.
These definitions were written by Wonshik Kim <https://github.com/wokim>, Joao Vieira <https://github.com/joaovieira>, Michal Kaminski <https://github.com/michal-b-kaminski>.
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