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

fairmont-reactive

Package Overview
Dependencies
Maintainers
1
Versions
28
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

fairmont-reactive - npm Package Compare versions

Comparing version 1.0.0-beta-33 to 1.0.0-beta-34

24

lib/adapters.js

@@ -1,4 +0,4 @@

// Generated by CoffeeScript 1.9.3
// Generated by CoffeeScript 1.10.0
(function() {
var Method, _when, apply, binary, combine, compose, curry, events, flow, identity, isArray, isDefined, isEmpty, isFunction, isIterable, isIterator, isProducer, isPromise, isReactor, isReagent, isSource, isType, iterator, next, pipe, producer, promise, property, pull, reactor, ref, ref1, ref2, ref3, reject, repeat, resolve, stream,
var Method, _when, apply, binary, combine, compose, curry, events, flow, identity, isArray, isDefined, isEmpty, isFunction, isFunctionList, isIterable, isIterator, isProducer, isPromise, isReactor, isReagent, isSource, isType, iterator, next, pipe, producer, promise, property, pull, reactor, ref, ref1, ref2, ref3, reject, repeat, resolve, stream,
slice = [].slice;

@@ -250,13 +250,15 @@

flow.map = function() {
var a, ax;
a = arguments[0], ax = 2 <= arguments.length ? slice.call(arguments, 1) : [];
if (ax.length > 0) {
return [a, ax];
} else {
return [a];
isFunctionList = function() {
var f, fx, j, len;
fx = 1 <= arguments.length ? slice.call(arguments, 0) : [];
for (j = 0, len = fx.length; j < len; j++) {
f = fx[j];
if (!isFunction(f)) {
return false;
}
}
return true;
};
Method.define(flow, isDefined, isArray, function() {
Method.define(flow, isDefined, isFunctionList, function() {
var fx, x;

@@ -271,3 +273,3 @@ x = arguments[0], fx = 2 <= arguments.length ? slice.call(arguments, 1) : [];

Method.define(flow, isProducer, isArray, function() {
Method.define(flow, isProducer, isFunctionList, function() {
var fx, p;

@@ -274,0 +276,0 @@ p = arguments[0], fx = 2 <= arguments.length ? slice.call(arguments, 1) : [];

@@ -1,2 +0,2 @@

// Generated by CoffeeScript 1.9.3
// Generated by CoffeeScript 1.10.0
(function() {

@@ -22,7 +22,7 @@ var Method, _when, accumulate, async, binary, compact, curry, filter, isDefined, isFunction, isIterator, isReactor, isStreamLike, iterator, iteratorFunction, lines, map, negate, next, partition, producer, project, property, pump, query, reactor, reactorFunction, ref, ref1, ref2, ref3, reject, resolve, select, split, take, takeN, tee, ternary, throttle, where,

Method.define(map, Function, isDefined, function(f, x) {
Method.define(map, isFunction, isDefined, function(f, x) {
return map(f, producer(x));
});
Method.define(map, Function, isIterator, function(f, i) {
Method.define(map, isFunction, isIterator, function(f, i) {
return iterator(function() {

@@ -44,3 +44,3 @@ var done, ref4, value;

Method.define(map, Function, isReactor, function(f, i) {
Method.define(map, isFunction, isReactor, function(f, i) {
return reactor(function() {

@@ -68,7 +68,7 @@ return (next(i)).then(function(arg) {

Method.define(select, Function, isDefined, function(f, x) {
Method.define(select, isFunction, isDefined, function(f, x) {
return select(f, producer(x));
});
Method.define(select, Function, isIterator, function(f, i) {
Method.define(select, isFunction, isIterator, function(f, i) {
return iterator(function() {

@@ -89,3 +89,3 @@ var done, ref4, value;

Method.define(select, Function, isReactor, function(f, i) {
Method.define(select, isFunction, isReactor, function(f, i) {
var j, p;

@@ -113,3 +113,3 @@ p = (function(arg) {

Method.define(accumulate, Function, (function() {
Method.define(accumulate, isFunction, (function(x) {
return true;

@@ -120,3 +120,3 @@ }), isDefined, function(f, k, x) {

Method.define(accumulate, Function, (function() {
Method.define(accumulate, isFunction, (function(x) {
return true;

@@ -141,7 +141,7 @@ }), isIterator, function(f, k, i) {

Method.define(accumulate, Function, (function() {
Method.define(accumulate, isFunction, (function(x) {
return true;
}), isReactor, function(f, k, i) {
}), isReactor, function(f, k, r) {
return reactor(function() {
return (next(i)).then(function(arg) {
return (next(r)).then(function(arg) {
var done, value;

@@ -236,7 +236,7 @@ done = arg.done, value = arg.value;

Method.define(take, Function, isDefined, function(f, x) {
Method.define(take, isFunction, isDefined, function(f, x) {
return take(f, producer(x));
});
Method.define(take, Function, isIterator, function(f, i) {
Method.define(take, isFunction, isIterator, function(f, i) {
return iterator(function() {

@@ -283,7 +283,7 @@ var done, ref4, value;

Method.define(split, Function, isDefined, function(f, x) {
Method.define(split, isFunction, isDefined, function(f, x) {
return split(f, producer(x));
});
Method.define(split, Function, isIterator, function(f, i) {
Method.define(split, isFunction, isIterator, function(f, i) {
var lines, remainder;

@@ -327,3 +327,3 @@ lines = [];

Method.define(split, Function, isReactor, function(f, i) {
Method.define(split, isFunction, isReactor, function(f, i) {
var lines, remainder;

@@ -373,7 +373,7 @@ lines = [];

Method.define(tee, Function, isDefined, function(f, x) {
Method.define(tee, isFunction, isDefined, function(f, x) {
return tee(f, producer(x));
});
Method.define(tee, Function, isReactor, function(f, r) {
Method.define(tee, isFunction, isReactor, function(f, r) {
return reactor(function() {

@@ -402,3 +402,3 @@ return (next(r)).then(function(arg) {

Method.define(tee, Function, isIterator, function(f, i) {
Method.define(tee, isFunction, isIterator, function(f, i) {
return iterator(function() {

@@ -405,0 +405,0 @@ var done, ref4, ref5, value;

@@ -1,2 +0,2 @@

// Generated by CoffeeScript 1.9.3
// Generated by CoffeeScript 1.10.0
(function() {

@@ -3,0 +3,0 @@ var flow, go, start;

@@ -1,2 +0,2 @@

// Generated by CoffeeScript 1.9.3
// Generated by CoffeeScript 1.10.0
(function() {

@@ -3,0 +3,0 @@ var include;

@@ -1,2 +0,2 @@

// Generated by CoffeeScript 1.9.3
// Generated by CoffeeScript 1.10.0
(function() {

@@ -3,0 +3,0 @@ var Method, async, curry, identity, isDefined, isDone, isFunction, isGenerator, isIterable, isIterator, isPromise, iterator, next, ref, ref1, value;

@@ -1,2 +0,2 @@

// Generated by CoffeeScript 1.9.3
// Generated by CoffeeScript 1.10.0
(function() {

@@ -3,0 +3,0 @@ var EventEmitter, Method, compose, isArray, isDefined, isFunction, isObject, isSource, observe, property, ref;

@@ -1,2 +0,2 @@

// Generated by CoffeeScript 1.9.3
// Generated by CoffeeScript 1.10.0
(function() {

@@ -3,0 +3,0 @@ var Method, async, asyncIterator, binary, curry, either, has, identity, isDefined, isFunction, isGenerator, isPromise, isReactor, isReagent, negate, property, query, reactor, ref, ref1, resolve;

@@ -1,2 +0,2 @@

// Generated by CoffeeScript 1.9.3
// Generated by CoffeeScript 1.10.0
(function() {

@@ -23,3 +23,3 @@ var Method, _assoc, _flatten, add, all, any, assoc, async, average, binary, collect, curry, delimit, each, first, flatten, fold, foldr, isArray, isDefined, isFunction, isIterable, isIterator, isReactor, isReagent, iterator, join, negate, next, noOp, producer, push, reactor, reduce, reduceRight, ref, ref1, ref2, ref3, second, start, sum, ternary, zip;

Method.define(fold, Function, (function() {
Method.define(fold, isFunction, (function(x) {
return true;

@@ -30,3 +30,3 @@ }), isDefined, function(f, x, y) {

Method.define(fold, Function, (function() {
Method.define(fold, isFunction, (function(x) {
return true;

@@ -45,3 +45,3 @@ }), isIterator, function(f, x, i) {

Method.define(fold, Function, (function() {
Method.define(fold, isFunction, (function(x) {
return true;

@@ -60,3 +60,3 @@ }), isReactor, async(function*(f, x, i) {

Method.define(fold, Function, (function() {
Method.define(fold, isFunction, (function(x) {
return true;

@@ -71,3 +71,3 @@ }), isArray, function(f, x, ax) {

Method.define(foldr, Function, (function() {
Method.define(foldr, isFunction, (function(x) {
return true;

@@ -78,3 +78,3 @@ }), isDefined, function(f, x, y) {

Method.define(foldr, Function, (function() {
Method.define(foldr, isFunction, (function(x) {
return true;

@@ -85,3 +85,3 @@ }), isIterator, function(f, x, i) {

Method.define(foldr, Function, (function() {
Method.define(foldr, isFunction, (function(x) {
return true;

@@ -94,3 +94,3 @@ }), isReactor, function(f, x, i) {

Method.define(foldr, Function, (function() {
Method.define(foldr, isFunction, (function(x) {
return true;

@@ -120,7 +120,7 @@ }), isArray, function(f, x, ax) {

Method.define(any, Function, isDefined, function(f, x) {
Method.define(any, isFunction, isDefined, function(f, x) {
return any(f, producer(x));
});
Method.define(any, Function, isIterator, function(f, i) {
Method.define(any, isFunction, isIterator, function(f, i) {
var done, ref4, value;

@@ -136,3 +136,3 @@ while (true) {

Method.define(any, Function, isReactor, async(function*(f, i) {
Method.define(any, isFunction, isReactor, async(function*(f, i) {
var done, ref4, value;

@@ -152,11 +152,11 @@ while (true) {

Method.define(all, Function, isDefined, function(f, x) {
Method.define(all, isFunction, isDefined, function(f, x) {
return all(f, producer(x));
});
Method.define(all, Function, isIterator, function(f, i) {
Method.define(all, isFunction, isIterator, function(f, i) {
return !any(negate(f), i);
});
Method.define(all, Function, isReactor, async(function*(f, i) {
Method.define(all, isFunction, isReactor, async(function*(f, i) {
return !((yield any(negate(f), i)));

@@ -169,7 +169,7 @@ }));

Method.define(zip, Function, isDefined, isDefined, function(f, x, y) {
Method.define(zip, isFunction, isDefined, isDefined, function(f, x, y) {
return zip(f, producer(x), producer(y));
});
Method.define(zip, Function, isIterator, isIterator, function(f, i, j) {
Method.define(zip, isFunction, isIterator, isIterator, function(f, i, j) {
return iterator(function() {

@@ -176,0 +176,0 @@ var x, y;

{
"name": "fairmont-reactive",
"version": "1.0.0-beta-33",
"version": "1.0.0-beta-34",
"description": "Functional reactive programming in JavaScript and CoffeeScript.",

@@ -13,5 +13,5 @@ "files": [

"scripts": {
"prepublish": "coffee --nodejs --harmony -o lib/ -c src/*.*coffee",
"test": "coffee --nodejs --harmony test/index.coffee",
"watch": "coffee --nodejs --harmony -o lib/ -cw src/*.*coffee",
"prepublish": "coffee -o lib/ -c src/*.*coffee",
"test": "coffee test/index.coffee",
"watch": "coffee -o lib/ -cw src/*.*coffee",
"version": "(node_modules/.bin/json -f package.json version > VERSION)",

@@ -31,3 +31,2 @@ "tag": "(cat VERSION | xargs -I version git tag -am version version) && git push --tags"

"amen": "^1.0.0-alpha-03",
"fairmont": "^1.0.0-beta-19",
"harmony-reflect": "^1.4.0",

@@ -37,8 +36,8 @@ "json": "^9.0.3"

"dependencies": {
"fairmont-core": "^1.0.0-beta-21",
"fairmont-helpers": "^1.0.0-beta-19",
"fairmont-multimethods": "^1.0.0-beta-19",
"fairmont-core": "^1.0.0-beta-23",
"fairmont-helpers": "^1.0.0-beta-24",
"fairmont-multimethods": "^1.0.0-beta-20",
"when": "^3.7.3"
},
"engine": "node >= 0.12.x"
"engine": "node >= 4.0.x"
}

Sorry, the diff of this file is not supported yet

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