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

fairmont-core

Package Overview
Dependencies
Maintainers
1
Versions
12
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

fairmont-core - npm Package Compare versions

Comparing version 1.0.0-beta-21 to 1.0.0-beta-22

46

lib/index.js

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

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

@@ -19,15 +19,31 @@ var _, apply, binary, compose, curry, flip, identity, negate, noOp, partial, pipe, spread, substitute, ternary, unary, wrap,

curry = function(f) {
var cf;
return (cf = function(ax) {
return function() {
var bx, cx;
bx = 1 <= arguments.length ? slice.call(arguments, 0) : [];
cx = ax.concat(bx);
if (cx.length < f.length) {
return cf(cx);
} else {
return f.apply(null, cx);
var g;
return g = function() {
var ax;
ax = 1 <= arguments.length ? slice.call(arguments, 0) : [];
if (ax.length >= f.length) {
return f.apply(null, ax);
} else {
switch (f.length - ax.length) {
case 1:
return function(x) {
return f.apply(null, slice.call(ax).concat([x]));
};
case 2:
return binary(curry(function(x, y) {
return f.apply(null, slice.call(ax).concat([x], [y]));
}));
case 3:
return ternary(curry(function(x, y, z) {
return f.apply(null, slice.call(ax).concat([x], [y], [z]));
}));
default:
return function() {
var bx;
bx = 1 <= arguments.length ? slice.call(arguments, 0) : [];
return g.apply(null, slice.call(ax).concat(slice.call(bx)));
};
}
};
})([]);
}
};
};

@@ -118,3 +134,3 @@

return function(x, y) {
return f(x, y);
return f.apply(null, arguments);
};

@@ -125,3 +141,3 @@ };

return function(x, y, z) {
return f(x, y, z);
return f.apply(null, arguments);
};

@@ -128,0 +144,0 @@ };

{
"name": "fairmont-core",
"version": "1.0.0-beta-21",
"version": "1.0.0-beta-22",
"description": "Functional reactive programming in JavaScript",

@@ -12,5 +12,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)",

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

"dependencies": {},
"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