Socket
Socket
Sign inDemoInstall

@types/bluebird

Package Overview
Dependencies
Maintainers
1
Versions
80
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@types/bluebird - npm Package Compare versions

Comparing version 3.5.0 to 3.5.1

31

bluebird/index.d.ts

@@ -252,2 +252,33 @@ // Type definitions for bluebird 3.5.0

/**
* Convenience method for:
*
* <code>
* .catch(function() {
* return value;
* });
* </code>
*
* in the case where `value` doesn't change its value. That means `value` is bound at the time of calling `.catchReturn()`
*/
catchReturn<U>(value: U): Bluebird<U>;
catchReturn<U>(predicate: (error: any) => boolean, value: U): Bluebird<U | R>;
catchReturn<E extends Error, U>(ErrorClass: new (...args: any[]) => E, value: U): Bluebird<U | R>;
catchReturn<U>(predicate: Object, value: U): Bluebird<U | R>;
/**
* Convenience method for:
*
* <code>
* .catch(function() {
* throw reason;
* });
* </code>
* Same limitations apply as with `.catchReturn()`.
*/
catchThrow(reason: Error): Bluebird<R>;
catchThrow(predicate: (error: any) => boolean, reason: Error): Bluebird<R>;
catchThrow<E extends Error, U>(ErrorClass: new (...args: any[]) => E, reason: Error): Bluebird<R>;
catchThrow(predicate: Object, reason: Error): Bluebird<R>;
/**
* Convert to String.

@@ -254,0 +285,0 @@ */

4

bluebird/package.json
{
"name": "@types/bluebird",
"version": "3.5.0",
"version": "3.5.1",
"description": "TypeScript definitions for bluebird",

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

"peerDependencies": {},
"typesPublisherContentHash": "4b1aab4867e95bf7cae439db9db825f3fc4d4b5d4ac8d59c7e83b64e686eed4c",
"typesPublisherContentHash": "5009cc2c4dd2623c370d1e305863bfb2f05e782f9a8a67a7e37893fad172ad2a",
"typeScriptVersion": "2.0"
}

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

Additional Details
* Last updated: Fri, 10 Mar 2017 06:07:39 GMT
* Last updated: Tue, 21 Mar 2017 00:35:43 GMT
* Dependencies: none

@@ -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