New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

@types/hpp

Package Overview
Dependencies
Maintainers
1
Versions
7
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@types/hpp - npm Package Compare versions

Comparing version 0.2.1 to 0.2.2

8

hpp/index.d.ts

@@ -11,6 +11,6 @@ // Type definitions for hpp 0.2

interface Options {
checkBody?: boolean;
checkBodyOnlyForContentType?: string;
checkQuery?: boolean;
whitelist?: string | string[];
checkBody?: boolean | undefined;
checkBodyOnlyForContentType?: string | undefined;
checkQuery?: boolean | undefined;
whitelist?: string | string[] | undefined;
}

@@ -17,0 +17,0 @@ }

{
"name": "@types/hpp",
"version": "0.2.1",
"version": "0.2.2",
"description": "TypeScript definitions for hpp",
"homepage": "https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/hpp",
"license": "MIT",

@@ -14,5 +15,7 @@ "contributors": [

"main": "",
"types": "index.d.ts",
"repository": {
"type": "git",
"url": "https://www.github.com/DefinitelyTyped/DefinitelyTyped.git"
"url": "https://github.com/DefinitelyTyped/DefinitelyTyped.git",
"directory": "types/hpp"
},

@@ -23,4 +26,4 @@ "scripts": {},

},
"typesPublisherContentHash": "d120a4f4be3eea9d090012261ae91a85fc7a6630de0086eb8720a7507f60697b",
"typeScriptVersion": "2.3"
"typesPublisherContentHash": "458e6652b0bf8c98cd497980b881341378d22c39d63ce9b98f309e6da656e2d3",
"typeScriptVersion": "3.6"
}

@@ -8,10 +8,34 @@ # Installation

# Details
Files were exported from https://www.github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/hpp
Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/hpp.
## [index.d.ts](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/hpp/index.d.ts)
````ts
// Type definitions for hpp 0.2
// Project: https://github.com/analog-nico/hpp
// Definitions by: Michael Strobel <https://github.com/kryops>
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
// TypeScript Version: 2.3
Additional Details
* Last updated: Mon, 30 Oct 2017 19:05:37 GMT
* Dependencies: express
import * as express from 'express';
declare namespace hpp {
interface Options {
checkBody?: boolean | undefined;
checkBodyOnlyForContentType?: string | undefined;
checkQuery?: boolean | undefined;
whitelist?: string | string[] | undefined;
}
}
declare function hpp(options?: hpp.Options): express.RequestHandler;
export = hpp;
````
### Additional Details
* Last updated: Thu, 08 Jul 2021 14:22:54 GMT
* Dependencies: [@types/express](https://npmjs.com/package/@types/express)
* Global values: none
# Credits
These definitions were written by Michael Strobel <https://github.com/kryops>.
These definitions were written by [Michael Strobel](https://github.com/kryops).

Sorry, the diff of this file is not supported yet

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