Comparing version 12.0.0 to 12.0.1
@@ -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. |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
3417
178160