Socket
Socket
Sign inDemoInstall

bluebird

Package Overview
Dependencies
0
Maintainers
1
Versions
223
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 0.8.0-0 to 0.8.0-1

1

Gruntfile.js

@@ -94,2 +94,3 @@ var astPasses = require("./ast_passes.js");

"./src/util.js",
"./src/deque.js",
"./src/errors.js",

@@ -96,0 +97,0 @@ "./src/captured_trace.js",

2

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

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

var Promise = require('./js/bluebird.js');
/*testaa sitten se alkuperänen
ei voi kutsua resolvePromise suoraan
function test(i){
var ok = Promise.pending();
if (i <= 0){
ok.fulfill('done');
return ok.promise;
} else {
ok.fulfill(i-1);
return ok.promise.then(test)
}
function test(){
Promise.fulfilled().then(test)
}
test(10000).then(function(output){ console.log(output) });
test();
function test(i){
var ok = Promise.pending();
if (i <= 0){
return Promise.fulfilled("done");
} else {
return Promise.fulfilled(i-1).then(test)
}
}
test(10000).then(function(output){ console.log(output) });
/*
TODO testit tolle fulfillauksessa
TODO testit tolle rejectauksessa
TODO alkuperänen
TODO alkuperänen rejectauksessa
*/
//6 490 216
//25 367 200

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

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc