Socket
Socket
Sign inDemoInstall

bluebird

Package Overview
Dependencies
Maintainers
1
Versions
223
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

bluebird - npm Package Compare versions

Comparing version 0.10.0-0 to 0.10.0-1

1

API.md

@@ -14,2 +14,3 @@ #API Reference

- [`Promise.try(Function fn [, Array<dynamic>|dynamic arguments] [, dynamic ctx] )`](#promisetryfunction-fn--arraydynamicdynamic-arguments--dynamic-ctx----promise)
- [`Promise.method(Function fn)`](#promisemethodfunction-fn---function)
- [`Promise.fulfilled(dynamic value)`](#promisefulfilleddynamic-value---promise)

@@ -16,0 +17,0 @@ - [`Promise.rejected(dynamic reason)`](#promiserejecteddynamic-reason---promise)

14

js/main/schedule.js

@@ -27,13 +27,5 @@ /**

if( typeof process !== "undefined" && process !== null &&
typeof process.cwd === "function" ) {
if( typeof global.setImmediate !== "undefined" ) {
schedule = function Promise$_Scheduler( fn ) {
global.setImmediate( fn );
};
}
else {
schedule = function Promise$_Scheduler( fn ) {
process.nextTick( fn );
};
}
typeof process.cwd === "function" &&
typeof process.nextTick === "function" ) {
schedule = process.nextTick;
}

@@ -40,0 +32,0 @@ else if( ( typeof MutationObserver === "function" ||

@@ -27,13 +27,5 @@ /**

if( typeof process !== "undefined" && process !== null &&
typeof process.cwd === "function" ) {
if( typeof global.setImmediate !== "undefined" ) {
schedule = function Promise$_Scheduler( fn ) {
global.setImmediate( fn );
};
}
else {
schedule = function Promise$_Scheduler( fn ) {
process.nextTick( fn );
};
}
typeof process.cwd === "function" &&
typeof process.nextTick === "function" ) {
schedule = process.nextTick;
}

@@ -40,0 +32,0 @@ else if( ( typeof MutationObserver === "function" ||

{
"name": "bluebird",
"description": "Full featured Promises/A+ implementation with exceptionally good performance",
"version": "0.10.0-0",
"version": "0.10.0-1",
"keywords": [

@@ -6,0 +6,0 @@ "promise",

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