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-36 to 1.0.0-beta-37

56

lib/adapters.js
// Generated by CoffeeScript 1.10.0
(function() {
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,
var Method, _pull, _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;

@@ -50,2 +50,24 @@

_pull = function(arg) {
var done, value;
done = arg.done, value = arg.value;
if (done) {
return _when({
done: done
});
} else if (value.then != null) {
return value.then(function(value) {
return {
done: done,
value: value
};
});
} else {
return {
done: done,
value: value
};
}
};
pull = Method.create();

@@ -59,16 +81,3 @@

return reactor(function() {
var done, ref4, value;
ref4 = next(i), done = ref4.done, value = ref4.value;
if (done) {
return _when({
done: done
});
} else {
return value.then(function(value) {
return {
done: done,
value: value
};
});
}
return _pull(next(i));
});

@@ -79,18 +88,3 @@ });

return reactor(function() {
return i().then(function(arg) {
var done, value;
done = arg.done, value = arg.value;
if (done) {
return _when({
done: done
});
} else {
return value.then(function(value) {
return {
done: done,
value: value
};
});
}
});
return (next(i)).then(_pull);
});

@@ -97,0 +91,0 @@ });

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

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

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