New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

data.future

Package Overview
Dependencies
Maintainers
1
Versions
6
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

data.future - npm Package Versions

2.3.0

Diff

Changelog

Source

2.3.0

  • Allows actions to be cancelled.

  • Adds Future.rejected.

  • Adds a catamorphism that takes an object.

  • Deprecates Future.memoise.

killdream
published 2.2.0 •

Changelog

Source

2.2.0

  • Semigroup instance for nondeterministic combination.
killdream
published 2.1.1 •

killdream
published 2.1.0 •

Changelog

Source

2.1.0

  • BREAKING: Removes Applicative instance.
killdream
published 2.0.0 •

Changelog

Source

From 2.0.0 to 3.0.0

  • Renamed to Task (makes more sense, since now they represent actions).

  • BREAKING: Removed Future.memoise.

  • Major performance improvements.

  • BREAKING: Fixed resource management introduced in 2.x.

killdream
published 1.0.0 •

Changelog

Source

From 1.0.0 to 2.0.0

  • BREAKING: removed partial functions and fields (toString, isEqual, isPending, isResolved, isRejected), since you can't observe them always, and it leads to confusing behaviour. This functionality will be moved to a co-future later.

  • BREAKING: removed default memoisation. Since the Futures are just placeholders for actions, it does make sense that chaining a Future twice should execute the action twice. When you want memoisation, you can use the Future.memoise construct instead of new Future.

    // Before:
    new Future(function(reject, resolve) { ... })
    
    // Now:
    Future.memoise(function(reject, resolve) { ... })
    
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