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-29 to 1.0.0-beta-30

18

lib/iterator.js
// Generated by CoffeeScript 1.9.3
(function() {
var Method, async, curry, identity, isDefined, isFunction, isGenerator, isIterable, isIterator, isPromise, iterator, next, ref, ref1;
var Method, async, curry, identity, isDefined, isDone, isFunction, isGenerator, isIterable, isIterator, isPromise, iterator, next, ref, ref1, value;

@@ -12,7 +12,7 @@ ref = require("fairmont-core"), identity = ref.identity, curry = ref.curry;

isIterable = function(x) {
return ((x != null ? x[Symbol.iterator] : void 0) != null) || ((x != null) && isGenerator(x));
return (isFunction(x != null ? x[Symbol.iterator] : void 0)) || ((x != null) && isGenerator(x));
};
isIterator = function(x) {
return ((x != null ? x.next : void 0) != null) && isIterable(x);
return (isFunction(x != null ? x.next : void 0)) && (isIterable(x));
};

@@ -42,2 +42,10 @@

value = function(x) {
return x.value;
};
isDone = function(x) {
return x.done;
};
module.exports = {

@@ -47,5 +55,7 @@ isIterable: isIterable,

isIterator: isIterator,
next: next
next: next,
value: value,
isDone: isDone
};
}).call(this);

@@ -20,7 +20,7 @@ // Generated by CoffeeScript 1.9.3

isReagent = isAsyncIterable = function(x) {
return (x != null ? x[Symbol.asyncIterator] : void 0) != null;
return isFunction(x != null ? x[Symbol.asyncIterator] : void 0);
};
isReactor = isAsyncIterator = function(x) {
return ((x != null ? x.next : void 0) != null) && isAsyncIterable(x);
return (isFunction(x != null ? x.next : void 0)) && (isAsyncIterable(x));
};

@@ -27,0 +27,0 @@

// Generated by CoffeeScript 1.9.3
(function() {
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, unzip, zip;
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;

@@ -180,6 +180,2 @@ ref = require("./iterator"), isIterable = ref.isIterable, iterator = ref.iterator, isIterator = ref.isIterator, isIterator = ref.isIterator, next = ref.next;

unzip = function(f, i) {
return fold(f, [[], []], i);
};
_assoc = function(object, arg) {

@@ -242,3 +238,2 @@ var key, value;

zip: zip,
unzip: unzip,
assoc: assoc,

@@ -245,0 +240,0 @@ flatten: flatten,

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

@@ -34,3 +34,3 @@ "files": [

"dependencies": {
"fairmont-core": "^1.0.0-beta-20",
"fairmont-core": "^1.0.0-beta-21",
"fairmont-helpers": "^1.0.0-beta-19",

@@ -37,0 +37,0 @@ "fairmont-multimethods": "^1.0.0-beta-19",

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

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