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 2.9.27 to 2.9.28

7

changelog.md

@@ -0,1 +1,8 @@

## 2.9.28 (2015-06-14)
Bugfixes:
- Fix handled rejection being reported as unhandled in certain scenarios when using [.all](.) or [Promise.join](.) ([#645](.))
- Fix custom scheduler not being called in Google Chrome when long stack traces are enabled ([#650](.))
## 2.9.27 (2015-05-30)

@@ -2,0 +9,0 @@

19

js/main/async.js

@@ -135,2 +135,5 @@ "use strict";

} else {
if (schedule.isStatic) {
schedule = function(fn) { setTimeout(fn, 0); };
}
Async.prototype.invokeLater = function (fn, receiver, arg) {

@@ -140,5 +143,7 @@ if (this._trampolineEnabled) {

} else {
setTimeout(function() {
fn.call(receiver, arg);
}, 100);
this._schedule(function() {
setTimeout(function() {
fn.call(receiver, arg);
}, 100);
});
}

@@ -151,5 +156,5 @@ };

} else {
setTimeout(function() {
this._schedule(function() {
fn.call(receiver, arg);
}, 0);
});
}

@@ -162,5 +167,5 @@ };

} else {
setTimeout(function() {
this._schedule(function() {
promise._settlePromises();
}, 0);
});
}

@@ -167,0 +172,0 @@ };

@@ -17,3 +17,9 @@ "use strict";

Promise.prototype._ignoreRejections = function() {
this._unsetRejectionIsUnhandled();
this._bitField = this._bitField | 16777216;
};
Promise.prototype._ensurePossibleRejectionHandled = function () {
if ((this._bitField & 16777216) !== 0) return;
this._setRejectionIsUnhandled();

@@ -20,0 +26,0 @@ async.invokeLater(this._notifyUnhandledRejection, this, undefined);

@@ -83,3 +83,3 @@ "use strict";

if (isResolved) {
maybePromise._unsetRejectionIsUnhandled();
maybePromise._ignoreRejections();
} else if (maybePromise._isPending()) {

@@ -86,0 +86,0 @@ maybePromise._proxyPromiseArray(this, i);

{
"name": "bluebird",
"description": "Full featured Promises/A+ implementation with exceptionally good performance",
"version": "2.9.27",
"version": "2.9.28",
"keywords": [

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

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is too big to display

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