Socket
Socket
Sign inDemoInstall

fluture

Package Overview
Dependencies
Maintainers
1
Versions
109
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

fluture - npm Package Compare versions

Comparing version 0.1.0 to 0.2.0

5

fluture.js

@@ -36,3 +36,3 @@ /*global define*/

const isFuture = x => x && typeof x.fork === 'function' && x.fork.length === 2;
const isFuture = x => x && typeof x.fork === 'function';

@@ -240,2 +240,5 @@ //Assert that throws TypeError.

//Create a Future which rejects witth the given value.
Future.reject = x => Future(rej => rej(x));
//Create a Future which resolves after the given time with the given value.

@@ -242,0 +245,0 @@ Future.after = uncurry(2, n => x => Future(function Future$after$fork(rej, res){

{
"name": "fluture",
"version": "0.1.0",
"version": "0.2.0",
"description": "A complete Fantasy Land compatible Future library",

@@ -17,3 +17,3 @@ "main": "src/index.js",

"test": "npm run check-version && npm run clean && npm run lint && npm run test:unit",
"test:unit": "echo \"No tests yet\""
"test:unit": "mocha --ui bdd --reporter spec --check-leaks --full-trace"
},

@@ -28,3 +28,2 @@ "author": "Aldwin Vlasblom <aldwin.vlasblom@gmail.com> (https://github.com/Avaq)",

"eslint": "^2.2.0",
"glob": "^7.0.0",
"isparta": "^4.0.0",

@@ -31,0 +30,0 @@ "mocha": "^2.3.3",

16

README.md

@@ -16,9 +16,11 @@ # Fluture

[ ] Write tests
[ ] Write benchmarks
[ ] Implement Traversable
[ ] Implement Future.cache
[ ] Implement Future.and
[ ] Implement Future.or
[ ] Implement Future.race
* [x] Implement Future Monad
* [x] Write tests
* [ ] Write benchmarks
* [ ] Implement Traversable
* [ ] Implement Future.cache
* [ ] Implement Future.and
* [ ] Implement Future.or
* [ ] Implement Future.race
* [ ] Add test coverage

@@ -25,0 +27,0 @@ ## The name

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