🎩 You're Invited:Meet the Socket team at Black Hat in Las Vegas, August 3-6.RSVP
Sign In

fp-small

Package Overview
Dependencies
Maintainers
1
Versions
9
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

fp-small - npm Package Compare versions

Comparing version
1.1.2
to
1.1.3
+4
-1
dist/fp/index.js

@@ -6,3 +6,6 @@ "use strict";

});
exports.safeProp = exports.prop = exports.compose = exports.curry = undefined;
var _Either = require("../Either");
function _toConsumableArray(arr) { if (Array.isArray(arr)) { for (var i = 0, arr2 = Array(arr.length); i < arr.length; i++) { arr2[i] = arr[i]; } return arr2; } else { return Array.from(arr); } }

@@ -41,3 +44,3 @@

var safeProp = exports.safeProp = curry(function (p, obj) {
return compose(fromNullable, prop(p))(obj);
return compose(_Either.fromNullable, prop(p))(obj);
});
+1
-1
{
"name": "fp-small",
"version": "1.1.2",
"version": "1.1.3",
"description": "A small functional programming library",

@@ -5,0 +5,0 @@ "main": "dist/index.js",