Comparing version 3.0.3 to 3.0.4
{ | ||
"name": "zoomjs", | ||
"version": "3.0.3", | ||
"version": "3.0.4", | ||
"description": "Helpful abstractions for functional programming in javascript.", | ||
@@ -9,3 +9,2 @@ "main": "index.js", | ||
"changelog": "conventional-changelog -p angular -i CHANGELOG.md -s", | ||
"coverage": "cat ./coverage/lcov.info | ./node_modules/coveralls/bin/coveralls.js", | ||
"lint": "bin/lint", | ||
@@ -19,3 +18,2 @@ "tdd": "bin/tdd", | ||
"conventional-changelog-cli": "^1.3.2", | ||
"coveralls": "^3.0.11", | ||
"eslint": "^3.19.0", | ||
@@ -22,0 +20,0 @@ "eslint-config-airbnb-base": "^11.2.0", |
# Zoom . js | ||
[![CircleCI](https://circleci.com/gh/dustinws/zoom/tree/master.svg?style=shield)](https://circleci.com/gh/dustinws/zoom/tree/master) | ||
[![npm version](https://badge.fury.io/js/zoomjs.svg)](https://badge.fury.io/js/zoomjs) | ||
[![deps](https://david-dm.org/dustinws/zoom.svg)](https://david-dm.org/dustinws/zoom.svg) | ||
[![Coverage Status](https://coveralls.io/repos/github/dustinws/zoom/badge.svg?branch=master)](https://coveralls.io/github/dustinws/zoom?branch=master) | ||
@@ -11,4 +9,2 @@ --- | ||
<img src="https://cdn.pixabay.com/photo/2017/02/21/21/14/unicorn-2087452_1280.png" width="200px" /> | ||
Zoom is a collection of tools to help javascript developers write safe, reliable | ||
@@ -15,0 +11,0 @@ code that is easy to read and easy to refactor. |
@@ -104,3 +104,8 @@ const FL = require('fantasy-land'); | ||
// liftPromise :: (a -> Promise b c) -> (a -> Task b c) | ||
Task.liftPromise = func => (...args) => | ||
Task((reject, resolve) => | ||
func(...args).then(resolve).catch(reject)); | ||
/* | ||
@@ -107,0 +112,0 @@ |------------------------------------------------------------------------------ |
7
1228
46293
40