Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

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 12.0.0 to 12.0.1

10

index.d.ts

@@ -133,8 +133,8 @@ /// <reference lib="es2015.generator" />

/** Map over the resolution value of the given Future. See https://github.com/fluture-js/Fluture#map */
export function map<RA, RB>(mapper: (value: RA) => RB): <L>(source: FutureInstance<L, RA>) => FutureInstance<L, RB>
/** Map over the resolution value of the given Future or ConcurrentFuture. See https://github.com/fluture-js/Fluture#map */
export function map<RA, RB>(mapper: (value: RA) => RB): {
<L>(source: FutureInstance<L, RA>): FutureInstance<L, RB>
<L>(source: ConcurrentFutureInstance<L, RA>): ConcurrentFutureInstance<L, RB>
}
/** Map over the resolution value of the given ConcurrentFuture. See https://github.com/fluture-js/Fluture#map */
export function map<RA, RB>(mapper: (value: RA) => RB): <L>(source: ConcurrentFutureInstance<L, RA>) => ConcurrentFutureInstance<L, RB>
/** Map over the rejection reason of the given Future. See https://github.com/fluture-js/Fluture#maprej */

@@ -141,0 +141,0 @@ export function mapRej<LA, LB>(mapper: (reason: LA) => LB): <R>(source: FutureInstance<LA, R>) => FutureInstance<LB, R>

{
"name": "fluture",
"version": "12.0.0",
"version": "12.0.1",
"description": "FantasyLand compliant (monadic) alternative to Promises",

@@ -5,0 +5,0 @@ "main": "index.cjs",

@@ -42,3 +42,3 @@ # [![Fluture](logo.png)](#butterfly)

> `npm install --save fluture@beta`
> `npm install --save fluture`

@@ -95,3 +95,3 @@ On older environments you may need to polyfill one or more of the following

Fluture is hosted in full with all of its dependencies at
https://cdn.jsdelivr.net/gh/fluture-js/Fluture@12.0.0/dist/bundle.js
https://cdn.jsdelivr.net/gh/fluture-js/Fluture@12.0.1/dist/bundle.js

@@ -98,0 +98,0 @@ This script will add `Fluture` to the global scope.

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