Socket
Socket
Sign inDemoInstall

@types/request-promise

Package Overview
Dependencies
Maintainers
1
Versions
34
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@types/request-promise - npm Package Compare versions

Comparing version 4.1.35 to 4.1.36

9

request-promise/index.d.ts

@@ -13,11 +13,4 @@ // Type definitions for request-promise 4.1

declare namespace requestPromise {
interface RequestPromise extends request.Request {
then<TResult>(onfulfilled?: (value: any) => TResult | PromiseLike<TResult>, onrejected?: (reason: any) => void | TResult | PromiseLike<TResult>): Promise<TResult>;
catch(onrejected?: (reason: any) => any | PromiseLike<any>): Promise<any>;
catch(type: errors.RequestErrorConstructor, onrejected?: (reason: errors.RequestError) => void): Promise<any>;
catch(type: errors.StatusCodeErrorConstructor, onrejected?: (reason: errors.StatusCodeError) => void): Promise<any>;
catch(type: errors.TransformErrorConstructor, onrejected?: (reason: errors.TransformError) => void): Promise<any>;
finally<TResult>(handler: () => TResult | PromiseLike<TResult>): Promise<any>;
interface RequestPromise extends request.Request, Promise<any> {
promise(): Promise<any>;
cancel(): void;
}

@@ -24,0 +17,0 @@

4

request-promise/package.json
{
"name": "@types/request-promise",
"version": "4.1.35",
"version": "4.1.36",
"description": "TypeScript definitions for request-promise",

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

"peerDependencies": {},
"typesPublisherContentHash": "78dbc65211f1ba328711ed9d9367a1be1bb25619c85026068f36fb6ebcf47160",
"typesPublisherContentHash": "5129f0b5535f9c51ea4f8466549140aa0e967eb7f6664c8bacd4253d6096b2b0",
"typeScriptVersion": "2.3"
}

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

Additional Details
* Last updated: Tue, 20 Jun 2017 20:20:01 GMT
* Last updated: Fri, 07 Jul 2017 20:52:56 GMT
* Dependencies: request, http, bluebird

@@ -14,0 +14,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