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.25 to 2.9.26

7

changelog.md

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

## 2.9.26 (2015-05-25)
Bugfixes:
- Fix crash in NW [#624](.)
- Fix [`.return()`](.) not supporting `undefined` as return value [#627](.)
## 2.9.25 (2015-04-28)

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

@@ -13,2 +13,6 @@ "use strict";

};
var returnUndefined = function() {};
var throwUndefined = function() {
throw undefined;
};

@@ -30,2 +34,4 @@ var wrapper = function (value, action) {

Promise.prototype.thenReturn = function (value) {
if (value === undefined) return this.then(returnUndefined);
if (wrapsPrimitiveReceiver && isPrimitive(value)) {

@@ -45,2 +51,4 @@ return this._then(

Promise.prototype.thenThrow = function (reason) {
if (reason === undefined) return this.then(throwUndefined);
if (wrapsPrimitiveReceiver && isPrimitive(reason)) {

@@ -47,0 +55,0 @@ return this._then(

2

js/main/schedule.js

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

schedule = (version[0] === 0 && version[1] > 10) || (version[0] > 0)
? global.setImmediate : process.nextTick;
? function(fn) { global.setImmediate(fn); } : process.nextTick;

@@ -12,0 +12,0 @@ if (!schedule) {

{
"name": "bluebird",
"description": "Full featured Promises/A+ implementation with exceptionally good performance",
"version": "2.9.25",
"version": "2.9.26",
"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