Socket
Socket
Sign inDemoInstall

fluture

Package Overview
Dependencies
1
Maintainers
1
Versions
109
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 0.2.0 to 0.2.1

6

fluture.js

@@ -240,3 +240,7 @@ /*global define*/

//Create a Future which rejects witth the given value.
Future.reject = x => Future(rej => rej(x));
Future.reject = function Future$reject(x){
return Future(function Future$reject$fork(rej){
rej(x);
});
};

@@ -243,0 +247,0 @@ //Create a Future which resolves after the given time with the given value.

10

package.json
{
"name": "fluture",
"version": "0.2.0",
"version": "0.2.1",
"description": "A complete Fantasy Land compatible Future library",
"main": "src/index.js",
"jsnext:main": "fluture.js",
"main": "fluture.js",
"repository": "https://github.com/Avaq/fluture.git",
"scripts": {
"check-security": "nsp check",
"check-version": "node scripts/check-version 5.7.0",
"check-version": "node scripts/check-version 5.0.0",
"clean": "rimraf npm-debug.log coverage",

@@ -21,2 +20,5 @@ "lint": "eslint fluture.js test",

"license": "MIT",
"engines": {
"node": "^5.0.0"
},
"dependencies": {

@@ -23,0 +25,0 @@ "fantasy-land": "^0.2.1"

@@ -5,2 +5,4 @@ # Fluture

> `npm install --save fluture`<sup>Requires node 5.0.0 or later</sup>
## Motivation

@@ -12,3 +14,3 @@

* Working `instanceof` checks.
* Passing around `Future#chain` without having to bind.
* Passing around instance methods higher-order-style without having to bind.
* Speed.

@@ -21,3 +23,3 @@

* [ ] Write benchmarks
* [ ] Implement Traversable
* [ ] Implement Traversable?
* [ ] Implement Future.cache

@@ -27,3 +29,5 @@ * [ ] Implement Future.and

* [ ] Implement Future.race
* [ ] Create documentation
* [ ] Add test coverage
* [ ] A transpiled ES5 version if demand arises

@@ -30,0 +34,0 @@ ## The name

SocketSocket SOC 2 Logo

Product

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

Packages

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc