Comparing version
@@ -7,2 +7,3 @@ var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) { | ||
}; | ||
var Pure_1, Bind_1; | ||
import { AbstractMonad, monad } from "@funkia/jabz"; | ||
@@ -63,3 +64,2 @@ export class Freer extends AbstractMonad { | ||
} | ||
var Pure_1, Bind_1; | ||
//# sourceMappingURL=freer.js.map |
@@ -70,4 +70,3 @@ import { Freer, liftF } from "./freer"; | ||
case "callP": | ||
return io.fn(...io.args) | ||
.then((a) => runIO(cont(a))); | ||
return io.fn(...io.args).then((a) => runIO(cont(a))); | ||
case "catchE": | ||
@@ -74,0 +73,0 @@ return doRunIO(io.io) |
@@ -52,2 +52,3 @@ "use strict"; | ||
}; | ||
var Pure_1; | ||
Pure = Pure_1 = __decorate([ | ||
@@ -57,3 +58,2 @@ jabz_1.monad | ||
return Pure; | ||
var Pure_1; | ||
}(Freer)); | ||
@@ -84,2 +84,3 @@ exports.Pure = Pure; | ||
}; | ||
var Bind_1; | ||
Bind = Bind_1 = __decorate([ | ||
@@ -89,3 +90,2 @@ jabz_1.monad | ||
return Bind; | ||
var Bind_1; | ||
}(Freer)); | ||
@@ -92,0 +92,0 @@ exports.Bind = Bind; |
{ | ||
"name": "@funkia/io", | ||
"version": "0.0.2", | ||
"version": "0.0.3", | ||
"description": "A library that turns impure code pure.", | ||
@@ -20,6 +20,5 @@ "main": "dist/index.js", | ||
"test-watch": "mocha -R progress --watch --compilers ts:ts-node/register test/**/*.ts", | ||
"format": "prettier --write \"{src,test}/**/*.ts\"", | ||
"codecov": "codecov -f coverage/coverage-final.json", | ||
"release-major": "xyz --repo git@github.com:funkia/io.git --increment major", | ||
"release-minor": "xyz --repo git@github.com:funkia/io.git --increment minor", | ||
"release-patch": "xyz --repo git@github.com:funkia/io.git --increment patch" | ||
"release": "np" | ||
}, | ||
@@ -31,4 +30,4 @@ "repository": { | ||
"keywords": [ | ||
"frp", | ||
"functional reactive programming", | ||
"io", | ||
"monad", | ||
"pure", | ||
@@ -44,26 +43,17 @@ "funkia" | ||
"dependencies": { | ||
"@funkia/jabz": "0.0.23", | ||
"tslib": "^1.8.1" | ||
"@funkia/jabz": "0.0.24", | ||
"prettier": "^1.13.7", | ||
"tslib": "^1.9.3" | ||
}, | ||
"devDependencies": { | ||
"@types/benchmark": "^1.0.31", | ||
"@types/chai": "^4.0.8", | ||
"@types/mocha": "^2.2.44", | ||
"@types/sinon": "^4.1.0", | ||
"benchmark": "^2.1.4", | ||
"browser-env": "^3.2.4", | ||
"browserify": "^14.5.0", | ||
"browserify-istanbul": "^3.0.1", | ||
"@types/chai": "^4.1.4", | ||
"@types/mocha": "^5.2.4", | ||
"chai": "^4.1.2", | ||
"codecov": "^3.0.0", | ||
"mocha": "^4.0.1", | ||
"nyc": "^11.3.0", | ||
"sinon": "^4.1.3", | ||
"source-map-support": "^0.5.0", | ||
"ts-node": "^3.3.0", | ||
"tsify": "^3.0.4", | ||
"typescript": "^2.6.2", | ||
"watchify": "^3.9.0", | ||
"webpack": "^3.10.0", | ||
"xyz": "2.1.0" | ||
"codecov": "^3.0.2", | ||
"mocha": "^5.2.0", | ||
"np": "^3.0.4", | ||
"nyc": "^12.0.2", | ||
"source-map-support": "^0.5.6", | ||
"ts-node": "^7.0.0", | ||
"typescript": "^2.9.2" | ||
}, | ||
@@ -83,3 +73,6 @@ "nyc": { | ||
] | ||
}, | ||
"prettier": { | ||
"arrowParens": "always" | ||
} | ||
} |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
New author
Supply chain riskA new npm collaborator published a version of the package for the first time. New collaborators are usually benign additions to a project, but do indicate a change to the security surface area of a package.
Found 1 instance in 1 package
10
-50%0
-100%42794
-2.37%3
50%691
-0.14%+ Added
+ Added
+ Added
- Removed
Updated
Updated